Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 31001 invoked from network); 6 Dec 2001 16:51:01 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Dec 2001 16:51:01 -0000 Received: (qmail 24665 invoked by uid 97); 6 Dec 2001 16:49:42 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 24631 invoked by uid 97); 6 Dec 2001 16:49:41 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 24579 invoked from network); 6 Dec 2001 16:49:40 -0000 Reply-To: From: "Ed Mangual" To: "'Ant Users List'" Subject: RE: Quoting issue Date: Thu, 6 Dec 2001 11:46:16 -0500 Message-ID: <000001c17e75$8625eb70$1f1e1c0a@thunder> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C17E4B.9D4FE370" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <000001c17de8$d4bceb40$241f1c0a@typhoon> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0001_01C17E4B.9D4FE370 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Stephan, After changing my nshome to c\:/Progra~1/Netscape/Users/default in my user.properties , changed the in my build.xml and using arg value instead this is what I get BUILD FAILED [echo] Building Applet Bridge... [exec] Current OS is Windows NT [exec] dubuild appletBridge.cab . /D appletBridge /I *.class /I *.properties [exec] [exec] Microsoft (R) Distribution Unit Builder - Version 5.00.3229 [exec] Copyright (C) Microsoft Corporation 1997-1998. All rights reserved. [exec] [exec] Current OS is Windows NT [exec] signcode -j javasign.dll -n "JavaScript to Applet Bridge" -jp LowX -spc c:/certs/fics.spc -v c:/certs/fics.pvk appletBridge.cab [exec] Warning: This file is signed, but not timestamped. [exec] Succeeded [exec] Current OS is Windows NT [exec] signtool -dc:/Progra~1/Netscape/Users/default -c9 "-kS1 Corp's VeriSign, Inc. ID" --verbosity -1 -Z appletBridge.jar -e.class -e.properties . BUILD FAILED c:\projects\afi54\build\signcode.xml:71: Can't handle single and double quotes in same argument at org.apache.tools.ant.types.Commandline.quoteArgument(Compiled Code) at org.apache.tools.ant.types.Commandline.toString(Compiled Code) at org.apache.tools.ant.taskdefs.Execute$Java11CommandLauncher.exec(Compile d Code) at org.apache.tools.ant.taskdefs.Execute$CommandLauncherProxy.exec(Execute. java:605) at org.apache.tools.ant.taskdefs.Execute$WinNTCommandLauncher.exec(Execute. java:650) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:384) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(Compiled Code) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:279) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:177) at org.apache.tools.ant.Task.perform(Task.java:217) at org.apache.tools.ant.Target.execute(Compiled Code) at org.apache.tools.ant.Target.performTasks(Target.java:202) at org.apache.tools.ant.Project.executeTarget(Compiled Code) at org.apache.tools.ant.Project.executeTargets(Compiled Code) at org.apache.tools.ant.Main.runBuild(Compiled Code) at org.apache.tools.ant.Main.start(Compiled Code) at org.apache.tools.ant.Main.main(Main.java:176) I created a batch file that does the this particular task for me, but I would like to find out why I'm running into this problem. Thanks Ed -----Original Message----- From: Ed Mangual [mailto:ed.mangual@s1.com] Sent: Wednesday, December 05, 2001 6:59 PM To: ed.mangual@s1.com; ant-user@jakarta.apache.org Subject: RE: Quoting issue Thanks Frank Tried the following, but still got the same error as in my prior email. Ed Mangual SCM Architect Business Banking Division S1 Corporation, Charlotte 704-423-2530 mailto:ed.mangual@s1.com -----Original Message----- From: Ed Mangual [mailto:ed.mangual@s1.com] Sent: Wednesday, December 05, 2001 6:14 PM To: ant-user@jakarta.apache.org Subject: FW: Quoting issue After changing my nshome to c\:/Progra~1/Netscape/Users/default and I get a little further but I get the following error: BUILD FAILED [echo] Building Applet Bridge... [exec] Current OS is Windows NT [exec] dubuild appletBridge.cab . /D appletBridge /I *.class /I *.properties [exec] [exec] Microsoft (R) Distribution Unit Builder - Version 5.00.3229 [exec] Copyright (C) Microsoft Corporation 1997-1998. All rights reserved. [exec] [exec] Current OS is Windows NT [exec] signcode -j javasign.dll -n "JavaScript to Applet Bridge" -jp LowX -spc c:/certs/fics.spc -v c:/certs/fics.pvk appletBridge.cab [exec] Warning: This file is signed, but not timestamped. [exec] Succeeded [exec] Current OS is Windows NT [exec] signtool -dc:/Progra~1/Netscape/Users/default -c9 "-kS1 Corp's VeriSign, Inc. ID" --verbosity -1 -Z appletBridge.jar -e.class -e.properties . BUILD FAILED c:\projects\afi54\build\signcode.xml:71: Can't handle single and double quotes in same argument at org.apache.tools.ant.types.Commandline.quoteArgument(Compiled Code) at org.apache.tools.ant.types.Commandline.toString(Compiled Code) at org.apache.tools.ant.taskdefs.Execute$Java11CommandLauncher.exec(Compile d Code) at org.apache.tools.ant.taskdefs.Execute$CommandLauncherProxy.exec(Execute. java:605) at org.apache.tools.ant.taskdefs.Execute$WinNTCommandLauncher.exec(Execute. java:650) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:384) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(Compiled Code) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:279) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:177) at org.apache.tools.ant.Task.perform(Task.java:217) at org.apache.tools.ant.Target.execute(Compiled Code) at org.apache.tools.ant.Target.performTasks(Target.java:202) at org.apache.tools.ant.Project.executeTarget(Compiled Code) at org.apache.tools.ant.Project.executeTargets(Compiled Code) at org.apache.tools.ant.Main.runBuild(Compiled Code) at org.apache.tools.ant.Main.start(Compiled Code) at org.apache.tools.ant.Main.main(Main.java:176) Kind regards, Ed Mangual SCM Architect Business Banking Division S1 Corporation, Charlotte 704-423-2530 mailto:ed.mangual@s1.com -----Original Message----- From: Ed Mangual [mailto:ed.mangual@s1.com] Sent: Wednesday, December 05, 2001 4:48 PM To: 'ant-user@jakarta.apache.org' Subject: Quoting issue How do you escape apostrophes? I having a small issue running exec, I have the following: user.properties snippet nshome=c\:/Program Files/Netscape/Users/default build.xml snippet error: c:\projects\afi54\build\signcode.xml:72: unbalanced quotes in -dc:/Program Files/Netscape/Users/default -c9 -kS1 Corp's VeriSign, Inc. ID --verbosity -1 -Z appletBridge.jar -e.class -e.properties . at org.apache.tools.ant.types.Commandline.translateCommandline(Compiled Code) at org.apache.tools.ant.types.Commandline$Argument.setLine(Commandline.java :127) at org.apache.tools.ant.IntrospectionHelper$5.set(Compiled Code) at org.apache.tools.ant.IntrospectionHelper.setAttribute(Compiled Code) at org.apache.tools.ant.ProjectHelper.configure(Compiled Code) at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(Compiled Code) at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(Compiled Code) at org.apache.tools.ant.Task.maybeConfigure(Task.java:178) at org.apache.tools.ant.Task.perform(Task.java:216) at org.apache.tools.ant.Target.execute(Compiled Code) at org.apache.tools.ant.Target.performTasks(Target.java:202) at org.apache.tools.ant.Project.executeTarget(Compiled Code) at org.apache.tools.ant.Project.executeTargets(Compiled Code) at org.apache.tools.ant.Main.runBuild(Compiled Code) at org.apache.tools.ant.Main.start(Compiled Code) at org.apache.tools.ant.Main.main(Main.java:176) I'm using ant 1.4.1, w2k sp2. Any ideas? ------=_NextPart_000_0001_01C17E4B.9D4FE370--