This may be a crazy idea, but would it work to rewrite the contents of the
gradle wrapper jar in javascript and execute this (from the bash/batch
script) using jrunscript?

Gradle already has a requirement for a JVM >= 6, so jrunscript should be
available regardless of platform. This would keep the code in readable form
but hopefully allow the windows-related compatibility to be addressed using
the Java standard library.

On Thu, Apr 16, 2015 at 2:34 PM, Andrew Bayer <[email protected]>
wrote:

> So I just verified, at least on OS X, that if you clone Kafka and run
> gradle in it, it'll download the wrapper for you. I don't think it's system
> dependent either.
>
> A.
>
> On Thu, Apr 16, 2015 at 12:09 PM, Jochen Theodorou <[email protected]>
> wrote:
>
> > Am 16.04.2015 18:41, schrieb Roman Shaposhnik:
> > [...]
> >
> >> Bigtop does not support Windows so that decision for us was an easy one.
> >> We just wrote the gradlew  shell script from scratch and licensed it
> >> as part of the
> >> project.
> >>
> >
> > I see. Yes, that makes things more easy
> >
> >  I am sure the same can be done with the .bat script.
> >>
> >
> > the problem is not the syntax or such for such a .bat script. The problem
> > is programs such as sed and curl, which are normally not available on
> > windows. Just look at for example http://stackoverflow.com/
> > questions/4619088/windows-batch-file-file-download-from-a-url
> >
> > Out of the box windows has imho nothing of that works
> >
> >
> > bye blackdrag
> >
> > --
> > Jochen "blackdrag" Theodorou
> > blog: http://blackdragsview.blogspot.com/
> >
> >
>

Reply via email to