You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by sp...@apache.org on 2005/09/20 06:29:45 UTC
svn commit: r290350 -
/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml
Author: sppatel
Date: Mon Sep 19 21:29:41 2005
New Revision: 290350
URL: http://svn.apache.org/viewcvs?rev=290350&view=rev
Log:
fix import goal
Modified:
geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml
Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml?rev=290350&r1=290349&r2=290350&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml Mon Sep 19 21:29:41 2005
@@ -19,12 +19,14 @@
</goal>
<preGoal name="clean:clean">
- <ant:delete dir="${schema}/lib"/>
- </preGoal>
+ <ant:delete dir="${basedir}/lib"/>
+ <ant:delete dir="${basedir}/emf"/>
+ </preGoal>
<goal name="importschemas">
<j:forEach var="artifact" items="${pom.artifacts}">
- <j:if test="${!artifact.dependency.groupId.equals('eclipse')}">
+ <j:set var="group" value="${artifact.dependency.groupId}"/>
+ <j:if test="${group.equals('geronimo') || group.equals('openejb')}">
<ant:unzip src="${artifact.path}" dest="${basedir}/temp">
<ant:patternset>
<ant:include name="META-INF/schema/*.xsd"/>
@@ -53,7 +55,7 @@
</j:forEach>
</goal>
- <goal name="codegen">
+ <goal name="codegen" prereqs="importschemas">
<echo>Starting Workbench...</echo>
<ant:java fork="true" jar="${eclipse.home}/startup.jar" failonerror="true">
<ant:jvmarg value="-Djava.endorsed.dirs=${maven.repo.local}/xerces/jars/"/>