Thanks a lot!
Note to self: If developing in windows, in wolips.properties use the format:
wo.system.frameworks=E\:/Apple/Library/Frameworks
instead of
wo.system.frameworks=E::\\Apple\\Library\\Frameworks
Otherwise UNIXClassPath.txt will contain
E:\\Apple\\Library\\Frameworks\\JavaEOAccess.framework\\Resources\\Java\\javaeoaccess.jar
instead of the correct
WOROOT/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
On Thu, Mar 12, 2009 at 7:02 PM, Pascal Robert <prober..acti.ca> wrote:
> Hi,
>
> You have to set the WOFrameworksBaseURL property to
> /WebObjects/HelloWorld.woa/Frameworks
>
> Now, two things about that property. It will change the base URL for all
> frameworks, so if you use WSR coming from JavaWOExtensions that ships from
> the WO package, it will not find the WSR for those frameworks. You will have
> to either use the JavaWOExtensions framework from Wonder or embed the System
> frameworks too (which is a good idea anyway). And WO 5.4.3 have a bug for
> WOFrameworksBaseURL, you have to add 3 lines of code to your Application
> class so that the WOFrameworksBaseURL is read. Check the list archives for
> the code.
>
>
> Hi All,
>>
>> I am at a point of my WO journey of deploying my app.
>>
>> My problem is that, I have project wonder frameworks installed in my dev
>> windows box, but not in the deployment linux box.
>>
>> I used the ant build script that WOLips generated for me and enabled the
>> "Embed Local Frameworks" option.
>>
>> I can see that the resulting packages in dist folder
>> (HelloWorld-Application.tar.gz and HelloWorld-WebServerResources.tar.gz) has
>> the wonder frameworks it needed.
>>
>> The problem is that accessing my app (HelloWonder) on the linux box, i see
>>
>> <script
>> src="/WebObjects/Frameworks/Ajax.framework/WebServerResources/wonder.js"></script>
>> That is generated on my pages. If I did embed my local frameworks, this
>> resource should have been (please correct me)
>> <script
>> src="/WebObjects/HelloWorld.woa/Frameworks/Ajax.framework/WebServerResources/wonder.js"></script>
>> Did I miss a setting in WOLips?
>>
>> Thanks,
>> Amiel
>>
>> --
>> socket error: unable to connect to 127.0.0.1
>>
>
>
> -------------------------------------------------------
> Pascal Robert
>
> http://www.macti.ca
> http://www.aircourriel.com
> http://www.linkedin.com/in/macti
>
> Skype: MacTICanada
> AIM/iChat : MacTICanada
>
>
-- socket error: unable to connect to 127.0.0.1
This archive was generated by hypermail 2.0.0 : Thu Mar 12 2009 - 10:32:08 EDT