This page is no longer maintained — Please continue to the home page at www.scala-lang.org

scalaIDE JDTWeaving?

1 reply
Martin Dale Lyness
Joined: 2010-03-15,
User offline. Last seen 42 years 45 weeks ago.
I'm not having luck getting these two plugins (m2eclipse (0.10.0) and
scalaIDE(??) w/scala(2.7.7)) to work.

I'm not sure if it is because of my m2eclipse plugin that the scalaIDE JDT
Weaving fails or not. I've modified my .project and .classpath to match the
troubleshooting docs (only addition is the extra maven entries).

JDT Weaving says it is enabled, i tried disabling it but it gave an error
message that instructed me to remove it manually from a workspace file
(which it did not exist in)(configuration/config.ini).

===== CLASSPATH (.classpath) =====
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/scala"/>
<classpathentry excluding="**" kind="src" output="target/classes"
path="src/main/resources"/>
<classpathentry kind="src" output="target/test-classes"
path="src/test/scala"/>
<classpathentry excluding="**" kind="src" output="target/test-classes"
path="src/test/resources"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
<classpathentry kind="con" path="ch.epfl.lamp.sdt.launching.SCALA_CONTAINER"
/>
<classpathentry kind="con"
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>


===== PROJECT (.project) =====
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>IC-Web</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
            <name>ch.epfl.lamp.sdt.core.scalabuilder</name>
            <arguments>
            </arguments>
        </buildCommand>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>ch.epfl.lamp.sdt.core.scalanature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>
</projectDescription>
milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: scalaIDE JDTWeaving?

On Sun, Mar 14, 2010 at 11:49 PM, Martin Dale Lyness
wrote:
> I'm not having luck getting these two plugins (m2eclipse (0.10.0) and
> scalaIDE(??) w/scala(2.7.7)) to work.
>
> I'm not sure if it is because of my m2eclipse plugin that the scalaIDE JDT
> Weaving fails or not. I've modified my .project and .classpath to match the
> troubleshooting docs (only addition is the extra maven entries).
>
> JDT Weaving says it is enabled, i tried disabling it but it gave an error
> message that instructed me to remove it manually from a workspace file
> (which it did not exist in)(configuration/config.ini).

Take the Java builder out of your .project ... it shouldn't be there.

Cheers,

Miles

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland