[ http://jira.codehaus.org/browse/MANTRUN-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlos Sanchez closed MANTRUN-91. --------------------------------- Assignee: Carlos Sanchez Resolution: Not A Bug You need to add tools.jar to the plugin classpath, see http://maven.apache.org/plugins/maven-antrun-plugin/examples/customTasks.html (will be online in few hours) > 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 > Assignee: Carlos Sanchez > > 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