[
https://issues.apache.org/jira/browse/PROTON-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13585836#comment-13585836
]
Keith Wall edited comment on PROTON-249 at 2/25/13 12:56 PM:
-------------------------------------------------------------
I've successfully reproduced Paul's problem.
The problem is the handling of long command lines under the Windows OS. It
seems Windows looses a byte at every 8192 boundary within the command line --
effectively limiting command lines to less than 8192 bytes. Our command line
is ~11,000 characters long.
We are currently testing a workaround which will use javac's @ flag to specify
a file containing a list of source files, thus avoiding the requirement for
long command lines. (A defect http://public.kitware.com/Bug/view.php?id=13028
was raised against Cmake's UseJava module but unfortunately this never got
assigned and has been subsequently closed without action).
was (Author: k-wall):
I've successfully reproduced Paul's problem.
The problem is the handling of long command lines under the Windows OS. It
seems Windows looses a byte at every 8192 boundary within the command line --
effectively limiting command lines to less than 8192 bytes. Our command line
is ~11,000 characters long.
We are currently testing a workaround which will use javac's @ flag to specify
a file containing a list of source files, thus avoiding the requirement for
long command lines. (A defect http://public.kitware.com/Bug/view.php?id=13028
was raised against Cmake's UseJava module but unfortunately this never got
assigned).
> Build fails on Win8 / VS 2012 with path error
> ---------------------------------------------
>
> Key: PROTON-249
> URL: https://issues.apache.org/jira/browse/PROTON-249
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-j
> Affects Versions: 0.4
> Environment: Windows 8 64 bit w/ cmake v. 2.8.10.12 and Visual Studio
> 2012
> Reporter: Paul O'Fallon
> Assignee: Keith Wall
>
> The build in Visual Studio generates one error, which is the following (from
> the build output):
> 3> Building Java objects for proton-api.jar
> 3> javac: file not found:
> C:\qpid-proton-0.4\proton-j\proton-api\src\main\java\org\apache\qpi\proton\driver\Connector.java
> 3> Usage: javac <options> <source files>
> Note that the path is "qpi", not "qpid"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira