Just some funniness in the interaction of Jelly and Werkz. The echo causes the output to be flushed, whereas the others don't. There isn't any way to manually do it to my knowledge.
- Brett On 7/1/05, WolfgangHäfelinger <[EMAIL PROTECTED]> wrote: > Hi, > > On http://maven.apache.org/reference/scripting.html is a Jelly scripting > example > named "nighly-build". Here's a modified version: > > <project xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:u="jelly:util"> > <goal name="nightly-build"> > <j:set var="goals" value="A,B" /> > <u:tokenize var="goals" delim=",">${goals}</u:tokenize> > > <j:forEach items="${goals}" var="goal"> > Now attaining goal ${goal} > <attainGoal name="${goal}" /> > </j:forEach> > </goal> > > <goal name="A" /> > > <goal name="B"> > <ant:echo /> > </goal> > > </project> > > > So when I run > $ maven nightly-build > > I'm getting: > [..] > nightly-build: > Now attaining goal number 0, which is A > A: > > Now attaining goal number 1, which is B > B: > [echo] > BUILD SUCCESSFUL > [..] > > HOWEVER, after I removed <ant:echo /> from goal B (!), I can't see this > output any longer, i.e. the 'Now > attaining goal ..' lines are gone. > > What's going on here? > > Regards, > Wolfgang. > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
