I am participating to the gump team.
For those of you who do not know yet, gump is a social experiment.
And concretely a night build system, which builds a number of open source projects
based on CVS or svn head revisions.
Gump tries to build xdoclet, but there is a small problem I think with the dependency upon javacc.
I am sending you a patch for your build.xml, so that xjavadoc.jar becomes a property which can be overridden from outside.
Cheers,
Antoine
Index: build.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/build.xml,v
retrieving revision 1.30
diff -u -r1.30 build.xml
--- build.xml 26 Nov 2003 00:56:37 -0000 1.30
+++ build.xml 24 Mar 2004 21:51:24 -0000
@@ -4,6 +4,7 @@
<property name="xdoclet.root.dir" value="${basedir}"/>
<property file="${xdoclet.root.dir}/build.properties"/>
<property file="${user.home}/build.properties"/>
+ <property name="xjavadoc.jar"
location="${lib.dir}/xjavadoc-${xjavadoc.version}.jar"/>
<property environment="env"/>
<target name="xjavadoc-determine-presence">
@@ -14,8 +15,8 @@
<target name="xjavadoc-determine-uptodate" depends="xjavadoc-determine-presence"
if="xjavadoc.sources.present">
<echo>XJavaDoc sources are available. Checking against
${lib.dir}/xjavadoc-${xjavadoc.version}.jar</echo>
- <uptodate property="xjavadoc.uptodate"
- targetfile="${lib.dir}/xjavadoc-${xjavadoc.version}.jar">
+ <uptodate property="xjavadoc.uptodate"
+ targetfile="${xjavadoc.jar}">
<srcfiles dir="${basedir}/../xjavadoc/src"/>
<srcfiles dir="${basedir}/../xjavadoc/junit"/>
<srcfiles dir="${basedir}/../xjavadoc/javacc"/>
@@ -45,7 +46,7 @@
<!--setproxy/-->
<get
src="http://xdoclet.sourceforge.net/repository/xjavadoc/jars/xjavadoc-${xjavadoc.version}.jar"
- dest="${lib.dir}/xjavadoc-${xjavadoc.version}.jar"/>
+ dest="${xjavadoc.jar}"/>
</target>
<target name="xjavadoc"
depends="build-xjavadoc,dont-build-xjavadoc,download-xjavadoc"/>
@@ -132,7 +133,7 @@
</copy>
<!-- Copy XJavaDoc to the dist.lib directory -->
- <copy file="${lib.dir}/xjavadoc-${xjavadoc.version}.jar"
todir="${dist.lib.dir}"/>
+ <copy file="${xjavadoc.jar}" todir="${dist.lib.dir}"/>
<!-- Copy the Jakarta Log4J and Commons Logging jar to the dist.lib directory
-->
<copy file="${lib.dir}/commons-logging.jar" todir="${dist.lib.dir}"/>--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
