On 22/10/2011, at 5:35 AM, Chuck Hill wrote:

> 
> On 2011-10-21, at 11:28 AM, [email protected] wrote:
> 
>> Good thought Chuck, 
>> 
>> I checked and the app I was testing and it has direct connect disabled. I 
>> guess somehow deep in the bowels of WO it just expects the duplication to be 
>> there.
> 
> It would be interesting to know where that is.

WODeployedBundle.relativePathForResource(...)

> 
> 
> Chuck
> 
>> And, as you say, perhaps it is tolerated because you might at some point 
>> want to turn on Direct Connect mode to test something. Still seems a bit 
>> shaky but maybe that's all there is to it. 
>> 
>> Thanks for the tip, 
>> -- Aaron 
>> 
>> 
>> 
>> From:        Chuck Hill <[email protected]> 
>> To:        [email protected] 
>> Cc:        [email protected] 
>> Date:        10/21/2011 01:16 PM 
>> Subject:        Re: Why are static web resources duplicated in the app 
>> bundle? 
>> 
>> 
>> 
>> I _thought_ they were only needed on the Java side for development builds 
>> and with Direct Connect.  I'd guess they are included in the .woa as it is 
>> possible to run the app in Direct Connect mode.
>> 
>> Chuck
>> 
>> 
>> On 2011-10-21, at 10:09 AM, [email protected] wrote:
>> 
>>> Hi WOrriors, 
>>> 
>>> Do any of us know why static web resources such as images and javascript 
>>> files get duplicated during a split install? Surely they need to be in the 
>>> .woa that resides under the Apache root but why are they duplicated in the 
>>> other .woa alongside the java logic? 
>>> 
>>> I've seen this for many years when compiling under both pbx.proj and ant. 
>>> Recently I made a comment that this duplication was inane but then my bluff 
>>> was called. When we tried to remove it from the java side of the split we 
>>> get "NOT_FOUND" resources. It seems like WO requires this duplication but 
>>> why? 
>>> 
>>> Only the files located on the Apache root side of the divide truly have to 
>>> be there. Those are the ones served up to the web browser. Why on earth 
>>> would the java side of the house need them duplicated? 
>>> 
>>> -- Aaron _______________________________________________
>>> 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]
>> 
>> -- 
>> 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
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> -- 
> 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
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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/qdolan%40gmail.com
> 
> This email sent to [email protected]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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