antlets/makeantlet/src xbuild.xml,1.8,1.9
[email protected] Wed, 10 Mar 2004 04:30:59 -0800
| Newsgroups | gmane.comp.krysalis.metamorphosis.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/metamorphosis/antlets/makeantlet/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16072/makeantlet/src
Modified Files:
xbuild.xml
Log Message:
added ability to build a documentation portal using forrest.
uses makeantlet's capability to abstract information from the antlets
Index: xbuild.xml
===================================================================
RCS file: /cvsroot/metamorphosis/antlets/makeantlet/src/xbuild.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** xbuild.xml 3 Mar 2004 21:02:54 -0000 1.8
--- xbuild.xml 10 Mar 2004 12:30:57 -0000 1.9
***************
*** 18,21 ****
--- 18,22 ----
<mkdir dir="${makeantlet.antlet.namedbuild.dir}"/>
</target>
+
<target name="make-antlet" depends="antlet-prep-makeantlet">
<copy todir="${makeantlet.antlet.namedbuild.dir}">
***************
*** 30,48 ****
out="${makeantlet.antlet.namedbuild.dir}/usage.xml"
style="${makeantlet.antlet.dir}/resources/stylesheets/xbuild2usage.xsl"/>
! </target>
! <target name="antletdocs" depends="antlet-prep-makeantlet" description="Generate antlet documents">
<!-- create the xdocs -->
<style in="${makeantlet.antlet.src.dir}/xbuild.xml"
! out="${makeantlet.antlet.namedbuild.dir}/xbuild-doc.xml"
style="${makeantlet.antlet.dir}/resources/stylesheets/xbuild2xdoc.xsl"/>
!
! <available file="${makeantlet.antlet.src.dir}/conf/properties.xml" property="properties.xml.file" value="${makeantlet.antlet.src.dir}/conf/properties.xml"/>
! <property name="properties.xml.file" value="dummy.xml"/>
!
<style in="${properties.xml.file}"
! out="${makeantlet.antlet.namedbuild.dir}/properties-doc.xml"
! style="${makeantlet.antlet.dir}/resources/stylesheets/properties2xdoc.xsl"/>
!
</target>
<target name="install-antlet" depends="make-antlet" description="Install the antlet in ${ant.home}/tools/antlets">
<copy todir="${antlet.dir}/${makeantlet.antlet.namedversion}/">
--- 31,53 ----
out="${makeantlet.antlet.namedbuild.dir}/usage.xml"
style="${makeantlet.antlet.dir}/resources/stylesheets/xbuild2usage.xsl"/>
! </target>
!
! <target name="antletdocs" depends="antlet-prep-makeantlet" description="Generate antlet documents">
! <property name="xdocs.dir" value="${makeantlet.antlet.namedbuild.dir}/xdocs"/>
! <mkdir dir="${xdocs.dir}"/>
<!-- create the xdocs -->
<style in="${makeantlet.antlet.src.dir}/xbuild.xml"
! out="${xdocs.dir}/xbuild-doc.xml"
style="${makeantlet.antlet.dir}/resources/stylesheets/xbuild2xdoc.xsl"/>
! <available file="${makeantlet.antlet.src.dir}/conf/properties.xml"
! property="properties.xml.file"
! value="${makeantlet.antlet.src.dir}/conf/properties.xml"/>
! <property name="properties.xml.file" value="${makeantlet.antlet.dir}/resources/dummy.xml"/>
<style in="${properties.xml.file}"
! out="${xdocs.dir}/properties-doc.xml"
! style="${makeantlet.antlet.dir}/resources/stylesheets/properties2xdoc.xsl"/>
! <echo>generated antlet xdocs in ${xdocs.dir}.</echo>
</target>
+
<target name="install-antlet" depends="make-antlet" description="Install the antlet in ${ant.home}/tools/antlets">
<copy todir="${antlet.dir}/${makeantlet.antlet.namedversion}/">
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click