[Yanel-dev] Problem building binary version for Windows

Michael Wechner michael.wechner at wyona.com
Thu Nov 20 09:57:23 CET 2008


Gary Jones schrieb:
> Gary Jones <gary.jones at wyona.com> writes:
>
> I discovered another problem (?) which is that if one does not have
> svn credentials cached from a previous session the batch file seems
> not to allow them to be entered, which causes the procedure to seem to
> hang. It took me a *long* while to discover this because when it got
> to the authentication stage the process seemed to be busy, so I
> assumed it was doing whatever stuff it was supposed to be doing and
> left it going. For an hour or two.
>
> Anyway, having realised and then manually connected, svn cached my
> credentials so the batch process could be run again and worked
> "correctly".
>   

ok, maybe it's best to make a note to the documentation about this, 
because I am afraid it's hard to catch this otherwise, but
to be honest I not fully understand how this can happen except for the 
following two cases:

- Either you have deleted your credentials locally after step (2) (see 
http://yanel.wyona.org/create-windows-installer.html)
- Or you used/downloaded a source snapshot and never actually did a SVN 
checkout

Apart from that I still think we should switch to Java SVN ;-)
> I got the following, which I guess was what you experienced?
>
> BUILD FAILED
> D:\projects\yanel\trunk\build\source-snapshots\wyona-yanel-SNAPSHOT-1.0-dev-r40052-src\src\build\targets\webapp\webapp.xml:128: The following error
> occurred
> while executing this line:
> D:\projects\yanel\trunk\build\source-snapshots\wyona-yanel-SNAPSHOT-1.0-dev-r40052-src\src\build\targets\javadoc.xml:11: The following error
> occurred while executing this line:
> D:\projects\yanel\trunk\build\source-snapshots\wyona-yanel-SNAPSHOT-1.0-dev-r40052-src\src\build\targets\javadoc.xml:21: Javadoc failed:
> java.io.IOException:
>  CreateProcess: C:\Programme\Develop\Java\1.5se\bin\javadoc.exe -d
> D:\projects\yanel\trunk\build\source-snapshots\wyona-yanel-SNAPSHOT-1.0-dev-r40052-src\build\javadoc -classpath
> "D:\projects\yanel\trunk\build\source-snapshots\wyona-yanel-SNAPSHOT-1.0-dev-r40052-src\build\webapps\yanel\WEB-INF\classes;D:\projects\yanel\trunk\build\source-snapshots\wyona-yanel-SNAPSHOT-1.0-dev-r40052-src\build\webapps\yanel\WEB-INF\lib\apache-jakarta-commons-discovery-0.2.jar;D:\projects\yanel\trunk\build\source-snapshots\wyona-yanel-SNAPSHOT-1.0-dev-r40052-src\build\webapps\yanel\WEB-INF\lib\apache-jakarta-commons-id-0.1-dev-lcr357257.jar;D:\projects\yanel\trunk\build\source-snapshots\wyona-yanel-SNAPSHOT-1.0-dev-r40052-src\build\webapps\yanel\WEB-INF\lib\apache-jakarta-commons-io-1.2.jar;D:\projects\yanel\trunk\build\source-snapshots\wyona-yanel-SNAPSHOT-1.0-dev-r40052-src\build\webapps\yanel\WEB-INF\lib\apache-jakarta-commons-logging-1.0.4.jar;D:\projects\yanel\trunk\build\source-snapshots\wyona-yanel-SNö
>
>   

yes

> I didn't have time to investigate further (too busy watching England
> beating Germany 2-1 :-) but will look into it tonight or the coming
> weekend. According to my Google finds, it might be that javadoc.exe is
> not in the PATH.
>   

ok, will try to check that as well.

The strange thing is, that if running it (I mean build bin-snapshot) a 
second time, then it is working
> One question: what is that final entry in the classpath? It looks very
> odd, but maybe it was something I did incorrectly copy/pasting the
> output, however look at
> http://www.mail-archive.com/ant-user@jakarta.apache.org/msg22606.html
> where someone says "the classpath in the error stack is cut short by
> that question mark" - maybe the question mark is some character that
> does not show given his locale. I'm wondering if the classpath is too
> long for Windows to handle, but as I say I will fiddle around with it
> later on.
>   

I also receive a strange character, but it seems to me that is rather a 
problem re display.

Thanks

Michi
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>   



More information about the Yanel-development mailing list