Hi,
every time I update regexp's sources the first thing I do is comment
out the following part of build.xml
<available classname="org.apache.velocity.anakia.AnakiaTask"
property="AnakiaTask.present">
<classpath refid="classpath"/>
</available>
I know that Anakia is required to perform docs target, but I've never
run it :( So, perhaps it worth to change build.xml a little so only
persons who try to build "docs" will need to have anakia. (I attach
suggested diffs)
Do you agree?
With best regards, Oleg.
Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-regexp/build.xml,v
retrieving revision 1.10
diff -u -r1.10 build.xml
--- build.xml 28 Feb 2004 11:45:08 -0000 1.10
+++ build.xml 19 Mar 2004 18:47:24 -0000
@@ -78,12 +78,6 @@
<filter token="year" value="${year}"/>
<filter token="version" value="${version}"/>
<filter token="date" value="${TODAY}"/>
-
- <available classname="org.apache.velocity.anakia.AnakiaTask"
- property="AnakiaTask.present">
- <classpath refid="classpath"/>
- </available>
-
<mkdir dir="${build.dir}"/>
<mkdir dir="${build.dest}"/>
<mkdir dir="${build.src}"/>
@@ -224,7 +218,15 @@
<!-- ================================================================== -->
<!-- Anakia Documentation Builder -->
<!-- ================================================================== -->
- <target name="prepare-error" depends="prepare" unless="AnakiaTask.present">
+ <target name="check.AnakiaTask">
+ <available classname="org.apache.velocity.anakia.AnakiaTask"
+ property="AnakiaTask.present">
+ <classpath refid="classpath"/>
+ </available>
+ </target>
+
+ <target name="prepare-error" depends="prepare, check.AnakiaTask"
+ unless="AnakiaTask.present">
<echo>
AnakiaTask is not present! Please check to make sure that
velocity.jar is in your classpath.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]