Skip to content

Commit

Permalink
Fix wrong classpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
pepness committed Sep 19, 2020
1 parent f75dadf commit 767b8b3
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 19 deletions.
8 changes: 4 additions & 4 deletions enterprise/web.freeform/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
# specific language governing permissions and limitations
# under the License.

javac.source=1.6
javac.compilerargs=-Xlint:unchecked
javac.source=1.8
javac.compilerargs=-Xlint -Xlint:-serial

javadoc.arch=${basedir}/arch.xml

test-unit-sys-prop.xtest.data=${nb_all}/ant.freeform/test/unit/data
test.unit.data.dir=${nb_all}/ant.freeform/test/unit/data
test-unit-sys-prop.xtest.data=${nb_all}/java/ant.freeform/test/unit/data
test.unit.data.dir=${nb_all}/java/ant.freeform/test/unit/data
test-unit-sys-prop.test.ant.home=${o.apache.tools.ant.module.dir}/ant

test.config.stableBTD.includes=**/*Test.class
2 changes: 1 addition & 1 deletion ide/db/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ lib.cp=\


test.unit.cp.extra=\
${nb_all}/db/external/derby-10.14.2.0.jar
${nb_all}/ide/db/external/derby-10.14.2.0.jar

test.config.stableBTD.includes=**/*Test.class
test.config.stableBTD.excludes=\
Expand Down
2 changes: 1 addition & 1 deletion java/java.project.ui/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test.unit.run.cp.extra=${tools.jar}
test-unit-sys-prop.test.bridge.jar=${o.apache.tools.ant.module.dir}/ant/nblib/bridge.jar
# May be overridden to e.g. test against a different version of Ant:
test-unit-sys-prop.test.ant.home=${o.apache.tools.ant.module.dir}/ant
test-unit-sys-prop.test.junit.jar=${nb_all}/libs.junit4/external/junit-4.12.jar
test-unit-sys-prop.test.junit.jar=${nb_all}/platform/libs.junit4/external/junit-4.12.jar

test.config.stableBTD.includes=**/*Test.class
test.config.stableBTD.excludes=\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,8 @@ public void init1() {
set.add("jar:nbinst://org.netbeans.modules.web.struts/modules/ext/struts/struts.jar!/");
librariesUrls.put("struts", set);
set = new TreeSet<String>();
set.add("jar:nbinst://org.netbeans.modules.junit/docs/junit-3.8.2-api.zip!/");
set.add("jar:nbinst://org.netbeans.modules.junit/modules/ext/junit-3.8.2.jar!/");
set.add("jar:nbinst://org.netbeans.modules.junit/modules/ext/junit-4.1.jar!/");
set.add("jar:nbinst://org.netbeans.modules.junit/docs/junit-4.12-javadoc.jar!/");
set.add("jar:nbinst://org.netbeans.modules.junit/modules/ext/junit-4.12.jar!/");
librariesUrls.put("junit", set);
set = new TreeSet<String>();
set.add("jar:nbinst://org.netbeans.modules.java.j2seproject/ant/extra/org-netbeans-modules-java-j2seproject-copylibstask.jar!/");
Expand Down
2 changes: 1 addition & 1 deletion java/java.project/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test.unit.run.cp.extra=${tools.jar}
test-unit-sys-prop.test.bridge.jar=${o.apache.tools.ant.module.dir}/ant/nblib/bridge.jar
# May be overridden to e.g. test against a different version of Ant:
test-unit-sys-prop.test.ant.home=${o.apache.tools.ant.module.dir}/ant
test-unit-sys-prop.test.junit.jar=${nb_all}/libs.junit4/external/junit-4.12.jar
test-unit-sys-prop.test.junit.jar=${nb_all}/platform/libs.junit4/external/junit-4.12.jar

test.config.stableBTD.includes=**/*Test.class
test.config.stableBTD.excludes=\
Expand Down
6 changes: 3 additions & 3 deletions nbbuild/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ metabuild.hash=${metabuild.hash}</echo>
<taskdef name="checkhelpsetsbin" classname="org.netbeans.nbbuild.CheckHelpSetsBin">
<classpath>
<pathelement location="${nbantext.jar}"/>
<fileset dir="${nb_all}/javahelp/external">
<fileset dir="${nb_all}/platform/javahelp/external">
<include name="jh*.jar"/>
</fileset>
</classpath>
Expand Down Expand Up @@ -1275,9 +1275,9 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y to start the system in d
<target name="hg-l10n-kit">
<property name="l10n.kit" location="${nb.build.dir}/l10n.zip"/>
<zip destfile="${l10n.kit}">
<fileset dir="${nb_all}" includesfile="${nb_all}/installer/l10n.list"/>
<fileset dir="${nb_all}" includesfile="${nb_all}/nbbuild/installer/l10n.list"/>
<fileset dir="${nb_all}" includesfile="${nb_all}/nbi/l10n.list"/>
<fileset dir="${nb_all}" includesfile="${nb_all}/ide.branding/l10n.list"/>
<fileset dir="${nb_all}" includesfile="${nb_all}/nb/ide.branding/l10n.list"/>
</zip>
</target>

Expand Down
2 changes: 1 addition & 1 deletion nbbuild/installer/jnlp/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<selector refid="no-extensions" />
</fileset>
</path>
<property location="${nb_all}/installer/jnlp/release/" name="dirname"/>
<property location="${nb_all}/nbbuild/installer/jnlp/release/" name="dirname"/>
<!-- save directory name for replacing back -->
<replace file="release/nb-launch.jnlp" token="${dirname}" value="D#I#R#_#N#A#M#E"/>
<pathconvert dirsep="${file.separator}" pathsep="" property="jar-files-list" refid="jarfiles"/>
Expand Down
2 changes: 1 addition & 1 deletion nbbuild/templates/projectized.xml
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ If you are sure you want to build with JDK 9+ anyway, use: -Dpermit.jdk9.builds=
<taskdef name="checkhelpsets" classname="org.netbeans.nbbuild.CheckHelpSets">
<classpath>
<pathelement location="${nbantext.jar}"/>
<fileset dir="${nb_all}/javahelp/external">
<fileset dir="${nb_all}/platform/javahelp/external">
<include name="jh*.jar"/>
</fileset>
</classpath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ test.unit.run.cp.extra=\
${core/progress.dir}/modules/org-netbeans-api-progress.jar
test-unit-sys-prop.test.bridge.jar=${cluster}/ant/nblib/bridge.jar
test-unit-sys-prop.test.ant.home=${cluster}/ant
test-unit-sys-prop.test.junit.jar=${junit.dir}/modules/ext/junit-3.8.2.jar
test-unit-sys-prop.test.junit.jar=${junit.dir}/modules/ext/junit-4.12.jar
extra.module.files=ant/extra/org-netbeans-modules-java-j2seproject-copylibstask.jar
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ javadoc.arch=${basedir}/arch.xml
test.unit.run.cp.extra=${tools.jar}
test-unit-sys-prop.test.bridge.jar=${cluster}/ant/nblib/bridge.jar
test-unit-sys-prop.test.ant.home=${cluster}/ant
test-unit-sys-prop.test.junit.jar=${junit.dir}/modules/ext/junit-3.8.2.jar
test-unit-sys-prop.test.junit.jar=${junit.dir}/modules/ext/junit-4.12.jar
extra.module.files=ant/extra/org-netbeans-modules-java-j2seproject-copylibstask.jar
2 changes: 1 addition & 1 deletion platform/core.osgi/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cp.extra=\
test.unit.cp.extra=\
${ant.core.lib}:\
${nbantext.jar}:\
${nb_all}/javahelp/external/jhall-2.0_05.jar
${nb_all}/platform/javahelp/external/jhall-2.0_05.jar
test-unit-sys-prop.java.awt.headless=true
test-unit-sys-prop.platform.dir=${cluster}
#test.filter.trace=false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ test.unit.run.cp.extra=${tools.jar}
test-unit-sys-prop.test.bridge.jar=${o.apache.tools.ant.module.dir}/ant/nblib/bridge.jar
# May be overridden to e.g. test against a different version of Ant:
test-unit-sys-prop.test.ant.home=${o.apache.tools.ant.module.dir}/ant
test-unit-sys-prop.test.junit.jar=${nb_all}/libs.junit4/external/junit-4.12.jar
test-unit-sys-prop.test.junit.jar=${nb_all}/platform/libs.junit4/external/junit-4.12.jar

0 comments on commit 767b8b3

Please sign in to comment.