Skip to content
This repository was archived by the owner on Jan 30, 2019. It is now read-only.

Commit fee243a

Browse files
author
jst
committed
making sure that running the build twice - e.g. ant javahelp_nbproject/build.xml release produces the same results
svn path=/trunk/; revision=52
1 parent c1579bd commit fee243a

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

JSearchIndexer_nbproject/build.xml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ have any questions.
2828
<import file="nbproject/build-impl.xml"/>
2929

3030
<target name="-post-jar">
31-
<echo>
32-
Creating merged jsearch.jar
33-
</echo>
34-
<copy todir="${basedir}/build/classes">
31+
<echo>Creating merged jsearch.jar</echo>
32+
<jar jarfile="${basedir}/dist/jsearch.jar" excludes="${build.classes.excludes}">
33+
<fileset dir="${basedir}/build/classes">
34+
<include name="**/*"/>
35+
</fileset>
3536
<fileset dir="../JSearchClient_nbproject/build/classes/">
36-
<include name="**"/>
37+
<include name="**/*"/>
3738
</fileset>
3839
<fileset dir="../javahelp_nbproject/build/classes/">
3940
<include name="com/sun/java/help/impl/HeaderParser.class"/>
@@ -49,15 +50,11 @@ Creating merged jsearch.jar
4950
<include name="javax/help/search/SearchQuery.class"/>
5051
<include name="javax/help/search/SearchListener.class"/>
5152
</fileset>
52-
</copy>
53-
<jar basedir="${basedir}/build/classes" jarfile="${basedir}/dist/jsearch.jar"
54-
excludes="${build.classes.excludes}"/>
55-
<echo>
56-
Creating jsearch-misc.jar
57-
</echo>
53+
</jar>
54+
<echo>Creating jsearch-misc.jar</echo>
5855

5956
<jar jarfile="${basedir}/dist/jsearch-misc.jar">
60-
<fileset dir="${basedir}/build/classes">
57+
<fileset dir="../javahelp_nbproject/build/classes/">
6158
<include name="com/sun/java/help/impl/HeaderParser.class"/>
6259
<include name="javax/help/HelpUtilities*.class"/>
6360
<include name="javax/help/event/EventListenerList.class"/>

0 commit comments

Comments
 (0)