From: Chuck H. <ch...@gl...> - 2011-02-27 22:16:47
|
On Feb 27, 2011, at 2:06 PM, David Avendasora wrote: > > On Feb 27, 2011, at 4:25 PM, Chuck Hill wrote: > >> Hi Jeff, >> >> On Feb 26, 2011, at 6:09 AM, Jeff Schmitz wrote: >> >>> Hello, >>> I'm using the Wonder Ajax framework (awesome stuff btw) in a project that is not setup to bundle frameworks with it, but to reference the frameworks stored in /Library/Frameworks on the local machine. When I run on the my dev machine from Eclipse it runs great. However when I deploy, the URLs generated for the scripts are being generated as if I do bundle frameworks with my apps. >>> >>> For example, here's what is generated when running on my dev machine: >>> >>> <script src="/cgi-bin/WebObjects/netBrackets.woa/-9999/wr/wodata=/Library/Frameworks/Ajax.framework/WebServerResources/effects.js"></script> >>> >>> And here is what's generated when running on my deployment: >>> >>> <script src="/WebObjects/netBrackets.woa/Frameworks/Ajax.framework/WebServerResources/effects.js"></script> >> >> You want that URL to be >>> /WebObjects/Frameworks/Ajax.framework/WebServerResources/effects.js > > If you're running fully embedded, then you don't want all your apps to share one set of frameworks, isn't that counter to running fully-embedded? > > I would think that you'd want exactly what he has there, he just isn't copying his WSR-bundle to the right place. >> in a project that is not setup to bundle frameworks with it, but to reference the frameworks stored in /Library/Frameworks on the local machine I read it that he was sharing the frameworks. Not a good idea, IMO, but not what he asked. ;-) > > Dave > >> >> And you need to do a split install, see >> <http://wiki.objectstyle.org/confluence/display/WO/Split+Deployments> >> >> >>> Is there a way to change this behavior for deployment so that it points to /Library/Frameworks to get the scripts? >> >> >> You probably have the wrong setting in build.properties, try this: >> >> frameworksBaseURL=/WebObjects/Frameworks >> >> >> Chuck >> >> -- >> Chuck Hill Senior Consultant / VP Development >> >> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. >> http://www.global-village.net/products/practical_webobjects >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT data >> generated by your applications, servers and devices whether physical, virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ >> Wonder-disc mailing list >> Won...@li... >> https://lists.sourceforge.net/lists/listinfo/wonder-disc > -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects |