[ 
http://jira.codehaus.org/browse/MOJO-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_110323
 ] 

Fabio Mancinelli commented on MOJO-805:
---------------------------------------

In my case with Mac OS X and Eclipse 3.3.1 everything goes fine on the PDE 
side. However instead of producing a .zip PDE-build produces a .tar.gz which is 
not the artifact maven-pde is expecting (it expects a .zip!)

I tried to change this behavior by specifying the property "archivesFormat = 
macosx,carbon,x86 - antZip&"
in the build.properties but it doesn't solve the issue.

I looked at the allElements.xml file in 
${eclipse.home}/plugins/org.eclipse.pde.build_XYZ/scripts/productBuild and 
actually the output is .zip for all the architectures except macosx,*,*!

Since I think that those files (the PDE's ones) should not be touched at all, 
maybe maven-pde could provide a configuration parameter where to configure what 
is the extension of the artifact produced by PDE-build 

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

Reply via email to