Standalone desktop Application Bundle help
Standalone desktop Application Bundle help
- Subject: Standalone desktop Application Bundle help
- From: Giles Palmer <email@hidden>
- Date: Thu, 02 Aug 2012 16:50:50 +0100
Hi
I have created a simple desktop swing application that uses WO+Wonder for the backend with EOF and other Wonder goodies. My Application.java extends ERXApplication and all runs beautifully in Eclipse/WOLips.
I would like to create a Mac OS x application bundle (normally created with Eclipse Project---> Export) to run this as a standalone application on a local machine. Any ideas how to do this? The normal WO build process is not applicable in this case.
If anyone has done this successfully then pointers would be much appreciated. At the moment I am getting...
02/08/2012 16:46:06 [0x0-0x16b16b].DispatchManager[9063] java.lang.NoClassDefFoundError: com/webobjects/appserver/WOApplication
My info.plist in my application package (created with Eclipse export) is below and the path to $JAVAROOT/JavaWebObjects.jar exists etc.
Thanks
Giles
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>JavaApplicationStub</string>
<key>CFBundleGetInfoString</key>
<string>DispatchManager1.0, Copyright {user} 2004. All rights reserved.</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleIconFile</key>
<string>DispatchManager.icns</string>
<key>CFBundleIdentifier</key>
<string>DispatchManager</string>
<key>CFBundleName</key>
<string>DispatchManager</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0.1</string>
<key>Java</key>
<dict>
<key>JVMVersion</key>
<string>1.6*</string>
<key>MainClass</key>
<string>core.Application</string>
<key>Arguments</key>
<array/>
<key>ClassPath</key>
<string>$JAVAROOT/commons-beanutils.jar:$JAVAROOT/commons-collections-3.2.jar:$JAVAROOT/commons-configuration-1.3.jar:$JAVAROOT/commons-digester-1.7.jar:$JAVAROOT/commons-lang-2.2.jar:$JAVAROOT/commons-logging.jar:$JAVAROOT/iText-2.0.7.jar:$JAVAROOT/jasperreports-3.0.0.jar:$JAVAROOT/jdt-compiler-3.1.1.jar:$JAVAROOT/log4j-1.2.11.jar:$JAVAROOT/mail.jar:$JAVAROOT/resolver.jar:$JAVAROOT/xercesImpl.jar:$JAVAROOT/xml-apis.jar:$JAVAROOT/velocity-1.7.jar:$JAVAROOT/datecalc-common-1.2.0.jar:$JAVAROOT/joda-time-1.6.2.jar:$JAVAROOT/datecalc-joda-1.2.0.jar:$JAVAROOT/jar_0.jar:$JAVAROOT/jar_1.jar:$JAVAROOT/ERFoundation.jar:$JAVAROOT/ERWebObjects.jar:$JAVAROOT/commons-lang-2.5.jar:$JAVAROOT/commons-lang-2.5-sources.jar:$JAVAROOT/erxservletadaptor.jar:$JAVAROOT/junit-4.8.jar:$JAVAROOT/icu4j-3_8_1.jar:$JAVAROOT/slf4j-api-1.5.0.jar:$JAVAROOT/slf4j-log4j12-1.5.0.jar:$JAVAROOT/ognl-2.6.7.jar:$JAVAROOT/joda-time-1.6.2.jar:$JAVAROOT/joda-time-1.6.2-sources.jar:$JAVAROOT/log4j-1.2.16.jar:$JAVAROOT/jar_2.jar:$JAVAROOT/javaeoaccess.jar:$JAVAROOT/JavaEOAccess.jar:$JAVAROOT/javaeocontrol.jar:$JAVAROOT/JavaEOControl.jar:$JAVAROOT/javafoundation.jar:$JAVAROOT/JavaFoundation.jar:$JAVAROOT/javawebobjects.jar:$JAVAROOT/JavaWebObjects.jar:$JAVAROOT/javaeoproject.jar:$JAVAROOT/javajdbcadaptor.jar:$JAVAROOT/JavaJDBCAdaptor.jar:$JAVAROOT/javawojspservlet.jar:$JAVAROOT/javaxml.jar:$JAVAROOT/javaxml.jar:$JAVAROOT/jar_3.jar:$JAVAROOT/ognl-2.6.7.jar:$JAVAROOT/WOOgnl53.jar:$JAVAROOT/WOOgnl54.jar:$JAVAROOT/jar_4.jar:$JAVAROOT/jar_5.jar:$JAVAROOT/jabsorb-1.2.2.jar:$JAVAROOT/jar_6.jar:$JAVAROOT/metadata-extractor-2.3.1.jar:$JAVAROOT/jar_7.jar:$JAVAROOT/jar_8.jar</string>
</dict>
</dict>
</plist>
_______________________________________________
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