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 2003/07/03 04:45:33 UTC

DO NOT REPLY [Bug 21298] New: - Nested websphere element for ejbjar does not support spaces in file name.

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