[Yanel-dev] More input parameters re ./build.sh -f ....
Michael Wechner
michael.wechner at wyona.com
Wed Apr 22 22:05:48 CEST 2009
Guillaume Déflache schrieb:
>>
>>> 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! ;)
Thanks very much :-)
>
> Now Unix support is lagging behind Windows for a change! Feel free to
> remedy that! :P
will do that next week :-) but please feel free to do it before ;-)
Thanks
Michi
More information about the Yanel-development
mailing list