(1) log out the value of
System.getProperty("WOFrameworksBaseURL")
and tell us what that is.
(2) Can you paste exactly what you are using in your WOComponent html/wod here
so we can see how you are trying to generate those URLs?
On Nov 28, 2011, at 9:40 PM, Jeff Schmitz wrote:
> As I never did resolve this one, I thought I'd resurrect this thread..
>
> The "long and the short" of it is,
> How I can get my App to generate Wonder Framework javascript (and other
> static resource) references that point here:
>
> /WebObjects/Frameworks/... (e.g. <script
> src="/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js">)
>
>
> instead of here:
>
> /WebObjects/<myApp>.woa/Frameworks... (e.g. <script
> src="/WebObjects/netBrackets.woa/Frameworks/Ajax.framework/WebServerResources/prototype.js">)
>
>
> So that the references match where the Wonder framework resources are
> installed when following these instructions:
>
> http://wiki.objectstyle.org/confluence/display/WO/Building+and+Installing+a+Framework+with+Ant
>
>
> I tried Chucks suggestion...
> "You probably have the wrong setting in build.properties, try this:
>
> frameworksBaseURL=/WebObjects/Frameworks"
>
> to no avail as the generated references are still looking under the project
> specific directory.
>
> any other ideas?
> Jeff
>
> On Nov 21, 2011, at 10:40 PM, Stavros Panidis wrote:
>
>> Dear Jeremy,
>>
>> Many thanks, this problem solved.
>>
>> Actually in this server static pages are in
>> /Library/Server/Web/Data/Sites/Mysite
>>
>> so I copied WebServerResources in WebObjects inside Mysite folder. Now it
>> works.
>>
>> Best regards
>>
>> Stavros
>>
>> On 21 Νοε 2011, at 8:28 μ.μ., Jérémy DE ROYER [INGENCYS] wrote:
>>
>>> Hello,
>>>
>>> Did you copy the folders "WebServerResources" of yours app/frameworks in
>>> the folder WebObjects of your WebServer (located in
>>> /Library/WebServer/Documents on Mac OS X Server) ?
>>>
>>> Jérémy
>>>
>>> Le 21 nov. 2011 à 19:24, Stavros Panidis a écrit :
>>>
>>>> Hi,
>>>>
>>>> I have the following error in a deployed application (Lion server)
>>>>
>>>> GET
>>>> http://www.mysite.com/WebObjects/myapp.woa/Frameworks/Ajax.framework/WebServerResources/prototype.js
>>>> 404 (Not Found)
>>>> GET
>>>> http://www.mysite.com/WebObjects/myapp.woa/Frameworks/Ajax.framework/WebServerResources/wonder.js
>>>> 404 (Not Found)
>>>> GET
>>>> http://www.mysite.com/WebObjects/myapp.woa/Frameworks/Ajax.framework/WebServerResources/effects.js
>>>> 404 (Not Found)
>>>>
>>>> ReferenceError Can't find variable ASB
>>>> ReferenceError Can't find variable ASB
>>>> ReferenceError Can't find variable AUC
>>>>
>>>> The application works fine in other aspects.
>>>>
>>>> Also at the same deployment machine css files are not loaded in JAVA
>>>> MONITOR when run as instance.
>>>>
>>>> Has to do with permissions? Any other help?
>>>>
>>>>
>>>> Many thanks in advance
>>>>
>>>>
>>>> Stavros
>>>>
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> http://lists.apple.com/mailman/options/webobjects-dev/jeremy.deroyer%40ingencys.net
>>>>
>>>> This email sent to [email protected]
>>>
>>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/jeffandmonica%40mac.com
>>
>> This email sent to [email protected]
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]