• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Wrong url generation for frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wrong url generation for frameworks


  • Subject: Re: Wrong url generation for frameworks
  • From: Frank Stock <email@hidden>
  • Date: Thu, 26 Nov 2015 14:58:01 +0100

Hi Werner,


I did a complete new install of WO on another Mac, with a new Wonder project an I get the same result. My old application are running normal.
App resources are working fine.

Frank
Op 26 nov. 2015, om 12:56 heeft Frank Stock <email@hidden> het volgende geschreven:

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

References: 
 >Wrong url generation for frameworks (From: Frank Stock <email@hidden>)
 >Re: Wrong url generation for frameworks (From: Frank Stock <email@hidden>)

  • Prev by Date: Re: Looking for multiple D2W rule files strategy
  • Next by Date: Re: Looking for multiple D2W rule files strategy
  • Previous by thread: Re: Wrong url generation for frameworks
  • Next by thread: Re: Wrong url generation for frameworks
  • Index(es):
    • Date
    • Thread