Permalink
Browse files

touge: update top level build

  • Loading branch information...
kgilmer committed Nov 4, 2011
1 parent 0ad14be commit 997666a1065dd8da3b67d749989ee981c569d066
Showing with 27 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +26 −3 build.xml
View
@@ -4,3 +4,4 @@ bin/
build-common.xml
*.jar
classes/
+ant-build-common
View
@@ -3,6 +3,13 @@
<property name="deps" location="${basedir}/deps" />
<property name="dist" location="${basedir}/dist" />
+ <!-- task to build all children components of project -->
+ <target name="call-children" description="Call targets on all project components.">
+ <ant dir="org.touge.restclient" target="${target}"/>
+ <ant dir="org.touge.osgiutil" target="${target}"/>
+ </target>
+
+ <!-- The following targets set the ${target} variable and run 'call-children'. -->
<target name="clean">
<property name="target" value="clean"></property>
<antcall target="call-children"></antcall>
@@ -11,16 +18,32 @@
<target name="clobber">
<property name="target" value="clobber"></property>
<antcall target="call-children"></antcall>
+ <!-- Delete the common build file -->
<delete dir="${ant-build-common.dir}" />
</target>
+ <target name="fetch.deps">
+ <property name="target" value="fetch.deps"></property>
+ <antcall target="call-children"></antcall>
+ </target>
+
+ <target name="compile">
+ <property name="target" value="compile"></property>
+ <antcall target="call-children"></antcall>
+ </target>
+
<target name="jar">
<property name="target" value="jar"></property>
<antcall target="call-children"></antcall>
</target>
- <target name="call-children">
- <ant dir="org.touge.restclient" target="${target}"/>
- <ant dir="org.touge.osgiutil" target="${target}"/>
+ <target name="javadoc">
+ <property name="target" value="javadoc"></property>
+ <antcall target="call-children"></antcall>
+ </target>
+
+ <target name="help">
+ <property name="target" value="help"></property>
+ <antcall target="call-children"></antcall>
</target>
</project>

0 comments on commit 997666a

Please sign in to comment.