svn commit: r581516 - /xml/xindice/trunk/java/examples/build.xml

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
Author: vgritsenko
Date: Wed Oct  3 00:38:26 2007
New Revision: 581516

URL: http://svn.apache.org/viewvc?rev=581516&view=rev
Log:
fix build - patch by Ganesh

Modified:
    xml/xindice/trunk/java/examples/build.xml

Modified: xml/xindice/trunk/java/examples/build.xml
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/examples/build.xml?rev=581516&r1=581515&r2=581516&view=diff
==============================================================================
--- xml/xindice/trunk/java/examples/build.xml (original)
+++ xml/xindice/trunk/java/examples/build.xml Wed Oct  3 00:38:26 2007
@@ -80,12 +80,12 @@
         <property name="addressbook.build.dir" value="${build.dir}/addressbook-classes"/>
         <property name="addressbook.war" value="${dist.dir}/xindice-${project.version}-addressbook.war"/>
         <property name="addressbook.config.dir" value="config"/>
-
-        <mkdir dir="${addressbook.build.dir}"/>
     </target>
 
     <target name="addressbook-build"
             depends="addressbook-init">
+       <mkdir dir="${addressbook.build.dir}"/>
+
        <javac srcdir="${addressbook.src.dir}"
              destdir="${addressbook.build.dir}"
              debug="${compile.debug}"
@@ -129,7 +129,8 @@
        </war>
     </target>
 
-    <target name="addressbook-clean">
+    <target name="addressbook-clean"
+            depends="addressbook-init">
         <delete file="${addressbook.war}"/>
         <delete dir="${addressbook.build.dir}"/>
     </target>
@@ -143,12 +144,12 @@
         <property name="guide.jar.name"  value="${dist.dir}/xindice-${project.version}-guide.jar"/>
         <property name="guide.build.dir" value="${build.dir}/guide-classes"/>
         <property name="guide.src.dir" value="guide/src"/>
-
-        <mkdir dir="${guide.build.dir}"/>
     </target>
 
     <target name="guide-build"
             depends="guide-init">
+       <mkdir dir="${guide.build.dir}"/>
+
        <javac srcdir="${guide.src.dir}"
              destdir="${guide.build.dir}"
              debug="${compile.debug}"
@@ -175,7 +176,8 @@
        </jar>
     </target>
 
-    <target name="guide-clean">
+    <target name="guide-clean"
+            depends="guide-init">
         <delete file="${guide.jar.name}"/>
         <delete dir="${guide.build.dir}"/>
     </target>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.