jvanzyl 2003/03/11 08:42:24
Modified: src/plugins-build/plexus plugin.jelly
Log:
o Adding support for the optional inclusion of the JRE for completely
self-contained runtimes.
Revision Changes Path
1.9 +17 -1 jakarta-turbine-maven/src/plugins-build/plexus/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/plexus/plugin.jelly,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- plugin.jelly 5 Mar 2003 17:55:53 -0000 1.8
+++ plugin.jelly 11 Mar 2003 16:42:23 -0000 1.9
@@ -108,7 +108,23 @@
<include name="plexus-*.jar"/>
</fileset>
</delete>
-
+
+ <!--
+ |
+ | Include the JRE if specified. This is useful for applications
+ | that need to be completely self-contained.
+ |
+ -->
+
+ <j:if test="${jre == 'true'}">
+ <exec
+ executable="cp">
+ <arg value="-r"/>
+ <arg value="${java.home}"/>
+ <arg value="${maven.plexus.jre}"/>
+ </exec>
+ </j:if>
+
</goal>
<!-- ===================================================================== -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]