You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/12/12 23:01:37 UTC
svn commit: r486355 - /incubator/roller/trunk/sandbox/planetroller/build.xml
Author: agilliland
Date: Tue Dec 12 14:01:36 2006
New Revision: 486355
URL: http://svn.apache.org/viewvc?view=rev&rev=486355
Log:
planetroller sandbox project needs the Roller-Planet business layer jar as well.
Modified:
incubator/roller/trunk/sandbox/planetroller/build.xml
Modified: incubator/roller/trunk/sandbox/planetroller/build.xml
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/sandbox/planetroller/build.xml?view=diff&rev=486355&r1=486354&r2=486355
==============================================================================
--- incubator/roller/trunk/sandbox/planetroller/build.xml (original)
+++ incubator/roller/trunk/sandbox/planetroller/build.xml Tue Dec 12 14:01:36 2006
@@ -134,10 +134,22 @@
<delete dir="${ro.dist}" />
</target>
-
+ <!-- get jars from Roller Planet project which are required for this app -->
+ <target name="get-planet-jars">
+ <!-- first call the "dist" target to make sure the libs are built -->
+ <ant antfile="../../apps/planet/build.xml" inheritAll="false" target="dist" />
+
+ <!-- now just copy them to our build.lib directory for inclusion -->
+ <mkdir dir="${build.lib}"/>
+ <copy todir="${build.lib}">
+ <fileset dir="../../apps/planet/dist/lib"
+ includes="roller-planet-business.jar" />
+ </copy>
+ </target>
+
<!-- ============================================== -->
<!-- build the code and jar it up -->
- <target name="build" >
+ <target name="build" depends="get-planet-jars" >
<!-- compile planet classes -->
<mkdir dir="${build.compile.classes}"/>
@@ -150,6 +162,7 @@
<classpath>
<path refid="planet.path"/>
+ <fileset dir="${build.lib}" includes="*.jar" />
</classpath>
</javac>
@@ -161,7 +174,7 @@
<!-- Jar up the business layer -->
<mkdir dir="${build.lib}"/>
<jar basedir="${build.compile.classes}"
- jarfile="${build.lib}/planet-web.jar"/>
+ jarfile="${build.lib}/roller-planet-web.jar"/>
</target>