Re: Maven
Re: Maven
- Subject: Re: Maven
- From: Kazutaka KAMIYA <email@hidden>
- Date: Fri, 27 Jun 2008 08:29:20 +0900
Hello,
I tried below wiki and I could build .woa.
http://wiki.objectstyle.org/confluence/display/WO/Apple+Maven+Support+and+Nightly+Builds
but that .woa could not launch.
Are there any problem WOBootstrap.jar of maven2?
(.woa launched correctly after I changed WOBootstrap.jar from other
application's. )
.woa using maven2 output below message when launching.
----------------------------------
./myProject
Reading MacOSClassPath.txt ...
Checking network services....
Launching myProject.woa ...
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -
DWOLocalRootDirectory="" -DWOUserDirectory="/Users/kzkamiya/Documents/
workspace.lms/TestWOMaven2/target/myProject.woa" -DWOEnvClassPath="" -
DWOApplicationClass=com.mycompany.Application -DWOPlatform=MacOS -
Dcom.webobjects.pid=5651 -Dcom.sun.management.jmxremote=false -
classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap
Exception in thread "main" java.lang.NoClassDefFoundError: com/
webobjects/_bootstrap/WOBootstrap
Caused by: java.lang.ClassNotFoundException:
com.webobjects._bootstrap.WOBootstrap
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
----------------------------------
WOBootstrap.jar created by maven2 could not decompress.
>jar tf WOBootstrap.jar
java.util.zip.ZipException: invalid block type
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:146)
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:92)
at sun.tools.jar.Main.list(Main.java:885)
at sun.tools.jar.Main.run(Main.java:213)
at sun.tools.jar.Main.main(Main.java:1044)
---
Regards, Kazutaka.
On 2008/06/27, at 6:13, Lachlan Deck wrote:
You might also need to customise the perspective to reveal that as a
standard option from the New menu. Otherwise click on other...
On 26/06/2008, at 7:02 AM, Jake MacMullin wrote:
Make sure you installed the required Maven plugin before installing
the Apple plugin.
On 25/06/2008, at 10:23, Amedeo Mantica <email@hidden>
wrote:
I followed the tutorial:
http://wiki.objectstyle.org/confluence/display/WO/Apple+Maven+Support+and+Nightly+Builds
but when I create a new project I have no "WebObjects Maven
Application"
Any suggestion?
regards
Amedeo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Maven (From: Amedeo Mantica <email@hidden>) |
| >Re: Maven (From: Jake MacMullin <email@hidden>) |
| >Re: Maven (From: Lachlan Deck <email@hidden>) |