Le 08-12-31 à 06:58, Francesco Romano a écrit :


On 31/dic/08, at 00:13, Johann Werner wrote:


Am 29.12.2008 um 18:32 schrieb Francesco Romano:

<snip>

I thought you were using latest WOLips where it has these options. Adding the embed.* lines to your properties file without the current WOLips won't do anything I suppose. You should search the list for the threads discussing WOLips/New Hotness/Eclipse 3.4.


So I've to update to the last WOLips?

I would recommend you to do so. There are many changes especially to the build system so you should be warned that you will have to modify some things but there is already a related thread on the list. In my opinion these changes make many things much more comfortable so the little extra work to jump to the current WOLips version is really worth it. (apart from this you _will_ have to change anyway sometime in the future)


Ok.. I just updated... everything seems to work

Now I've the menu WOLips Deployment.
I selected every option to embed frameworks...

Is this right?

Can you please explain me what WOLips Ant Tools -> Install does?

Now I've this content into /Library/WebObjects/Application (with the previous version of wolips I had only the app)

Maka-MBPro:Applications makaveli$ ls -l
total 81616
drwxr-xr-x  4 makaveli  _appserveradm       136 31 Dic 12:54 Split
-rw-r--r-- 1 makaveli _appserveradm 29007046 31 Dic 12:53 iPN- Application.tar.gz -rw-r--r-- 1 makaveli _appserveradm 12777586 31 Dic 12:53 iPN- WebServerResources.tar.gz
drwxr-xr-x  7 makaveli  _appserveradm       238 31 Dic 12:53 iPN.woa
Maka-MBPro:Applications makaveli$

iPN.woa is the normal, non-archive application

iPN-WebServerResources.tar.gz is the Web Server resources that need to be unarchived in /Library/WebServer/Documents/WebObjects

iPN-Application.tar.gz is a compressed and archived version of your app, if you have a slower link to upload your app, it will take less time to transfer this version. If you uncompress and unarchive this file, you will get your .woa back



Also now everything is a lot bigger (the app folder alone is 54 MB versus 400KB before)...

This means that your application have the embedded frameworks.


Some mistakes?




<snip>

<link rel="stylesheet" type="text/css" href="/WebObjects/ iPN.woa/Contents/WebServerResources/site.css"></link>
Yes I meant that. Is that file located at /Library/WebServer/ Documents/WebObjects/iPN.woa/Contents/WebServerResources/ site.css ? If yes look at your apache logfiles for errors. You could also check if Safari loaded that file by looking at the network info in the Develop menu of Safari.



I removed the folder WebServerResources located in the app and I left the one in the Documents folder of Apache.. So.. it doesn't load the images and the .css and I see this in Network info:

<link rel="stylesheet" type="text/css" href="/cgi-bin/WebObjects/ iPN.woa/_wr_? wodata=ERROR_NOT_FOUND_framework_app_filename_site.css"></link>

Why do you delete the WSR inside the app? The above URL says that the resource manager can't find the file. I had that problem some long time ago but I can't remember what I did to resolve it.

jw


I thought that could be a "test" if the app was using the data inside the WebServer Documents folder or the data inside its folder..


The test would simply be to check if the image and css URLs begin with "/cgi-bin" which would point inside your WOApp or with "/ WebObjects" that loads them from your apache web directory.

jw

I think it's all ok... I'll check later this..



Francesco



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects- dep...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/probert%40macti.ca

This email sent to prob...@macti.ca


-------------------------------------------------------
Pascal Robert

http://www.macti.ca
http://www.aircourriel.com
http://www.linkedin.com/in/macti

Skype: MacTICanada
AIM/iChat : MacTICanada

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to