For the benefit of those not on the webobjects deploy mailing list the
workaround is to add the following two lines to your Application
constructor.
public Application() {
NSLog.out.appendln("Welcome to " + name() + " !");
/* ** put your initialization code in here ** */
frameworksBaseURL();
if ( System.getProperty("WOFrameworksBaseURL") != null )
setFrameworksBaseURL(System.getProperty("WOFrameworksBaseURL"));
}
Note that it is important to call frameworksBaseURL() before your call
to setFrameworksBaseURL() because the first call to
frameworksBaseURL() calls setFrameworksBaseURL("/WebObjects/
Frameworks") which would override any setting you have made.
Fortunately subsequent calls to frameworksBaseURL() do not do this.
Tim
On 13/01/2009, at 8:40 AM, Johann Werner wrote:
Hi Travis,
I am experiencing the same change in the WSR path since I switched
to WO 5.4.3. There is a thread "-WOFrameworksBaseURL not working -
WebObjects 5.4.3 BUG" on the wo-deploy mailing list that describes
exactly that problem. Seems that it is a bug in the current WO
version.
jw
Am 12.01.2009 um 18:37 schrieb Travis Britt:
When I do an ant build I end up with the two tarballs (one for the
app, the other for WSR.) All seems fine. When I deploy, the paths
for WSR are wrong. The app is looking for WSR as if it was not a
split install.
This is a new app built against 5.4.3, latest Wonder, nightly of
WOLips and a build.xml from about a week ago.
Anybody else seen this? Maybe I forgot something...
tb
_______________________________________________
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/jw%40oyosys.de
This email sent to j...@oyosys.de
_______________________________________________
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/timcu%40tpg.com.au
This email sent to ti...@tpg.com.au
_______________________________________________
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 arch...@mail-archive.com