[2.0] play dist giving duplicate entry for play.play_2.9.1-2.0.1.jar

Showing 1-10 of 10 messages
[2.0] play dist giving duplicate entry for play.play_2.9.1-2.0.1.jar Justin Hart 5/4/12 10:54 AM
(Actually Play 2.0.1)

[Server] $ dist
[error] {file:/Users/jhart/dev/Server/}Server/*:dist: java.util.zip.ZipException: duplicate entry: server-1.0-SNAPSHOT/lib/play.play_2.9.1-2.0.1.jar
[error] Total time: 2 s, completed May 4, 2012 11:52:19 AM

I don't see any duplicates in 'play classpath' output, and no obvious dupes in Build.scala

Any thoughts?
Re: [2.0] play dist giving duplicate entry for play.play_2.9.1-2.0.1.jar Justin Hart 5/5/12 12:30 PM
A follow up, it seems to do with the play2war plugin after the 2.0.1 upgrade
Re: [2.0] play dist giving duplicate entry for play.play_2.9.1-2.0.1.jar Thomas Felix 5/6/12 1:33 PM
I have the same error so I just reverted back to 2.0 which packs my app fine without errors. But I dont use the play2war plugin. The only plugin I used was the mailer plugin. I tried play clean but with no luck. :/

Am Samstag, 5. Mai 2012 21:30:01 UTC+2 schrieb Justin Hart:
Re: [2.0] play dist giving duplicate entry for play.play_2.9.1-2.0.1.jar Damien Lecan 5/10/12 2:56 AM
Hi Justin,
 
Someone has already reported this issue :
 
But I'm not able to reproduce it. So help the project by providing a Play 2 project test case.
 
Thanks
 
Damien Lecan

Le samedi 5 mai 2012 21:30:01 UTC+2, Justin Hart a écrit :
Re: [2.0] play dist giving duplicate entry for play.play_2.9.1-2.0.1.jar Carlos Encarnacion 5/21/12 7:32 PM
What's the status of this issue?
Re: [play-framework] Re: [2.0] play dist giving duplicate entry for play.play_2.9.1-2.0.1.jar Damien Lecan 5/22/12 4:09 AM
2012/5/22 Carlos Encarnacion <encarnaci...@gmail.com>:
> What's the status of this issue?

Fixed in v0.3.2 (only for "war" task, not for "dist" task).

Damien
Re: [2.0] play dist giving duplicate entry for play.play_2.9.1-2.0.1.jar Nuanda 5/22/12 7:14 PM
It's not the play2-war Plugin that's broken; I believe the "dist" operation is just broken with Play 2.0.1.

So you can dev with v2.0.1, but not go to production unless you choose an alternate deployment vector such as the play2-war plugin which doesn't have the problem anymore:

Play is tracking the bug here:


I'd like to know if anybody has figured a work-around for the "dist" problem with v2.0.1... or do people just roll back to Play 2.0.0 ?

Re: [2.0] play dist giving duplicate entry for play.play_2.9.1-2.0.1.jar David CHAU 5/28/12 5:46 AM
Hi,

I have the same issue since adding the spring4play2 module.
I suspect the duplicate entry error is only when adding modules as the my application depends on play2 and the module too.
Re: [2.0] play dist giving duplicate entry for play.play_2.9.1-2.0.1.jar Thomas Felix 5/28/12 6:32 AM
I have the same problem when I use the typesafe mailer plugin. My solution is at the moment to roll back and use the play 2.0.0 for deployment.

Am Montag, 28. Mai 2012 14:46:25 UTC+2 schrieb David CHAU:
Re: [2.0] play dist giving duplicate entry for play.play_2.9.1-2.0.1.jar Nuanda 6/17/12 6:15 AM

For anybody tracking this thread, the problem is resolved a-ok in Play v2.0.2-RC2 !!