Ooops! Fluffy Bunny, not Fuzzy Bunny.
On May 20, 2008, at 2:55 PM, Chuck Hill wrote:
>
> On May 19, 2008, at 10:56 AM, Pascal Robert wrote:
>
>> <woapplication customInfoPListContent="$
>> {customInfoPListContent}" destDir="${dest.dir}" frameworksBaseURL="/
>> WebObjects/${build.app.name}.woa/Frameworks" name="$
>> {build.app.name}" principalClass="${principalClass}"
>> stdFrameworks="false" webXML="${webXML}" webXML_CustomContent="$
>> {webXML_CustomContent}" wsDestDir="${wsdest.dir}">
>> <classes dir="${classes.dir}">
>> <patternset>
>> <includesfile name="woproject/
>> classes.include.patternset"/>
>> <excludesfile name="woproject/
>> classes.exclude.patternset"/>
>> </patternset>
>> </classes>
>> <wsresources dir=".">
>> <patternset>
>> <includesfile name="woproject/
>> wsresources.include.patternset"/>
>> <excludesfile name="woproject/
>> wsresources.exclude.patternset"/>
>> </patternset>
>> </wsresources>
>> <resources dir=".">
>> <patternset>
>> <includesfile name="woproject/
>> resources.include.patternset"/>
>> <excludesfile name="woproject/
>> resources.exclude.patternset"/>
>> </patternset>
>> </resources>
>
> That is an old layout. You could try converting to the Fuzzy
> Bunny* layout, at least for this section:
>
> <resources dir="Resources">
> <patternset>
> <include name="**/*" />
> <exclude name="CVS" />
> <exclude name=".svn" />
> <excludesfile name="woproject/resources.exclude.patternset" />
> </patternset>
> </resources>
>
> And see if that makes things any happier.
>
>
> Chuck
>
>
> * Named for Anjo "Fuzzy Bunny" Krank
>
>
>
>>
>> <!-- KK: Changed embed to true -->
>> <frameworks embed="true" root="${wo.wolocalroot}">
>> <patternset>
>> <includesfile name="woproject/
>> ant.frameworks.wo.wolocalroot"/>
>> </patternset>
>> </frameworks>
>> <frameworks embed="false" root="${wo.wosystemroot}">
>> <patternset>
>> <includesfile name="woproject/
>> ant.frameworks.wo.wosystemroot"/>
>> </patternset>
>> </frameworks>
>> <frameworks root="${wo.wosystemroot}" embed="true">
>> <patternset>
>> <include name="Library/Frameworks/
>> JavaWOExtensions.framework"/>
>> </patternset>
>> </frameworks>
>> <frameworks embed="false" root="${user.home}">
>> <patternset>
>> <includesfile name="woproject/
>> ant.frameworks.user.home"/>
>> </patternset>
>> </frameworks>
>> <otherclasspath root="${wo.wosystemroot}">
>> <patternset>
>> <includesfile name="woproject/
>> ant.classpaths.wo.wosystemroot"/>
>> </patternset>
>> </otherclasspath>
>> <lib dir="Libraries">
>> <include name="*.jar"/>
>> <exclude name="**/*.woa/**"/>
>> </lib>
>> </woapplication>
>>
>>> What does the woapplication target of the build.xml look like?
>>>
>>> Chuck
>>>
>>>
>>> On May 19, 2008, at 10:40 AM, Pascal Robert wrote:
>>>
>>>> I have a strange problem where I have a couple of PDFs inside
>>>> localized sub-folders in the Resources folder.
>>>>
>>>> <Image 2.png>
>>>>
>>>>
>>>> The incremental builder is copying the files to the correct
>>>> location, but when I build and deploy the app with Ant, the PDF
>>>> are located in a Resouces folder, located in the Resouces folder :
>>>>
>>>> mbp:~ probert$ ls -l /Developer/WebObjects53/Library/WebObjects/
>>>> Applications/xxx.woa/Contents/Resources/Resources/French.lproj/
>>>> total 1848
>>>> -rw-r--r-- 1 probert admin 257382 16 mai 11:32 DEC_2004.pdf
>>>> -rw-r--r-- 1 probert admin 130814 16 mai 11:32 DEC_2005.pdf
>>>> -rw-r--r-- 1 probert admin 152368 16 mai 11:32 DEC_2006.pdf
>>>>
>>>> The Localizable.strings is inside the correct directory:
>>>>
>>>> mbp:~ probert$ ls -l /Developer/WebObjects53/Library/WebObjects/
>>>> Applications/Inspection.woa/Contents/Resources/French.lproj/
>>>> total 96
>>>> -rw-r--r-- 1 probert admin 46862 16 mai 15:43
>>>> Localizable.strings
>>>>
>>>> I looked at the patterns from "woproject/
>>>> resources.include.patternset" and I don't see a problem there :
>>>>
>>>> **/Properties
>>>> **/*.eomodeld/
>>>> **/*.d2wmodel
>>>> **/*.wo/
>>>> **/*.api
>>>> **/*.strings
>>>> **/*.plist
>>>> **/*.pdf
>>>>
>>>> Using WOLips 3.3.5047 on Leopard. Doing a clean on the project
>>>> and on the filesystem don't solve the problem :-/
>>>
>>> --
>>>
>>> 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
>>>
>>>
>>>
>>>
>>>
>>
>>
>
> --
>
> 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
>
>
>
>
>
--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
This archive was generated by hypermail 2.0.0 : Tue May 20 2008 - 17:57:25 EDT