How to build the wrapper zip?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to build the wrapper zip?

longwa
If I wanted to build a custom "grails-2.3.5.BUILD-SNAPSHOT.zip" for use with the grails wrapper, what is the correct way to do that?

I assumed there would be a gradle command in grails-core that would build the zip, but I can't seem to find it. Hopefully I'm just overlooking something.

I want to use the grails wrapper to distribute a custom grails build until some 2.3.5 comes out.

-Aaron
Reply | Threaded
Open this post in threaded view
|

Re: How to build the wrapper zip?

Jeff Scott Brown-2


On January 8, 2014 at 3:24:40 PM, Aaron Long ([hidden email]) wrote:

>  
> If I wanted to build a custom "grails-2.3.5.BUILD-SNAPSHOT.zip"  
> for use
> with the grails wrapper, what is the correct way to do that?
>  
> I assumed there would be a gradle command in grails-core that  
> would build
> the zip, but I can't seem to find it. Hopefully I'm just overlooking  
> something.
>  
> I want to use the grails wrapper to distribute a custom grails  
> build until
> some 2.3.5 comes out.
>  
> -Aaron
>  

If you run “./gradlew zipDist” from the top of the grails-core repo that will create a suitable .zip.  If you want to use that from the wrapper you will need to make the zip available for download from somewhere and then modify wrapper/grails-wrapper.properties to point there.

I hope that makes sense.  Let me know if it does not.



JSB

Jeff Scott Brown
[hidden email]

Autism Strikes 1 in 166  
Find The Cause ~ Find The Cure
http://www.autismspeaks.org/



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: How to build the wrapper zip?

longwa
Jeff,
That's perfect, zipDist is exactly what I was trying to find. I had already changed the wrapper.dist.url to point to my download location but I was building the zip manually. The only other change I needed was to add mavenLocal() to build.gradle in order to pickup my grails-datastore-core.2.0.7.SNAPSHOT-BUILD.

Thanks,
Aaron


On Wed, Jan 8, 2014 at 8:06 PM, Jeff Scott Brown <[hidden email]> wrote:


On January 8, 2014 at 3:24:40 PM, Aaron Long ([hidden email]) wrote:
>
> If I wanted to build a custom "grails-2.3.5.BUILD-SNAPSHOT.zip"
> for use
> with the grails wrapper, what is the correct way to do that?
>
> I assumed there would be a gradle command in grails-core that
> would build
> the zip, but I can't seem to find it. Hopefully I'm just overlooking
> something.
>
> I want to use the grails wrapper to distribute a custom grails
> build until
> some 2.3.5 comes out.
>
> -Aaron
>

If you run “./gradlew zipDist” from the top of the grails-core repo that will create a suitable .zip.  If you want to use that from the wrapper you will need to make the zip available for download from somewhere and then modify wrapper/grails-wrapper.properties to point there.

I hope that makes sense.  Let me know if it does not.



JSB

Jeff Scott Brown
[hidden email]

Autism Strikes 1 in 166
Find The Cause ~ Find The Cure
http://www.autismspeaks.org/



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email