Is there some way for a defined tag to check/get the content of it's body?

let's say I have a tag defined:

    <define:tag name="exec">
       <exec dir="." executable="${maven.ssh.executable}">
         <arg line="${maven.repo.central} -l ${maven.username} 
'${command}'"/>
       </exec>
    </define:tag>

Which I'd like to get ${command} from the tag body the user provides, or 
the attribute, in that order, e.g. support:

<tag:exec>
text/other jelly stuff here
</tag:exec>

or

<tag:exec command="asdasd" />
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to