[Yanel-dev] More input parameters re ./build.sh -f ....

Guillaume Déflache guillaume.deflache at wyona.com
Fri Apr 17 09:38:26 CEST 2009


Michael Wechner schrieb:
> I have slightly changed yanel.sh
> 
> Sending        yanel.sh
> Transmitting file data .
> Committed revision 42344.
> 
> such that also calls like for example
> 
> ./build.sh -f src/test/build.xml junit 
> -Dtest.class.name=ch.globus.yanel.builder.xml.XmlContentItemVisitorTest
> 
> can be run, because previously the parameter -Dtest.class.name=...

Thanks!


> was not passed, because only $2 $3 was hardcoded . I have added some 
> more, but we should further improve it by passing all parameters with 
> for example something like $@
> (Added a TODO)


AFAICS this should do the trick:
   buildfile=$2
   shift 2
   $OUR_ANT -f $buildfile "$@" -Dyanel.source.home=$SCRIPT_DIR


More information about the Yanel-development mailing list