Return-Path: Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Delivered-To: mailing list dev@ant.apache.org Received: (qmail 39728 invoked from network); 24 Mar 2003 15:12:29 -0000 Received: from unknown (HELO s1cinohhqexch11.info53.com) (192.152.100.245) by daedalus.apache.org with SMTP; 24 Mar 2003 15:12:29 -0000 Received: by mailint1.info53.com with Internet Mail Service (5.5.2653.19) id ; Mon, 24 Mar 2003 10:12:25 -0500 Message-ID: <41ED4EB3C166D511BAC3009027DE9EBB129886EB@cin098.info53.com> From: "Fathman, Abraham" To: "'dev@ant.apache.org'" Subject: Problem in WebSphere Deploy with Spaces Date: Mon, 24 Mar 2003 10:12:24 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I found that when running an ejbjar if I was in a directory that had a space I would get a series of Unrecognized option: Dev\HostIntegration\lib\AppInterfaceDevTools.jar;C:\applications\anthill\wor k\Continuous_HostIntegration\10. because my directory structure was "C:\applications\anthill\work\Continuous_HostIntegration\10 Dev\HostIntegration" and I was including lib\*.jar in my classpath. Turns out the problem was that the classpath didn't have quotes around it in the buildWebsphereJar method. Here is a new line 582-584 of apache-ant-1.5.2\src\main\org\apache\tools\ant\taskdefs\optional\ejb\Websphe reDeploymentTool: if (getCombinedClasspath() != null && getCombinedClasspath().toString().length() > 0) { args += " -cp \"" + getCombinedClasspath() + "\""; } Abraham Fathman eBusiness Architecture 513-534-4607