You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/08 14:31:51 UTC

[jira] Closed: (MPECLIPSE-5) Generated source support

Message:

   The following issue has been closed.

   Resolver: David Eric Pugh
       Date: Thu, 8 Jul 2004 8:31 AM

All done..  The only caveat is the property maven.gen.src=${maven.build.dir}/generated-sources
is defined by the eclipse plugin for now, and therefore you will proebably need to redefine it in your own plugins.  Need to get maven.gen.src to be definied by maven.
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPECLIPSE-5

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPECLIPSE-5
    Summary: Generated source support
       Type: Improvement

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: 5 hours
  Remaining: 0 minutes

    Project: maven-eclipse-plugin
   Fix Fors:
             1.8

   Assignee: David Eric Pugh
   Reporter: Archimedes Trajano

    Created: Fri, 31 Oct 2003 5:16 AM
    Updated: Thu, 8 Jul 2004 8:31 AM

Description:
Maven already provides the tag maven.build.src which contains the directory for generated sources

Can you add the following snippet into the classpath.jelly file?

<j:set defaultValue="false" var="hasGenSrc" value="${maven.eclipse.has.generated.src}"/>
  <j:if test="${hasGenSrc}">
    <maven:makeRelativePath var="srcDir" basedir="${basedir}" path="${maven.build.src}"/>
    <classpathentry kind="src" path="${srcDir}"/>
  </j:if>
  
Thanks


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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