Revision: 1677
http://svn.sourceforge.net/vexi/?rev=1677&view=rev
Author: mkpg2
Date: 2007-02-14 08:10:59 -0800 (Wed, 14 Feb 2007)
Log Message:
-----------
Integrating the autodocs into www (sourceforge website) build process
Modified Paths:
--------------
tools/trunk/org.vexi.widgetdoc/build.xml
Modified: tools/trunk/org.vexi.widgetdoc/build.xml
===================================================================
--- tools/trunk/org.vexi.widgetdoc/build.xml 2007-02-14 15:34:35 UTC (rev
1676)
+++ tools/trunk/org.vexi.widgetdoc/build.xml 2007-02-14 16:10:59 UTC (rev
1677)
@@ -3,11 +3,61 @@
Feb 14, 2007 3:20:42 PM
mikey
====================================================================== -->
-<project name="project" default="build">
- <!-- remark. Arguably this should be
- <target name="build">
-
-
- </target>
+<project name="project" default="run">
+ <property name="outdir" location="generated"/>
+ <property name="srcdir" location="../org.vexi.widgets/src"/>
+
+ <property name="buildcore.loc" location="../buildcore"/>
+ <import file="${buildcore.loc}/build_props.ent"/>
+
+ <!-- HACK to make it quicker and avoid checking/rebuilding the core -->
+ <property name="dontbuild" value="true"/>
+
+
+
+ <target name="builddependencies" unless="dontbuild">
+ <ant antfile="${buildcore.loc}/build.xml" target="vexi.jar"/>
+ </target>
+
+ <target name="init">
+ <mkdir dir="build"/>
+ <copy todir="build" file="${build_dir}/vexi.jar"/>
+ <copy todir="build">
+ <fileset dir="lib" includes="*.jar" />
+ </copy>
+ </target>
+
+ <target name="build" depends="builddependencies">
+ <javac srcdir="src" destdir="build" source="1.5" target="1.5"
debug="true">
+ <classpath>
+ <fileset dir="build" includes="*.jar" />
+ </classpath>
+ </javac>
+ <copy todir="build">
+ <fileset dir="src" excludes="**/*.java,**/*.jpp"/>
+ </copy>
+ <jar destfile="build/autodoc.jar">
+ <fileset dir="build" includes="org/**/*"/>
+ </jar>
+
+ </target>
+
+
+ <!-- Arguably this should not be here, as this is just the tool,
+ and should possibly be with the widgets (although they're not the
+ really the only thing being documented) -->
+ <target name="run" depends="build">
+ <java classname="org.vexi.widgetdoc.Main">
+ <arg value="${outdir}" />
+ <arg value="${srcdir}" />
+
+ <classpath>
+ <fileset dir="build" includes="*.jar" />
+ </classpath>
+ </java>
+ </target>
+
+
+
</project>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn