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

     Assign To: Brett Porter
    Resolution: Won't Fix

<dependency>
  ...
  <systemPath>${java.home}/lib/tools.jar</systemPath>
</dependency>

can be added to the antrun plugin

> classpath related error when invoking the rmic task from maven
> --------------------------------------------------------------
>
>          Key: MNG-1334
>          URL: http://jira.codehaus.org/browse/MNG-1334
>      Project: Maven 2
>         Type: Bug
>   Components: maven-antrun-plugin
>     Versions: 2.0
>  Environment: OpenSuSE 10, JDK1.5, Maven 2.0
>     Reporter: Rohnny Moland (JIRA)
>     Assignee: Brett Porter

>
>
> When invoking the rmic task from maven, I get this error message:
> "Cannot use SUN rmic, as it is not available.  A common solution is to
> set the environment variable JAVA_HOME or CLASSPATH." 
> Invoking the rmic task from ant works fine. So it must be a classpath problem 
> when using ant embedded in maven.

-- 
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