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 21298] New: - Nested websphere element for ejbjar does not support spaces in file name.
Date Thu, 03 Jul 2003 02:45:33 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=21298>.
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=21298

Nested websphere element for ejbjar does not support spaces in file name.

           Summary: Nested websphere element for ejbjar does not support
                    spaces in file name.
           Product: Ant
           Version: 1.5.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: leeca@pnambic.com


The nested <websphere/> element for the <ejbjar/> task does not support spaces

in any of the ejbdeploy filename arguments (source, tempdir, or destination).  
The arguments are concatenated into a string, and the string is added in a 
single arguments.setLine().  [..optional.ejb.WebsphereDeploymentTool/Line 611].

A reasonable fix is to replace the line above with the following filename 
sensitive actions:

	javaTask.createArg().setValue(sourceJar.getPath());
	javaTask.createArg().setValue(tempdir);
	javaTask.createArg().setValue(destJar.getPath());
	javaTask.createArg().setLine(getOptions());

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


Mime
View raw message