Revision: 14798
http://gate.svn.sourceforge.net/gate/?rev=14798&view=rev
Author: ian_roberts
Date: 2011-12-16 16:42:17 +0000 (Fri, 16 Dec 2011)
Log Message:
-----------
Do the <trycatch> trick on the package-plugin call, as this seems to fail the
first time you build after deleting ~/.grails/<version>/projects/mimir-web.
Modified Paths:
--------------
mimir/trunk/build.xml
Modified: mimir/trunk/build.xml
===================================================================
--- mimir/trunk/build.xml 2011-12-16 16:07:29 UTC (rev 14797)
+++ mimir/trunk/build.xml 2011-12-16 16:42:17 UTC (rev 14798)
@@ -99,9 +99,21 @@
<resolve-groovy-templates dir="${grails-plugin.dir}" />
- <grails dir="${grails-plugin.dir}">
- <arg value="package-plugin" />
- </grails>
+ <trycatch>
+ <try>
+ <grails dir="${grails-plugin.dir}">
+ <arg value="package-plugin" />
+ </grails>
+ </try>
+ <catch>
+ <echo>First attempt at package-plugin failed. This often
happens</echo>
+ <echo>the first time you build, or after deleting directories</echo>
+ <echo>under ~/.grails. Re-trying...</echo>
+ <grails dir="${grails-plugin.dir}">
+ <arg value="package-plugin" />
+ </grails>
+ </catch>
+ </trycatch>
</target>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs