Hi there, on our testing site, we often install more applications served by different builds, so that testers can easily compare the changes. E.g., two applications “Test2” and “Test3” are configured in JavaMonitor with paths “/Local/WOApps/Test/build2/Test.woa/Test” and “/Local/WOApps/Test/build3/Test.woa/Test” (and different log paths, yadda yadda). Works like a charm... but for the web server resources; they are, of course, by default shared and all builds automatically use the latest installed copy.
It would help if we could somehow force an application (the one based on an older build) to consistently provide resources from the application folder, effectively ignoring split install, like it happens with direct connect, generating URLs like “/cgi-bin/WebObjects/Test.woa/wr/wodata=/the-current-app-path/Test.woa/Contents/WebServerResources/SomeFile.css” instead of those standard split-install “/WebObjects/Test.woa/Contents/WebServerResources/SomeFile.css” ones. Is there a setting or another trick to enforce that? I've tried to set “-WODirectConnectEnabled YES” for an application served by an older build, but to no avail, it still keeps generating the normal split-install URLs. Or is there another easy trick to do that? Of course I could use the “href” binding in my “ERXStyleSheet” and similar tags instead of “filename” (and tweak all the “additionalCSSFiles” in a similar way, yadda...) and compute the paths programmatically based on something like “WOApplication.application().path()”, but that could get sorta ugly soon... and besides, I'd much rather exploit the framework power than to skip it and DIY :) Thanks! OC _______________________________________________ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com