Re: Patches for How-To documentation(tomcat.xml) and building examples
"Ganesh Jayaraman" <[email protected]>
| Newsgroups | gmane.text.xml.xindice.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Vadim, Build and run scripts are fine except that, the "clean" target was not working as dependent properties were not initialized. Please find attached the patch for fixing it. Thanks, Ganesh On 10/2/07, Vadim Gritsenko <[email protected]> wrote: > Ganesh Jayaraman wrote: > > Please find attached patches for > > > > 1. How-Tos - Installation > > 2. Class path for eclipse project > > Applied. > > > > 3. Building and running examples > > +++ java/examples/guide/run > > +++ java/examples/build.xml > > I made some more changes to build script, and collapsed run script into just one > for loop. Can you verify it works ok for you now? > > > > I would like to know if there is any plan to prepare documentation for > > version 1.2. I wanted to update the Developer guide, but it might > > confuse the readers as the tab says "1.0". Please let me know! > > Developer guide at http://xml.apache.org/xindice/1.0/guide-developer.html is > indeed for version 1.0. > > But developer guide at http://xml.apache.org/xindice/guide-developer.html is for > current version of xindice. So you can edit this guide. > > Vadim >
build.xml.patch
(application/octet-stream, 1.9 KB)
Index: java/examples/build.xml
===================================================================
--- java/examples/build.xml (revision 581467)
+++ java/examples/build.xml (working copy)
@@ -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>