directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: [build] IDE project setup convo summarized from IRC
Date Thu, 24 Feb 2005 01:59:59 GMT
On Mon, 21 Feb 2005 15:52:42 -0500, Alex Karasulu <aok123@bellsouth.net> wrote:
> Emmanuel and others have been having trouble with maven generated
> project files for various IDEs: namely IDEA and Eclipse.  One particular
> problem has to do with projects that generate code.   Meaning when the
> multiproject generation of project modules is run the generated code is
> missing.
> 
> One way we might solve this is by making maven generate the code when we
> run the goal to generate the IDE specific project file.  I was going to
> add some pre/post goal to the maven.xml to generate antlr and schema
> code but it quickly occurred to me that the place where this code is
> generated will not be picked up by maven and included in the project
> descriptor.
> 
> IDEA or Eclipse must know what extra directories
> (${basedir}/target/antlr or ${basedir}/target/schema) need to be
> included as source directories.  Anyone have ideas on how this can be
> done with the respective plugin?

For eclipse, you can add to project.properties like this:

    maven.eclipse.classpath.include=${basedir}/src/examples

For IDEA, I couldn't find any solution yet.

> 
> Brett you had made a couple recommendations and I tried searching
> through Eyebrowse for them but I could not find anything - eyebrowse is
> blowing chunks.
> 
> Thanks,
> Alex
> 

Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message