|[2.1.1-RC1] - Command "play eclipse" only compiles first sub module ?||Cyril N.||3/20/13 5:52 AM|
I have 3 modules, "common", "api" and "website", and when I call a /path/to/play/2.1.1-RC1/play eclipse, it only compiles the first module :
[info] Successfully created Eclipse project files for project(s):
Why other projects aren't compiled?
|Re: [2.1.1-RC1] - Command "play eclipse" only compiles first sub module ?||Stijn Beekhuis||3/20/13 12:05 PM|
Ran into same problem today. Solution:
play eclipse skip-parents=false
should do the trick.
Op woensdag 20 maart 2013 13:52:13 UTC+1 schreef Cyril N. het volgende:
|Re: [play-framework] Re: [2.1.1-RC1] - Command "play eclipse" only compiles first sub module ?||Cyril Nicodème||3/22/13 1:25 AM|
Hi! Your answer is interesting, but it seems to not work for me :
> [error] Not a valid key: skip-parents (similar: ivy-paths)
> [error] skip-parents=false
I also tried --skip-parents=false and skipParents=false, without any luck.
So I searched skip-parents for play, and found this : https://github.com/typesafehub/sbteclipse/wiki/Using-sbteclipse#skipparents
I then added
> EclipseKeys.skipParents in ThisBuild := false
In my Build.scala file (in settings() of main), but without any luck).
I also tried to put it in build.properties, the command play eclipse then works, but nothing changes, only one submodule is compiled.
What am I missing?
2013/3/20 Stijn Beekhuis <stijnb...@planework.com>
|Re: [play-framework] Re: [2.1.1-RC1] - Command "play eclipse" only compiles first sub module ?||Cyril Nicodème||3/22/13 2:13 AM|
Ok, I finally found the solution (or an alternative) :
As defined http://www.playframework.com/documentation/2.1.1-RC1/IDE, I added
in my Build.scala, re-run play eclipse, and now all my project are well compiled
Thanks for the hint :)
Update: The commande play eclipse skip-parents=false doesn't work, but going in the play console (just play), and then calling eclipse skip-parents=false works !
2013/3/22 Cyril Nicodème <con...@cnicodeme.com>
|Re: [play-framework] Re: [2.1.1-RC1] - Command "play eclipse" only compiles first sub module ?||Stijn Beekhuis||3/22/13 6:55 AM|
Acctually I used the commdand from the play console, sorry for not mentioning that. But you solved your issue!
Met vriendelijke groet,
De Ruyterstraat 15
2202 KG Noordwijk
M +31 6 241 789 61