You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Eric Pugh <ep...@upstate.com> on 2004/06/23 13:53:51 UTC

Well known Directory for generated source?

Hi all,

I am looking at MPECLIPSE-5, and while in the bug the reporter refers to
maven.build.src as where generated source goes, and I think that is wrong,
is there a well known location for generated source?  Something like
maven.build.src.generated?  I am using xdoclet to build some "source" files
that therefore don't go into CVS.  I am then specifing that this generated
source is used in eclipse as a regular Soruce directory:

maven.eclipse.classpath.include=${my.generated.dest}

However, if there is a standard property, I should use that.  Then, I can
apply the change in MPECLIPSE-5 requested and close it.

I tried searching on "generate" and didn't find anything..

Thanks..
Eric


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Well known Directory for generated source?

Posted by Brett Porter <br...@apache.org>.
No standard at the moment. Each plugin should define its own in Maven 1.x so
that you don't add the source files to the build list more than once.

${maven.build.dir}/generated-src-xdoclet would work

Cheers,
Brett

Quoting Eric Pugh <ep...@upstate.com>:

> Hi all,
> 
> I am looking at MPECLIPSE-5, and while in the bug the reporter refers to
> maven.build.src as where generated source goes, and I think that is wrong,
> is there a well known location for generated source?  Something like
> maven.build.src.generated?  I am using xdoclet to build some "source" files
> that therefore don't go into CVS.  I am then specifing that this generated
> source is used in eclipse as a regular Soruce directory:
> 
> maven.eclipse.classpath.include=${my.generated.dest}
> 
> However, if there is a standard property, I should use that.  Then, I can
> apply the change in MPECLIPSE-5 requested and close it.
> 
> I tried searching on "generate" and didn't find anything..
> 
> Thanks..
> Eric
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org