If you have a fairly standard Java/Groovy project, you typically don't have
to do anything to get a working IDEA project. If you use Gradle features
that don't have an equivalent in iDEA (e.g. use custom configurations), you
will have to tweak the IDEA project generation (e.g. map the configuration
to one of the IDEA scopes). I haven't heard of your "problem of the moment"
before. I don't recommend to use the same output directories for IDEA and
Gradle. It's safer to keep them separate (same for Gradle and Eclipse). The
defaults should be fine.

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw


Russel Winder wrote:
> 
> Experimenting more with the Gradle facilities for generating Eclipse and
> IntelliJIDEA files -- the whole concept is extremely splendid :-)
> 
> Current focus of effort is a pure Java project as a proving ground for
> ideas to apply to the GPars project build.
> 
> Problem of the moment:  Generating IntelliJIDEA project files using no
> added "idea { . . . }" extras leads to an IntelliJIDEA project that
> fails to build.  It seems that all the project code is compiled to the
> out/production directory, all the test files compiled to out/debug and
> the test compile does not include the production compile results in the
> classpath.  Thus I get successful classes compile and total failure of
> the testClasses compile in IntelliJIDEA.  Using command line everything
> works fine.  Moreover the Eclipse project work fine as well.
> 
> Does this mean that I have something getting in the way of the defaults
> doing the right thing, or is there a problem in the Gradle idea plugin?
> 
> Thanks.
> 
> -- 
> Russel.
> =============================================================================
> Dr Russel Winder      t: +44 20 7585 2200   voip:
> sip:[email protected]
> 41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
> 


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Gradle-Eclipse-and-IntelliJIDEA-tp4730411p4733152.html
Sent from the gradle-user mailing list archive at Nabble.com.

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

    http://xircles.codehaus.org/manage_email


Reply via email to