Re: Maven deployment - Path to Framework WebServerResources issue
Henrique Prange <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
Hi Martin, AFAIR, this is a bug in WebObjects 5.4.x. It should probably be fixed in Wonder. The Ant build automatically provides a workaround. The Maven build doesn't. Cheers, Henrique On 25/10/2012, at 18:42, Martin B <[email protected]> wrote: > Thanks Pascal! You were right! It worked after specifying the WOFrameworksBaseURL in my application properties file. Now I just need to figure out how why Maven is not adding this to the launch script. > > Cheers! > > Martin > > > Subject: Re: [Wonder-disc] Maven deployment - Path to Framework WebServerResources issue > > From: [email protected] > > Date: Thu, 25 Oct 2012 13:34:31 -0400 > > CC: [email protected] > > To: [email protected] > > > > 1) Does the frameworks are embedded in the application? > > > > 2) Check the last line in the launch script (Application.woa/Application) of the application, it should have something like this: > > > > -WOFrameworksBaseURL /WebObjects/Application.woa/Frameworks > > > > If not, I guess a Maven build is not adding this line, while a Ant build will. > > > > > Hi, > > > > > > We have recently converted a few of our in-house Wonder applications to use Maven instead of the more "standard" ANT deployment scripts. Although these applications seem to be functionnal when running them in a local environment using Eclipse (Direct Connect), we are experiencing some issues on our production server (split install). It looks like the paths to WebServerResources provided by Frameworks are wrong. The paths to WebServerResources provided by Applications are correct, but anything that's provided by any Framework is not accessible. > > > > > > For example the path to wonder.js provided by the Ajax Framework is not valid: /WebObjects/Frameworks/Ajax.framework/WebServerResources/wonder.js > > > > > > However, the path to header.jpg provided by the Application is valid: /WebObjects/Application.woa/Contents/WebServerResources/header.jpg > > > > > > I am not sure why this is happening. My best guess is that there something missing somewhere in my Maven configuration. Can anyone help? > > > > > > > > > Thank you, > > > > > > > > > Martin > > > ------------------------------------------------------------------------------ > > > Everyone hates slow websites. So do we. > > > Make your web apps faster with AppDynamics > > > Download AppDynamics Lite for free today: > > > http://p.sf.net/sfu/appdyn_sfd2d_oct_______________________________________________ > > > Wonder-disc mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/wonder-disc > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct_______________________________________________ > Wonder-disc mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wonder-disc ------------------------------------------------------------------------------ The Windows 8 Center In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Wonder-disc mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wonder-disc