Java Mailing List Archive

http://www.gg3721.com/

Home » eclipse-plugin-dev.groovy »

[groovy-eclipse-plugin-dev] [Fwd: Re: [gpars-dev] Problems raised by Eclipse]

Russel Winder

2009-10-03

Replies: Find Java Web Hosting

Author LoginPost Reply
I am updated to the 2009-10-02 version of the plugin and am consistently
getting this problem when trying to run the tests of the GPars project.
Václav has had a quick look at the situation to confirm what I thought,
that the plugin is not taking into account the packaging of classes when
complaining that there is a conflict.

I'll see if I can come up with a small example showing the problem.


-------- Forwarded Message --------
> From: Vaclav Pech <vaclav.pech@(protected)>
> Reply-to: dev@(protected)
> To: dev@(protected)
> Subject: Re: [gpars-dev] Problems raised by Eclipse
> Date: Sat, 3 Oct 2009 18:21:03 +0200
>
> There really are two classes called JoinTest or SendAndWaitTest and
> such, but each correctly in different package and directory.
>
> Vaclav
>
>
> On Sat, Oct 3, 2009 at 5:26 PM, Russel Winder
> <russel.winder@(protected):
>      I spotted the following errors reported by Eclipse. Can we
>      check they
>      are real before raising a JIRA issue against the Eclipse
>      plugin?
>      
>      
>       org.codehaus.groovy.control.messages.SyntaxErrorMessage@(protected)
>           JoinTest.groovy: 21 Groovy:Invalid duplicate class
>      definition of class groovyx.gpars.actor.nonBlocking.JoinTest :
>      The source JoinTest.groovy contains at least two definitions
>      of the class groovyx.gpars.actor.nonBlocking.JoinTest.
>      
>       org.codehaus.groovy.control.messages.SyntaxErrorMessage@(protected)
>           ReplyTest.groovy: 33 Groovy:Invalid duplicate class
>      definition of class
>      groovyx.gpars.actor.nonBlocking.ReplyTest : The source
>      ReplyTest.groovy contains at least two definitions of the
>      class groovyx.gpars.actor.nonBlocking.ReplyTest.
>      
>       org.codehaus.groovy.control.messages.SyntaxErrorMessage@(protected)
>           SendAndWaitTest.groovy: 26 Groovy:Invalid duplicate
>      class definition of class
>      groovyx.gpars.actor.nonBlocking.SendAndWaitTest : The source
>      SendAndWaitTest.groovy contains at least two definitions of
>      the class groovyx.gpars.actor.nonBlocking.SendAndWaitTest.
>      
>       org.codehaus.groovy.control.messages.SyntaxErrorMessage@(protected)
>      
>       org.codehaus.groovy.control.messages.SyntaxErrorMessage@(protected)
>           ImmutableMessageTest.groovy: 23 Groovy:Invalid
>      duplicate class definition of class
>      groovyx.gpars.actor.nonBlocking.ImmutableMessageTest : The
>      source ImmutableMessageTest.groovy contains at least two
>      definitions of the class
>      groovyx.gpars.actor.nonBlocking.ImmutableMessageTest.
>           ImmutableMessageTest.groovy: 49 Groovy:Invalid
>      duplicate class definition of class
>      groovyx.gpars.actor.nonBlocking.TestMessage : The source
>      ImmutableMessageTest.groovy contains at least two definitions
>      of the class groovyx.gpars.actor.nonBlocking.TestMessage.
>      
>       org.codehaus.groovy.control.messages.SyntaxErrorMessage@(protected)
>           DeliveryErrorTest.groovy: 24 Groovy:Invalid duplicate
>      class definition of class
>      groovyx.gpars.actor.nonBlocking.DeliveryErrorTest : The source
>      DeliveryErrorTest.groovy contains at least two definitions of
>      the class groovyx.gpars.actor.nonBlocking.DeliveryErrorTest.
>      
>       org.codehaus.groovy.control.messages.SyntaxErrorMessage@(protected)
>           NullMessageTest.groovy: 25 Groovy:Invalid duplicate
>      class definition of class
>      groovyx.gpars.actor.nonBlocking.NullMessageTest : The source
>      NullMessageTest.groovy contains at least two definitions of
>      the class groovyx.gpars.actor.nonBlocking.NullMessageTest.
>      
>       org.codehaus.groovy.control.messages.SyntaxErrorMessage@(protected)
>           MultiMessageTimeoutTest.groovy: 24 Groovy:Invalid
>      duplicate class definition of class
>      groovyx.gpars.actor.nonBlocking.MultiMessageTimeoutTest : The
>      source MultiMessageTimeoutTest.groovy contains at least two
>      definitions of the class
>      groovyx.gpars.actor.nonBlocking.MultiMessageTimeoutTest.
>      
>       org.codehaus.groovy.control.messages.SyntaxErrorMessage@(protected)
>           NestedClosureTest.groovy: 22 Groovy:Invalid duplicate
>      class definition of class
>      groovyx.gpars.actor.nonBlocking.NestedClosureTest : The source
>      NestedClosureTest.groovy contains at least two definitions of
>      the class groovyx.gpars.actor.nonBlocking.NestedClosureTest.
>      
>       org.codehaus.groovy.control.messages.SyntaxErrorMessage@(protected)
>           MultiMessageTest.groovy: 27 Groovy:Invalid duplicate
>      class definition of class
>      groovyx.gpars.actor.nonBlocking.MultiMessageTest : The source
>      MultiMessageTest.groovy contains at least two definitions of
>      the class groovyx.gpars.actor.nonBlocking.MultiMessageTest.
>      
>       org.codehaus.groovy.control.messages.SyntaxErrorMessage@(protected)
>           ReplyToMessageTest.groovy: 26 Groovy:Invalid duplicate
>      class definition of class
>      groovyx.gpars.actor.nonBlocking.ReplyToMessageTest : The
>      source ReplyToMessageTest.groovy contains at least two
>      definitions of the class
>      groovyx.gpars.actor.nonBlocking.ReplyToMessageTest.
>      
>      
>      
>      --
>      Russel.
>      =============================================================================
>      Dr Russel Winder    Partner
>                                   xmpp:
>      russel@(protected)
>      Concertant LLP     t: +44 20 7585 2200, +44 20 7193 9203
>      41 Buckmaster Road,  f: +44 8700 516 084  voip:
>      sip:russel.winder@(protected)
>      London SW11 1EN, UK  m: +44 7770 465 077  skype:
>      russel_winder
>
>
>
> --
> E-mail: vaclav.pech@(protected)
> Blog: http://www.jroller.com/vaclav
> Linkedin page: http://www.linkedin.com/in/vaclavpech
--
Russel.
=============================================================================
Dr Russel Winder    Partner
                            xmpp: russel@(protected)
Concertant LLP     t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,  f: +44 8700 516 084  voip: sip:russel.winder@(protected)
London SW11 1EN, UK  m: +44 7770 465 077  skype: russel_winder

Attachment: signature.asc (zipped)
©2008 gg3721.com - Jax Systems, LLC, U.S.A.