[2.1.1-RC1] - Command "play eclipse" only compiles first sub module ?

Showing 1-5 of 5 messages
[2.1.1-RC1] - Command "play eclipse" only compiles first sub module ? Cyril N. 3/20/13 5:52 AM
Hi!

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):
[info] MyProject-common

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
Hi,

Ran into same problem today. Solution:

play eclipse skip-parents=false 

should do the trick.

Regards,

Stijn




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?

Thanks!

Cyril.


2013/3/20 Stijn Beekhuis <stijnb...@planework.com>

--
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/0Oq3b3sROBs/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

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) : 


import com.typesafe.sbteclipse.core.EclipsePlugin.EclipseKeys
  override def settings = super.settings ++ Seq(
EclipseKeys.skipParents in ThisBuild := false
)

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 !

Cyril


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
Hi Cyrill,

Acctually I used the commdand from the play console, sorry for not mentioning that. But you solved your issue!

Regards
--
Met vriendelijke groet,


Stijn Beekhuis
Planework
De Ruyterstraat 15
2202 KG  Noordwijk

M +31 6 241 789 61