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/06/23 14:04:56 UTC

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

The following comment has been added to this issue:

     Author: David Eric Pugh
    Created: Wed, 23 Jun 2004 8:03 AM
       Body:
I think that you are wrong about maven.build.src..  maven.build.src points to the /src directory..  Any generated source should probably be in the /target directory.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPECLIPSE-5?page=comments#action_20929

---------------------------------------------------------------------
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: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-eclipse-plugin

   Assignee: 
   Reporter: Archimedes Trajano

    Created: Fri, 31 Oct 2003 5:16 AM
    Updated: Wed, 23 Jun 2004 8:03 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