I'm going to be doing on Lift development with Eclipse at the Scala
Lift Off, so I guess I'm going to be finding out all about these
issues.
But, for my immediate enlightenment, if Eclipse doesn't work well with
Maven nested modules and does (apparently?) work well with non-nested
modules, then why don't you just use non-nested modules?
Cheers,
Miles
--
Miles Sabin
tel: +44 (0)7813 944 528
skype: milessabin
http://twitter.com/milessabin
Let me try that again ...
I'm going to be doing a presentation on Lift development with Eclipse
at the Scala Lift Off.
Do you have any compelling reason for not immediately upgrading to 2.7.4.RC1?
Unhandled event loop exceptions are an indication that something has
gone badly wrong in the UI part of the Scala IDE. When that happens
it'd help if you could check the Eclipse Error Log view and/or the
main Eclipse log file and create a ticket on Trac for it.
> As for nested modules, I use them because then I can issue a single "mvn
> install" in the top-level project and it builds all 8-10 modules at once. In
> particular, Lift uses nested modules.
OK, so then in the list of items for the "Eclipse Tooling for Lift"
what we really need is support for Maven nested modules? Or is this
something which should have generic Maven support?
That would typically (tho' not invariably) suggest a scalac bug which
can be reproduced on the command line rather than an Eclipse problem.
Do you get a successful command line build?
Umm ... this Maven behaviour is just completely broken, isn't it? Or
am I missing something?
Can someone explain the rational for it to me?
<snip/>
On Wed, Apr 22, 2009 at 11:14 AM, Channing <channin...@mac.com> wrote:
> 4. went to the project properties and edited each of the source
> folders removing the 'Excluded items' which was preventing eclipse
> from compiling the scala code
> Whenever I change the pom, I use a terminal to run mvn commands fromUmm ... this Maven behaviour is just completely broken, isn't it? Or
> the project directory and refresh my workspace, I have to repeat step
> 4 whenever I do this.
am I missing something?
Can someone explain the rational for it to me?
Which developers are these? Where should I be applying pressure?
> The workaround is to configure the build-helper-plugin in your pom with the
> correct source directories, and then when running maven eclispe:eclipse you
> will see these show up. Very intuitive eh?
Can't that workaround be made the default behaviour for Maven Scala
modules? At least then things would work out of the box with Eclipse
(if I'm understanding the situation correctly).
TBH, I'm a little bit cheesed off to discover that lots of the alleged
brokenness of the Scala IDE for Eclipse seem to boil down to Maven
trampling all over internal Eclipse metadata.
Can someone (Josh, you seem like the obvious candidate) please try and
get this sorted out at the Maven end?
Which developers are these? Where should I be applying pressure?
On Wed, Apr 22, 2009 at 1:16 PM, Josh Suereth <joshua....@gmail.com> wrote:
> The maven-eclipse-plugin is currently "broken" in the sense that it won't
> pay attention to the source directories configured by the maven-scala-plugin.
> The developers seem unwilling to try to integrate these two plugins, as they
> have a "workaround".
Can't that workaround be made the default behaviour for Maven Scala
> The workaround is to configure the build-helper-plugin in your pom with the
> correct source directories, and then when running maven eclispe:eclipse you
> will see these show up. Very intuitive eh?
modules? At least then things would work out of the box with Eclipse
(if I'm understanding the situation correctly).
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/scala</source>
</sources>
</configuration>
</execution>
<execution>
<id>add-test-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>src/test/scala</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
TBH, I'm a little bit cheesed off to discover that lots of the alleged
brokenness of the Scala IDE for Eclipse seem to boil down to Maven
trampling all over internal Eclipse metadata.
Is this working now?
And how about Google Appengine Integration?
Thanks
Which "this" are you referring to?
Thanks again.
He wants to get Lift + maven + the Scala IDE for Eclipse + the GAE
plugin for Eclipse all working together, which is falling between
about as many stools as is possible unfortunately.
TBH, I think that here probably is as good a place as any to try and
thrash this out ... I'll do whatever I can to help on the Scala IDE
front.
But I'd understand if you'd rather punt this somewhere else ...
On Thu, May 7, 2009 at 11:31 PM, David Pollak
<feeder.of...@gmail.com> wrote:
> If you've got questions about Scala and Eclipse and GAE generically, this isHe wants to get Lift + maven + the Scala IDE for Eclipse + the GAE
> not the best place to ask them.
plugin for Eclipse all working together, which is falling between
about as many stools as is possible unfortunately.
TBH, I think that here probably is as good a place as any to try and
thrash this out ... I'll do whatever I can to help on the Scala IDE
front.
But I'd understand if you'd rather punt this somewhere else ...
Cheers,
Miles
--
Miles Sabin
tel: +44 (0)7813 944 528
skype: milessabin
http://twitter.com/milessabin
Well, hang on ...
The point is that this is all of our problem ... I can help with
generic Scala IDE problems, but Lift + Maven + GAE plugin stuff is not
in my purview.
On Fri, May 8, 2009 at 7:48 AM, Miles Sabin <mi...@milessabin.com> wrote:
> The point is that this is all of our problem ... I can help with
> generic Scala IDE problems, but Lift + Maven + GAE plugin stuff is not
> in my purview.
As for "Lift + Maven + GAE/J", the following may be helpful,
http://groups.google.com/group/liftweb/msg/c454004d15940996?hl=en
Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
+1-415-578-3454
Fax +81-22-224-8773
Skype callto://jcraft/