Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - pathelement with javac [Thread Next] Re: pathelement with javacTo: NULL Date: 6/2/2005 6:32:00 AM this seems to fix the problem. here's the new build.xml:
<project name="tidy" default="package">
<import file="tidyBuild/properties.xml" />
<target name="clean">
<delete dir="${outputDir}" />
</target>
<target name="prepare" depends="clean">
<mkdir dir="${outputDir}" />
</target>
<echo message="classpath=${cp}" />
<target name="compile" depends="prepare">
<javac
srcdir ="${sourceDir}"
destdir ="${outputDir}">
<classpath>
<path refid="tidy.path" />
</classpath>
</javac>
</target>
<target name="package" depends="compile">
<jar jarfile="${outputDir}/${mainClass}.jar"
basedir="${outputDir}" >
<manifest>
<attribute name="Main-Class"
value="${pkgPath}${mainClass}"/>
</manifest>
</jar>
</target>
</project>
is ant offtopic here, or something?
-Thufir
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
