You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by sa...@apache.org on 2001/04/30 22:52:43 UTC
cvs commit: jakarta-alexandria .cvsignore build.xml
sanders 01/04/30 13:52:43
Modified: . .cvsignore build.xml
Log:
Updates to allow building the website
Revision Changes Path
1.2 +1 -0 jakarta-alexandria/.cvsignore
Index: .cvsignore
===================================================================
RCS file: /home/cvs/jakarta-alexandria/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 2001/02/05 16:27:25 1.1
+++ .cvsignore 2001/04/30 20:52:41 1.2
@@ -1,2 +1,3 @@
build
classes
+velocity.log
\ No newline at end of file
1.15 +17 -5 jakarta-alexandria/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-alexandria/build.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- build.xml 2001/04/22 21:17:55 1.14
+++ build.xml 2001/04/30 20:52:41 1.15
@@ -2,7 +2,7 @@
<property name="src.dir" value="src/java" />
<property name="build.dir" value="build/alexandria" />
<property name="project" value="Alexandria"/>
- <property name="doc.dir" value="${build.dir}/docs"/>
+ <property name="doc.dir" value="${basedir}/docs"/>
<property name="javadoc.dir" value="${doc.dir}/api"/>
<property name="year" value="2000"/>
<property name="build.classes" value="classes" />
@@ -10,10 +10,18 @@
<path id="classpath">
<fileset dir="lib">
- <include name="*.jar"/>
+ <include name="**/*.jar"/>
</fileset>
</path>
+ <!-- classpath for generating docs with Anakia -->
+ <path id="site-classpath">
+ <fileset dir="../jakarta-site2/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
+
<target name="prepare">
<mkdir dir="${build.dir}" />
<mkdir dir="${build.classes}" />
@@ -29,8 +37,10 @@
<uptodate property="apis.uptodate" targetfile="${build.dir}/Alexandria.jar">
<srcfiles dir="src/xml" includes="**/*.xsd"/>
</uptodate>
- <available classname="org.apache.velocity.anakia.AnakiaTask"
- property="AnakiaTask.present"/>
+ <available classname="org.apache.velocity.anakia.AnakiaTask"
+ property="AnakiaTask.present">
+ <classpath refid="site-classpath"/>
+ </available>
</target>
<target name="clean" description="Clear compiled classes">
@@ -157,7 +167,9 @@
<!-- =================================================================== -->
<target name="docs">
<property name="docs.src" value="./xdocs"/>
- <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/>
+ <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask">
+ <classpath refid="site-classpath"/>
+ </taskdef>
<anakia basedir="${docs.src}" destdir="${doc.dir}"
extension=".html" style="./site.vsl"
projectFile="stylesheets/project.xml"
---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org