ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27444] New: - problem with <borland> java2iiopParams attribute
Date Thu, 04 Mar 2004 16:58:55 GMT
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


Mime
View raw message