- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Eclipse not building
Thu, 2009-05-28, 00:54
Hi. I have a lift project with scala, maven (m2), and GAE natures. It was working fine (except not running an ant script automatically when added as a project builder, or the enhancer). However, now the scala builder either doesn't run or terminates in middle (it goes until 4%-5%). Cleaning deletes the output folder and creates them (sometimes even the package folders) but no class files. There doesn't seem to be any stack traces etc. in the error log, the eclipsec.exe console, or the log file, although the console does say building xx.scala for a number of files. I tried enabling/disabling various project builders. Enabling the scala builder and the maven scala builder always gave an error that jline.dll was already loaded, so I commented it out of the POM, but when I switch to using it, I get a bunch of errors along the lines that net is not a member of <root>. The maven dependencies are all there in the project explorer.
I also tried closing, cleaning, refreshing, and restarting eclipse.
I also tried closing, cleaning, refreshing, and restarting eclipse.
Thu, 2009-05-28, 03:57
#2
Eclipse not building
Here's the project. Note that since as I mentioned the enhancer wasn't running, I made an ant script to enhance, copy, and run it, but I deleted the jars from the zip.
From: Josh Suereth <joshua.suereth@gmail.com>
Sent: Wednesday, May 27, 2009 9:31 PM
To: Naftoli Gugenheim <naftoligug@gmail.com>
Cc: <scala-tools@listes.epfl.ch> <scala-tools@listes.epfl.ch>
Subject: Re: [scala-tools] Eclipse not building
I don't currently use m2 actively with scala. It sounds like an issue with conflicting builders. What does your pom look like? I'll try to debug locally.
Sent from my iPhone
On May 27, 2009, at 7:54 PM, Naftoli Gugenheim <naftoligug@gmail.com> wrote:
From: Josh Suereth <joshua.suereth@gmail.com>
Sent: Wednesday, May 27, 2009 9:31 PM
To: Naftoli Gugenheim <naftoligug@gmail.com>
Cc: <scala-tools@listes.epfl.ch> <scala-tools@listes.epfl.ch>
Subject: Re: [scala-tools] Eclipse not building
I don't currently use m2 actively with scala. It sounds like an issue with conflicting builders. What does your pom look like? I'll try to debug locally.
Sent from my iPhone
On May 27, 2009, at 7:54 PM, Naftoli Gugenheim <naftoligug@gmail.com> wrote:
Hi. I have a lift project with scala, maven (m2), and GAE natures. It was working fine (except not running an ant script automatically when added as a project builder, or the enhancer). However, now the scala builder either doesn't run or terminates in middle (it goes until 4%-5%). Cleaning deletes the output folder and creates them (sometimes even the package folders) but no class files. There doesn't seem to be any stack traces etc. in the error log, the eclipsec.exe console, or the log file, although the console does say building xx.scala for a number of files. I tried enabling/disabling various project builders. Enabling the scala builder and the maven scala builder always gave an error that jline.dll was already loaded, so I commented it out of the POM, but when I switch to using it, I get a bunch of errors along the lines that net is not a member of <root>. The maven dependencies are all there in the project explorer.
I also tried closing, cleaning, refreshing, and restarting eclipse.
Sent from my iPhone
On May 27, 2009, at 7:54 PM, Naftoli Gugenheim <naftoligug@gmail.com> wrote: