I just want to explain when some resources are moved to WebServerResources instead of Resources. My script can't detect in which target (app, web server, project) the file was in Xcode so I guess where it should be by looking at the file extension and file name. If a file match a extension or name that is pretty obvious that it's a resource (Properties, *.rpt, etc.), it is moved to Resources. If it's not the case, I move the file (and the path of the file starting from the Xcode project) to WebServerResources instead.

Why ? I found out that it worked for 99% for our projects at work and that most "unknown" files really belongs to WebServerResources, and after the importation is done, you can move the file to the correct folder.

If anyone have particular resources to put in Resources, they just have to update the source and add a couple of "else" :-)

BTW: I will make a new release of the script today. "pbprojectdump" is at a different path on Leopard and I added a couple of extensions for resources (*.wssd and something else).

And I will be more than happy to get fixes from people who use my script :-)

Yes, we used the import script from Pascal with the Wonder templates. Everything else seemed to work OK, except for the Resources: somehow, they would always end up within WebServerResources, and not the top-level one.

With Kind Regards,

Dennis Gaastra, M.B.A.[sfu.ca], B.Sc.[ubc.ca]
Chief Technology Officer,




On 5-Dec-07, at 3:48 PM, Chuck Hill wrote:

Or he had not used the Wonder version and is getting the flattening effect of the standard build (which I will try to not say nasty things about no matter how much it might deserve it as I have no time to fix it).

What does the woframework task part of your build file look like?

Chuck

On Dec 5, 2007, at 3:43 PM, Simon McLean wrote:

i think you've probably added the "Resources" directory to resources, instead of just it's contents. Wonder builds create a resources directory and stuff inside it everything you flag to "include as a resource". so if you tell it to include the resource dir as a resource, it pops that inside the resources dir it creates when it builds.

simon

On 5 Dec 2007, at 23:39, Gaastra Dennis - WO Lists wrote:

Dear List,

In our Eclipse project, we have a "Fonts" directory within the "Resources" directory. When we look at the "build" directory, there correctly appears to be "ABC.framework/Resources/Fonts" containing the fonts. However, when we do the ant Install to "/Library/Frameworks", we get the following two directories: (A) "ABC.framework/Resources/Fonts" containing NO fonts ; this is where the fonts should be; and (B) "ABC.framework/Resources/Resources/Fonts" with all the fonts, which is wrong.

Of course, it should only be A with the fonts, and no B

How to fix this?


With Kind Regards,

Dennis Gaastra

_______________________________________________
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/ simon_mclean%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/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]


--

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






 _______________________________________________
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/probert%40os.ca

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]

Reply via email to