I don't recall either, but I do recall seeing this. I think it was something simple, wrong version of the JVM marked as default, no default. something.

For a quick hack, you should be able to edit ~/Library/ wobuild.properties and add
jvm=java

Before you do that, try running the build with ant -verbose -debug and see if you see anything that looks like a problem.

Chuck


On Apr 17, 2008, at 2:35 PM, Mike Schrag wrote:

Please keep questions on the list ... I'm assuming ${jvm} is not set. This same question came up just a few weeks ago, but I don't recall what caused it.

ms

On Apr 17, 2008, at 5:07 PM, Klaus Berkling wrote:

Sorry, forgot to mention. This only happens with ant builds.

Thanks again.

On Apr 17, 2008, at 2:00 PM, Klaus Berkling wrote:
Hi Mike,

Sorry to bother you.  I wonder if you have seen this before:

I'm executing the launch script for my WOApp. This is the output:

${jvm} -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" - DWOLocalRootDirectory="" -DWOUserDirectory="/Users/kiberkli/ Documents/Development/rsWorkspace/RecordServerApp/dist/ RecordServerApp.woa" -DWOEnvClassPath="" - DWOApplicationClass=Application -DWOPlatform=MacOS - Dcom.webobjects.pid=8317 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap
./RecordServerApp: line 301: exec: -X: invalid option

I have another plain HelloWorld app and I don't see this error.

Where in Eclipse are the flags passed into java? It's not in the script, it's not in the WO tab of the run configuration. Any thoughts?

Thanks, much obliged.

kib

"Success is not final, failure is not fatal: it is the courage to continue that counts.”
- Winston Churchill

Klaus Berkling
Systems Administrator
DynEd International, Inc.
www.dyned.com | www.eskimo.com/~kiberkli





kib

"Success is not final, failure is not fatal: it is the courage to continue that counts.”
- Winston Churchill

Klaus Berkling
Systems Administrator
DynEd International, Inc.
www.dyned.com | www.eskimo.com/~kiberkli





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to [EMAIL PROTECTED]


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to