include platform and got installer working

This commit is contained in:
Greg DiCristofaro 2022-11-15 13:29:52 -05:00
parent 1d9b974a65
commit 5f3601c36f
1052 changed files with 16918 additions and 16 deletions

4
.gitignore vendored
View File

@ -73,7 +73,9 @@ genfiles.properties
!/Testing/nbproject/project.xml
!/Testing/nbproject/project.properties
*~
/netbeans-plat
/netbeans-plat/*
# include netbeans platform 15 because it doesn't seem to download consistently or is being updated
!/netbeans-plat/15
/docs/doxygen-user/user-docs
/docs/doxygen-dev/build-docs
/jdiff-javadocs/*

View File

@ -17,20 +17,130 @@ cluster.path=\
${nbplatform.active.dir}/platform:\
CoreTestLibs/build/cluster
disabled.modules=\
org.netbeans.libs.jshell.compile,\
org.netbeans.libs.nbi.ant,\
org.netbeans.libs.nbi.engine,\
org.netbeans.api.debugger.jpda,\
org.netbeans.api.java,\
org.netbeans.api.maven,\
org.netbeans.libs.cglib,\
org.netbeans.libs.springframework,\
org.netbeans.modules.ant.browsetask,\
org.netbeans.modules.ant.debugger,\
org.netbeans.modules.ant.freeform,\
org.netbeans.modules.ant.grammar,\
org.netbeans.modules.ant.hints,\
org.netbeans.modules.ant.kit,\
org.netbeans.modules.apisupport.harness,\
org.netbeans.modules.gradle.htmlui,\
org.netbeans.modules.gradle.java,\
org.netbeans.modules.gradle.java.coverage,\
org.netbeans.modules.gradle.kit,\
org.netbeans.modules.gradle.persistence,\
org.netbeans.modules.gradle.spring,\
org.netbeans.modules.gradle.test,\
org.netbeans.modules.htmlui,\
org.netbeans.modules.java.disco,\
org.netbeans.modules.java.mx.project,\
org.netbeans.modules.java.nativeimage.debugger,\
org.netbeans.modules.beans,\
org.netbeans.modules.dbschema,\
org.netbeans.modules.debugger.jpda,\
org.netbeans.modules.debugger.jpda.ant,\
org.netbeans.modules.debugger.jpda.js,\
org.netbeans.modules.debugger.jpda.jsui,\
org.netbeans.modules.debugger.jpda.kit,\
org.netbeans.modules.debugger.jpda.projects,\
org.netbeans.modules.debugger.jpda.projectsui,\
org.netbeans.modules.debugger.jpda.truffle,\
org.netbeans.modules.debugger.jpda.trufflenode,\
org.netbeans.modules.debugger.jpda.ui,\
org.netbeans.modules.debugger.jpda.visual,\
org.netbeans.modules.editor.htmlui,\
org.netbeans.modules.form,\
org.netbeans.modules.form.kit,\
org.netbeans.modules.form.nb,\
org.netbeans.modules.form.refactoring,\
org.netbeans.modules.hudson.ant,\
org.netbeans.modules.hudson.maven,\
org.netbeans.modules.i18n,\
org.netbeans.modules.i18n.form,\
org.netbeans.modules.j2ee.core.utilities,\
org.netbeans.modules.j2ee.eclipselink,\
org.netbeans.modules.j2ee.eclipselinkmodelgen,\
org.netbeans.modules.j2ee.jpa.refactoring,\
org.netbeans.modules.j2ee.jpa.verification,\
org.netbeans.modules.j2ee.metadata,\
org.netbeans.modules.j2ee.metadata.model.support,\
org.netbeans.modules.j2ee.persistence,\
org.netbeans.modules.j2ee.persistence.kit,\
org.netbeans.modules.j2ee.persistenceapi,\
org.netbeans.modules.java.api.common,\
org.netbeans.modules.java.completion,\
org.netbeans.modules.java.debug,\
org.netbeans.modules.java.editor,\
org.netbeans.modules.java.editor.base,\
org.netbeans.modules.java.editor.lib,\
org.netbeans.modules.java.examples,\
org.netbeans.modules.java.freeform,\
org.netbeans.modules.java.graph,\
org.netbeans.modules.java.hints,\
org.netbeans.modules.java.hints.declarative,\
org.netbeans.modules.java.hints.declarative.test,\
org.netbeans.modules.java.hints.legacy.spi,\
org.netbeans.modules.java.hints.test,\
org.netbeans.modules.java.hints.ui,\
org.netbeans.modules.java.j2sedeploy,\
org.netbeans.modules.java.j2seembedded,\
org.netbeans.modules.java.j2semodule,\
org.netbeans.modules.java.j2seplatform,\
org.netbeans.modules.java.j2seprofiles,\
org.netbeans.modules.java.j2seproject,\
org.netbeans.modules.java.kit,\
org.netbeans.modules.java.lexer,\
org.netbeans.modules.java.lsp.server,\
org.netbeans.modules.java.metrics,\
org.netbeans.modules.java.module.graph,\
org.netbeans.modules.java.navigation,\
org.netbeans.modules.java.openjdk.project,\
org.netbeans.modules.java.platform,\
org.netbeans.modules.java.platform.ui,\
org.netbeans.modules.java.preprocessorbridge,\
org.netbeans.modules.java.project,\
org.netbeans.modules.java.project.ui,\
org.netbeans.modules.java.source,\
org.netbeans.modules.java.source.ant,\
org.netbeans.modules.java.source.base,\
org.netbeans.modules.java.source.compat8,\
org.netbeans.modules.java.source.queries,\
org.netbeans.modules.java.source.queriesimpl,\
org.netbeans.modules.java.sourceui,\
org.netbeans.modules.java.testrunner,\
org.netbeans.modules.java.testrunner.ui,\
org.netbeans.modules.javadoc,\
org.netbeans.modules.javaee.injection,\
org.netbeans.modules.javawebstart,\
org.netbeans.modules.junit,\
org.netbeans.modules.ko4j.debugging
org.netbeans.modules.kotlin.editor,\
org.netbeans.modules.maven,\
org.netbeans.modules.maven.checkstyle,\
org.netbeans.modules.maven.coverage,\
org.netbeans.modules.maven.embedder,\
org.netbeans.modules.maven.grammar,\
org.netbeans.modules.maven.graph,\
org.netbeans.modules.maven.hints,\
org.netbeans.modules.maven.indexer,\
org.netbeans.modules.maven.indexer.ui,\
org.netbeans.modules.maven.junit,\
org.netbeans.modules.maven.junit.ui,\
org.netbeans.modules.maven.kit,\
org.netbeans.modules.maven.model,\
org.netbeans.modules.maven.osgi,\
org.netbeans.modules.maven.persistence,\
org.netbeans.modules.maven.refactoring,\
org.netbeans.modules.maven.repository,\
org.netbeans.modules.maven.search,\
org.netbeans.modules.maven.spring,\
org.netbeans.modules.nashorn.execution,\
org.netbeans.modules.projectimport.eclipse.core,\
org.netbeans.modules.projectimport.eclipse.j2se,\
org.netbeans.modules.refactoring.java,\
org.netbeans.modules.selenium2.java,\
org.netbeans.modules.selenium2.maven,\
org.netbeans.modules.spellchecker.bindings.java,\
org.netbeans.modules.spring.beans,\
org.netbeans.modules.testng.maven,\
org.netbeans.modules.websvc.jaxws21,\
org.netbeans.modules.websvc.jaxws21api,\
org.netbeans.modules.websvc.saas.codegen.java,\
org.netbeans.modules.whitelist,\
org.netbeans.modules.xml.jaxb,\
org.netbeans.modules.xml.tools.java,\
org.netbeans.spi.debugger.jpda.ui,\
org.netbeans.spi.java.hints

View File

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -0,0 +1,343 @@
<?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="harness" basedir="." default="build">
<import file="common.xml"/>
<import file="jdk.xml"/>
<target name="taskdefs" unless="${harness.taskdefs.done}">
<dirname property="harness.dir" file="${harness.file}"/>
<taskdef classpath="${harness.dir}/tasks.jar" resource="org/netbeans/nbbuild/taskdefs.properties"/>
<typedef name="pathfileset" classname="org.netbeans.nbbuild.PathFileSet"
classpath="${harness.dir}/tasks.jar"/>
<typedef name="islocked" classname="org.netbeans.nbbuild.IsLocked"
classpath="${harness.dir}/tasks.jar"/>
<property name="harness.taskdefs.done" value="true"/>
<fail message="When using cluster.path property, remove netbeans.dest.dir, enabled.clusters and disabled.clusters properties from platform config, they would be ignored.">
<condition>
<and>
<isset property="cluster.path.evaluated"/>
<or>
<isset property="netbeans.dest.dir"/>
<isset property="enabled.clusters"/>
<isset property="disabled.clusters"/>
</or>
<not>
<isset property="suite.dir"/>
</not>
</and>
</condition>
</fail>
</target>
<target name="-convert-old-project" depends="-build-dir-init" unless="cluster.path.evaluated">
<fail unless="netbeans.dest.dir" message="Either cluster.path/cluster.path.evaluated properties or netbeans.dest.dir must be set."/>
<pathconvert property="old.project.update.tracking">
<fileset dir="${netbeans.dest.dir}" includes="**/update_tracking/*.xml"/>
</pathconvert>
<!-- standalone modules don't specify enabled/disabled clusters -->
<property name="enabled.clusters" value=""/>
<property name="disabled.clusters" value=""/>
<property name="disabled.modules" value=""/>
<selector id="old.project.included.files">
<custom classpath="${harness.dir}/tasks.jar" classname="org.netbeans.nbbuild.ModuleSelector">
<param name="excludeModules" value="${disabled.modules}"/>
<!-- XXX inc/exc clusters -->
<param name="includeClusters" value="${enabled.clusters}"/>
<param name="excludeClusters" value="${disabled.clusters}"/>
<param name="updateTrackingFiles" value="${old.project.update.tracking}"/>
</custom>
</selector>
<pathconvert property="old.project.clusters.duplicates" pathsep="&#10;">
<fileset dir="${netbeans.dest.dir}">
<selector refid="old.project.included.files"/>
</fileset>
<chainedmapper>
<mapper type="regexp" from="(^.+)[/\\]config[/\\]Modules[/\\]" to="\1"/> <!-- #71849 -->
<filtermapper>
<linecontainsregexp negate="true">
<regexp pattern="update[/\\]backup[/\\]netbeans[/\\]?$"/>
</linecontainsregexp>
</filtermapper>
</chainedmapper>
</pathconvert>
<tempfile property="old.project.clusters.duplicates.file" destdir="${build.dir}" deleteonexit="true" prefix="duplicates"/>
<mkdir dir="${build.dir}"/>
<echo file="${old.project.clusters.duplicates.file}" message="${old.project.clusters.duplicates}"/>
<pathconvert property="cluster.path.evaluated">
<union id="old.project.clusters"> <!-- union removes duplicates -->
<files includesfile="${old.project.clusters.duplicates.file}"/>
</union>
</pathconvert>
</target>
<target name="common-init" depends="taskdefs,-build-dir-init,-convert-old-project">
<property name="netbeans.javadoc.dir" location="${build.dir}/javadoc"/>
<condition property="cluster.path.basedir" value="${suite.dir}" else="${basedir}">
<isset property="suite.dir"/>
</condition>
<convertclusterpath from="${cluster.path.evaluated}" to="cluster.path.final" id="cluster.path.id" basedir="${cluster.path.basedir}"/>
</target>
<target name="basic-init" depends="projectized-common.basic-init">
<condition property="suite.build.dir" value="${suite.dir}/build">
<isset property="suite.dir"/>
</condition>
<!-- Must be done even without build-init, or clean will not work. -->
<condition property="cluster" value="${suite.build.dir}/cluster"> <!-- #59872 -->
<isset property="suite.build.dir"/>
</condition>
<property name="cluster" location="${build.dir}/cluster"/>
<condition property="test.dist.dir" value="${suite.build.dir}/testdist">
<isset property="suite.build.dir"/>
</condition>
<property name="test.dist.dir" location="${build.dir}/testdist"/>
<property name="build.classes.dir" location="${build.dir}/classes"/>
</target>
<target name="init" depends="basic-init,files-init,build-init,-javac-init"/>
<target name="nbm-license-init" unless="license.file">
<mkdir dir="${build.dir}"/>
<property name="license.file" location="${build.dir}/no-license.txt"/>
<echo file="${license.file}">[NO LICENSE SPECIFIED]</echo>
</target>
<target name="build-init" depends="basic-init,nbm-license-init">
<condition property="public.package.jar.dir" value="${suite.build.dir}/public-package-jars">
<isset property="suite.build.dir"/>
</condition>
<property name="public.package.jar.dir" location="${build.dir}/public-package-jars"/>
<mkdir dir="${public.package.jar.dir}"/>
<!-- Similar to projectized.xml but does not try to set NBM homepage/distribution, nor is javahelp.excludes predefined. -->
<parseprojectxml
project="."
publicpackagesproperty="public.packages"
friendsproperty="friends"
javadocpackagesproperty="module.javadoc.packages"
moduledependenciesproperty="module.dependencies"
moduleclasspathproperty="module.classpath"
publicpackagejardir="${public.package.jar.dir}"
moduleprocessorclasspathproperty="module.processor.classpath"
modulerunclasspathproperty="module.run.classpath"
classpathextensionsproperty="class.path.extensions"
>
<testtype name="unit"
runtimecp="test.unit.runtime.cp"
compilecp="test.unit.compile.cp"
compiledep="test.unit.testdep"/>
<testtype name="qa-functional"
runtimecp="test.qa-functional.runtime.cp"
compilecp="test.qa-functional.compile.cp"
compiledep="test.qa-functional.testdep"/>
</parseprojectxml>
<condition property="is.regular">
<not>
<or>
<isset property="is.autoload"/>
<isset property="is.eager"/>
<equals arg1="${module.jar.dir}" arg2="core"/>
<equals arg1="${module.jar.dir}" arg2="lib"/>
</or>
</not>
</condition>
<property name="build.compiler.debug" value="true"/>
<property name="build.compiler.debuglevel" value="source,lines,vars"/>
<property name="build.compiler.deprecation" value="true"/>
<property name="build.sysclasspath" value="ignore"/>
<property name="build.compiler.optimize" value="off"/>
<property name="build.package.compress" value="false"/>
<property name="build.package.index" value="false"/>
<property name="manifest.mf" location="manifest.mf"/>
<property name="src.dir" location="src"/>
<property name="nbm" value="${code.name.base.dashes}.nbm"/>
<property name="nbm.module.author" value=""/>
<property name="nbm.release.date" value=""/>
<property name="nbm.needs.restart" value="false"/>
<property name="nbm.is.global" value=""/>
<property name="nbm.is.preferredupdate" value=""/>
<!-- Override if you want to use these: -->
<property name="nbm.distribution" value=""/>
<property name="nbm.homepage" value=""/>
<property name="build.javahelp.dir" location="${build.dir}/javahelp"/>
<property name="javahelp.base" value="${code.name.base.slashes}/docs"/>
<property name="javahelp.search" value="JavaHelpSearch"/>
<pathconvert property="retouche.javac.api">
<pathfileset>
<path path="${cluster.path.final}"/>
<filename name="modules/ext/*javac*api*.jar"/>
</pathfileset>
</pathconvert>
<pathconvert property="retouche.javac.impl">
<pathfileset>
<path path="${cluster.path.final}"/>
<filename name="modules/ext/*javac*impl*.jar"/>
</pathfileset>
<fileset dir="${nbjdk.home}/../Classes" erroronmissingdir="false">
<include name="*.jar"/>
</fileset>
</pathconvert>
<!-- When requires.nb.javac property is true, prepend javac-api on bootclasspath to allow override the default annotation
processing API located in rt.jar. On Mac, prepend also javac-impl, so that tests are built against correct version of javac. -->
<condition property="bootclasspath.prepend" value="${retouche.javac.api}:${retouche.javac.impl}">
<and>
<os family="mac"/>
<istrue value="${requires.nb.javac}"/>
</and>
</condition>
<condition property="bootclasspath.prepend" value="${retouche.javac.api}">
<istrue value="${requires.nb.javac}"/>
</condition>
</target>
<target name="-test-branding" if="branding.token"><!-- #197066 -->
<property name="test-unit-sys-prop.branding.token" value="${branding.token}"/>
<property name="test-qa-functional-sys-prop.branding.token" value="${branding.token}"/>
</target>
<target name="test-lib-init" depends="init,-test-branding">
<!-- NbModuleSuite must be made to ignore disabled.modules during a test; see discussion in #136621: -->
<delete failonerror="false">
<fileset dir="${suite.build.dir}">
<include name="cluster/config/Modules/*.xml_hidden"/>
</fileset>
</delete>
<path id="test.unit.lib.cp">
<pathelement path="${test.unit.lib.cp}"/> <!-- for manual override -->
<!-- As a fallback for old platforms which do not include the right modules: -->
<pathfileset include="modules/ext/junit-*.jar">
<path refid="cluster.path.id"/>
</pathfileset>
<fileset dir="${netbeans.home}/..">
<include name="*/modules/ext/junit-*.jar"/>
</fileset>
</path>
</target>
<target name="javahelp" depends="init" if="has.javahelp">
<!-- Similar to projectized.xml but does not fiddle with usersguide/.../ide.css, and finds jhall.jar differently: -->
<property name="jhall.jar" location="${harness.dir}/antlib/jsearch-2.0_05.jar"/>
<available property="jhall.jar.exists" file="${jhall.jar}"/>
<fail unless="jhall.jar.exists">You must set 'jhall.jar' (e.g. in private.properties) to the location of jsearch.jar from a JavaHelp distribution</fail>
<mkdir dir="${build.javahelp.dir}/${javahelp.base}/${javahelp.search}"/>
<copy todir="${build.javahelp.dir}">
<fileset dir="javahelp"/>
</copy>
<jhindexer basedir="${build.javahelp.dir}/${javahelp.base}"
db="${build.javahelp.dir}/${javahelp.base}/${javahelp.search}">
<classpath>
<pathelement location="${jhall.jar}"/>
<pathelement location="${harness.dir}/tasks.jar"/>
</classpath>
<include name="**/*.html"/>
<include name="**/*.htm"/> <!-- Fix for Issue #160276 -->
<exclude name="${javahelp.search}/"/>
<exclude name="${javahelp.excludes}"/>
</jhindexer>
<mkdir dir="${cluster}/${javahelp.jar.dir}"/>
<jar jarfile="${cluster}/${javahelp.jar}" compress="true">
<fileset dir="${build.javahelp.dir}"/>
</jar>
</target>
<target name="javadoc" depends="build-init,-javadoc-init">
<mkdir dir="${netbeans.javadoc.dir}/${code.name.base.dashes}"/>
<javadoc destdir="${netbeans.javadoc.dir}/${code.name.base.dashes}" packagenames="${module.javadoc.packages}" source="${javac.source}" windowtitle="${javadoc.title}" encoding="UTF-8" charset="UTF-8">
<classpath refid="processor.cp"/> <!-- #157320 -->
<sourcepath>
<pathelement location="${src.dir}"/>
<pathelement location="${build.dir}/classes-generated"/>
</sourcepath>
<doctitle>${javadoc.title}</doctitle>
<header>${javadoc.header}</header>
</javadoc>
</target>
<target name="javadoc-nb" depends="init,javadoc" if="netbeans.home">
<nbbrowse file="${netbeans.javadoc.dir}/${code.name.base.dashes}/index.html"/>
</target>
<target name="-hide-excluded-modules" if="suite.dir"> <!-- #194563 -->
<ant dir="${suite.dir}" inheritall="false" target="-hide-excluded-modules"/>
</target>
<target name="run" depends="netbeans,-hide-excluded-modules">
<ant antfile="${harness.dir}/run.xml" target="run">
<reference refid="cluster.path.id"/>
</ant>
</target>
<target name="-profile-check" if="netbeans.home">
<condition property="profiler.configured">
<or>
<contains string="${run.args.ide}" substring="-agentpath:" casesensitive="true"/>
<contains string="${run.args.ide}" substring="-javaagent:" casesensitive="true"/>
</or>
</condition>
</target>
<target name="-do-profile" depends="netbeans,-hide-excluded-modules,-jdk-presetdef-nbprofiledirect">
<ant antfile="${harness.dir}/run.xml" target="profile">
<reference refid="cluster.path.id"/>
</ant>
</target>
<target name="-try-profile" depends="-profile-check" if="profiler.configured">
<antcall target="-do-profile"/>
</target>
<target name="profile">
<ant antfile="${harness.dir}/run.xml" target="-profile-check"/>
<antcall target="-try-profile"/>
</target>
<target name="debug" depends="netbeans,-hide-excluded-modules,-jdk-presetdef-nbjpdastart">
<ant antfile="${harness.dir}/run.xml" target="debug">
<reference refid="cluster.path.id"/>
</ant>
</target>
<target name="reload" depends="netbeans">
<ant antfile="${harness.dir}/run.xml" target="run">
<property name="run.args" value='--reload "${cluster}/${module.jar}" --nosplash'/>
<property name="run.args.extra" value=""/>
<reference refid="cluster.path.id"/>
</ant>
</target>
<target name="reload-in-ide" depends="netbeans">
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<nbinstaller module="${cluster}/${module.jar}" action="reinstall"/>
</target>
<target name="-copy-testxmlresults">
<copy todir="${test.xml.results.dir}" flatten="true" failonerror="false">
<fileset dir="${build.dir}/test" includes="*/results/TEST-*.xml"/>
</copy>
</target>
</project>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.insane">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-insane.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.apisupport.harness">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-modules-apisupport-harness.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.jellytools.platform">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-modules-jellytools-platform.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.jemmy">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-modules-jemmy.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.nbjunit">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-modules-nbjunit.jar</param>
<param name="reloadable">false</param>
</module>

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,50 @@
<?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.
-->
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
<key>CFBundleName</key>
<string>${app.name}</string>
<key>CFBundleVersion</key>
<string>${app.version}</string>
<key>CFBundleExecutable</key>
<string>${app.name}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>${app.version}</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleIconFile</key>
<string>${app.name}.icns</string>
</dict>
</plist>

View File

@ -0,0 +1,68 @@
# 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.
# ${HOME} will be replaced by user home directory according to platform.
#
# Default locations of userdir and cachedir:
# (http://wiki.netbeans.org/FaqWhatIsUserdir)
#
# On Windows ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher
# with <AppData>\<AppName>, where <AppData> is the value of
# "AppData" key in Windows Registry under
# "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"
# and ${DEFAULT_CACHEDIR_ROOT} will be replaced by the launcher
# with the value of "<LocalAppData>\<AppName>\Cache" where "LocalAppData"
# is a key in Windows Registry under
# "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders".
# <AppName> is the the executable's filename without the extension.
#
# On Mac ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher
# with "~/Library/Application Support/<AppName>" and
# ${DEFAULT_CACHEDIR_ROOT} with "~/Library/Caches/<AppName>"
# where <AppName> is the launcher script's name.
#
# On other systems ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher
# with "${HOME}/.<AppName>" and ${DEFAULT_CACHEDIR_ROOT} with
# "${HOME}/.cache/<AppName>".
#
# You can also use ${HOME} variable which will be replaced with
# user.home JVM system property value.
#
# The above location variables are valid only in the default_userdir and
# default_cachedir properties.
#
# NOTE: If you specify a non-default userdir path on command line
# (--userdir option) and don't specify a cachedir path (--cachedir option),
# cachedir will be in "<userdir>/var/cache".
#
# Cachedir must be different from userdir. The same cachedir and userdir
# would cause problems.
#
default_userdir="${DEFAULT_USERDIR_ROOT}/dev"
default_cachedir="${DEFAULT_CACHEDIR_ROOT}/dev"
# options used by the launcher by default, can be overridden by explicit
# command line switches
default_options="--branding ${branding.token}"
# for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-ea
# default location of JDK/JRE, can be overridden by using --jdkhome <dir> switch
#jdkhome="/path/to/jdk"
# clusters' paths separated by path.separator (semicolon on Windows, colon on Unices)
#extra_clusters=

Binary file not shown.

View File

@ -0,0 +1,284 @@
<?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="jdk" basedir=".">
<description>
Permits selection of a JDK to use when building and running NetBeans.
For details on usage, see apisupport/harness/release/README (in sources)
or harness/README (in binaries). Cf. issue #63541.
</description>
<target name="-jdk-pre-preinit">
<condition property="nbjdk.active-or-nbjdk.home">
<or>
<and>
<isset property="nbjdk.active"/>
<not>
<equals arg1="${nbjdk.active}" arg2="default"/>
</not>
</and>
<and>
<isset property="nbjdk.home"/>
<not>
<isset property="nbjdk.home.defaulted"/>
</not>
</and>
</or>
</condition>
</target>
<target name="-jdk-preinit" depends="-jdk-pre-preinit" if="nbjdk.active-or-nbjdk.home" xmlns:common="http://nbbuild.netbeans.org/jdk.xml">
<macrodef name="property" uri="http://nbbuild.netbeans.org/jdk.xml">
<attribute name="name"/>
<attribute name="value"/>
<sequential>
<property name="@{name}" value="${@{value}}"/>
</sequential>
</macrodef>
<common:property name="nbjdk.home" value="platforms.${nbjdk.active}.home"/>
<common:property name="nbjdk.javac.tmp" value="platforms.${nbjdk.active}.javac"/>
<condition property=".exe" value=".exe">
<os family="windows"/> <!-- #72467 -->
</condition>
<property name=".exe" value=""/>
<condition property="nbjdk.javac" value="${nbjdk.home}/bin/javac${.exe}">
<equals arg1="${nbjdk.javac.tmp}" arg2="$${platforms.${nbjdk.active}.javac}"/>
</condition>
<property name="nbjdk.javac" value="${nbjdk.javac.tmp}"/>
<common:property name="nbjdk.java.tmp" value="platforms.${nbjdk.active}.java"/>
<condition property="nbjdk.java" value="${nbjdk.home}/bin/java${.exe}">
<equals arg1="${nbjdk.java.tmp}" arg2="$${platforms.${nbjdk.active}.java}"/>
</condition>
<property name="nbjdk.java" value="${nbjdk.java.tmp}"/>
<common:property name="nbjdk.javadoc.tmp" value="platforms.${nbjdk.active}.javadoc"/>
<condition property="nbjdk.javadoc" value="${nbjdk.home}/bin/javadoc${.exe}">
<equals arg1="${nbjdk.javadoc.tmp}" arg2="$${platforms.${nbjdk.active}.javadoc}"/>
</condition>
<property name="nbjdk.javadoc" value="${nbjdk.javadoc.tmp}"/>
<common:property name="nbjdk.bootclasspath.tmp" value="platforms.${nbjdk.active}.bootclasspath"/>
<condition property="nbjdk.bootclasspath" value="${nbjdk.home}/../Classes/classes.jar:${nbjdk.home}/../Classes/jsse.jar:${nbjdk.home}/../Classes/jce.jar:${nbjdk.home}/../Classes/ui.jar:${nbjdk.home}/../Classes/laf.jar:${nbjdk.home}/../Classes/sunrsasign.jar:${nbjdk.home}/../Classes/charsets.jar">
<and>
<equals arg1="${nbjdk.bootclasspath.tmp}" arg2="$${platforms.${nbjdk.active}.bootclasspath}"/>
<available file="${nbjdk.home}/../Classes/classes.jar" type="file"/>
</and>
</condition>
<pathconvert property="nbjdk.bootclasspath.standard">
<path>
<fileset dir="${nbjdk.home}/jre/lib" erroronmissingdir="false" includes="*.jar"/>
</path>
</pathconvert>
<condition property="nbjdk.bootclasspath" value="${nbjdk.bootclasspath.standard}">
<equals arg1="${nbjdk.bootclasspath.tmp}" arg2="$${platforms.${nbjdk.active}.bootclasspath}"/>
</condition>
<property name="nbjdk.bootclasspath" value="${nbjdk.bootclasspath.tmp}"/>
<condition property="nbjdk.valid">
<and>
<available file="${nbjdk.home}" type="dir"/>
<available file="${nbjdk.javac}" type="file"/>
<available file="${nbjdk.java}" type="file"/>
<available file="${nbjdk.javadoc}" type="file"/>
<or>
<available classname="java.lang.Object" classpath="${nbjdk.bootclasspath}" ignoresystemclasses="true"/>
<available file="${nbjdk.home}/bin/jmod${.exe}"/>
</or>
</and>
</condition>
<exec executable="${nbjdk.home}/bin/java" outputproperty="nbjdk.versioninfo">
<arg value="-version" />
</exec>
<condition property="nbjdk.enable_security_manager" value="-Djava.security.manager=allow" else="">
<not>
<or>
<matches pattern=".*version &quot;1\.8\.?.*" string="${nbjdk.versioninfo}" />
<matches pattern=".*version &quot;9(&quot;|\.).*" string="${nbjdk.versioninfo}" />
<matches pattern=".*version &quot;10(&quot;|\.).*" string="${nbjdk.versioninfo}" />
<matches pattern=".*version &quot;11(&quot;|\.).*" string="${nbjdk.versioninfo}" />
</or>
</not>
</condition>
<available property="have-jdk-1.4" classname="java.lang.CharSequence" classpath="${nbjdk.bootclasspath}" ignoresystemclasses="true"/>
<available property="have-jdk-1.5" classname="java.lang.StringBuilder" classpath="${nbjdk.bootclasspath}" ignoresystemclasses="true"/>
<available property="have-jdk-1.6" classname="java.util.ServiceLoader" classpath="${nbjdk.bootclasspath}" ignoresystemclasses="true"/>
<available property="have-jdk-1.7" classname="java.lang.ReflectiveOperationException" classpath="${nbjdk.bootclasspath}" ignoresystemclasses="true"/>
<available property="have-jdk-1.8" classname="java.lang.FunctionalInterface" classpath="${nbjdk.bootclasspath}" ignoresystemclasses="true"/>
<available property="have-jdk-1.9" file="${nbjdk.home}/bin/jmod${.exe}"/>
<echo level="verbose">nbjdk.active=${nbjdk.active} nbjdk.home=${nbjdk.home} nbjdk.java=${nbjdk.java} nbjdk.javac=${nbjdk.javac} nbjdk.javadoc=${nbjdk.javadoc} nbjdk.bootclasspath=${nbjdk.bootclasspath} nbjdk.valid=${nbjdk.valid} have-jdk-1.4=${have-jdk-1.4} have-jdk-1.5=${have-jdk-1.5} have-jdk-1.6=${have-jdk-1.6} have-jdk-1.7=${have-jdk-1.7} have-jdk-1.8=${have-jdk-1.8} have-jdk-1.9=${have-jdk-1.9}</echo>
</target>
<target name="-jdk-warn" depends="-jdk-preinit" if="nbjdk.active-or-nbjdk.home" unless="nbjdk.valid">
<property name="jdkhome.presumed" location="${java.home}/.."/>
<echo level="warning">Warning: nbjdk.active=${nbjdk.active} or nbjdk.home=${nbjdk.home} is an invalid Java platform; ignoring and using ${jdkhome.presumed}</echo>
</target>
<target name="-jdk-presetdef-basic" depends="-jdk-preinit" if="nbjdk.valid" unless="jdk.presetdef.basic.done">
<!-- Have to eval these props now, not when used, because of usages of <ant ... inheritall="false"> -->
<!-- (cf. http://issues.apache.org/bugzilla/show_bug.cgi?id=38040) -->
<macrodef name="javac-presetdef">
<attribute name="javacval"/>
<sequential>
<presetdef name="javac">
<javac fork="yes" executable="@{javacval}"/>
</presetdef>
</sequential>
</macrodef>
<javac-presetdef javacval="${nbjdk.javac}"/>
<macrodef name="java-presetdef">
<attribute name="javaval"/>
<sequential>
<presetdef name="java">
<java fork="yes" jvm="@{javaval}"/>
</presetdef>
</sequential>
</macrodef>
<java-presetdef javaval="${nbjdk.java}"/>
<macrodef name="javadoc-presetdef">
<attribute name="javadocval"/>
<sequential>
<presetdef name="javadoc">
<javadoc executable="@{javadocval}"/>
</presetdef>
</sequential>
</macrodef>
<javadoc-presetdef javadocval="${nbjdk.javadoc}"/>
<macrodef name="junit-presetdef">
<attribute name="javaval"/>
<sequential>
<presetdef name="junit">
<junit fork="yes" jvm="@{javaval}"/>
</presetdef>
</sequential>
</macrodef>
<junit-presetdef javaval="${nbjdk.java}"/>
<property name="jdk.presetdef.basic.done" value="true"/>
</target>
<target name="-jdk-presetdef-nbjpdastart" depends="-jdk-preinit" if="nbjdk.valid" unless="jdk.presetdef.nbjpdastart.done">
<macrodef name="nbjpdastart-presetdef">
<attribute name="bootcpval"/>
<sequential>
<presetdef name="nbjpdastart">
<nbjpdastart>
<bootclasspath>
<path path="@{bootcpval}"/>
</bootclasspath>
</nbjpdastart>
</presetdef>
</sequential>
</macrodef>
<nbjpdastart-presetdef bootcpval="${nbjdk.bootclasspath}"/>
<property name="jdk.presetdef.nbjpdastart.done" value="true"/>
</target>
<target name="-jdk-presetdef-nbprofiledirect" depends="-jdk-preinit" if="nbjdk.valid" unless="jdk.presetdef.nbprofiledirect.done">
<!-- XXX disable for now, but could be considered:
<macrodef name="nbprofiledirect-presetdef">
<attribute name="javaval"/>
<sequential>
<presetdef name="nbprofiledirect">
<nbprofiledirect jvmproperty="@{javaval}"/>
</presetdef>
</sequential>
</macrodef>
<nbprofiledirect-presetdef javaval="${nbjdk.java}"/>
-->
<property name="jdk.presetdef.nbprofiledirect.done" value="true"/>
</target>
<target name="-jdk-default" unless="nbjdk.active-or-nbjdk.home">
<!-- Define fallback values of some things. -->
<property name="java.home.parent" location="${java.home}/.."/>
<condition property="nbjdk.home" value="${java.home.parent}">
<available file="${java.home.parent}/lib/tools.jar" type="file"/>
</condition>
<condition property="nbjdk.home" value="${java.home}">
<available file="${java.home}/lib/tools.jar" type="file"/>
</condition>
<!-- Mac OS X -->
<condition property="nbjdk.home" value="${java.home}">
<available file="${java.home}/../Classes/classes.jar" type="file"/>
</condition>
<!-- Fallback? -->
<property name="nbjdk.home" location="${java.home}"/>
<exec executable="${nbjdk.home}/bin/java" outputproperty="nbjdk.versioninfo">
<arg value="-version" />
</exec>
<condition property="nbjdk.enable_security_manager" value="-Djava.security.manager=allow" else="">
<not>
<or>
<matches pattern=".*version &quot;1\.8\.?.*" string="${nbjdk.versioninfo}" />
<matches pattern=".*version &quot;9(&quot;|\.).*" string="${nbjdk.versioninfo}" />
<matches pattern=".*version &quot;10(&quot;|\.).*" string="${nbjdk.versioninfo}" />
<matches pattern=".*version &quot;11(&quot;|\.).*" string="${nbjdk.versioninfo}" />
</or>
</not>
</condition>
<available property="have-jdk-1.4" classname="java.lang.CharSequence"/>
<available property="have-jdk-1.5" classname="java.lang.StringBuilder"/>
<available property="have-jdk-1.6" classname="java.util.ServiceLoader"/>
<available property="have-jdk-1.7" classname="java.lang.ReflectiveOperationException"/>
<available property="have-jdk-1.8" classname="java.lang.FunctionalInterface"/>
<available property="have-jdk-1.9" classname="java.util.zip.CRC32C"/>
<property name="nbjdk.home.defaulted" value="true"/>
</target>
<target name="-jdk-init" depends="-jdk-preinit,-jdk-warn,-jdk-presetdef-basic,-jdk-default">
<!-- Will be bogus on Mac OS X, but doesn't matter - Classes/classes.jar should have this anyway -->
<property name="tools.jar" location="${nbjdk.home}/lib/tools.jar"/>
<!--<echo level="info">Using JDK: ${nbjdk.home}</echo>-->
<condition property=".exe" value=".exe">
<os family="windows"/> <!-- #72467 -->
</condition>
<property name=".exe" value=""/>
<property name="test.nbjdk.home" location="" />
<condition property="test.nbjdk.java" value="${test.nbjdk.home}/bin/java${.exe}" else="${nbjdk.home}/bin/java${.exe}">
<and>
<isset property="test.nbjdk.home" />
<available file="${test.nbjdk.home}/bin/java${.exe}" type="file"/>
</and>
</condition>
<available property="have-jdk-1.9" file="${nbjdk.home}/bin/jmod${.exe}"/>
<condition property="test-have-jdk-1.9">
<or>
<and>
<isset property="test.nbjdk.home" />
<available file="${test.nbjdk.home}/bin/jmod${.exe}" type="file"/>
</and>
<and>
<not>
<isset property="test.nbjdk.home" />
</not>
<available file="${nbjdk.home}/bin/java${.exe}" type="file"/>
</and>
</or>
</condition>
</target>
</project>

View File

@ -0,0 +1,458 @@
<?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="suite-jnlp" basedir=".">
<!-- if jnlp.codebase is provided make both the app and the platform relative to it -->
<condition property="jnlp.codebase.app" value="${jnlp.codebase}app/" >
<isset property="jnlp.codebase" />
</condition>
<!-- if not specified, assign all codebases to value suitable for jnlp-servlet.jar -->
<property name="jnlp.codebase" value="$$$$codebase" />
<property name="jnlp.codebase.app" value="$$$$codebase" />
<target name="-check-for-master.jnlp">
<available file="master.jnlp" property="master.jnlp.exists"/>
</target>
<target name="jnlp-init-generate-master" depends="-check-for-master.jnlp" unless="master.jnlp.exists">
<echo file="master.jnlp"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Descriptor 6.0//EN" "http://java.sun.com/dtd/JNLP-6.0.dtd">
<jnlp spec="1.0+" codebase="${jnlp.codebase}" href="master.jnlp">
<information>
<title>$${app.title}</title>
<vendor>$${app.title} vendor</vendor>
<description>$${app.name} application</description>
<icon href="$${app.icon}"/>
</information>
<security><all-permissions/></security>
<resources>
<!-- The following property is needed when running with unsigned jars: -->
<property name="netbeans.jnlp.fixPolicy" value="$${netbeans.jnlp.fixPolicy}"/>
<extension name='branding' href='branding.jnlp' />
<!-- The following line will be replaced with an automatically generated list of resources: -->
<!--$${jnlp.resources}-->
</resources>
<resources os="Mac OS X">
<property name="jnlp.netbeans.user" value="$${user.home}/Library/Application Support/$${app.name}"/>
</resources>
<application-desc>
<argument>--branding</argument>
<argument>$${branding.token}</argument>
</application-desc>
</jnlp>
]]></echo>
<echo file="branding.jnlp"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Descriptor 6.0//EN" "http://java.sun.com/dtd/JNLP-6.0.dtd">
<jnlp spec="1.0+" codebase="${jnlp.codebase}">
<information>
<title>$${app.title}</title>
<vendor>$${app.title} vendor</vendor>
<description>$${app.name} application</description>
<icon href="$${app.icon}"/>
</information>
$${jnlp.permissions}
<resources>
$${jnlp.branding.jars}
</resources>
<component-desc/>
</jnlp>
]]></echo>
</target>
<target name="jnlp-init" depends="jnlp-init-generate-master">
<fail unless="app.name">Must have set at least an application name ('app.name')</fail>
<property name="jnlp.dest.dir" location="${suite.build.dir}/jnlp"/>
<property name="jnlp.master.dir" location="${suite.build.dir}/tmp/master-jnlp"/>
<mkdir dir="${jnlp.master.dir}"/>
<property name="dist.dir" location="dist"/>
<property name="disabled.modules" value=""/>
<property name="enabled.clusters" value=""/>
<property name="disabled.clusters" value=""/>
<pathfileset id="jnlp.included.modules" >
<path refid="cluster.path.id"/>
<and>
<or>
<filename name="modules/**/*.jar"/>
<filename name="lib/**/*.jar"/>
<filename name="core/**/*.jar"/>
</or>
<not>
<filename name="**/update/**/*.jar"/>
</not>
<custom classpath="${harness.dir}/tasks.jar" classname="org.netbeans.nbbuild.ModuleSelector">
<param name="excludeModules" value="${disabled.modules}"/>
<param name="includeClusters" value="${enabled.clusters}"/>
<param name="excludeClusters" value="${disabled.clusters}"/>
</custom>
</and>
</pathfileset>
<property name="jnlp.sign.jars" value="true"/>
<property name="jnlp.signjar.keystore" location="${suite.build.dir}/default.keystore"/>
<property name="jnlp.signjar.alias" value="jnlp"/>
<property name="jnlp.signjar.password" value="netbeans"/>
<available property="jnlp.signjar.keystore.exists" file="${jnlp.signjar.keystore}"/>
<condition property="jnlp.included.locales.impl" value="${jnlp.included.locales}" else="*">
<isset property="jnlp.included.locales"/>
</condition>
</target>
<target name="jnlp-generate-keystore" depends="jnlp-init" unless="jnlp.signjar.keystore.exists">
<property name="jnlp.signjar.vendor" value="CN=${user.name}"/>
<mkdir dir="${jnlp.signjar.keystore}/../"/>
<echo message="Going to create default keystore in ${jnlp.signjar.keystore}"/>
<genkey validity="365"
alias="${jnlp.signjar.alias}"
keystore="${jnlp.signjar.keystore}"
storepass="${jnlp.signjar.password}"
dname="${jnlp.signjar.vendor}"
/>
</target>
<target name="jnlp-generate-platform" depends="jnlp-generate-platform-repository,jnlp-generate-platform-master"/>
<target name="jnlp-generate-platform-repository" depends="jnlp-generate-keystore,jnlp-init,set-all-permissions,set-empty-permissions" unless="jnlp.platform.codebase">
<condition property="jnlp.platform.codebase.own" value="${jnlp.codebase}netbeans/" >
<not>
<equals arg1="${jnlp.codebase}" arg2="$$$$codebase" />
</not>
</condition>
<property name="jnlp.platform.codebase.own" value="$$$$codebase"/>
<property name="jnlp.platform.codebase" value="netbeans/"/>
<mkdir dir="${jnlp.dest.dir}/netbeans"/>
<!-- See #70477 for why there is no verify=true here: -->
<makejnlp
appname="${app.name}"
includelocales="${jnlp.included.locales.impl}"
alias="${jnlp.signjar.alias}"
keystore="${jnlp.signjar.keystore}"
storepass="${jnlp.signjar.password}"
dir="${jnlp.dest.dir}/netbeans/"
codebase="${jnlp.platform.codebase.own}"
permissions="${jnlp.permissions}"
signjars="${jnlp.sign.jars}"
processjarversions="${jnlp.generate.versions}"
>
<resources refid="jnlp.included.modules"/>
</makejnlp>
</target>
<target name="set-all-permissions" depends="check-signjars" if="unsign-the-jars">
<property name="jnlp.permissions" value="&lt;security/&gt;"/>
</target>
<target name="set-empty-permissions" depends="check-signjars" unless="unsign-the-jars">
<property name="jnlp.permissions" value="&lt;security&gt;&lt;all-permissions/&gt;&lt;/security&gt;"/>
</target>
<target name="check-signjars">
<condition property="unsign-the-jars">
<isfalse value="${jnlp.sign.jars}"/>
</condition>
</target>
<target name="jnlp-generate-platform-master" depends="jnlp-generate-platform-repository">
<makemasterjnlp
dir="${jnlp.master.dir}"
codebase="${jnlp.platform.codebase}"
>
<resources refid="jnlp.included.modules"/>
</makemasterjnlp>
</target>
<target name="build"
depends="build-jnlp-nowar"
description="Build JNLP files and signed JARs for all modules in the suite."
>
<available file="${nbjdk.home}/sample/jnlp/servlet/jnlp-servlet.jar" property="jnlp.servlet.jar"
value="${nbjdk.home}/sample/jnlp/servlet/jnlp-servlet.jar"
/>
<property name="jnlp.servlet.jar" location="${harness.dir}/jnlp/jnlp-servlet.jar"/>
<fail message="Cannot find -Djnlp.servlet.jar pointing to ${jnlp.servlet.jar}">
<condition>
<not>
<available file="${jnlp.servlet.jar}"/>
</not>
</condition>
</fail>
<echo file="${suite.build.dir}/tmp/web.xml"><![CDATA[
<web-app>
<servlet>
<servlet-name>JnlpDownloadServlet</servlet-name>
<servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>JnlpDownloadServlet</servlet-name>
<url-pattern>*.jnlp</url-pattern>
</servlet-mapping>
</web-app>
]]></echo>
<mkdir dir="${dist.dir}"/>
<war basedir="${jnlp.dest.dir}" destfile="${dist.dir}/${app.name}.war" webxml="${suite.build.dir}/tmp/web.xml">
<zipfileset dir="${jnlp.servlet.jar}/.." prefix="WEB-INF/lib"/>
<zipfileset file="${jnlp.servlet.jar}" prefix="WEB-INF/lib"/>
</war>
</target>
<target name="build-jnlp-local" depends="build-jnlp-nowar">
<property name="build.jnlp.local.dir" location="${dist.dir}/jnlp/local"/>
<mkdir dir="${build.jnlp.local.dir}"/>
<mkdir dir="${build.jnlp.local.dir}/netbeans/"/>
<mkdir dir="${build.jnlp.local.dir}/app/"/>
<makeurl property="build.jnlp.local.url" file="${build.jnlp.local.dir}"/>
<copy todir="${build.jnlp.local.dir}">
<fileset dir="${suite.build.dir}/jnlp">
<include name="*.jnlp"/>
</fileset>
<filterchain>
<replacestring from="$$$$codebase" to="${build.jnlp.local.url}"/>
</filterchain>
</copy>
<jnlpupdatemanifeststartup appname="${app.name}"
alias="${jnlp.signjar.alias}"
keystore="${jnlp.signjar.keystore}"
storepass="${jnlp.signjar.password}"
jar="${harness.dir}/jnlp/jnlp-launcher.jar"
masterJnlp="${build.jnlp.local.dir}/master.jnlp"
destjar="${build.jnlp.local.dir}/startup.jar"/>
<mkdir dir="${suite.build.dir}/jnlp/netbeans"/> <!-- else fileset will croak -->
<copy todir="${build.jnlp.local.dir}/netbeans/">
<fileset dir="${suite.build.dir}/jnlp/netbeans">
<include name="**/*.jnlp"/>
</fileset>
<filterchain>
<replacestring from="$$$$codebase" to="${build.jnlp.local.url}netbeans/"/>
</filterchain>
</copy>
<copy todir="${build.jnlp.local.dir}/app/">
<fileset dir="${suite.build.dir}/jnlp/app">
<include name="**/*.jnlp"/>
</fileset>
<filterchain>
<replacestring from="$$$$codebase" to="${build.jnlp.local.url}app/"/>
</filterchain>
</copy>
<copy todir="${build.jnlp.local.dir}">
<fileset dir="${suite.build.dir}/jnlp">
<exclude name="**/*.jnlp"/>
</fileset>
</copy>
<verifyjnlp>
<fileset file="${build.jnlp.local.dir}/master.jnlp"/>
</verifyjnlp>
</target>
<target name="build-jnlp-nowar" depends="jnlp-init,jnlp-generate-keystore,jnlp-generate-platform">
<mkdir dir="${jnlp.dest.dir}/app"/>
<subant target="jnlp" buildpath="${modules.sorted}" inheritrefs="false" inheritall="false">
<property name="jnlp.dest.dir" value="${jnlp.dest.dir}/app"/>
<property name="jnlp.master.dir" value="${jnlp.master.dir}"/>
<property name="jnlp.master.codebase" value="app/"/>
<property name="jnlp.codebase" value="${jnlp.codebase.app}"/>
<property name="jnlp.signjar.alias" value="${jnlp.signjar.alias}"/>
<property name="jnlp.signjar.keystore" location="${jnlp.signjar.keystore}"/>
<property name="jnlp.signjar.password" value="${jnlp.signjar.password}"/>
<property name="jnlp.sign.jars" value="${jnlp.sign.jars}"/>
<property name="jnlp.permissions" value="${jnlp.permissions}"/>
</subant>
<antcall target="copy-branding"/>
<pathconvert pathsep="${line.separator}" property="jnlp.branding.jars">
<path>
<fileset dir="${jnlp.dest.dir}/branding">
<include name="*_${branding.token}.jar"/>
</fileset>
</path>
<mapper type="regexp" from="^.*[/\\]([^/\\]+\.jar)" to=' &lt;jar href="branding/\1"/&gt;'/>
</pathconvert>
<echo file="${jnlp.master.dir}/resources.xml"><![CDATA[
<java version="1.6+"/>
<jar href="startup.jar" main="true"/>
<property name="jnlp.netbeans.user" value="$${user.home}/.nbapp-${app.name}"/>
]]></echo>
<concat append="true" destfile="${jnlp.master.dir}/resources.xml">
<fileset dir="${jnlp.master.dir}">
<include name="*.ref"/>
</fileset>
</concat>
<loadfile property="jnlp.resources" srcfile="${jnlp.master.dir}/resources.xml"/>
<condition property="netbeans.jnlp.fixPolicy">
<isfalse value="${jnlp.sign.jars}"/>
</condition>
<!-- Anyone knows a better way to negate a property value? -->
<condition property="netbeans.jnlp.fixPolicy" value="false">
<istrue value="${jnlp.sign.jars}"/>
</condition>
<condition property="app.icon.safe" value="${app.icon}" else=".png">
<isset property="app.icon" />
</condition>
<pathconvert property="app.icon.ext">
<path path="${app.icon.safe}"/>
<mapper type="regexp" from="^(.*)\.(.*)$$" to="\2"/>
</pathconvert>
<copy file="${app.icon}" tofile="${jnlp.dest.dir}/master.${app.icon.ext}" failonerror="false"/>
<copy file="master.jnlp" tofile="${jnlp.dest.dir}/master.jnlp">
<filterchain>
<replacestring from="&lt;!--$${jnlp.resources}--&gt;" to="${jnlp.resources}"/>
<replacestring from="$${jnlp.resources}" to="${jnlp.resources}"/>
<replacestring from="$${app.name}" to="${app.name}"/>
<replacestring from="$${user.home}" to="${user.home}"/>
<replacestring from="$${app.title}" to="${app.title}"/>
<replacestring from="$${app.icon}" to="master.${app.icon.ext}"/>
<replacestring from="$${branding.token}" to="${branding.token}"/>
<replacestring from="$${netbeans.jnlp.fixPolicy}" to="${netbeans.jnlp.fixPolicy}"/>
</filterchain>
</copy>
<jnlpupdatemanifeststartup appname="${app.name}"
alias="${jnlp.signjar.alias}"
keystore="${jnlp.signjar.keystore}"
storepass="${jnlp.signjar.password}"
jar="${harness.dir}/jnlp/jnlp-launcher.jar"
masterJnlp="${jnlp.dest.dir}/master.jnlp"
destjar="${jnlp.dest.dir}/startup.jar"/>
<echo>Your JNLP file is generated at ${jnlp.dest.dir}/master.jnlp</echo>
<!-- The following line will not fail if the branding.jnlp
is not present, e.g. when the main file was generated using
harness from 5.x days. -->
<copy file="branding.jnlp" tofile="${jnlp.dest.dir}/branding.jnlp" failonerror="false">
<filterchain>
<replacestring from="$${jnlp.branding.jars}" to="${jnlp.branding.jars}"/>
<replacestring from="$${app.name}" to="${app.name}"/>
<replacestring from="$${app.title}" to="${app.title}"/>
<replacestring from="$${app.icon}" to="master.${app.icon.ext}"/>
<replacestring from="$${jnlp.permissions}" to="${jnlp.permissions}"/>
</filterchain>
</copy>
<taskdef name="verifyjnlp" classname="org.netbeans.nbbuild.VerifyJNLP" classpath="${harness.dir}/tasks.jar"/>
<verifyjnlp>
<fileset file="${jnlp.dest.dir}/master.jnlp"/>
</verifyjnlp>
</target>
<target name="sign-branding-jars" unless="unsign-the-jars" depends="copy-branding-jars">
<jnlpupdatemanifestbranding appname="${app.name}"
alias="${jnlp.signjar.alias}"
keystore="${jnlp.signjar.keystore}"
storepass="${jnlp.signjar.password}">
<fileset dir="${jnlp.dest.dir}/branding">
<include name="*_${branding.token}.jar"/>
</fileset>
</jnlpupdatemanifestbranding>
</target>
<target name="copy-branding" depends="copy-branding-jars, sign-branding-jars"/>
<target name="copy-branding-jars">
<mkdir dir="${jnlp.dest.dir}/branding"/>
<copy todir="${jnlp.dest.dir}/branding" flatten="true">
<fileset dir="${cluster}">
<include name="**/locale/*.jar"/>
</fileset>
</copy>
</target>
<target name="run" depends="build-jnlp-local" description="Executes this suite as JNLP application">
<condition property="run.javaws" value="${nbjdk.home}/jre/bin/javaws">
<available file="${nbjdk.home}/jre/bin/javaws"/>
</condition>
<condition property="run.javaws" value="${nbjdk.home}/bin/javaws">
<available file="${nbjdk.home}/bin/javaws"/>
</condition>
<condition property="run.javaws" value="${nbjdk.home}\jre\bin\javaws.exe">
<available file="${nbjdk.home}\jre\bin\javaws.exe"/>
</condition>
<condition property="run.javaws" value="${nbjdk.home}\bin\javaws.exe">
<available file="${nbjdk.home}\bin\javaws.exe"/>
</condition>
<property name="run.javaws" value="javaws"/>
<property name="run.args" value=""/>
<exec executable="${run.javaws}">
<arg value="-wait"/>
<arg file="${build.jnlp.local.dir}/master.jnlp"/>
<env key="JAVAWS_VM_ARGS" value="${run.args}"/>
</exec>
</target>
<target name="debug" depends="build-jnlp-local" description="Executes this suite as JNLP application under debugger">
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<nbjpdastart name="NetBeans" addressproperty="debug.port" transport="dt_socket">
<classpath>
<pathfileset>
<path refid="cluster.path.id"/>
<filename name="**/*.jar"/>
</pathfileset>
<fileset dir="${cluster}">
<include name="**/*.jar"/>
</fileset>
</classpath>
</nbjpdastart>
<property name="debug.pause" value="y"/>
<property name="debug.args" value="-agentlib:jdwp=transport=dt_socket,suspend=${debug.pause},server=n,address=${debug.port}"/>
<antcall target="run">
<param name="run.args" value="${debug.args}"/>
<reference refid="cluster.path.id"/>
</antcall>
</target>
<target name="-profile-check" if="netbeans.home">
<condition property="profiler.configured">
<or>
<contains string="${run.jvmargs.ide}" substring="-agentpath:" casesensitive="true"/>
<contains string="${run.jvmargs.ide}" substring="-javaagent:" casesensitive="true"/>
</or>
</condition>
</target>
<target name="profile" depends="-profile-check,build-jnlp-local" description="Executes this suite as JNLP application under profiler" if="profiler.configured" unless="profiler.info.jvmargs.agent">
<startprofiler/>
<antcall target="run"/>
</target>
<target name="-check-for-jnlp-userdir">
<property name="jnlp.userdir" location="${user.home}/.nbapp-${app.name}"/>
<condition property="have.jnlp.userdir">
<and>
<isset property="app.name"/>
<available file="${jnlp.userdir}" type="dir"/>
</and>
</condition>
</target>
<target name="-clean-jnlp-userdir" depends="-check-for-jnlp-userdir" if="have.jnlp.userdir">
<property name="jnlp.userdir.bak" location="${jnlp.userdir}.bak"/>
<delete dir="${jnlp.userdir.bak}" failonerror="false"/>
<move file="${jnlp.userdir}" tofile="${jnlp.userdir.bak}" failonerror="false"/>
</target>
<target name="clean" depends="-clean-jnlp-userdir" description="Make sure default JNLP user directory is removed so run-jnlp will not get old test settings."/> <!-- #64249 -->
</project>

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,178 @@
#!/bin/sh
# 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.
#
# resolve symlinks
#
PRG=$0
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null`
if expr "$link" : '^/' 2> /dev/null >/dev/null; then
PRG="$link"
else
PRG="`dirname "$PRG"`/$link"
fi
done
progdir=`dirname "$PRG"`
APPNAME=`basename "$PRG"`
if [ -z "$APP_DOCK_NAME" ] ; then
APP_DOCK_NAME="$APPNAME"
fi
case "`uname`" in
Darwin*)
# set default userdir and cachedir on Mac OS X
DEFAULT_USERDIR_ROOT="${HOME}/Library/Application Support/${APPNAME}"
DEFAULT_CACHEDIR_ROOT=${HOME}/Library/Caches/${APPNAME}
;;
*)
# set default userdir and cachedir on unix systems
DEFAULT_USERDIR_ROOT=${HOME}/.${APPNAME}
DEFAULT_CACHEDIR_ROOT=${HOME}/.cache/${APPNAME}
;;
esac
if [ -f "$progdir/../etc/$APPNAME".conf ] ; then
. "$progdir/../etc/$APPNAME".conf
fi
# XXX does not correctly deal with spaces in non-userdir params
args=""
case "`uname`" in
Darwin*)
if [ ! -z "$default_mac_userdir" ]; then
userdir="${default_mac_userdir}"
else
userdir="${default_userdir}"
fi
;;
*)
userdir="${default_userdir}"
;;
esac
while [ $# -gt 0 ] ; do
case "$1" in
--userdir) shift; if [ $# -gt 0 ] ; then userdir="$1"; fi
;;
*) args="$args \"$1\""
;;
esac
shift
done
cachedir="${default_cachedir}"
if [ -f "${userdir}/etc/$APPNAME".conf ] ; then
. "${userdir}/etc/$APPNAME".conf
fi
if [ -n "$jdkhome" -a \! -d "$jdkhome" -a -d "$progdir/../$jdkhome" ]; then
# #74333: permit jdkhome to be defined as relative to app dir
jdkhome="$progdir/../$jdkhome"
fi
readClusters() {
if [ -x /usr/ucb/echo ]; then
echo=/usr/ucb/echo
else
echo=echo
fi
while read X; do
if [ "$X" \!= "" ]; then
$echo "$progdir/../$X"
fi
done
}
absolutize_paths() {
while read path; do
if [ -d "$path" ]; then
(cd "$path" 2>/dev/null && pwd)
else
echo "$path"
fi
done
}
clusters=`(cat "$progdir/../etc/$APPNAME".clusters; echo) | readClusters | absolutize_paths | tr '\012' ':'`
if [ ! -z "$extra_clusters" ] ; then
clusters="$clusters:$extra_clusters"
fi
nbexec=`echo "$progdir"/../platform*/lib/nbexec`
case "`uname`" in
Darwin*)
eval exec sh '"$nbexec"' \
--jdkhome '"$jdkhome"' \
-J-Xdock:name='"$APP_DOCK_NAME"' \
'"-J-Xdock:icon=$progdir/../../$APPNAME.icns"' \
--clusters '"$clusters"' \
--userdir '"${userdir}"' \
--cachedir '"${cachedir}"' \
${default_options} \
"$args"
;;
*)
sh=sh
# #73162: Ubuntu uses the ancient Bourne shell, which does not implement trap well.
if [ -x /bin/bash ]
then
sh=/bin/bash
fi
# See longer comments in nb/ide.launcher/unix/netbeans.
if [ "`command xrdb -query 2> /dev/null | grep Xft.dpi | cut -d ':' -f2 | xargs`" = 192 ]
then
echo "Detected 2x HiDPI scaling in Xft.dpi setting; setting GDK_SCALE=2"
export GDK_SCALE=2
fi
if [ "`command xdpyinfo 2> /dev/null | grep 'resolution:.*dots per inch' | cut -d ':' -f2 | cut -d 'x' -f1 | sort -u | xargs`" = 192 ]
then
echo "Detected 192 DPI on all screens in xdpyinfo; setting GDK_SCALE=2"
export GDK_SCALE=2
fi
extra_automatic_options=""
# See longer comments in nb/ide.launcher/unix/netbeans.
if [ ! -z "$KDE_FULL_SESSION" ] ; then
echo "Detected KDE; adding awt.useSystemAAFontSettings=on"
extra_automatic_options="-J-Dawt.useSystemAAFontSettings=on"
fi
# Add extra_automatic_options before default_options, to allow system
# property definitions from the configuration file to take precedence.
eval exec $sh '"$nbexec"' \
--jdkhome '"$jdkhome"' \
--clusters '"$clusters"' \
--userdir '"${userdir}"' \
--cachedir '"${cachedir}"' \
${extra_automatic_options} \
${default_options} \
"$args"
exit 1
;;
esac

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="no-testcoverage">
<!--
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.
Fallback testcoverage implementation.
Just fails with appropriate message.
-->
<target name="coverage-report">
<fail>
No test coverage implementation found in ${harness.dir}.
</fail>
</target>
</project>

View File

@ -0,0 +1,186 @@
<?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="suite-osgi" basedir=".">
<target name="init">
<property name="osgi.dest.dir" location="${suite.build.dir}/osgi"/>
<property name="osgi.cache.dir" location="${suite.build.dir}/osgi-cache"/>
<property name="disabled.modules" value=""/>
<property name="enabled.clusters" value=""/>
<property name="disabled.clusters" value=""/>
</target>
<target name="build" depends="init">
<mkdir dir="${osgi.dest.dir}"/>
<pathconvert property="osgi.platform.update.tracking">
<pathfileset>
<path refid="cluster.path.id"/>
<filename name="update_tracking/*.xml"/>
</pathfileset>
</pathconvert>
<makeosgi destdir="${osgi.dest.dir}">
<pathfileset>
<path refid="cluster.path.id"/>
<and>
<or>
<filename name="modules/*.jar"/>
<filename name="lib/*.jar"/>
<filename name="core/*.jar"/>
<filename name="modules/locale/*.jar"/>
<filename name="lib/locale/*.jar"/>
<filename name="core/locale/*.jar"/>
<filename name="*.jar"/> <!-- #186371: imported bundles -->
<filename name="modules/ext/org.eclipse.osgi_*.jar"/>
</or>
<custom classpath="${harness.dir}/tasks.jar" classname="org.netbeans.nbbuild.ModuleSelector">
<param name="excludeModules" value="${disabled.modules}"/>
<param name="includeClusters" value="${enabled.clusters}"/>
<param name="excludeClusters" value="${disabled.clusters}"/>
<param name="updateTrackingFiles" value="${osgi.platform.update.tracking}"/>
</custom>
</and>
</pathfileset>
<fileset dir="${cluster}">
<include name="modules/*.jar"/>
<include name="lib/*.jar"/>
<include name="core/*.jar"/>
<include name="modules/locale/*.jar"/>
<include name="lib/locale/*.jar"/>
<include name="core/locale/*.jar"/>
</fileset>
</makeosgi>
</target>
<target name="obr" depends="init">
<taskdef name="bindex" classname="org.osgi.impl.bundle.bindex.ant.BindexTask">
<classpath>
<fileset dir="${harness.dir}/antlib" includes="bindex*.jar"/>
</classpath>
</taskdef>
<bindex repositoryfile="${osgi.dest.dir}/repository.xml" quiet="true" root="${osgi.dest.dir}">
<fileset dir="${osgi.dest.dir}" includes="*.jar"/>
</bindex>
</target>
<target name="run" depends="init">
<mkdir dir="${osgi.cache.dir}"/>
<property name="felix-sys-prop.felix.auto.deploy.action" value="uninstall,install,update,start"/> <!-- config.properties omits update,uninstall -->
<property name="felix-sys-prop.felix.log.level" value="3"/> <!-- config.properties defaults to 4 but it is too noisy -->
<property name="felix-sys-prop.org.osgi.service.http.port" value="8080"/> <!-- from config.properties -->
<property name="felix-sys-prop.obr.repository.url" value="http://felix.apache.org/obr/releases.xml"/> <!-- from config.properties -->
<condition property="felix-sys-prop.branding.token" value="${branding.token}">
<isset property="branding.token"/>
</condition>
<property name="osgi.run.cp.extra" value=""/>
<property name="osgi.run.args" value="-ea"/>
<property name="osgi.run.args.extra" value=""/>
<java fork="true" classname="org.apache.felix.main.Main">
<classpath>
<pathfileset>
<path refid="cluster.path.id"/>
<or>
<filename name="modules/ext/osgi*.jar"/>
<filename name="modules/ext/felix*.jar"/>
</or>
</pathfileset>
<pathelement path="${osgi.run.cp.extra}"/>
</classpath>
<jvmarg line="${osgi.run.args}"/>
<jvmarg line="${osgi.run.args.extra}"/>
<arg value="-b"/>
<arg file="${osgi.dest.dir}"/>
<arg file="${osgi.cache.dir}"/>
<syspropertyset>
<propertyref prefix="felix-sys-prop."/>
<mapper type="glob" from="felix-sys-prop.*" to="*"/>
</syspropertyset>
</java>
</target>
<target name="debug">
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<nbjpdastart name="NetBeans" addressproperty="debug.port" transport="dt_socket">
<classpath>
<pathfileset>
<path refid="cluster.path.id"/>
<filename name="**/*.jar"/>
</pathfileset>
<fileset dir="${cluster}">
<include name="**/*.jar"/>
</fileset>
</classpath>
</nbjpdastart>
<property name="debug.pause" value="y"/>
<property name="debug.args" value="-agentlib:jdwp=transport=dt_socket,suspend=${debug.pause},server=n,address=${debug.port}"/>
<antcall target="run">
<param name="osgi.run.args.extra" value="${debug.args}"/>
<reference refid="cluster.path.id"/>
</antcall>
</target>
<target name="-profile-check" if="netbeans.home">
<condition property="profiler.configured">
<or>
<contains string="${osgi.run.args}" substring="-agentpath:" casesensitive="true"/>
<contains string="${osgi.run.args}" substring="-javaagent:" casesensitive="true"/>
<contains string="${osgi.run.args.extra}" substring="-agentpath:" casesensitive="true"/>
<contains string="${osgi.run.args.extra}" substring="-javaagent:" casesensitive="true"/>
<contains string="${run.args.ide}" substring="-agentpath:" casesensitive="true"/>
<contains string="${run.args.ide}" substring="-javaagent:" casesensitive="true"/>
</or>
</condition>
</target>
<target name="profile" depends="-profile-check,-profile-pre72" if="profiler.configured" unless="profiler.info.jvmargs.agent" description="Profile a project in the IDE.">
<startprofiler/>
<antcall target="run">
<reference refid="cluster.path.id"/>
<param name="felix-sys-prop.org.osgi.framework.bootdelegation" value="org.netbeans.lib.profiler.*"/>
<param name="osgi.run.args.extra" value="${run.args.ide}"/>
</antcall>
</target>
<target name="-profile-pre72" if="profiler.info.jvmargs.agent">
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<nbprofiledirect jvmargsprefix="" jvmargsproperty="profiler.jvmargs">
<classpath>
<pathfileset>
<path refid="cluster.path.id"/>
<filename name="**/*.jar"/>
</pathfileset>
<fileset dir="${cluster}">
<include name="**/*.jar"/>
</fileset>
</classpath>
<rootspath>
<fileset dir="${cluster}">
<include name="**/*.jar"/>
</fileset>
</rootspath>
</nbprofiledirect>
<antcall target="run">
<param name="osgi.run.args.extra" value="${profiler.jvmargs}"/>
<param name="felix-sys-prop.org.osgi.framework.bootdelegation" value="org.netbeans.lib.profiler.*"/>
<reference refid="cluster.path.id"/>
</antcall>
</target>
</project>

View File

@ -0,0 +1,242 @@
<?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="run" basedir=".">
<target name="-init">
<property name="run.jdkhome" location="${nbjdk.home}"/>
<condition property="test.user.dir" value="${suite.build.dir}/testuserdir" else="${build.dir}/testuserdir">
<isset property="suite.build.dir"/>
</condition>
<property name="suite.dir" location="${basedir}"/>
<property name="run.args.common" value='--userdir "${test.user.dir}" -J-Dnetbeans.logger.console=true -J-ea'/>
<!-- In case run from a suite module, to get app.name and/or branding.token: -->
<property file="${suite.dir}/nbproject/private/platform-private.properties"/>
<property file="${suite.dir}/nbproject/platform.properties"/>
<property file="${suite.dir}/nbproject/private/private.properties"/>
<property file="${suite.dir}/nbproject/project.properties"/>
<!-- CP with id="cluster.path.id" is expected to be passed as parameter to run.xml -->
<pathconvert property="install">
<path refid="cluster.path.id"/>
<regexpmapper from="(.*[/\\])platform[0-9]*$$" to="\1"/>
</pathconvert>
<!-- clear modulename_hidden files from external clusters so they do not influence the availability of
modules selected by the current cluster -->
<!-- We'll clear only clusters under 'build' folder to avoid deleting
files in binary platform/clusters (e.g. user hacks), while
un-hiding modules hidden by depended-upon suites. Cf. issue #172727 -->
<pathconvert property="cluster.path.projects" refid="cluster.path.id">
<regexpmapper handledirsep="true" from="^.*/build/[^/]+$$" to="\0"/>
</pathconvert>
<delete>
<pathfileset include="config/Modules/*_hidden">
<path path="${cluster.path.projects}"/>
</pathfileset>
</delete>
<!-- architecture of jvm on which app will run -->
<condition property="jvm.arch.string" value="" else="64">
<or>
<available file="${run.jdkhome}\bin\javaaccessbridge-32.dll" /> <!-- 32-bit Java 9+ -->
<available file="${run.jdkhome}\jre\bin\JavaAccessBridge-32.dll" /> <!-- 32-bit Java 8 -->
</or>
</condition>
<!-- use nb.exe if exists (old platform), netbeans.exe otherwise -->
<condition property="run.app.exe" value="bin\nb.exe" else="bin\netbeans${jvm.arch.string}.exe">
<available file="${install}\bin\nb.exe"/>
</condition>
<property name="run.app.sh" value="bin/netbeans"/>
<property name="run.exe.candidate" location="${install}\${run.app.exe}"/>
<property name="run.sh.candidate" location="${install}/${run.app.sh}"/>
<!-- #63976: if disabling things, better to treat as a platform-based app -->
<condition property="app.name" value="test">
<or>
<and>
<isset property="disabled.modules"/>
<length string="${disabled.modules}" when="greater" length="0"/>
</and>
<and>
<isset property="enabled.clusters"/>
<length string="${enabled.clusters}" when="greater" length="0"/>
</and>
<and>
<isset property="disabled.clusters"/>
<length string="${disabled.clusters}" when="greater" length="0"/>
</and>
<!-- #66793: also treat as a platform-based app if using platform and have no branding -->
<not>
<or>
<available file="${run.exe.candidate}"/>
<available file="${run.sh.candidate}"/>
</or>
</not>
</or>
</condition>
</target>
<target name="-prepare-as-app" depends="-init" unless="app.name">
<property name="run.exe" location="${run.exe.candidate}"/>
<property name="run.sh" location="${run.sh.candidate}"/>
<mkdir dir="${test.user.dir}/etc"/>
<pathconvert property="run.extra.clusters">
<path>
<pathelement location="${cluster}"/>
<path refid="cluster.path.id"/>
</path>
<!-- Exclude all clusters located in NB install dir;
not exactly what netbeans.clusters specify, but good enough -->
<filtermapper>
<linecontains negate="true">
<contains value="${install}"/>
</linecontains>
</filtermapper>
</pathconvert>
<echo file="${test.user.dir}/etc/netbeans.conf">netbeans_extraclusters="${run.extra.clusters}"</echo>
<property name="run.args.prepared" value=''/>
</target>
<target name="-prepare-as-platform" depends="-init" if="app.name">
<property name="disabled.modules" value=""/>
<fail message="Platform cluster is not present in cluster.path: '${cluster.path.final}'">
<condition>
<not>
<matches string="${cluster.path.final}" pattern="[\\/]platform[0-9]*([;:]|$)"/>
</not>
</condition>
</fail>
<pathconvert property="run.platform.clusters">
<path>
<pathelement location="${cluster}"/>
<!-- Does not exclude clusters in which all modules are excluded, shouldn't be a problem -->
<path refid="cluster.path.id"/>
</path>
</pathconvert>
<pathconvert property="run.exe">
<path>
<fileset dir="${install}" includes="platform*/lib/nbexec${jvm.arch.string}.exe"/>
</path>
</pathconvert>
<pathconvert property="run.sh">
<path>
<fileset dir="${install}" includes="platform*/lib/nbexec"/>
</path>
</pathconvert>
<property name="branding.token" value="-"/> <!-- fallback value if not set -->
<property name="run.args.prepared" value='--branding ${branding.token} --clusters "${run.platform.clusters}"'/>
</target>
<target name="run" depends="-prepare-as-app,-prepare-as-platform">
<touch file="${cluster}/.lastModified"/> <!-- #138427 -->
<property name="run.args" value=""/>
<property name="run.args.ide" value=""/>
<property name="run.args.extra" value=""/>
<condition property="run.args.mac" value="-J-Xdock:name='${app.name}'" else="">
<os family="mac"/>
</condition>
<exec osfamily="windows" executable="${run.exe}" failonerror="no">
<arg value="--jdkhome"/>
<arg file="${run.jdkhome}"/>
<arg line="${run.args.common}"/>
<arg line="${run.args.prepared}"/>
<arg line="${run.args}"/>
<arg line="${run.args.extra}"/>
<arg line="${run.args.ide}"/>
</exec>
<exec osfamily="unix" dir="." executable="sh" failonerror="no">
<arg value="${run.sh}"/>
<arg value="--jdkhome"/>
<arg file="${run.jdkhome}"/>
<arg line="${run.args.common}"/>
<arg line="${run.args.prepared}"/>
<arg line="${run.args}"/>
<arg line="${run.args.extra}"/>
<arg line="${run.args.mac}"/>
<arg line="${run.args.ide}"/>
</exec>
</target>
<target name="debug">
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<nbjpdastart name="NetBeans" addressproperty="debug.port" transport="dt_socket">
<classpath>
<pathfileset include="**/*.jar">
<path refid="cluster.path.id"/>
</pathfileset>
<fileset dir="${cluster}">
<include name="**/*.jar"/>
</fileset>
</classpath>
</nbjpdastart>
<property name="debug.pause" value="y"/>
<property name="debug.args" value="-J-agentlib:jdwp=transport=dt_socket,suspend=${debug.pause},server=n,address=${debug.port}"/>
<antcall target="run">
<param name="run.args" value="${debug.args}"/>
<reference refid="cluster.path.id"/>
</antcall>
</target>
<target name="-profile-check" if="netbeans.home">
<condition property="profiler.configured">
<or>
<contains string="${run.args.ide}" substring="-agentpath:" casesensitive="true"/>
<contains string="${run.args.ide}" substring="-javaagent:" casesensitive="true"/>
</or>
</condition>
</target>
<target name="profile" depends="-profile-check,-profile-pre72" if="profiler.configured" unless="profiler.info.jvmargs.agent" description="Profile a project in the IDE.">
<startprofiler/>
<antcall target="run">
<reference refid="cluster.path.id"/>
</antcall>
</target>
<target name="-profile-pre72" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent">
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<nbprofiledirect
jvmargsprefix="-J"
jvmargsproperty="profiler.jvmargs"
mainclass="org.netbeans.Main"
>
<classpath>
<pathfileset include="**/*.jar">
<path refid="cluster.path.id"/>
</pathfileset>
<fileset dir="${cluster}">
<include name="**/*.jar"/>
</fileset>
</classpath>
<rootspath>
<fileset dir="${cluster}">
<include name="**/*.jar"/>
</fileset>
</rootspath>
</nbprofiledirect>
<antcall target="run">
<param name="run.args" value='"${profiler.jvmargs}"'/>
<reference refid="cluster.path.id"/>
</antcall>
</target>
</project>

View File

@ -0,0 +1,658 @@
<?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="suite" basedir=".">
<import file="jdk.xml"/>
<condition property="testcoverage.import"
value="testcoverage-suite.xml" else="no-testcoverage.xml">
<available file="testcoverage-suite.xml" filepath="${harness.dir}"/>
</condition>
<import file="${testcoverage.import}"/>
<target name="-taskdefs" unless="${harness.taskdefs.done}">
<dirname property="harness.dir" file="${suite.file}"/>
<echo level="verbose">Using build harness in ${harness.dir}</echo>
<taskdef classpath="${harness.dir}/tasks.jar" resource="org/netbeans/nbbuild/taskdefs.properties"/>
<typedef name="pathfileset" classname="org.netbeans.nbbuild.PathFileSet"
classpath="${harness.dir}/tasks.jar"/>
<typedef name="islocked" classname="org.netbeans.nbbuild.IsLocked"
classpath="${harness.dir}/tasks.jar"/>
<property name="harness.taskdefs.done" value="true"/>
<fail message="When using cluster.path property, remove netbeans.dest.dir, enabled.clusters and disabled.clusters properties from platform config, they would be ignored.">
<condition>
<and>
<isset property="cluster.path.evaluated"/>
<or>
<isset property="netbeans.dest.dir"/>
<isset property="enabled.clusters"/>
<isset property="disabled.clusters"/>
</or>
</and>
</condition>
</fail>
</target>
<target name="-init-build-dir">
<property name="suite.build.dir" location="build"/>
</target>
<target name="-convert-old-project" unless="cluster.path.evaluated" depends="-init-build-dir">
<!-- netbeans.dest.dir -> cluster.path.id translation for pre-7.0 modules -->
<fail unless="netbeans.dest.dir" message="Either cluster.path/cluster.path.evaluated properties or netbeans.dest.dir must be set."/>
<pathconvert property="old.project.update.tracking">
<fileset dir="${netbeans.dest.dir}" includes="**/update_tracking/*.xml"/>
</pathconvert>
<property name="enabled.clusters" value=""/>
<selector id="old.project.included.files">
<custom classpath="${harness.dir}/tasks.jar" classname="org.netbeans.nbbuild.ModuleSelector">
<param name="excludeModules" value="${disabled.modules}"/>
<!-- XXX inc/exc clusters -->
<param name="includeClusters" value="${enabled.clusters}"/>
<param name="excludeClusters" value="${disabled.clusters}"/>
<param name="updateTrackingFiles" value="${old.project.update.tracking}"/>
</custom>
</selector>
<pathconvert property="old.project.clusters.duplicates" pathsep="&#10;">
<fileset dir="${netbeans.dest.dir}">
<selector refid="old.project.included.files"/>
</fileset>
<chainedmapper>
<mapper type="regexp" from="(^.+)[/\\]config[/\\]Modules[/\\]" to="\1"/> <!-- #71849 -->
<filtermapper>
<linecontainsregexp negate="true">
<regexp pattern="update[/\\]backup[/\\]netbeans[/\\]?$"/>
</linecontainsregexp>
</filtermapper>
</chainedmapper>
</pathconvert>
<tempfile property="old.project.clusters.duplicates.file" destdir="${suite.build.dir}" deleteonexit="true" prefix="duplicates"/>
<mkdir dir="${suite.build.dir}"/>
<echo file="${old.project.clusters.duplicates.file}" message="${old.project.clusters.duplicates}"/>
<pathconvert property="cluster.path.evaluated">
<union> <!-- union removes duplicates -->
<files includesfile="${old.project.clusters.duplicates.file}"/>
</union>
</pathconvert>
</target>
<target name="-init" depends="-taskdefs,-init-build-dir,-convert-old-project">
<convertclusterpath from="${cluster.path.evaluated}" to="cluster.path.final" id="cluster.path.id"/>
<property file="nbproject/private/private.properties"/>
<property file="nbproject/project.properties"/>
<sortsuitemodules unsortedmodules="${modules}" sortedmodulesproperty="modules.sorted"/>
<property name="cluster" location="${suite.build.dir}/cluster"/>
<echo level="verbose">Suite in ${basedir} with clusters ${cluster.path.final}, build cluster ${cluster}, and sorted modules ${modules.sorted}</echo>
<!-- synchronize with SuiteProject -->
<property name="disabled.modules" value=""/>
<property name="enabled.clusters" value=""/>
<property name="disabled.clusters" value=""/>
<property name="app.version" value="0.1"/>
<property name="branding.dir" location="branding"/>
<property name="dist.dir" location="dist"/>
<property name="test.xml.results.dir" value="${suite.build.dir}/test/xmldata" />
<property name="test.report.base.dir" value="${suite.build.dir}/test/report" />
<property name="test.report.html.dir" value="${test.report.base.dir}/html" />
<condition property="run.branding"> <!-- #84689 -->
<and>
<available file="${branding.dir}" type="dir"/>
<isset property="branding.token"/>
</and>
</condition>
<condition property="branding.locales.impl" value="${branding.locales}" else="">
<isset property="branding.locales"/>
</condition>
</target>
<target name="-release.dir">
<property name="release.dir" location="release"/>
<condition property="has.release.dir">
<available file="${release.dir}"/>
</condition>
</target>
<target name="-release.files" depends="-release.dir" if="has.release.dir">
<pathconvert pathsep="," property="release.files">
<path>
<fileset dir="${release.dir}"/>
</path>
<filtermapper>
<replacestring from="${release.dir}${file.separator}" to=""/>
<replacestring from=" " to="?"/>
</filtermapper>
</pathconvert>
</target>
<target name="files-init" depends="-release.files">
<property name="release.files" value=""/>
</target>
<target name="release" depends="files-init" if="has.release.dir">
<mkdir dir="${cluster}"/>
<copy todir="${cluster}">
<fileset dir="${release.dir}">
<patternset includes="${release.files}"/>
</fileset>
</copy>
</target>
<target name="build" depends="-init,branding,release,-hide-excluded-modules" description="Build all modules in the suite.">
<subant target="netbeans" buildpath="${modules.sorted}" inheritrefs="false" inheritall="false">
<property name="cluster.path.evaluated" value="${cluster.path.evaluated}"/> <!-- Just for speed of pre-7.0 projects -->
<property name="harness.taskdefs.done" value="${harness.taskdefs.done}"/> <!-- optimization -->
</subant>
</target>
<target name="-hide-excluded-modules" depends="-init">
<mkdir dir="${cluster}/config/Modules"/>
<pathconvert pathsep="," property="disabled.modules.paths.list">
<pathfileset>
<path refid="cluster.path.id"/>
<custom classpath="${harness.dir}/tasks.jar" classname="org.netbeans.nbbuild.ModuleSelector">
<param name="excludeModules" value="${disabled.modules}"/>
<param name="excluded" value="true"/>
</custom>
</pathfileset>
</pathconvert>
<createmodulexml xmldir="${cluster}/config/Modules" hidden="${disabled.modules.paths.list}"/>
</target>
<target name="nbms" depends="-init,branding,release,-hide-excluded-modules" description="Build NBMs and an Auto Update site descriptor for all modules in the suite.">
<property name="build.updates.dir" location="${suite.build.dir}/updates"/>
<!-- reads from suite/project.properties first -->
<condition property="help.target.cluster" value="${nbm.target.cluster}" >
<isset property="nbm.target.cluster"/>
</condition>
<!-- reads app.name if exists -->
<pathfileset id="updater.jar">
<path refid="cluster.path.id"/>
<filename name="modules/ext/updater.jar"/>
</pathfileset>
<condition property="help.target.cluster" value="${app.name}" >
<and>
<isset property="app.name"/>
<!-- #74866: only works for 6.0+ platforms. -->
<available resource="org/netbeans/updater/resources/autoupdate-info-2_4.dtd">
<classpath>
<resources refid="updater.jar"/>
</classpath>
</available>
</and>
</condition>
<!-- sets property 'nbm.target.cluster.name' to 'nbm.target.cluster' if helper property set -->
<condition property="nbm.target.cluster.name" value="nbm.target.cluster" >
<isset property="help.target.cluster"/>
</condition>
<property name="nbm.target.cluster.name" value="" />
<mkdir dir="${build.updates.dir}"/>
<subant target="nbm" buildpath="${modules.sorted}" inheritrefs="false" inheritall="false">
<property name="nbm.target.dir" location="${build.updates.dir}"/>
<property name="${nbm.target.cluster.name}" value="${help.target.cluster}" />
<property name="cluster.path.evaluated" value="${cluster.path.evaluated}"/> <!-- Just for speed of pre-7.0 projects -->
<property name="harness.taskdefs.done" value="${harness.taskdefs.done}"/> <!-- optimization -->
</subant>
<condition property="use.license.url.in.catalog" value="true" else="false">
<available resource="org/netbeans/updater/resources/autoupdate-catalog-2_6.dtd">
<classpath>
<resources refid="updater.jar"/>
</classpath>
</available>
</condition>
<property name="catalog.base.url" value="."/>
<makeupdatedesc desc="${build.updates.dir}/updates.xml" distbase="${catalog.base.url}" automaticgrouping="true" uselicenseurl="${use.license.url.in.catalog}">
<fileset dir="${build.updates.dir}">
<include name="*.nbm"/>
<include name="*.jar"/> <!-- #181025: bare OSGi bundles -->
</fileset>
<updaterjar>
<resources refid="updater.jar"/>
</updaterjar>
</makeupdatedesc>
</target>
<target name="build-launchers" depends="-init">
<fail unless="app.name">Must have set at least an application name ('app.name')</fail>
<pathconvert property="zip.platform.update.tracking">
<pathfileset>
<path refid="cluster.path.id"/>
<filename name="**/update_tracking/*.xml"/>
</pathfileset>
</pathconvert>
<selector id="zip.platform.included.files">
<custom classpath="${harness.dir}/tasks.jar" classname="org.netbeans.nbbuild.ModuleSelector">
<param name="excludeModules" value="${disabled.modules}"/>
<!-- XXX inc/exc clusters -->
<param name="includeClusters" value="${enabled.clusters}"/>
<param name="excludeClusters" value="${disabled.clusters}"/>
<param name="updateTrackingFiles" value="${zip.platform.update.tracking}"/>
</custom>
</selector>
<pathconvert property="zip.platform.clusters.duplicates" pathsep="&#10;">
<pathfileset>
<path refid="cluster.path.id"/>
<selector refid="zip.platform.included.files"/>
</pathfileset>
<chainedmapper>
<mapper type="regexp" from="(^.+)[/\\](config[/\\]Modules|(?&lt;=[/\\]platform\d{0,2}[/\\])(lib|core))[/\\]" to="\1"/> <!-- #71849, #185047, #188601 -->
<filtermapper>
<linecontainsregexp negate="true">
<regexp pattern="update[/\\]backup[/\\]netbeans[/\\]?$"/>
</linecontainsregexp>
</filtermapper>
</chainedmapper>
</pathconvert>
<tempfile property="zip.platform.clusters.duplicates.file" destdir="${suite.build.dir}" deleteonexit="true" prefix="duplicates"/>
<echo file="${zip.platform.clusters.duplicates.file}" message="${zip.platform.clusters.duplicates}"/>
<union id="zip.platform.clusters"> <!-- union removes duplicates -->
<files includesfile="${zip.platform.clusters.duplicates.file}"/>
</union>
<pathconvert property="zip.platform.clusters.bare" pathsep="&#10;"> <!-- #71128: \n OK on Win but \r\n bad on Unix -->
<resources refid="zip.platform.clusters"/>
<chainedmapper>
<filtermapper>
<linecontainsregexp negate="true">
<regexp pattern="platform[0-9]*[/\\]?$"/>
</linecontainsregexp>
</filtermapper>
<mapper type="regexp" from="[/\\]([^/\\]+)([/\\]build[/\\]cluster)?[/\\]?$" to="\1"/> <!-- #71849, #179410 -->
</chainedmapper>
</pathconvert>
<property name="build.launcher.dir" location="${suite.build.dir}/launcher"/>
<mkdir dir="${build.launcher.dir}/etc"/>
<!-- clean old launchers (platform could be changed) -->
<delete dir="${build.launcher.dir}/bin" failonerror="false"/>
<mkdir dir="${build.launcher.dir}/bin"/>
<!-- make sure correct launchers are present - for pre7 platform use old app.exe launchers -->
<pathconvert property="nbexec.dll.found" setonempty="false">
<pathfileset include="lib/nbexec.dll">
<path refid="cluster.path.id"/>
</pathfileset>
</pathconvert>
<condition property="app.exe.prefix" value="" else="pre7_">
<isset property="nbexec.dll.found"/>
</condition>
<copy file="${harness.dir}/launchers/${app.exe.prefix}app.exe" tofile="${build.launcher.dir}/bin/${app.name}.exe" overwrite="true"/>
<copy file="${harness.dir}/launchers/${app.exe.prefix}app64.exe" tofile="${build.launcher.dir}/bin/${app.name}64.exe" failonerror="false" overwrite="true"/>
<copy file="${harness.dir}/launchers/${app.exe.prefix}app_w.exe" tofile="${build.launcher.dir}/bin/${app.name}_w.exe" failonerror="false" overwrite="true"/>
<copy file="${harness.dir}/launchers/app.sh" tofile="${build.launcher.dir}/bin/${app.name}"/>
<property name="app.conf" location="${harness.dir}/etc/app.conf"/>
<copy file="${app.conf}" tofile="${build.launcher.dir}/etc/${app.name}.conf">
<filterchain>
<replacestring from="$${branding.token}" to="${branding.token}"/>
</filterchain>
</copy>
<echo message="${app.name}" file="${build.launcher.dir}/etc/${app.name}.clusters"/>
<echo message="&#10;" file="${build.launcher.dir}/etc/${app.name}.clusters" append="true"/>
<echo message="${zip.platform.clusters.bare}" file="${build.launcher.dir}/etc/${app.name}.clusters" append="true"/>
<echo message="&#10;" file="${build.launcher.dir}/etc/${app.name}.clusters" append="true"/>
</target>
<target name="build-zip" depends="build,build-launchers" description="Builds a ZIP distribution of the suite, launchers, and selected modules from the platform.">
<mkdir dir="${dist.dir}"/>
<!-- pathfileset does not support 'prefix' and 'filemode' parameters,
we have to copy them to temp location -->
<tempfile property="temp.dir.nbexec" destdir="${suite.build.dir}" deleteonexit="true" prefix="nbexec"/>
<tempfile property="temp.dir.rest" destdir="${suite.build.dir}" deleteonexit="delete" prefix="rest"/>
<subant genericantfile="${harness.dir}/suite.xml" target="copy-cluster" inheritrefs="true">
<property name="dest.dir" value="${temp.dir.rest}"/>
<property name="nbexec.dir" value="${temp.dir.nbexec}"/>
<property name="build.dir" value="${suite.build.dir}"/>
<resources refid="zip.platform.clusters"/>
</subant>
<zip destfile="${dist.dir}/${app.name}.zip">
<zipfileset dir="${build.launcher.dir}/bin/" filemode="755" prefix="${app.name}/bin"/>
<zipfileset dir="${build.launcher.dir}/etc/" prefix="${app.name}/etc"/>
<zipfileset dir="${temp.dir.nbexec}" filemode="755" prefix="${app.name}"/>
<zipfileset dir="${temp.dir.rest}" prefix="${app.name}"/>
<!-- Yes, the doubled app.name is a bit ugly, but better than the alternative; cf. #66441: -->
<zipfileset dir="${cluster}" prefix="${app.name}/${app.name}">
<exclude name="config/Modules/*.xml_hidden"/>
</zipfileset>
</zip>
</target>
<target name="copy-cluster" description="Copies cluster specified by basedir to dir ${dest.dir}">
<pathconvert property="cluster.name">
<path path="${basedir}"/>
<mapper type="regexp" from="[/\\]([^/\\]+)([/\\]build[/\\]cluster)?[/\\]?$" to="\1"/>
</pathconvert>
<copy todir="${dest.dir}/${cluster.name}">
<fileset dir="${basedir}">
<and>
<not>
<filename name="**/lib/nbexec*"/>
</not>
<selector refid="zip.platform.included.files"/>
</and>
</fileset>
</copy>
<touch file="${dest.dir}/${cluster.name}/.lastModified"/>
<condition property="copy.nbexec" value="true">
<matches pattern="^platform[0-9]*$" string="${cluster.name}"/>
</condition>
<antcall target="copy-nbexec"/>
</target>
<target name="copy-nbexec" if="copy.nbexec" description="Copies nbexec from given cluster to specified location">
<copy todir="${nbexec.dir}/${cluster.name}">
<fileset dir="${basedir}">
<filename name="**/lib/nbexec*"/>
</fileset>
</copy>
</target>
<target name="create-platform" depends="build-zip" description="Creates an unzipped platform from the suite, launchers, and selected modules from the platform.">
<mkdir dir="${dist.dir}/${app.name}"/>
<unzip src="${dist.dir}/${app.name}.zip" dest="${dist.dir}/${app.name}">
<globmapper from="${app.name}/*" to="*"/>
</unzip>
<echo level="warning">
Note: As of NetBeans 6.7, you can use the property 'cluster.path' instead of the 'create-platform' target.
See: http://wiki.netbeans.org/DevFaqHowToReuseModules
</echo>
</target>
<target name="build-mac" depends="build,build-launchers" description="Builds a ZIP distribution of the suite, launchers, and selected modules from the platform.">
<mkdir dir="${dist.dir}"/>
<mkdir dir="${dist.dir}/${app.name}.app"/>
<mkdir dir="${dist.dir}/${app.name}.app/Contents"/>
<mkdir dir="${dist.dir}/${app.name}.app/Contents/MacOS"/>
<mkdir dir="${dist.dir}/${app.name}.app/Contents/Resources"/>
<property name="app.icon.icns" value="${harness.dir}/etc/applicationIcon.icns"/>
<copy file="${app.icon.icns}" tofile="${dist.dir}/${app.name}.app/Contents/Resources/${app.name}.icns"/>
<copy todir="${dist.dir}/${app.name}.app/Contents/Resources/${app.name}/bin">
<fileset dir="${build.launcher.dir}/bin/" />
</copy>
<copy todir="${dist.dir}/${app.name}.app/Contents/Resources/${app.name}/etc">
<fileset dir="${build.launcher.dir}/etc/" />
</copy>
<subant genericantfile="${harness.dir}/suite.xml" target="copy-cluster" inheritrefs="true">
<property name="dest.dir" value="${dist.dir}/${app.name}.app/Contents/Resources/${app.name}"/>
<property name="nbexec.dir" value="${dist.dir}/${app.name}.app/Contents/Resources/${app.name}"/>
<property name="build.dir" value="${suite.build.dir}"/>
<resources refid="zip.platform.clusters"/>
</subant>
<copy todir="${dist.dir}/${app.name}.app/Contents/Resources/${app.name}/${app.name}">
<fileset dir="${cluster}"/>
</copy>
<copy verbose="true" failonerror="false"
file="${dist.dir}/${app.name}.app/Contents/Resources/${app.name}/${app.name}/etc/${app.name}.icns"
tofile="${dist.dir}/${app.name}.app/Contents/Resources/${app.name}.icns"/>
<delete file="${dist.dir}/${app.name}.app/Contents/MacOS/${app.name}"/>
<!--TODO: move script to external file-->
<echo file="${dist.dir}/${app.name}.app/Contents/MacOS/${app.name}">#!/bin/sh
#copied from nbexec
resolve_symlink () {
file="$$1"
while [ -h "$$file" ]; do
ls=`ls -ld "$$file"`
link=`expr "$$ls" : '^.*-> \(.*\)$' 2>/dev/null`
if expr "$$link" : '^/' 2> /dev/null >/dev/null; then
file="$$link"
else
file=`dirname "$$1"`"/$$link"
fi
done
echo "$file"
}
absolutize_path () {
oldpwd=`pwd`
cd "$$1"
abspath=`pwd`
cd "$${oldpwd}"
echo "$$abspath"
}
PRG="`resolve_symlink "$$0"`"
parentDir="`dirname "$$PRG"`"
parentDir="`absolutize_path "$$parentDir"`"
#resolve the script path
scriptPath="$$parentDir/../Resources/${app.name}/bin"
#run the main executable
sh -- "$$scriptPath/${app.name}" "$$@"
</echo>
<chmod file="${dist.dir}/${app.name}.app/Contents/MacOS/${app.name}" perm="755"/>
<chmod file="${dist.dir}/${app.name}.app/Contents/Resources/${app.name}/bin/${app.name}" perm="755"/>
<chmod dir="${dist.dir}" includes="${app.name}.app/Contents/Resources/${app.name}/platform*/lib/nbexec" perm="755"/>
<copy file="${harness.dir}/etc/Info.plist" tofile="${dist.dir}/${app.name}.app/Contents/Info.plist">
<filterchain>
<replacestring from="$${app.name}" to="${app.name}"/>
<replacestring from="$${app.version}" to="${app.version}"/>
<replacestring from="$${app.title}" to="${app.title}"/>
<replacestring from="$${app.icon}" to="master.png"/>
<replacestring from="$${branding.token}" to="${branding.token}"/>
</filterchain>
</copy>
<!-- zipping in ant doesn't preserve symlinks that seem to be required.
zip destfile="${dist.dir}/${app.name}-MacOS.zip" basedir="${dist.dir}" includes="${app.name}.app/**" duplicate="preserve"/-->
<echo>
You MacOS Application bundle was created at ${dist.dir}/${app.name}.app. For final packaging, use hdiutil or other tools to create a .dmg image.
Alternatively use "zip -yr ${app.name}.app" to create a simple zipped distribution.
</echo>
</target>
<target name="-testuserdir-delete-init" depends="-init">
<property name="test.user.dir" location="${suite.build.dir}/testuserdir"/>
<property name="test.user.dir.lock" location="${test.user.dir}/lock"/>
<condition property="app.running">
<islocked file="${test.user.dir.lock}"/>
</condition>
</target>
<target name="-testuserdir-delete-ok" depends="-testuserdir-delete-init" unless="app.running">
<delete dir="${test.user.dir}"/>
</target>
<target name="-testuserdir-delete-fail" depends="-testuserdir-delete-init" if="app.running">
<!-- #66799: best to warn about this condition... -->
<fail>Will not delete ${test.user.dir} because ${test.user.dir.lock} still exists; kill any running process and delete lock file if necessary</fail>
</target>
<target name="testuserdir-delete" depends="-testuserdir-delete-ok,-testuserdir-delete-fail" description="Delete testing user directory (if the application is not running); clears any saved settings etc.">
<ant antfile="${harness.dir}/jnlp.xml" target="clean"/>
</target>
<target name="clean" depends="-init,testuserdir-delete" description="Clean everything.">
<delete failonerror="false" includeemptydirs="true">
<fileset dir="${suite.build.dir}">
<exclude name="testuserdir/"/>
</fileset>
</delete>
<subant target="clean" buildpath="${modules.sorted}" inheritrefs="false" inheritall="false">
<property name="cluster.path.evaluated" value="${cluster.path.evaluated}"/> <!-- Just for speed of pre-7.0 projects -->
<property name="harness.taskdefs.done" value="${harness.taskdefs.done}"/> <!-- optimization -->
</subant>
<delete dir="${dist.dir}"/>
</target>
<target name="branding" depends="-init" if="run.branding">
<mkdir dir="${cluster}"/>
<branding cluster="${cluster}" overrides="${branding.dir}" token="${branding.token}" locales="${branding.locales.impl}"/>
</target>
<target name="run" depends="build,-jdk-init" description="Runs this suite in place.">
<ant antfile="${harness.dir}/run.xml" target="run">
<reference refid="cluster.path.id"/>
</ant>
</target>
<target name="debug" depends="build,-jdk-init,-jdk-presetdef-nbjpdastart" description="Runs this suite in place in the debugger.">
<ant antfile="${harness.dir}/run.xml" target="debug">
<reference refid="cluster.path.id"/>
</ant>
</target>
<target name="profile" depends="build,-jdk-init,-jdk-presetdef-nbprofiledirect" description="Runs this suite in place in the profiler.">
<ant antfile="${harness.dir}/run.xml" target="profile">
<reference refid="cluster.path.id"/>
</ant>
</target>
<target name="build-jnlp" depends="build,-jdk-init" description="Packages this suite as a JNLP application.">
<ant antfile="${harness.dir}/jnlp.xml" target="build">
<reference refid="cluster.path.id"/>
<property name="jnlp.generate.versions" value="${jnlp.generate.versions}"/>
</ant>
</target>
<target name="run-jnlp" depends="build,-jdk-init" description="Runs this suite as a JNLP application.">
<ant antfile="${harness.dir}/jnlp.xml" target="run">
<reference refid="cluster.path.id"/>
<property name="jnlp.generate.versions" value="false"/> <!-- versioning is not enabled w/o app server-->
</ant>
</target>
<target name="debug-jnlp" depends="build,-jdk-init,-jdk-presetdef-nbjpdastart" description="Runs this suite as a JNLP application in the debugger.">
<ant antfile="${harness.dir}/jnlp.xml" target="debug">
<reference refid="cluster.path.id"/>
<property name="jnlp.generate.versions" value="false"/> <!-- versioning is not enabled w/o app server-->
</ant>
</target>
<target name="build-osgi" depends="build,-jdk-init" description="Converts this suite into OSGi-compatible bundles.">
<echo>OSGi support is EXPERIMENTAL for now; see: http://wiki.netbeans.org/NetBeansInOSGi</echo>
<ant antfile="${harness.dir}/osgi.xml" target="build">
<reference refid="cluster.path.id"/>
</ant>
</target>
<target name="build-osgi-obr" depends="build-osgi" description="Creates an OSGi bundle repository from this suite.">
<ant antfile="${harness.dir}/osgi.xml" target="obr">
<reference refid="cluster.path.id"/>
</ant>
</target>
<target name="run-osgi" depends="build-osgi" description="Runs this suite in an OSGi container.">
<ant antfile="${harness.dir}/osgi.xml" target="run">
<reference refid="cluster.path.id"/>
</ant>
</target>
<target name="debug-osgi" depends="build-osgi" description="Debugs this suite in an OSGi container.">
<ant antfile="${harness.dir}/osgi.xml" target="debug">
<reference refid="cluster.path.id"/>
</ant>
</target>
<target name="profile-osgi" depends="build-osgi" description="Profiles this suite in an OSGi container.">
<ant antfile="${harness.dir}/osgi.xml" target="profile">
<reference refid="cluster.path.id"/>
</ant>
</target>
<target name="test" depends="build" description="Runs tests for all modules in the suite.">
<sortsuitemodules unsortedmodules="${modules}" sortedmodulesproperty="modules.test.sorted" sorttests="true"/>
<property name="continue.after.failing.tests" value="true"/> <!-- fallback -->
<subant target="test" buildpath="${modules.test.sorted}" inheritrefs="false" inheritall="false">
<property name="cluster.path.evaluated" value="${cluster.path.evaluated}"/> <!-- Just for speed of pre-7.0 projects -->
<property name="harness.taskdefs.done" value="${harness.taskdefs.done}"/> <!-- optimization -->
<property name="continue.after.failing.tests" value="${continue.after.failing.tests}"/>
</subant>
</target>
<target name="test-generate-html" depends="test" description="Generates test report for entire suite">
<delete dir="${test.xml.results.dir}" />
<mkdir dir="${test.xml.results.dir}" />
<delete dir="${test.report.base.dir}" />
<mkdir dir="${test.report.base.dir}" />
<subant target="-copy-testxmlresults" buildpath="${modules.test.sorted}" inheritrefs="false" inheritall="false">
<property name="test.xml.results.dir" value="${test.xml.results.dir}"/>
</subant>
<junitreport todir="${test.report.base.dir}">
<fileset dir="${test.xml.results.dir}" />
<report todir="${test.report.html.dir}" format="frames"/>
</junitreport>
</target>
<target name="test-view-html" depends="test-generate-html" description="Generates and displays test report for entire suite">
<nbbrowse file="${test.report.html.dir}/index.html"/>
</target>
<target name="update" depends="-init" description="Updates modules in the suite from an update center.">
<sortsuitemodules unsortedmodules="${modules}" sortedmodulesproperty="modules.test.sorted"/>
<subant target="update" buildpath="${modules.test.sorted}" inheritrefs="false" inheritall="false">
<property name="cluster.path.evaluated" value="${cluster.path.evaluated}"/> <!-- Just for speed of pre-7.0 projects -->
<property name="harness.taskdefs.done" value="${harness.taskdefs.done}"/> <!-- optimization -->
<property name="autoupdate.catalog.url" value="${autoupdate.catalog.url}"/>
</subant>
</target>
<target name="display-coverage-report" depends="coverage-report"
description="Generates and displays test coverage report for entire suite">
<fail unless="testcoverage.report.dir">
Property testcoverage.report.dir not set. Test coverage script may be missing in ${harness.dir}.
</fail>
<nbbrowse file="${testcoverage.report.dir}/index.html"/>
</target>
<target
name="clusterize" depends="-taskdefs"
description="Scans a directory for list of NetBeans module JARs or OSGi bundles and generates necessary config files to make that look like NetBeans cluster"
>
<fail unless="cluster" message="You have to specify -Dcluster=... as a path to the root of your JAR tree"/>
<condition property="include.autoload" value="${includes}">
<!-- for backward compatibility with tutorials -->
<isset property="includes"/>
</condition>
<fail message="You have to specify one of -Dinclude.autoload=... -Dinclude.eager=... -Dinclude.enabled=...">
<condition>
<not>
<or>
<isset property="include.autoload"/>
<isset property="include.eager"/>
<isset property="include.enabled"/>
</or>
</not>
</condition>
</fail>
<property name="config.dir" location="${cluster}/config/Modules"/>
<mkdir dir="${config.dir}"/>
<createmodulexml xmldir="${config.dir}" updatetrackingroot="${cluster}" failonmissingmanifest="false">
<autoload dir="${cluster}" includes="${include.autoload}"/>
<eager dir="${cluster}" includes="${include.eager}"/>
<enabled dir="${cluster}" includes="${include.enabled}"/>
</createmodulexml>
</target>
</project>

Binary file not shown.

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?><module codename="org.netbeans.insane">
<module_version install_time="1668523665097" last="true" origin="Ant" specification_version="1.46.0.1">
<file crc="288786892" name="config/Modules/org-netbeans-insane.xml"/>
<file crc="3974727686" name="modules/org-netbeans-insane.jar"/>
</module_version>
</module>

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?><module codename="org.netbeans.modules.apisupport.harness">
<module_version install_time="1668523613129" last="true" origin="Ant" specification_version="1.59">
<file crc="964231627" name="README"/>
<file crc="2361081766" name="antlib/bindex-2.2.jar"/>
<file crc="2419390860" name="build.xml"/>
<file crc="3960613443" name="common.xml"/>
<file crc="2967796174" name="config/Modules/org-netbeans-modules-apisupport-harness.xml"/>
<file crc="3596721181" name="etc/Info.plist"/>
<file crc="3529190731" name="etc/app.conf"/>
<file crc="2195682192" name="etc/applicationIcon.icns"/>
<file crc="2010598776" name="jdk.xml"/>
<file crc="2965842666" name="jnlp.xml"/>
<file crc="4259661305" name="jnlp/jnlp-launcher.jar"/>
<file crc="239831841" name="launchers/app.exe"/>
<file crc="2240066224" name="launchers/app.sh"/>
<file crc="930645589" name="launchers/app64.exe"/>
<file crc="1618502330" name="launchers/pre7_app.exe"/>
<file crc="2223057369" name="launchers/pre7_app_w.exe"/>
<file crc="401062819" name="modules/org-netbeans-modules-apisupport-harness.jar"/>
<file crc="1994575623" name="no-testcoverage.xml"/>
<file crc="3105643375" name="osgi.xml"/>
<file crc="368443129" name="run.xml"/>
<file crc="1615460432" name="suite.xml"/>
<file crc="1169993786" name="tasks.jar"/>
</module_version>
</module>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?><module codename="org.netbeans.modules.jellytools.platform">
<module_version install_time="1668523641049" last="true" origin="Ant" specification_version="3.46">
<file crc="1104713638" name="config/Modules/org-netbeans-modules-jellytools-platform.xml"/>
<file crc="3663541066" name="modules/org-netbeans-modules-jellytools-platform.jar"/>
</module_version>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?><module codename="org.netbeans.modules.jemmy">
<module_version install_time="1668523653856" last="true" origin="Ant" specification_version="3.44">
<file crc="2792960258" name="config/Modules/org-netbeans-modules-jemmy.xml"/>
<file crc="4195459132" name="docs/jemmy-2.3.1.1-doc.zip"/>
<file crc="1182184280" name="docs/jemmy-2.3.1.1-src.zip"/>
<file crc="779326821" name="modules/ext/jemmy-2.3.1.1.jar"/>
<file crc="2260866627" name="modules/org-netbeans-modules-jemmy.jar"/>
</module_version>
</module>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?><module codename="org.netbeans.modules.nbjunit">
<module_version install_time="1668523663668" last="true" origin="Ant" specification_version="1.107">
<file crc="3013490805" name="config/Modules/org-netbeans-modules-nbjunit.xml"/>
<file crc="2600759277" name="modules/org-netbeans-modules-nbjunit.jar"/>
</module_version>
</module>

View File

View File

@ -0,0 +1,18 @@
# 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.
#
# cluster incompatible release version
13

View File

@ -0,0 +1,40 @@
<?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.
-->
<!DOCTYPE transformations PUBLIC "-//NetBeans//DTD Module Automatic Dependencies 1.0//EN" "http://www.netbeans.org/dtds/module-auto-deps-1_0.dtd">
<transformations version="1.0">
<transformationgroup>
<description>#249053: Extract UI-dependent APIs from api.debugger.jpda module</description>
<transformation>
<trigger-dependency type="older">
<module-dependency codenamebase="org.netbeans.api.debugger.jpda/2" spec="3.0"/>
</trigger-dependency>
<implies>
<result>
<module-dependency codenamebase="org.netbeans.spi.debugger.jpda.ui" spec="3.0"/>
</result>
</implies>
</transformation>
</transformationgroup>
</transformations>

View File

@ -0,0 +1,37 @@
<?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.
-->
<!DOCTYPE transformations PUBLIC "-//NetBeans//DTD Module Automatic Dependencies 1.0//EN" "http://www.netbeans.org/dtds/module-auto-deps-1_0.dtd">
<transformations version="1.0">
<transformationgroup>
<description>Splitting parts of api.java off into api.java.classpath</description>
<transformation>
<trigger-dependency type="older">
<module-dependency codenamebase="org.netbeans.api.java" major="1" spec="1.18"/>
</trigger-dependency>
<implies>
<result>
<module-dependency codenamebase="org.netbeans.api.java.classpath" major="1" spec="1.0"/>
</result>
</implies>
</transformation>
</transformationgroup>
</transformations>

View File

@ -0,0 +1,39 @@
<?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.
-->
<!DOCTYPE transformations PUBLIC "-//NetBeans//DTD Module Automatic Dependencies 1.0//EN" "http://www.netbeans.org/dtds/module-auto-deps-1_0.dtd">
<transformations version="1.0">
<transformationgroup>
<description>Removed dependencies on pre-6.5 formatting</description>
<transformation>
<trigger-dependency type="older">
<module-dependency codenamebase="org.netbeans.modules.java.editor" major="1" spec="2.78.0"/>
</trigger-dependency>
<implies>
<result>
<module-dependency codenamebase="org.netbeans.modules.java.editor.lib" major="1" spec="1.49.0"/>
</result>
</implies>
</transformation>
</transformationgroup>
</transformations>

View File

@ -0,0 +1,50 @@
<?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.
-->
<!DOCTYPE transformations PUBLIC "-//NetBeans//DTD Module Automatic Dependencies 1.0//EN" "http://www.netbeans.org/dtds/module-auto-deps-1_0.dtd">
<transformations version="1.0">
<transformationgroup>
<description>Major release version of module changed from 0 to 1 to signal stability; update your dependencies</description>
<transformation>
<trigger-dependency type="older">
<module-dependency codenamebase="org.netbeans.modules.java.platform" major="1"/>
</trigger-dependency>
<implies>
<result>
<module-dependency codenamebase="org.netbeans.modules.java.platform" major="1" spec="1.3"/>
</result>
</implies>
</transformation>
</transformationgroup>
<transformationgroup>
<description>#243100: Separate desktop-independent utilities</description>
<transformation>
<trigger-dependency type="older">
<module-dependency codenamebase="org.netbeans.modules.java.platform" spec="1.37"/>
</trigger-dependency>
<implies>
<result>
<module-dependency codenamebase="org.netbeans.modules.java.platform.ui" spec="1.37"/>
</result>
</implies>
</transformation>
</transformationgroup>
</transformations>

View File

@ -0,0 +1,50 @@
<?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.
-->
<!DOCTYPE transformations PUBLIC "-//NetBeans//DTD Module Automatic Dependencies 1.0//EN" "http://www.netbeans.org/dtds/module-auto-deps-1_0.dtd">
<transformations version="1.0">
<transformationgroup>
<description>Major release version of module changed from 0 to 1 to signal stability; update your dependencies</description>
<transformation>
<trigger-dependency type="older">
<module-dependency codenamebase="org.netbeans.modules.java.project" major="1"/>
</trigger-dependency>
<implies>
<result>
<module-dependency codenamebase="org.netbeans.modules.java.project" major="1" spec="1.3"/>
</result>
</implies>
</transformation>
</transformationgroup>
<transformationgroup>
<description>Separate java.project into desktop and NetBeans independent and dependent parts</description>
<transformation>
<trigger-dependency type="older">
<module-dependency codenamebase="org.netbeans.modules.java.project" major="1" spec="1.62"/>
</trigger-dependency>
<implies>
<result>
<module-dependency codenamebase="org.netbeans.modules.java.project.ui" major="1" spec="1.62"/>
</result>
</implies>
</transformation>
</transformationgroup>
</transformations>

View File

@ -0,0 +1,42 @@
<?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.
-->
<!DOCTYPE transformations PUBLIC "-//NetBeans//DTD Module Automatic Dependencies 1.0//EN" "http://www.netbeans.org/dtds/module-auto-deps-1_0.dtd">
<transformations version="1.0">
<transformationgroup>
<description>The old editor settings and completion APIs have been deprecated, see http://wiki.netbeans.org/EditorSettingsUpgrade and update your module.</description>
<transformation>
<trigger-dependency type="older">
<module-dependency codenamebase="org.netbeans.modules.java.source" spec="0.141"/>
</trigger-dependency>
<implies>
<result>
<module-dependency codenamebase="org.netbeans.modules.java.source.base" spec="1.1"/>
</result>
<result>
<module-dependency codenamebase="org.netbeans.modules.java.source.compat8" spec="9.0"/>
</result>
</implies>
</transformation>
</transformationgroup>
</transformations>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.api.debugger.jpda">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-api-debugger-jpda.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.api.java">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-api-java.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.api.maven">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-api-maven.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.lib.jshell.agent">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-lib-jshell-agent.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.lib.nbjavac">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-lib-nbjavac.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.lib.nbjshell">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-lib-nbjshell.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.lib.nbjshell9">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-lib-nbjshell9.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.libs.cglib">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-libs-cglib.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.libs.javacapi">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-libs-javacapi.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.libs.nbjavacapi">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-libs-nbjavacapi.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.libs.springframework">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-libs-springframework.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.ant.browsetask">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-ant-browsetask.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.ant.debugger">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-ant-debugger.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.ant.freeform">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-ant-freeform.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.ant.grammar">
<param name="autoload">false</param>
<param name="eager">true</param>
<param name="jar">modules/org-netbeans-modules-ant-grammar.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.ant.hints">
<param name="autoload">false</param>
<param name="eager">true</param>
<param name="jar">modules/org-netbeans-modules-ant-hints.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.ant.kit">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-ant-kit.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.beans">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-beans.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.classfile">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-modules-classfile.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.dbschema">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-dbschema.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.debugger.jpda.ant">
<param name="autoload">false</param>
<param name="eager">true</param>
<param name="jar">modules/org-netbeans-modules-debugger-jpda-ant.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.debugger.jpda.js">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-debugger-jpda-js.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.debugger.jpda.jsui">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-debugger-jpda-jsui.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.debugger.jpda.kit">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-debugger-jpda-kit.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.debugger.jpda.projects">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-modules-debugger-jpda-projects.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.debugger.jpda.projectsui">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-modules-debugger-jpda-projectsui.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.debugger.jpda.truffle">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-debugger-jpda-truffle.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.debugger.jpda.trufflenode">
<param name="autoload">false</param>
<param name="eager">true</param>
<param name="jar">modules/org-netbeans-modules-debugger-jpda-trufflenode.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.debugger.jpda.ui">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-debugger-jpda-ui.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.debugger.jpda.visual">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-debugger-jpda-visual.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.debugger.jpda">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-modules-debugger-jpda.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.editor.htmlui">
<param name="autoload">false</param>
<param name="eager">true</param>
<param name="jar">modules/org-netbeans-modules-editor-htmlui.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.form.kit">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-form-kit.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.form.nb">
<param name="autoload">false</param>
<param name="eager">true</param>
<param name="jar">modules/org-netbeans-modules-form-nb.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.form.refactoring">
<param name="autoload">false</param>
<param name="eager">true</param>
<param name="jar">modules/org-netbeans-modules-form-refactoring.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.form">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-form.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.hudson.ant">
<param name="autoload">false</param>
<param name="eager">true</param>
<param name="jar">modules/org-netbeans-modules-hudson-ant.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.hudson.maven">
<param name="autoload">false</param>
<param name="eager">true</param>
<param name="jar">modules/org-netbeans-modules-hudson-maven.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.i18n.form">
<param name="autoload">false</param>
<param name="eager">true</param>
<param name="jar">modules/org-netbeans-modules-i18n-form.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.i18n">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-i18n.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.j2ee.core.utilities">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-modules-j2ee-core-utilities.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.j2ee.eclipselink">
<param name="autoload">true</param>
<param name="eager">false</param>
<param name="jar">modules/org-netbeans-modules-j2ee-eclipselink.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.j2ee.eclipselinkmodelgen">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-j2ee-eclipselinkmodelgen.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.j2ee.jpa.refactoring">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-j2ee-jpa-refactoring.jar</param>
<param name="reloadable">false</param>
</module>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN"
"http://www.netbeans.org/dtds/module-status-1_0.dtd">
<module name="org.netbeans.modules.j2ee.jpa.verification">
<param name="autoload">false</param>
<param name="eager">false</param>
<param name="enabled">true</param>
<param name="jar">modules/org-netbeans-modules-j2ee-jpa-verification.jar</param>
<param name="reloadable">false</param>
</module>

Some files were not shown because too many files have changed in this diff Show More