Mixed Java/Scala/Groovy project (maybe dup)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Mixed Java/Scala/Groovy project (maybe dup)

Carlos Pita
(Sorry if this is a dup, I'm experiencing intermittent connection
drops and I'm not sure if the message was really sent by my mua the
first time)

Hi,

I wonder if this is possible because for a mixed Scala/Java project I
need to turn on the Scala nature and this sets a ScalaBuilder for the
project which is rejected by Groovy-Eclipse possibly due to the need
of the patched compiler:

"Error compiling Groovy project.  Either the Groovy-JDT patch is not
installed or JavaBuilder is not being used."

Is this really inevitable without also patching the Scala compiler?

Regards
--
Carlos

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Mixed Java/Scala/Groovy project (maybe dup)

Andrew Eisenberg
Unfortunately, that is the case.  The Scala builder uses its own
compiler to build Scala (and Java) files.  The Groovy builder (well,
there is no groovy builder, it's just the Java builder that is
patched) compiles only Groovy and Java files.  Unless there can be a
three-way compiler, it is not really possible.  You will have to
separate into different projects.


On Fri, Jan 4, 2013 at 7:33 PM, Carlos Pita <[hidden email]> wrote:

> (Sorry if this is a dup, I'm experiencing intermittent connection
> drops and I'm not sure if the message was really sent by my mua the
> first time)
>
> Hi,
>
> I wonder if this is possible because for a mixed Scala/Java project I
> need to turn on the Scala nature and this sets a ScalaBuilder for the
> project which is rejected by Groovy-Eclipse possibly due to the need
> of the patched compiler:
>
> "Error compiling Groovy project.  Either the Groovy-JDT patch is not
> installed or JavaBuilder is not being used."
>
> Is this really inevitable without also patching the Scala compiler?
>
> Regards
> --
> Carlos
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Mixed Java/Scala/Groovy project (maybe dup)

Carlos Pita
In reply to this post by Carlos Pita
Well, after some trial and error I realize that there are other
coexistence problems between scala and groovy plugins, not only in the
same project but also in the same eclipse instance.

Whenever I try to create a new scala class or object, for example, I
get internal errors and stack overflows (quoted below). As soon as I
uninstall the groovy plugin the madness stops.

I know there have been similar reports before. Seems like the plugins
couldn't come into terms yet.

These are the exceptions thrown:


--------------------------------------------

Internal Error


java.lang.reflect.InvocationTargetException
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
        at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1029)
        at org.eclipse.jdt.internal.ui.wizards.NewElementWizard.performFinish(NewElementWizard.java:134)
        at scala.tools.eclipse.wizards.AbstractNewElementWizard.performFinish(AbstractNewElementWizard.scala:29)
        at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        at org.eclipse.jface.window.Window.open(Window.java:801)
        at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:257)
        at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:277)
        at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
        at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
        at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
        at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
        at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
        at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: java.lang.StackOverflowError
        at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.hashCode(JarPackageFragmentRoot.java:211)
        at org.eclipse.jdt.internal.core.PackageFragment.hashCode(PackageFragment.java:383)
        at org.eclipse.jdt.internal.core.ClassFile.hashCode(ClassFile.java:588)
        at java.util.HashMap.hash(HashMap.java:351)
        at java.util.HashMap.getEntry(HashMap.java:443)
        at java.util.HashMap.get(HashMap.java:405)
        at org.eclipse.jdt.internal.core.JavaModelManager.getInfo(JavaModelManager.java:1942)
        at org.eclipse.jdt.internal.core.Openable.isOpen(Openable.java:405)
        at org.eclipse.jdt.internal.core.BinaryType.getDeclaringType(BinaryType.java:236)
        at org.eclipse.jdt.internal.core.ClassFile.getOuterMostEnclosingType(ClassFile.java:688)
        at org.eclipse.jdt.internal.core.ClassFile.openBuffer(ClassFile.java:629)
        at org.eclipse.jdt.internal.core.Openable.getBuffer(Openable.java:288)
        at org.eclipse.jdt.internal.core.ClassFile.getBuffer(ClassFile.java:359)
        at org.eclipse.jdt.internal.core.Ja

--------------------------------------------

class org.eclipse.jdt.core.JavaModelException:/testproj/src/testpkg/TestClass.scala
already exists in target

Java Model Exception: Java Model Status
[/testproj/src/testpkg/TestClass.scala already exists in target]
        at org.eclipse.jdt.internal.core.CreateCompilationUnitOperation.executeOperation(CreateCompilationUnitOperation.java:104)
        at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
        at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
        at org.eclipse.jdt.internal.core.PackageFragment.createCompilationUnit(PackageFragment.java:152)
        at scala.tools.eclipse.wizards.AbstractNewElementWizardPage.createType(AbstractNewElementWizardPage.scala:314)
        at scala.tools.eclipse.wizards.AbstractNewElementWizard.finishPage(AbstractNewElementWizard.scala:48)
        at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(NewElementWizard.java:118)
        at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
        at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
        at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4888)
        at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
        at org.eclipse.jface.operation.ModalC

Regards
--
Carlos



On Sat, Jan 5, 2013 at 12:33 AM, Carlos Pita <[hidden email]> wrote:

> (Sorry if this is a dup, I'm experiencing intermittent connection
> drops and I'm not sure if the message was really sent by my mua the
> first time)
>
> Hi,
>
> I wonder if this is possible because for a mixed Scala/Java project I
> need to turn on the Scala nature and this sets a ScalaBuilder for the
> project which is rejected by Groovy-Eclipse possibly due to the need
> of the patched compiler:
>
> "Error compiling Groovy project.  Either the Groovy-JDT patch is not
> installed or JavaBuilder is not being used."
>
> Is this really inevitable without also patching the Scala compiler?
>
> Regards
> --
> Carlos

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Mixed Java/Scala/Groovy project (maybe dup)

Carlos Pita
I forgot to add that I'm using the latest stable releases for indigo
of both plugins.

On Sat, Jan 5, 2013 at 1:59 AM, Carlos Pita <[hidden email]> wrote:

> Well, after some trial and error I realize that there are other
> coexistence problems between scala and groovy plugins, not only in the
> same project but also in the same eclipse instance.
>
> Whenever I try to create a new scala class or object, for example, I
> get internal errors and stack overflows (quoted below). As soon as I
> uninstall the groovy plugin the madness stops.
>
> I know there have been similar reports before. Seems like the plugins
> couldn't come into terms yet.
>
> These are the exceptions thrown:
>
>
> --------------------------------------------
>
> Internal Error
>
>
> java.lang.reflect.InvocationTargetException
>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1029)
>         at org.eclipse.jdt.internal.ui.wizards.NewElementWizard.performFinish(NewElementWizard.java:134)
>         at scala.tools.eclipse.wizards.AbstractNewElementWizard.performFinish(AbstractNewElementWizard.scala:29)
>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
>         at org.eclipse.jface.window.Window.open(Window.java:801)
>         at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:257)
>         at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:277)
>         at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
>         at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
>         at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
>         at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
>         at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
>         at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
>         at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
> Caused by: java.lang.StackOverflowError
>         at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.hashCode(JarPackageFragmentRoot.java:211)
>         at org.eclipse.jdt.internal.core.PackageFragment.hashCode(PackageFragment.java:383)
>         at org.eclipse.jdt.internal.core.ClassFile.hashCode(ClassFile.java:588)
>         at java.util.HashMap.hash(HashMap.java:351)
>         at java.util.HashMap.getEntry(HashMap.java:443)
>         at java.util.HashMap.get(HashMap.java:405)
>         at org.eclipse.jdt.internal.core.JavaModelManager.getInfo(JavaModelManager.java:1942)
>         at org.eclipse.jdt.internal.core.Openable.isOpen(Openable.java:405)
>         at org.eclipse.jdt.internal.core.BinaryType.getDeclaringType(BinaryType.java:236)
>         at org.eclipse.jdt.internal.core.ClassFile.getOuterMostEnclosingType(ClassFile.java:688)
>         at org.eclipse.jdt.internal.core.ClassFile.openBuffer(ClassFile.java:629)
>         at org.eclipse.jdt.internal.core.Openable.getBuffer(Openable.java:288)
>         at org.eclipse.jdt.internal.core.ClassFile.getBuffer(ClassFile.java:359)
>         at org.eclipse.jdt.internal.core.Ja
>
> --------------------------------------------
>
> class org.eclipse.jdt.core.JavaModelException:/testproj/src/testpkg/TestClass.scala
> already exists in target
>
> Java Model Exception: Java Model Status
> [/testproj/src/testpkg/TestClass.scala already exists in target]
>         at org.eclipse.jdt.internal.core.CreateCompilationUnitOperation.executeOperation(CreateCompilationUnitOperation.java:104)
>         at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
>         at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
>         at org.eclipse.jdt.internal.core.PackageFragment.createCompilationUnit(PackageFragment.java:152)
>         at scala.tools.eclipse.wizards.AbstractNewElementWizardPage.createType(AbstractNewElementWizardPage.scala:314)
>         at scala.tools.eclipse.wizards.AbstractNewElementWizard.finishPage(AbstractNewElementWizard.scala:48)
>         at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(NewElementWizard.java:118)
>         at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
>         at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
>         at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4888)
>         at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
>         at org.eclipse.jface.operation.ModalC
>
> Regards
> --
> Carlos
>
>
>
> On Sat, Jan 5, 2013 at 12:33 AM, Carlos Pita <[hidden email]> wrote:
>> (Sorry if this is a dup, I'm experiencing intermittent connection
>> drops and I'm not sure if the message was really sent by my mua the
>> first time)
>>
>> Hi,
>>
>> I wonder if this is possible because for a mixed Scala/Java project I
>> need to turn on the Scala nature and this sets a ScalaBuilder for the
>> project which is rejected by Groovy-Eclipse possibly due to the need
>> of the patched compiler:
>>
>> "Error compiling Groovy project.  Either the Groovy-JDT patch is not
>> installed or JavaBuilder is not being used."
>>
>> Is this really inevitable without also patching the Scala compiler?
>>
>> Regards
>> --
>> Carlos

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Mixed Java/Scala/Groovy project (maybe dup)

Andrew Eisenberg
Well, that's not good.  These plugins have been known to work together
in the past (same eclipse instance, not same project). However, we
don't do testing across these plugins and it's likely that either the
scala-eclipse team or us introduced something that is not compatible
with the other plugin.

Can you raise a jira on greclipse?  Let me know how to reproduce and
I'll have a look.  The stack traces that you have here aren't
particularly enlightening.  Also might be worth raising an issue on
the scala-eclipse issue tracker, in case the problem is coming from
their side.

On Fri, Jan 4, 2013 at 9:12 PM, Carlos Pita <[hidden email]> wrote:

> I forgot to add that I'm using the latest stable releases for indigo
> of both plugins.
>
> On Sat, Jan 5, 2013 at 1:59 AM, Carlos Pita <[hidden email]> wrote:
>> Well, after some trial and error I realize that there are other
>> coexistence problems between scala and groovy plugins, not only in the
>> same project but also in the same eclipse instance.
>>
>> Whenever I try to create a new scala class or object, for example, I
>> get internal errors and stack overflows (quoted below). As soon as I
>> uninstall the groovy plugin the madness stops.
>>
>> I know there have been similar reports before. Seems like the plugins
>> couldn't come into terms yet.
>>
>> These are the exceptions thrown:
>>
>>
>> --------------------------------------------
>>
>> Internal Error
>>
>>
>> java.lang.reflect.InvocationTargetException
>>         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
>>         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1029)
>>         at org.eclipse.jdt.internal.ui.wizards.NewElementWizard.performFinish(NewElementWizard.java:134)
>>         at scala.tools.eclipse.wizards.AbstractNewElementWizard.performFinish(AbstractNewElementWizard.scala:29)
>>         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
>>         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
>>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
>>         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
>>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
>>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
>>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
>>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
>>         at org.eclipse.jface.window.Window.open(Window.java:801)
>>         at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:257)
>>         at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:277)
>>         at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
>>         at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
>>         at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
>>         at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
>>         at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
>>         at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
>>         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>>         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>>         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
>>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
>>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
>>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
>>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
>>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
>>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
>>         at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
>>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
>>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>>         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>>         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
>>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:601)
>>         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
>>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
>>         at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
>> Caused by: java.lang.StackOverflowError
>>         at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.hashCode(JarPackageFragmentRoot.java:211)
>>         at org.eclipse.jdt.internal.core.PackageFragment.hashCode(PackageFragment.java:383)
>>         at org.eclipse.jdt.internal.core.ClassFile.hashCode(ClassFile.java:588)
>>         at java.util.HashMap.hash(HashMap.java:351)
>>         at java.util.HashMap.getEntry(HashMap.java:443)
>>         at java.util.HashMap.get(HashMap.java:405)
>>         at org.eclipse.jdt.internal.core.JavaModelManager.getInfo(JavaModelManager.java:1942)
>>         at org.eclipse.jdt.internal.core.Openable.isOpen(Openable.java:405)
>>         at org.eclipse.jdt.internal.core.BinaryType.getDeclaringType(BinaryType.java:236)
>>         at org.eclipse.jdt.internal.core.ClassFile.getOuterMostEnclosingType(ClassFile.java:688)
>>         at org.eclipse.jdt.internal.core.ClassFile.openBuffer(ClassFile.java:629)
>>         at org.eclipse.jdt.internal.core.Openable.getBuffer(Openable.java:288)
>>         at org.eclipse.jdt.internal.core.ClassFile.getBuffer(ClassFile.java:359)
>>         at org.eclipse.jdt.internal.core.Ja
>>
>> --------------------------------------------
>>
>> class org.eclipse.jdt.core.JavaModelException:/testproj/src/testpkg/TestClass.scala
>> already exists in target
>>
>> Java Model Exception: Java Model Status
>> [/testproj/src/testpkg/TestClass.scala already exists in target]
>>         at org.eclipse.jdt.internal.core.CreateCompilationUnitOperation.executeOperation(CreateCompilationUnitOperation.java:104)
>>         at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
>>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
>>         at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
>>         at org.eclipse.jdt.internal.core.PackageFragment.createCompilationUnit(PackageFragment.java:152)
>>         at scala.tools.eclipse.wizards.AbstractNewElementWizardPage.createType(AbstractNewElementWizardPage.scala:314)
>>         at scala.tools.eclipse.wizards.AbstractNewElementWizard.finishPage(AbstractNewElementWizard.scala:48)
>>         at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(NewElementWizard.java:118)
>>         at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
>>         at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
>>         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
>>         at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4888)
>>         at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
>>         at org.eclipse.jface.operation.ModalC
>>
>> Regards
>> --
>> Carlos
>>
>>
>>
>> On Sat, Jan 5, 2013 at 12:33 AM, Carlos Pita <[hidden email]> wrote:
>>> (Sorry if this is a dup, I'm experiencing intermittent connection
>>> drops and I'm not sure if the message was really sent by my mua the
>>> first time)
>>>
>>> Hi,
>>>
>>> I wonder if this is possible because for a mixed Scala/Java project I
>>> need to turn on the Scala nature and this sets a ScalaBuilder for the
>>> project which is rejected by Groovy-Eclipse possibly due to the need
>>> of the patched compiler:
>>>
>>> "Error compiling Groovy project.  Either the Groovy-JDT patch is not
>>> installed or JavaBuilder is not being used."
>>>
>>> Is this really inevitable without also patching the Scala compiler?
>>>
>>> Regards
>>> --
>>> Carlos
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email