Bonjour Benoit,
On Aug 17, 2009, at 1:21 AM, Benoit Havret wrote:
> On 31 juil. 09, at 18:31, Chuck Hill wrote:
>> On Jul 31, 2009, at 2:11 AM, Benoit Havret wrote:
>>
>>>
>>> Bonjour,
>>>
>>> I have a directory "AjaxGridsConfigs" in the resources directory
>>> off my app.
>>
>> Like this?
>>
>> App/
>> Resources/
>> AjaxGridsConfigs/
>>
>
> yes
>
>>> It contains different plist files I use for ajaxgrids. When I
>>> build my app
Do you mean with Ant?
>>> the directory gets created but plist files are not copied.
>>> According to resources.include.patternset and
>>> resources.exclude.patternset patterns they should be copied! I
>>> had to add a specific 'copy' cmd in my build.xml to resolve that
>>> problem. Still I would like to understand! Any ideas?
>>
>> Does the resources.include.patternset look like this?
>>
>> Components/**/*.wo/**/*
>> Components/**/*.api
>> Resources/**/*
>
> Yes exactly like this...
>
>>
>> That works for me.
I don't understand what is going wrong for you. Which version of
WOLips are you using? Is it possible that you have an older version
of woproject.jar on your machine that Ant is using? My woapplication
task looks like this:
<woapplication name="${project.name}"
destDir="${dest.dir}"
customInfoPListContent="$
{customInfoPListContent}"
principalClass="${principalClass}"
webXML="${webXML}"
webXML_CustomContent="${webXML_CustomContent}">
<classes dir="${classes.dir}">
<patternset>
<includesfile name="woproject/
classes.include.patternset"/>
<excludesfile name="woproject/
classes.exclude.patternset"/>
</patternset>
</classes>
<resources dir="Components">
<include name="**/*.wo/**/*" />
<include name="**/*.api" />
<excludesfile name="woproject/resources.exclude.patternset" />
</resources>
<resources dir="Resources">
<include name="**/*" />
<excludesfile name="woproject/resources.exclude.patternset" />
</resources>
<frameworks root="User"
embed="${eclipse.not.running}"
eclipse="true"
bundles="${cadre.frameworks}/${gvc.frameworks}/$
{wonder.frameworks}" />
<frameworks root="Local"
embed="{eclipse.not.running}"
eclipse="true"
bundles="${library.frameworks}" />
<frameworks root="System"
embed="${eclipse.not.running}"
eclipse="true"
bundles="${system.frameworks}" />
<lib dir=".">
<include name="Add .jar's that should be copied in
the woa."/>
<exclude name="**/*.woa/**"/>
</lib>
</woapplication>
Chuck
-- Chuck Hill Senior Consultant / VP DevelopmentPractical 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 : Mon Aug 17 2009 - 13:06:07 EDT