Greetings,

I’m in the middle of converting a group of fairly ancient applications from Ant 
builds to Maven.  The process has been remarkably smooth, but I’m caught on the 
issue referenced in the subject.

Our existing ant builds result in the following structure in the web server 
resources portion of the split artifiact

MyApp.woa
     Contents
          WebserverResources
               <application WS resources>
     Frameworks
          MyFramework.framework
               WebserverResources
                    <framework WS resources>

which is expected because the “split” target in build.xml deliberately lifts 
Frameworks from under Contents and makes it a sibling.  As far as I can tell, 
that’s still standard behavior.

The wolifecycle-maven-plugin doesn’t seem to do that, so the web server 
resources portion of the split artifact looks like this

MyApp.woa
     Contents
          WebserverResources
               <application WS resources>
          Frameworks
               MyFramework.framework
                    WebserverResources
                         <framework WS resources>

The app is still generating resource URLs like 
"/WebObjects/MyApp.woa/Frameworks/MyFramework.framework/WebServerResources/images/myImage.png”
  which are unsurprisingly failing.

I don’t see any way of configuring wolifecycle-maven-plugin, so I’m looking at 
how to change how those generated URLs look.  Was hoping our old friend 
frameworksBaseURL() might help, but it doesn’t seem to.

Looking for ideas,

Steve

 _______________________________________________
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

Reply via email to