Skip to content

Commit

Permalink
[NETBEANS-1671] Donation 3 - Include installer sources (apache#1052)
Browse files Browse the repository at this point in the history
* [NETBEANS-1671] Include donated Installer source in Apache NetBeans

* NB10-JDK11.0.1 bundle related changes

* convert to Apache licence

* convert to Apache licence

* convert to Apache licence

* convert to Apache licence

* update ignored-binaries

* Added support to create NetBeans installers

* updated bg image in mac installer

* moved installer from root to under nbbuild

* moved installer to nbbuild

* Update ignored-binaries

* license updates and removed external binaries

* updated ignore-binaries

* added missing license text

* adding git ignored files under infra/build

* misc build related changes

* fix build issues

* fix build issues

* fix file name typo

* bin name change

* mac installer build related changes

* more fixes

* minor fixes

* mac installer signing support

* Removed files not used in installer - set 1

* removed unused installer code

* Revert "removed unused installer code"

This reverts commit 7b07883.

* Create binaries

* Delete binaries

* Fix JDK 12 install not showing in jdkhomes dropdown

* removed code not currently being used in installers

* removed files not used in installer

* undo icon file change to avoid conflic with pr 1196
  • Loading branch information
rtaneja1 authored and Geertjan Wielenga committed May 2, 2019
1 parent 3c8e4f4 commit 7078efd
Show file tree
Hide file tree
Showing 286 changed files with 44,294 additions and 26 deletions.
2 changes: 2 additions & 0 deletions nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-binaries
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ nb/ide.launcher/external/launchers-10.0.zip
# webcommon/libs.oracle.jsparser builds a test-only binaries into build/webcommon. Not distributed.
webcommon/libs.oracle.jsparser/build/webcommon/**

#only used to build installers
nbbuild/installer/mac/newbuild/dmg/template.sparseimage.bz2
43 changes: 43 additions & 0 deletions nbbuild/installer/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<project name="installer" default="clean" basedir=".">

<target name="clean" description="clean all subprojects">
<ant antfile="asbundle/build.xml" target="clean" inheritAll="false"/>
<ant antfile="cdc/build.xml" target="clean" inheritAll="false"/>
<ant antfile="cnd/build.xml" target="clean" inheritAll="false"/>
<ant antfile="coreide/build.xml" target="clean" inheritAll="false"/>
<ant antfile="j2ee/build.xml" target="clean" inheritAll="false"/>
<ant antfile="jbossbundle/build.xml" target="clean" inheritAll="false"/>
<ant antfile="jdkbundle/build.xml" target="clean" inheritAll="false"/>
<ant antfile="mac/build.xml" target="clean" inheritAll="false"/>
<ant antfile="mobility/build.xml" target="clean" inheritAll="false"/>
<ant antfile="profiler/build.xml" target="clean" inheritAll="false"/>
</target>

<target name="runtests" description="Run automatic test">
<ant antfile="build.xml" dir="./test" target="all" inheritAll="false"/>
</target>

</project>
35 changes: 35 additions & 0 deletions nbbuild/installer/components/components.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
* nb-ide-group
* nb-platform
* nb-base
* nb-javase
* nb-addons-group
* nb-javaee
* nb-javame
* nb-ccpp
* nb-soa
* nb-uml
* nb-ruby
* nb-php
* runtimes-group
* glassfish
* tomcat
* openesb
* sjsam
* wtk
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
group.display.name=Documentation
group.description=Contains a set of documentation, code samples and tutorials provided by the Java Platform, Enterprise Edition 5 SDK
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
group.display.name=Plugins
group.description=
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
group.display.name=Apache NetBeans IDE {display-version}
group.description=The Apache NetBeans IDE is a modular, standards-based, integrated development environment (IDE) that provides full support for the technologies included in this bundle.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
group.display.name=Runtimes
group.description=Contains runtimes to be installed
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
group.display.name=Tools
group.description=Contains tools and modules to be installed
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions nbbuild/installer/components/products/jdk/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<project name="NBI_Product:_JDK" default="default" basedir=".">
<import file="nbproject/build-impl.xml"/>
</project>
20 changes: 20 additions & 0 deletions nbbuild/installer/components/products/jdk/data/Bundle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
product.display.name=JDK {display-version}
product.description=The Java SE Development Kit (JDK) includes the Java Runtime Environment (JRE) and command-line development tools that are useful for developing applets and applications.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions nbbuild/installer/components/products/jdk/manifest.mf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Configuration-Logic-Class: org.netbeans.installer.products.jdk.ConfigurationLogic
Loading

0 comments on commit 7078efd

Please sign in to comment.