:-) Have to answer my question myself here:
put the include statements into a patternset and it works
<patternset id="standardframeworks">
<include name="Library/Frameworks/Framework1.framework"
/>
<include name="Library/Frameworks/
Framework2.framework" />
<include name="Library/Frameworks/
Framework3.framework" />
<include name="Library/Frameworks/
Framework4.framework" />
<include name="Library/Frameworks/
Framework5.framework" />
</patternset>
<frameworks root="${wo.localroot}">
<patternset refid="standardframeworks" />
</frameworks>
Well, beginning to understand ant :-)
By the way, this can be inherited over a <ant ...> task
Christian
On Wednesday, December 4, 2002, at 04:28 PM, Christian van der Leeden
wrote:
> Hi,
>
> is there a way to have a standard set of frameworks
> defined that I can reference when building an app?
> E.g. I've got 5 frameworks that all my app need and I'm
> building 3 apps.
>
> Normally I would repeat the
> <woapplication ....>
> <frameworks root="${wo.localroot}">
> <include
> name="Library/Frameworks/Framework1.framework" />
> <include name="Library/Frameworks/
> Framework2.framework" />
> <include name="Library/Frameworks/
> Framework3.framework" />
> <include name="Library/Frameworks/
> Framework4.framework" />
> <include name="Library/Frameworks/
> Framework5.framework" />
> </frameworks>
> </woapplication>
>
> Is there a way to have something like a reference for all the
> frameworks?
> E.g. like:
> <woapplication ....>
> <frameworks root="${wo.localroot}" refid="standard.frameworks" />
> </woapplication>
>
> Couldn't find anything in the ant docs to help me...
>
> Thanx
>
> Christian
>
> ----------------------------------------------
> Christian van der Leeden
> Logic United GmbH
> Tel: 089-189488-66 Mob: 0163-3747111
> www.logicunited.com
> <Christian van der Leeden.vcf>
----------------------------------------------
Christian van der Leeden
Logic United GmbH
Tel: 089-189488-66 Mob: 0163-3747111
www.logicunited.com
This archive was generated by hypermail 2.0.0 : Wed Dec 04 2002 - 13:21:58 EST