${os.name} return the OS name in Maven. I have not been able to get the
conditional flow right in Maven. Also, you can get it to work even without
having the absolute path. Just ant.bat would do.

Danushka

On Wed, Mar 16, 2011 at 4:58 PM, Indika Kumara <[email protected]> wrote:

> Danuska,  yes, *.bat  *is hard-coded - you cannot commit it. It is not the
> proper solution. However, it was what can do with exiting ant and maven (for
> me) ..I tried many options but nothing worked. If we can make '.bat'
> configurable, we can use it as an acceptable solution - detect OS and select
> the extension.
>
> ~ Indika
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to