An ant target for generating Coreen metadata. This is a placeholder until I
make Coreen understand Maven projects, but this sort of setup will be always necessary for projects that use a totally custom build. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2941 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -59,13 +59,25 @@
|
||||
debug="on" optimize="${build.optimize}" source="1.5" target="1.5" encoding="utf-8">
|
||||
<classpath>
|
||||
<path refid="classpath"/>
|
||||
<pathelement location="${classes.dir}"/>
|
||||
<pathelement location="${classes.dir}"/>
|
||||
</classpath>
|
||||
<compilerarg value="-Xlint"/>
|
||||
<compilerarg value="-Xlint:-serial"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="coreen" depends="-prepare" description="Generates Coreen metadata.">
|
||||
<echo>${java.home}</echo>
|
||||
<java fork="true" classname="coreen.java.Main">
|
||||
<classpath>
|
||||
<path refid="classpath"/>
|
||||
<pathelement location="${java.home}/../lib/tools.jar"/>
|
||||
<pathelement location="${coreen.jar}"/>
|
||||
</classpath>
|
||||
<arg line="${src.dir}"/>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<target name="javadoc" depends="-prepare" description="Builds javadocs.">
|
||||
<tstamp><format property="year" pattern="yyyy"/></tstamp>
|
||||
<mkdir dir="${javadoc.dir}"/>
|
||||
|
||||
Reference in New Issue
Block a user