rubys 02/01/02 06:34:02
Modified: proposal/gump/java Project.java
proposal/gump/site/xdocs ant.xml
Log:
Support runtime attribute on ant depend properties.
Revision Changes Path
1.22 +4 -0 jakarta-alexandria/proposal/gump/java/Project.java
Index: Project.java
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/java/Project.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- Project.java 1 Jan 2002 23:45:05 -0000 1.21
+++ Project.java 2 Jan 2002 14:34:02 -0000 1.22
@@ -171,6 +171,10 @@
if (property.getAttributeNode("classpath") == null)
depend.appendChild(document.createElement("noclasspath"));
+ Attr runtime = property.getAttributeNode("runtime");
+ if (runtime != null)
+ depend.setAttribute("runtime", runtime.getValue());
+
element.appendChild(depend);
dependsOn.put(dependency, depend);
}
1.4 +6 -0 jakarta-alexandria/proposal/gump/site/xdocs/ant.xml
Index: ant.xml
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/site/xdocs/ant.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ant.xml 23 Nov 2001 23:08:58 -0000 1.3
+++ ant.xml 2 Jan 2002 14:34:02 -0000 1.4
@@ -118,6 +118,12 @@
define more than one jar.</td>
<td>No</td>
</tr>
+ <tr>
+ <td>runtime</td>
+ <td>Specifies whether this dependency is needed at runtime.
+ Choices are "true" and "false" with the default being false.</td>
+ <td>No</td>
+ </tr>
</table>
</subsection>
</section>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>