ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Martin <yves.mar...@elca.ch>
Subject Re: Support any type inclusion
Date Mon, 07 Nov 2005 08:52:47 GMT
Yves Martin <yves.martin@elca.ch> writes:

> Stefan Bodewig <bodewig@apache.org> writes:
>
>> On Fri, 04 Nov 2005, Yves Martin <yves.martin@elca.ch> wrote:
>>
>>>  I have tried add(DataType) but it does not work (or I made a
>>>  mistake) with Ant 1.6.5
>>
>> What does "does not work" mean?  Do you get an exception?  Which?  Or
>> does Ant silently process your task but the add method is never
>> called?
>
>   My task is 'Plugin' with the method add(DataType userType), defined as
>   <antlib:ch.elca.el4ant:plugin>.
>
>   The DataType I want to embedded is 'package'... registered as
>   "antlib:ch.elca.el4ant.binrelease:package"
>
>   Here is the task usage:
>   <plugin
>     name="binrelease"
>     file="buildsystem/tools/binrelease/binrelease.xml"
>     xmlns:binrelease="antlib:ch.elca.el4ant.binrelease">
>     <attribute
>       name="binrelease.default.excludes"
>       value="java/**,.classpath,.project,.checkstyle,.externalToolBuilders/**"/>
>     <binrelease:package module="helloworldweb" version="0.6"/>
>   </plugin>

>   I do not understand what I did wrong.

  Now, I have understood. The namespace 'antlib:ch.elca.el4ant.binrelease' is
  not defined yet, as far as the 'plugin' task is responsible to register it !!

-- 
Yves Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message