On Fri, 4 Jun 2004, Niclas Hedhman <[EMAIL PROTECTED]> wrote:
> On Thursday 03 June 2004 23:07, Stefan Bodewig wrote:
>> The worst case would mean you'd have to add a small shell/batch
>> script wrapper over your command line invocation.
>
> the command-line shouldn't need any arguments.
Not because of any arguments.
I'm not sure how support for <script> is implemented in Gumpy, but
"traditional Gump" on Unix looks like
<xsl:template match="script">
<xsl:text>eval "./</xsl:text>
<xsl:value-of select="@name"/>
<xsl:text>.sh $OUT 2>&1" </xsl:text>
<xsl:text>test $? -ge 1 && export STATUS="FAILED" </xsl:text>
</xsl:template>
which means it literally expects an executable command inside the
working directory (note the ./ at the start and the hard-coded .sh at
the end of the expression). You can't run arbitrary command lines
with <script> in "traditional" Gump.
> So it started out as a small project to see, "How hard could it
> possibly be to do the build system in Java?", and to my surprise not
> that hard at all.
Sounds like what James thought when he started to invent Ant 8-)
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]