Re: Wrong url generation for frameworks
Re: Wrong url generation for frameworks
- Subject: Re: Wrong url generation for frameworks
- From: Frank Stock <email@hidden>
- Date: Thu, 26 Nov 2015 12:56:16 +0100
Hi Werner,
This is exactly what I have! I have created a new Wonder project and did a test on 2 servers with the same result.
Frank Op 26 nov. 2015, om 12:45 heeft Johann Werner < email@hidden> het volgende geschreven:
Hi Frank,
you probably have an outdated build.xml file in your project. Within the ant target build.woapp the woapplication task takes an attribute „frameworksBaseURL“ that is either not set or set incorrectly in your setup. From one of my build.xml I have:
<woapplication name="${build.app.name}" frameworksBaseURL="/WebObjects/${build.app.name}.woa/Frameworks" destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" principalClass="${principalClass}" webXML="${webXML}" webXML_CustomContent="${webXML_CustomContent}" servletAdaptor="er.extensions.jspservlet.ERXServletAdaptor“> … </woapplication>
This will put the necessary command line argument into the startup script of your packaged application which should resolve your URL problem.
HTH jw
Am 26.11.2015 um 11:53 schrieb Frank Stock <email@hidden>:
Hi all,
I have update my app on the server and I get a wrong url for the resources of the frameworks:
the url should be:
/WebObjects/xxxxxx.woa/Frameworks/Ajax.framework/WebServerResources/modalbox.css
but since today I get:
/WebObjects/Frameworks/Ajax.framework/WebServerResources/modalbox.css
Resources in the app are working fine:
/WebObjects/xxx.woa/Contents/WebServerResources/PageWrapper.css
Did I do something wrong?
Thanks in advance! Frank Stock Belgium
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden