geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r291002 - in /geronimo/devtools/trunk/modules/eclipse-plugin: etc/project.properties plugins/org.apache.geronimo.runtime.v1/maven.xml plugins/org.apache.geronimo.runtime.v1/plugin.xml plugins/org.apache.geronimo.runtime.v1/plugin.xml.template
Date Thu, 22 Sep 2005 18:56:01 GMT
Author: sppatel
Date: Thu Sep 22 11:55:57 2005
New Revision: 291002

URL: http://svn.apache.org/viewcvs?rev=291002&view=rev
Log:
goal to generate plugin.xml for runtime plugin

Added:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/plugin.xml.template
      - copied, changed from r290990, geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/plugin.xml
Removed:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/plugin.xml
Modified:
    geronimo/devtools/trunk/modules/eclipse-plugin/etc/project.properties
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/maven.xml

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/etc/project.properties
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/etc/project.properties?rev=291002&r1=291001&r2=291002&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/etc/project.properties (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/etc/project.properties Thu Sep 22 11:55:57
2005
@@ -8,7 +8,7 @@
 
 devtools_currentversion=1.0.0
 
-geronimo.version=1.0-M4
+geronimo.version=1.0-SNAPSHOT
 geronimo_runtime_version=${geronimo.version}
 geronimo_spec_version=1.1-rc4
 mx4j_version=3.0.1

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/maven.xml?rev=291002&r1=291001&r2=291002&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/maven.xml
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/maven.xml
Thu Sep 22 11:55:57 2005
@@ -11,7 +11,8 @@
         <attainGoal name="jar:install"/>
     </goal>
     
-    <preGoal name="java:jar-resources">        
+    <preGoal name="java:jar-resources"> 
+        <attainGoal name="createpluginxml"/>       
         <attainGoal name="copyjars"/>
     </preGoal>
 
@@ -27,6 +28,15 @@
     <postGoal name="eclipse:generate-classpath">
       <replaceregexp file=".classpath" match='(classpathentry) (kind="var")' replace='\1
exported="true" \2' byline="true"/>
     </postGoal>
+    
+    <goal name="createpluginxml">
+      <ant:copy file="plugin.xml.template" tofile="plugin.xml" overwrite="true"/>
+      <replaceregexp file="plugin.xml" match="@geronimo_runtime_version@" replace="${geronimo_runtime_version}"
byline="true"/>
+      <replaceregexp file="plugin.xml" match="@geronimo_spec_version@" replace="${geronimo_spec_version}"
byline="true"/>
+      <replaceregexp file="plugin.xml" match="@mx4j_version@" replace="${mx4j_version}"
byline="true"/>  
+      <replaceregexp file="plugin.xml" match="@commons_logging_version@" replace="${commons_logging_version}"
byline="true"/>   
+      <replaceregexp file="plugin.xml" match="@cglib_version@" replace="${cglib_version}"
byline="true"/>      
+    </goal>
     
     <goal name="copyjars">        
         <j:forEach var="artifact" items="${pom.artifacts}">  

Copied: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/plugin.xml.template
(from r290990, geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/plugin.xml)
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/plugin.xml.template?p2=geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/plugin.xml.template&p1=geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/plugin.xml&r1=290990&r2=291002&rev=291002&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/plugin.xml
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.runtime.v1/plugin.xml.template
Thu Sep 22 11:55:57 2005
@@ -6,28 +6,28 @@
    version="1.0.0"
    provider-name="Apache Software Foundation">
    <runtime>     
-      <library name="lib/geronimo-deploy-jsr88-1.0-M4.jar">
+      <library name="lib/geronimo-deploy-jsr88-@geronimo_runtime_version@.jar">
          <export name="*"/>
       </library>     
-      <library name="lib/geronimo-kernel-1.0-M4.jar">
+      <library name="lib/geronimo-kernel-@geronimo_runtime_version@.jar">
          <export name="*"/>
       </library>     
-      <library name="lib/geronimo-spec-j2ee-deployment-1.1-rc4.jar">
+      <library name="lib/geronimo-spec-j2ee-deployment-@geronimo_spec_version@.jar">
          <export name="*"/>
       </library>     
-      <library name="lib/mx4j-3.0.1.jar">
+      <library name="lib/mx4j-@mx4j_version@.jar">
          <export name="*"/>
       </library>
-      <library name="lib/mx4j-remote-3.0.1.jar">
+      <library name="lib/mx4j-remote-@mx4j_version@.jar">
          <export name="*"/>
       </library>
-      <library name="lib/commons-logging-1.0.4.jar">
+      <library name="lib/commons-logging-@commons_logging_version@.jar">
          <export name="*"/>
       </library> 
-      <library name="lib/cglib-nodep-2.1_2.jar">
+      <library name="lib/cglib-nodep-@cglib_version@.jar">
          <export name="*"/>
       </library>  
-      <library name="lib/geronimo-common-1.0-M4.jar">
+      <library name="lib/geronimo-common-@geronimo_runtime_version@.jar">
          <export name="*"/>
       </library>   
    </runtime>



Mime
View raw message