bwalding 2003/03/15 17:01:45
Modified: src/plugins-build/eclipse plugin.jelly
Log:
o MAVEN-323: eclipse needs to be able to access the test plugin's dependencies. This
tag forces test plugin to be loaded when eclipse plugin is run.
Revision Changes Path
1.8 +14 -2 jakarta-turbine-maven/src/plugins-build/eclipse/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/eclipse/plugin.jelly,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- plugin.jelly 6 Mar 2003 12:57:30 -0000 1.7
+++ plugin.jelly 16 Mar 2003 01:01:44 -0000 1.8
@@ -3,6 +3,8 @@
<project xmlns:j="jelly:core"
xmlns:test="test">
+ <test:eclipse/>
+
<!--==================================================================-->
<!-- Generate Eclipse .project and .classpath files -->
<!--==================================================================-->
@@ -40,8 +42,8 @@
</j:file>
<echo>Creating ${basedir}/.classpath ...</echo>
-
- <j:file name="${basedir}/.classpath" prettyPrint="true" xmlns="dummy">
+
+ <j:file name="${basedir}/.classpath" prettyPrint="true" xmlns="dummy">
<classpath>
<j:if test="${sourcesPresent}">
@@ -151,6 +153,16 @@
<j:if test='${ws != "X"}'>
<j:set var="toDir"
value="${maven.eclipse.workspace}/.metadata/.plugins/org.eclipse.ui.externaltools/" />
<copy file="${toolFile}" todir="${toDir}"/>
+ </j:if>
+
+ <j:if test='${ws == "X"}'>
+ <echo>
+ Please set maven.eclipse.workspace to the location of your eclipse workspace.
+ Alternatively, copy
+ ${maven.build.dir}/eclipse/externaltools.xml
+ to
+
[maven.eclipse.workspace]/.metadata/.plugins/org.eclipse.ui.externaltools/externaltools.xml
+ </echo>
</j:if>
</goal>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]