>Ah! I wasn't even aware that -SNAPSHOT had any special semantics w.r.t. to
publishing archives

It's maven specific. Snapshots are recognized by the version postfix
('-SNAPSHOT') and deployed slightly differently (date & number are appended
to the file name if you look at the repo, etc.). Take a look at maven
documentation.

>I have to rm -rf ~/.gradle/cache every single time after doing a mvn
install in order for Gradle projects to see the change. (That's with Gradle
0.9).

I tried with milestone-3 and it did work fine for me (e.g. didn't have to
purge cache to pick up changed snapshot). Haven't try with 0.9.

HTH!

On Thu, Aug 4, 2011 at 1:39 PM, matthias <[email protected]> wrote:

> Ah! I wasn't even aware that -SNAPSHOT had any special semantics w.r.t. to
> publishing archives, I thought it was just a convention you use to name
> your
> dev builds.
>
> Is that Gradle or even Gradle 1.0 specific? I have another project where I
> do the builds with Maven, and it *does* use the -SNAPSHOT convention, but
> still, I have to rm -rf ~/.gradle/cache every single time after doing a mvn
> install in order for Gradle projects to see the change. (That's with Gradle
> 0.9).
>
> Anything else worth knowing about -SNAPSHOT builds?
>
> --
> View this message in context:
> http://gradle.1045684.n5.nabble.com/gradle-clean-cache-command-tp2617928p4665994.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>


-- 
Szczepan Faber
Principal engineer@gradleware
Lead@mockito

Reply via email to