[ 
http://jira.codehaus.org/browse/MANTRUN-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134128#action_134128
 ] 

Thomas Diesler commented on MANTRUN-91:
---------------------------------------

As a workaround you can use an external compiler

    <javac destdir="${tests.output.dir}/test-classes" debug="true" 
encoding="utf-8" deprecation="true" fork="true"
      executable="${java.jdk15.home}/bin/javac" compiler="javac1.5">
      <src path="${tests.output.dir}/wstools/java"/>
      <classpath>
        <pathelement path="${maven.test.classpath}"/>
      </classpath>
    </javac>


> Cannot run javac from tasks
> ---------------------------
>
>                 Key: MANTRUN-91
>                 URL: http://jira.codehaus.org/browse/MANTRUN-91
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: Bug
>            Reporter: Thomas Diesler
>
> Embedded error: The following error occurred while executing this line:
> /home/tdiesler/svn/jbossws/stack/native/trunk/modules/testsuite/native-tests/scripts/antrun-wstools.xml:65:
>  Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK

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

        

Reply via email to