You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Corridor Software Developer (JIRA)" <ji...@codehaus.org> on 2005/07/12 23:13:57 UTC

[jira] Commented: (MNG-581) Add target/classes director to compiler:compile classpath

    [ http://jira.codehaus.org/browse/MNG-581?page=comments#action_42732 ] 

Corridor Software Developer commented on MNG-581:
-------------------------------------------------

Someone please check me, but I believe this won't do any good now that I have another look at it. MavenProject.getCompileClasspathElements weeds out any items that aren't jar files. The call to isAddedToClasspath only returns true for jar's, ejb jars and ejb-client jars.

As it stands now though, I still need a solution to the following problem:

Apache XML Beans produces class files during generate-sources which need to end up on the classpath when the compile step is reached. If they are not jar'ed up, getCompileClasspathElements will not return them in the set. One potential solution is to use the XMLBean compiler's support for producing a jar file, then add this to the MavenProject artifacts list.

But for now, I'd like to retract this defect.


> Add target/classes director to compiler:compile classpath
> ---------------------------------------------------------
>
>          Key: MNG-581
>          URL: http://jira.codehaus.org/browse/MNG-581
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins
>     Versions: 2.0-alpha-3
>  Environment: any OS, jdk 1.4.2_06
>     Reporter: Corridor Software Developer
>     Priority: Minor

>
>
> An upcoming plugin called during generate-sources produces class files in the classes output directory and sources in the generated-sources directory. While the plugin should be responsible for adding generated-sources to the compileSourceRoot, it may be worthwhile to have the target classes directory in the classpath.

-- 
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
-
For more information on JIRA, 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