Charles Daniels wrote:

Erik,

Don't use goals in your template.jelly script.  Simply place all jelly
scripting at the top level within the <project> node.  For example, your
example should like as follows:

<?xml version="1.0"?>
<project
 default="broadTemplate"
 xmlns:j="jelly:core"
 xmlns:i="jelly:interaction"
 xmlns:ant="jelly:ant"
 xmlns:define="jelly:define"
 xmlns:u="jelly:util">

 <echo>In the broad template.jelly file.</echo>
</project>

Works like a charm for my templates.

-- Chuck


Thanks for pointing this out. I've amended my Jira issue so that the problem is only a lack of documentation on the feature. Having only used Jelly in the context of Maven, it did not occur to me to "just" put jelly commands in the file.

--
Erik Husby
Team Lead for Software Quality Automation
Broad Institute of MIT and Harvard Rm. 2192 320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED]



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



Reply via email to