[Yanel-dev] Problem building binary version for Windows

Gary Jones gary.jones at wyona.com
Wed Jan 14 12:51:24 CET 2009


Guillaume Déflache wrote:
> Michael Wechner schrieb:
>> I am currently struggling with building a binary version for Yanel
>> (http://yanel.wyona.org/create-windows-installer.html)
>>
>> whereas I am dealing with two problems
>>
>> 1)  During the build process the javadoc generation makes trouble,
>> whereas on the second build it's fine strangely, whereas this
>> problem only occurs on Windows
>
> The only reason it works the second time is because the javadoc
> generation is skipped if the javadoc build directory already exists: I
> changed this in r40939 to check for the existence of the
> index-all.html file here, to be sure we try to regenerate javadoc if
> it fails at some point (I guess the index is done last).
>
> It only occurs on Windows because this is a problem with path lengths:
> they must not be longer that ~260 characters or so, even on a NTFS
> filesystem, at least under Windows 2000 where I tested (it is probably
> the same with XP, no idea about Vista).

Yes, MAX_PATH is 260 on Windows, but there may be a workaround. See
http://msdn.microsoft.com/en-us/library/aa365247.aspx

-- 
Gary


More information about the Yanel-development mailing list