nickchalko 2003/06/25 23:05:06
Modified: . build.xml
Added: project .cvsignore
stylesheet nobuild-projects.xsl
Log:
Added ant target and stylsheet to copy ALL projects removing the <ant>
target making "nobuild" version suitable for use with the package attribute.
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.1 jakarta-gump/project/.cvsignore
Index: .cvsignore
===================================================================
nobuild
1.1 jakarta-gump/stylesheet/nobuild-projects.xsl
Index: nobuild-projects.xsl
===================================================================
<!-- ===================================================================== -->
<!-- Copy a module removing the "ant" tag. -->
<!-- This is usefull for referencing projects with out building them -->
<!-- ===================================================================== -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" />
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="ant">
<xsl:comment>No build</xsl:comment>
</xsl:template>
</xsl:stylesheet>
1.21 +8 -0 jakarta-gump/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-gump/build.xml,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- build.xml 24 Jun 2003 08:07:15 -0000 1.20
+++ build.xml 26 Jun 2003 06:05:05 -0000 1.21
@@ -229,4 +229,12 @@
<delete dir="work"/>
<ant dir="site" target="clean"/>
</target>
+
+
+ <target name="nobuild-projects" description="Create nobuild version of all
projects">
+ <style basedir="project"
+ destdir="project/nobuild"
+ extension=".xml"
+ style="stylesheet/nobuild-projects.xsl"/>
+ </target>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]