rubys 2003/02/07 16:14:37
Modified: project jakarta-ant.xml
site/xdocs project.xml
stylesheet build.xsl
Log:
Based on a suggestion by Stefan Bodewig. It turns out that this was
ridiculously easy... the hard part will be finding the LICENSE file
for each project.
Revision Changes Path
1.97 +2 -0 jakarta-gump/project/jakarta-ant.xml
Index: jakarta-ant.xml
===================================================================
RCS file: /home/cvs/jakarta-gump/project/jakarta-ant.xml,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- jakarta-ant.xml 5 Feb 2003 09:31:14 -0000 1.96
+++ jakarta-ant.xml 8 Feb 2003 00:14:37 -0000 1.97
@@ -33,6 +33,8 @@
<jar name="lib/ant-xalan2.jar" id="xalan2"/>
<jar name="lib/nodeps.jar" id="nodeps"/>
+ <license name="LICENSE"/>
+
<nag from="Diane Holt <[EMAIL PROTECTED]>"
to="[EMAIL PROTECTED]"/>
</project>
1.17 +18 -0 jakarta-gump/site/xdocs/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-gump/site/xdocs/project.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- project.xml 7 Feb 2003 01:09:25 -0000 1.16
+++ project.xml 8 Feb 2003 00:14:37 -0000 1.17
@@ -258,6 +258,24 @@
</table>
</subsection>
+ <subsection name="license">
+ <p>The filename of the license, relative to the src directory.
+ This file will accompany any redistributable jars.</p>
+
+ <table>
+ <tr>
+ <th>Attribute</th>
+ <th>Description</th>
+ <th>Required?</th>
+ </tr>
+ <tr>
+ <td>name</td>
+ <td>The filename of the license file</td>
+ <td>Yes</td>
+ </tr>
+ </table>
+ </subsection>
+
<subsection name="jar">
<p>The name of an output jar, relative to the home directory.</p>
1.53 +4 -0 jakarta-gump/stylesheet/build.xsl
Index: build.xsl
===================================================================
RCS file: /home/cvs/jakarta-gump/stylesheet/build.xsl,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- build.xsl 7 Feb 2003 01:09:26 -0000 1.52
+++ build.xsl 8 Feb 2003 00:14:37 -0000 1.53
@@ -214,8 +214,12 @@
<xsl:variable name="jardir" select="/workspace/@jardir"/>
<xsl:variable name="home" select="@home"/>
<xsl:variable name="module" select="@module"/>
+ <xsl:variable name="srcdir" select="@srcdir"/>
<xsl:for-each select="jar">
<copy file="{$home}/{@name}" todir="{$jardir}/{$module}"/>
+ </xsl:for-each>
+ <xsl:for-each select="license">
+ <copy file="{$srcdir}/{@name}" todir="{$jardir}/{$module}"/>
</xsl:for-each>
</xsl:if>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]