Revision: 14708
          http://gate.svn.sourceforge.net/gate/?rev=14708&view=rev
Author:   valyt
Date:     2011-12-09 09:33:14 +0000 (Fri, 09 Dec 2011)
Log Message:
-----------
Version change 3.5.0 -> 4.0

Grails plugin plugin.xml seems to mot be updated unless we package-plugin, so 
now we do that as part of the plugin build.

Modified Paths:
--------------
    mimir/trunk/build.properties
    mimir/trunk/build.xml

Modified: mimir/trunk/build.properties
===================================================================
--- mimir/trunk/build.properties        2011-12-09 02:18:40 UTC (rev 14707)
+++ mimir/trunk/build.properties        2011-12-09 09:33:14 UTC (rev 14708)
@@ -1,4 +1,4 @@
-app.version=3.5.0-SNAPSHOT
+app.version=4.0-SNAPSHOT
 mimir-core.dirname=mimir-core
 mimir-client.dirname=mimir-client
 plugins.dirname=plugins

Modified: mimir/trunk/build.xml
===================================================================
--- mimir/trunk/build.xml       2011-12-09 02:18:40 UTC (rev 14707)
+++ mimir/trunk/build.xml       2011-12-09 09:33:14 UTC (rev 14708)
@@ -74,6 +74,7 @@
 
   <target name="grails-plugin" depends="grails.command">
        <!-- Update the version for the mimir-web plugin -->
+       <delete file="${grails-plugin.dir}/plugin.xml" />
     <copy file="${grails-plugin.dir}/MimirWebGrailsPlugin.groovy.template" 
            tofile="${grails-plugin.dir}/MimirWebGrailsPlugin.groovy"
           overwrite="true" >
@@ -81,29 +82,11 @@
         <filter token="version" value="${app.version}" />
       </filterset>
     </copy>
-       
-       
-       
-    <!-- The first compile always fails due to GWT classes being added to the
-    classpath too late. When that happens, we need to run compile a second 
time.
-    -->
-    <trycatch>
-      <try>
-        <grails dir="${grails-plugin.dir}">
-          <arg value="compile" />
-        </grails>      
-      </try>
-      <catch>
-        <echo>First Grails compilation failed (GWT not on the classpath?); 
re-trying...</echo>
-        <grails dir="${grails-plugin.dir}">
-          <arg value="compile" />
-        </grails>      
-      </catch>
-    </trycatch>
     
     <grails dir="${grails-plugin.dir}">
-      <arg value="compile-gwt-modules" />
+      <arg value="package-plugin" />
     </grails>
+    
   </target>
 
   <target name="check-demo-app">

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to