• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: WO5.2.2 launing WO-Apps as a jar file, help needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: WO5.2.2 launing WO-Apps as a jar file, help needed


  • Subject: RE: WO5.2.2 launing WO-Apps as a jar file, help needed
  • From: Mario Fortin <email@hidden>
  • Date: Wed, 29 Oct 2003 13:16:09 -0500

A shell script (or a .cmd file on Windows 2k) is generated in your
app bundle (e.g. testwo.woa). If you launch this shell script,
your application will start with WO. If you look at this shell
script, you will see how to start your application manually.

For example, the JVM for your application may be started like
this with WO 5.2, on Windows 2k:

	cd D:/dev/testwo.woa
	java -xrs -DWORootDirectory=C:/Apple
-DWOLocalRootDirectory=C:/Apple/Local
                -DWOUserDirectory=D:/dev/testwo.woa -DWOPlatform=Windows
                -DWOApplicationClass=Application
                -classpath WOBootstrap.jar
com.webobjets._bootstrap.WOBootstrap
                -EOAdaptorDebugEnabled YES -WODebuggingEnabled YES
                -WOApplicationName testwo -WOPort 2010

Your testwo.jar file placed in Contents/Resources/Java, and all WOF jar
files
required by your application will be loaded automatically by WO, reading
this info from
Contents/Windows/CLSSPATH.TXT.

Mario.

-----Message d'origine-----
De : Helmut Tschemernjak [mailto:email@hidden]
Envoyi : Wednesday, October 29, 2003 7:44 AM
@ : email@hidden
Objet : WO5.2.2 launing WO-Apps as a jar file, help needed


Hello,

I saw that in parallel to the app bundle, e.g.: testwo.woa, WO 5.2.2
generates a jar file containing the application. Has anybody some ideas
how this could be started. I tried:

# java -jar testwo.jar
Failed to load Main-Class manifest attribute from testwo.jar

Any ideas if the WO app in jar file will find its .wod and .html
components within the same jar file?

Any ideas what arguments to use to launch it?

If this should work, we like to develop a start script using the .jar
file instead of the woa bundle. The benefit is that automatic updating
and version control works easier with a single file containing the app.



best regards / mit freundlichen Gruessen,

Helmut Tschemernjak


HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Phone:    +49-5131-709320
Fax:     +49-5131-709325
Internet Mail: email@hidden
Internet  Web: http://www.helios.de
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: WO5.2.2 launing WO-Apps as a jar file, help needed
  • Next by Date: Re: Anything new on the Horizon of Webobjects
  • Previous by thread: Re: WO5.2.2 launing WO-Apps as a jar file, help needed
  • Next by thread: WO 5.2.2 reports ComputeTargetClasspath.sh is missing
  • Index(es):
    • Date
    • Thread