[Yanel-dev] Problem building binary version for Windows

Gary Jones gary.jones at wyona.com
Thu Nov 20 09:27:23 CET 2008


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".

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ö

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.

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.


More information about the Yanel-development mailing list