Yves Martin <[EMAIL PROTECTED]> writes: > Stefan Bodewig <[EMAIL PROTECTED]> writes: > >> On Fri, 04 Nov 2005, Yves Martin <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]