Project

General

Profile

« Previous | Next » 

Revision 353

Added by Matt Jones over 24 years ago

Fixed build.xml bug -- jar file was included recursively in itself, causing
ever-growing size of jar on install. Changed location of jar file that is
built (from build.dest to build.dir) to fix the problem.

View differences:

build.xml
87 87
   </target> 
88 88

  
89 89
   <target name="jar" depends="compile">
90
       <delete file="${build.dest}/${name}.jar" />
90
       <delete file="${build.dir}/${name}.jar" />
91 91
       <copydir src="lib/srbrmi" dest="${build.dest}" />
92
       <jar jarfile="${build.dest}/${name}.jar" basedir="${build.dest}" />
92
       <jar jarfile="${build.dir}/${name}.jar" basedir="${build.dest}" />
93 93
   </target> 
94 94

  
95 95
   <target name="install" depends="jar">
96 96
       <mkdir dir="${installdir}/WEB-INF/lib" />
97
       <copyfile src="${build.dest}/${name}.jar" 
97
       <copyfile src="${build.dir}/${name}.jar" 
98 98
                 dest="${installdir}/WEB-INF/lib/${name}.jar" />
99 99
       <copyfile src="${xmlp2}" 
100 100
                 dest="${installdir}/WEB-INF/lib/xerces.jar" />

Also available in: Unified diff