You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/03/04 17:58:55 UTC

DO NOT REPLY [Bug 27444] New: - problem with java2iiopParams attribute

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27444>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27444

problem with <borland> java2iiopParams attribute

           Summary: problem with <borland> java2iiopParams attribute
           Product: Ant
           Version: 1.6.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: David.LeRoy@net-linx.com


There is a problem with the java2iiopParams attribute.  If you need to specify 
more than one parameter, or if you need to include a space (e.g. -VBJjavavm 
c:\some\java) it does not work.

The offending code in the buildBorlandStubs() method is:

        if (java2iioparams != null) {
            log("additional  " + java2iioparams + " to java2iiop ", 0);
            commandline.createArgument().setValue(java2iioparams);
        }


I made the following change and it corrected the problem:

        if (java2iioparams != null) {
            log("additional  " + java2iioparams + " to java2iiop ", 0);
            StringTokenizer tokens = new StringTokenizer(java2iioparams);
            while (tokens.hasMoreTokens()) {
                commandline.createArgument().setValue(tokens.nextToken());
            }
        }

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org