File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 179179 </antcall >
180180
181181 <mkdir dir =" ${grails.release.dir}/plugins" />
182- <get src =" http://svn.codehaus.org/grails/trunk/grails-plugins/grails-hibernate/trunk/grails-hibernate-${grails.version}.zip"
182+ <taskdef name =" groovy" classname =" org.codehaus.groovy.ant.Groovy" >
183+ <classpath refid =" classpath" />
184+ </taskdef >
185+
186+ <groovy >
187+ def proj = ant.antProject
188+ def version = proj.properties['grails.version']
189+ proj.setNewProperty('grails.tag.version', version.replaceAll(/\./, '_'))
190+ </groovy >
191+
192+ <get src =" http://svn.codehaus.org/grails/trunk/grails-plugins/grails-hibernate/tags/RELEASE_${grails.tag.version}/grails-hibernate-${grails.version}.zip"
183193 dest =" ${grails.release.dir}/plugins/grails-hibernate-${grails.version}.zip"
184194 verbose =" true"
185195 usetimestamp =" true" />
186- <get src =" http://svn.codehaus.org/grails/trunk/grails-plugins/grails-tomcat/trunk /grails-tomcat-${grails.version}.zip"
196+ <get src =" http://svn.codehaus.org/grails/trunk/grails-plugins/grails-tomcat/tags/RELEASE_${grails.tag.version} /grails-tomcat-${grails.version}.zip"
187197 dest =" ${grails.release.dir}/plugins/grails-tomcat-${grails.version}.zip"
188198 verbose =" true"
189199 usetimestamp =" true" />
You can’t perform that action at this time.
0 commit comments