To edit or add content to this Wiki, you can simply create a new account at http://wocommunity.org/account.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Fixing Auto Launch

Q. Hi everyone. I've seen several people on the list with the same problem as this, but haven't seen it resolved yet. When launching an app on WO5.2.2 developer on Windows XP, this error message is displayed:

...

Code Block
/**
  * Calls _isAdditionalForeignSupportedDevelopmentPlatform
  *
  * @see com.webobjects.appserver.WOApplication#_isForeignSupportedDevelopmentPlatform()
 */
 public boolean _isForeignSupportedDevelopmentPlatform()
 {
   return (super._isForeignSupportedDevelopmentPlatform() || _isAdditionalForeignSupportedDevelopmentPlatform());
 }

 /**
  * Check for Windows XP
  * @return true if runs on XP
  */
 public boolean _isAdditionalForeignSupportedDevelopmentPlatform()
 {
   String s = System.getProperty("os.name");
   return ( s != null && s.equals("Windows XP") );
 }

- StefanKlein

Don't Use White Spaces for Path

Q. Can someone explain why NSBundle seems have broken path on Windows, but work fine on other platforms? 

...