[Yanel-dev] More input parameters re ./build.sh -f ....
Guillaume Déflache
guillaume.deflache at wyona.com
Wed Apr 22 21:29:59 CEST 2009
Guillaume Déflache schrieb:
> 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
You can see that in action for... Windows: I needed `build -f` support
so I just coded that with your enhancement, with a similar fix to the
one suggested here on top of it! ;)
Now Unix support is lagging behind Windows for a change! Feel free to
remedy that! :P
More information about the Yanel-development
mailing list