The Plexus plugin was a great example, and I can see how using tags is going
to be helpful in lots of areas..

Now, here is my current question.  Becasue the <cactus> target is an Ant
task with various embedded tasks, I wanted to take some of the common ones,
like <containerset> and put them in their own tags.  That way I can
customize the various elements of the <cactus> target, but share all the
common code.  However, when I did this:
  <define:taglib uri="cactustag">
    <define:tag name="containerset">
    <ant:echo message="\n\nHERE WE ARE!\n\n"/>
        <ant:echo message="val:${cactus.home.tomcat4x}"/>
      <containerset>
        <tomcat4x if="cactus.home.tomcat4x"
            dir="${cactus.home.tomcat4x}" port="${cactus.port}"
            output="${cactus.reports.dir}/tomcat4x.out"
            todir="${cactus.reports.dir}/tomcat4x">
        </tomcat4x>
      </containerset>   
    </define:tag>
  </define:taglib>

The "HERE WE ARE" message comes out, but the <cactus> tag acts as if the
<containerset> tag was never added.  Is this a limitation in that my
attempting to load the <containerset> via <cactustag:containerset> won't
work?

Eric

Reply via email to