/test.pde_maven_plugin.simple_plugin cannot build on Mac OS X
-------------------------------------------------------------
Key: MOJO-805
URL: http://jira.codehaus.org/browse/MOJO-805
Project: Mojo
Issue Type: Bug
Components: pde
Environment: Mac book pro, Mac OS X ,
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
Maven 2.0.6
Eclipse SDK
Version: 3.2.0
Build id: M20060629-1905
Apache Ant version 1.6.5 compiled on June 2 2005
Reporter: Pierre-Henri Delaval
First of all, all the tests are ok on windows, I tried both process.
So I do the folowing steps describe here:
http://mojo.codehaus.org/pde-maven-plugin/examples/getting_started.html
and :then: http://mojo.codehaus.org/pde-maven-plugin/examples/simple_plugin.html
The plug in works well in eclipse but while running the mvn install i got the
following error:
@dot:
[mkdir] Created dir:
/Users/phde/Documents/workspace/PDE_Plugin_Tutorial/plugins/test.pde_maven_plugin.simple_plugin/temp.folder/@dot.bin
[javac] Compiling 2 source files to
/Users/phde/Documents/workspace/PDE_Plugin_Tutorial/plugins/test.pde_maven_plugin.simple_plugin/temp.folder/@dot.bin
[javac] ----------
[javac] 1. ERROR in
/Users/phde/Documents/workspace/PDE_Plugin_Tutorial/plugins/test.pde_maven_plugin.simple_plugin/src/main/java/test/pde_maven_plugin/simple_plugin/Activator.java
[javac] (at line 1)
[javac] package test.pde_maven_plugin.simple_plugin;
[javac] ^
[javac] The type java.lang.Object cannot be resolved. It is indirectly
referenced from required .class files
[javac] ----------
[javac] 1 problem (1 error)
After some investigations, I nottice that a classpath is missing in the
build.xml where I added it to the classes.jar of the Java SDK. Or else where.
This is the problem, because the build.xml is of course regenerated at each
build, and this classpath is still missing.
how could it be added as there is only jre on macosx ?
--
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 from this list please visit:
http://xircles.codehaus.org/manage_email