Java Mailing List Archive

http://www.gg3721.com/

Home » eclipse-plugin-dev.groovy »

Fwd: [groovy-eclipse-plugin-dev] Re: [groovy-user] Eclipse 3.4 and Groovy

James Ervin

2008-08-13


Author LoginPost Reply


---------- Forwarded message ----------
From: James Ervin <jeervin@gmail.com>
Date: Wed, Aug 13, 2008 at 1:38 PM
Subject: Re: [groovy-eclipse-plugin-dev] Re: [groovy-user] Eclipse 3.4 and Groovy
To: Russel Winder <russel.winder@concertant.com>


Do you think this is related to the issue for which I opened GRECLIPSE-152?

James


On Fri, Aug 1, 2008 at 12:50 PM, Russel Winder <russel.winder@concertant.com> wrote:
James,

On Fri, 2008-08-01 at 09:46 -0500, James Ervin wrote:
> Could you please give me details as to how you are building gant from
> within Eclipse and I would be happy to try and help you.

Thanks for picking up on this.

I have a Bazaar branch of Gant.  The Ant and Gant builds etc. work fine.
I create a project in Eclipse pointing at the Bazaar branch.  I also do
the same with NetBeans and IntelliJ IDEA.  So all mechanisms of working
are actually using the same source.  The Eclipse control files are
stored in the branch so the source tree is an Eclipse project.

I switch off automatic building as I know this is problematic until
there has been a clean build of Gant.  I then do a clean of the project
to get rid of everything in ~/bin and ~/bin-groovy.  NetBeans and
IntelliJ IDEA use different directories for their compilation products
so there is no conflict, bin and bin-groovy are Eclipse directories --
the Ant and Gant build compile into target.

I then do a build on the project.  This compiles the Java which has
errors because there are dependencies on Groovy files.  The Groovy files
are then compiled.  A second compile should now work since the Groovy
files compiled fine so the Java files can compile.  This seems to be
what happens with Eclipse 3.3.2 but no it seems in 3.4.

Hopefully this gives you all the info you are looking for to help solve
this conundrum.

Thanks.

--
Russel.
====================================================
Dr Russel Winder                 Partner

Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,              f: +44 8700 516 084
London SW11 1EN, UK.             m: +44 7770 465 077



--
James E. Ervin, IV

A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.
-Robert A. Heinlein

Blog: http://iacobus.blogspot.com



--
James E. Ervin, IV

A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.
-Robert A. Heinlein

Blog: http://iacobus.blogspot.com
©2008 gg3721.com - Jax Systems, LLC, U.S.A.