dev@woodstock.java.net

Re: Build gotchas and my first fix (as an ex-employee)

From: Bob Yennaco <Bob.Yennaco_at_Sun.COM>
Date: Thu, 02 Aug 2007 10:37:38 -0400

Lilianne E. Blaze wrote:
> Sean Comerford wrote:
>
>> Yeah, thanks but ideally the build script should really account for Windows
>> paths
>>
> Agree. Ideally, it should be handled transparently by Ant.
>
>
>> that may contain spaces or you should at least be noted in the getting
>> started doc.
>>
>>
> Strongly agree.
>
>> I shouldn't have to jump through hoops and/or install extra software just to
>> build on the most widely used OS out there (like it or not).
>>
> Yeah, but in the long run you'll save yourself huge amount of time by
> simply avoiding spaces.
>
General advice that everyone should take seriously for all platforms,
not just Windows. Forgetting the woodstock build for the moment, you
can never guarantee the environment in which code is being built. You
never know how many levels of shells a path is passed thru before it
gets to the the compile command, and with each shell doing it's own
interpretation/escaping of quoted characters, you cannot know how many
quotes and backslashes you need to wrap around a path with embedded spaces.

>> Respectfully, Sean "Windows Developers are People Too" Comerford

Make your life easier by installing Cygwin. ;-)