[ http://jira.codehaus.org/browse/MNG-1754?page=all ]
     
Brett Porter closed MNG-1754:
-----------------------------

     Assign To: Brett Porter
    Resolution: Won't Fix

afaik this is normal - we always reference it as: ${java.home}/../lib/tools.jar

I don't quite understand why this wouldn't work in subprojects?



> Antrun plugin defaults to using jre classpath instead of jdk
> ------------------------------------------------------------
>
>          Key: MNG-1754
>          URL: http://jira.codehaus.org/browse/MNG-1754
>      Project: Maven 2
>         Type: Bug
>   Components: maven-antrun-plugin
>     Versions: 2.0
>     Reporter: ruel loehr
>     Assignee: Brett Porter

>
>
> When executing ant tasks via the antrun plugin, maven reconciles them with a 
> jre classpath.   You can verify this by running the antrun plugin with the 
> following task:
> <echo message="{java.home"/>
> The solution I can see  is to add a plugin dependency on the antrun plugin 
> which resolves to the tools.jar, however another bug prevents this from 
> working in anything but top level projects.   Hence, the antrun plugin cannot 
> be used for any compilation purposes (javac, rmic) for child projects.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to