You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by th...@apache.org on 2008/01/15 01:42:18 UTC
svn commit: r611980 - /labs/droids/trunk/build.xml
Author: thorsten
Date: Mon Jan 14 16:42:15 2008
New Revision: 611980
URL: http://svn.apache.org/viewvc?rev=611980&view=rev
Log:
Adding crawl target which will execute droid. run it with "ant droids.crawl -Ddroids.name=default" Fixing compile target to copy the resoures such as log4j.properties to the class folder.
Modified:
labs/droids/trunk/build.xml
Modified: labs/droids/trunk/build.xml
URL: http://svn.apache.org/viewvc/labs/droids/trunk/build.xml?rev=611980&r1=611979&r2=611980&view=diff
==============================================================================
--- labs/droids/trunk/build.xml (original)
+++ labs/droids/trunk/build.xml Mon Jan 14 16:42:15 2008
@@ -57,8 +57,8 @@
<!-- Compile the Java files -->
<!-- ====================================================== -->
<target name="droids.compile" depends="droids.compile-core" description="--> Will compile/deploy the droids core"/>
-
- <target name="droids.compile-core" depends="droids.init,ivy.resolve" description="--> Will compile the droids core" >
+<!-- ,ivy.resolve -->
+ <target name="droids.compile-core" depends="droids.init" description="--> Will compile the droids core" >
<javac
encoding="${build.encoding}"
srcdir="${src.dir.core}"
@@ -70,8 +70,25 @@
source="${javac.version}"
deprecation="${javac.deprecation}">
<classpath refid="droids.classpath"/>
- </javac>
+ </javac>
+ <copy toDir="${build.classes}" >
+ <fileset dir="${src.dir.core}" >
+ <exclude name="**/*.java"/>
+ </fileset>
+ </copy>
</target>
+
+ <target name="droids.crawl" description="--> Will invoke the crawling.">
+ <java classname="org.apache.droids.Cli" fork="true" dir="${build.dir}"
+ maxmemory="${droids.maxmemory}" failonerror="true"
+ resultproperty="buildResult">
+ <arg value="${droids.name}"/>
+ <!-- <arg value="${droids.initial.url}"/> -->
+ <classpath>
+ <path refid="droids.classpath"/>
+ </classpath>
+ </java>
+ </target>
<!-- Clean. Delete the build files, and their directories -->
<!-- ================================================================== -->
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org