Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 5049 invoked by uid 500); 5 Jun 2001 14:30:07 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 5030 invoked from network); 5 Jun 2001 14:30:06 -0000 Message-ID: <55CC58EC7298D311AA1400A0C9F62B5F01D52285@exchange.recruitsoft.com> From: Frederick Lefebvre To: "'ant-user@jakarta.apache.org'" Subject: RE: More issues with Ant and Starteam Date: Tue, 5 Jun 2001 10:30:47 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0EDCC.1C762530" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0EDCC.1C762530 Content-Type: text/plain; charset="iso-8859-1" Hi Patrick, I do not have any answer to your questions but I have a few questions... We are also using Starteam here and I managed last week to get ant accepted as the standart way to precompile, compile and deploy our application(in java). I did not know there was a Starteam task... did you write it yourself? Can you point me to a reference on this? As for your problem with double quotes, did you try using single quotes like this : Thank's Frederick Lefebvre email: flefebvre@recruitsoft.com Software Developer - C2B Team Recruitsoft(Canada) Inc. http://www.recruitsoft.com -----Original Message----- From: O'Hara, Patrick [mailto:patrick.ohara@workscape.com] Sent: Tuesday, June 05, 2001 10:03 AM To: Ant User Mailing List (E-mail) Subject: More issues with Ant and Starteam Since I was unable to figure out the touch issue with the starteam task, I have decided to abandon the task in favor of the command line interface. Ant is complaining about the exec task below. The error I get dose not make much sense: C:\weblogic\CoventryDevelopment\build.xml:90: Whitespace required before attributes. I have determined that the issue is the quotes within the command line. I have tried replacing the \" with the " macro, but I got "Reference to undefined entity". I even tried using "e; just in case. I am wondering if anyone has an example of a command line that has embedded quotes in it? I am using ANT 1.3 on Win2K. Patrick D O'Hara N17 W24222 Riverwood Dr, Suite 330 Waukesha, WI 53188-1162 (262)408-3849 (262)408-3840 Fax ------_=_NextPart_001_01C0EDCC.1C762530 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable More issues with Ant and Starteam
Hi=20 Patrick,
 
        I do not have any = answer to=20 your questions but I have a few questions...
       =20 We are also using Starteam = here and I=20 managed last week to get ant accepted as the standart way to = precompile, compile=20 and deploy our application(in java).  I did not know there was a = Starteam=20 task... did you write it yourself?   Can you point me to a = reference=20 on this?
 
        As for your problem = with=20 double quotes, did you try using single quotes like this = :
<arg=20 line=3D' co -p=20 \"${starteam.username}:${starteam.password}@${starteam.servername}:${sta= rteam.port}/${starteam.projname}/${starteam.viewname}/dev/DeploymentDesc= riptors\"=20 -fs'/>
 
Thank's
 

Frederick Lefebvre
email:=20 flefebvre@recruitsoft.com
Software Developer - C2B=20 Team
Recruitsoft(Canada) Inc.
http://www.recruitsoft.com=20

 
-----Original Message-----
From: O'Hara, Patrick=20 [mailto:patrick.ohara@workscape.com]
Sent: Tuesday, June = 05, 2001=20 10:03 AM
To: Ant User Mailing List = (E-mail)
Subject: More=20 issues with Ant and Starteam

Since I was unable to figure out the = touch issue=20 with the starteam task, I have decided to abandon the task in favor = of the=20 command line interface.  Ant is complaining about the exec task=20 below.

        <exec executable=3D"stcmd" = dir=3D"${build.basedir}">=20
          <arg line=3D" co -p=20 = \"${starteam.username}:${starteam.password}@${starteam.servername}:${sta= rteam.port}/${starteam.projname}/${starteam.viewname}/dev/DeploymentDesc= riptors\"=20 -fs"/>

        </exec>

The error I get dose not make much = sense:=20

        C:\weblogic\CoventryDevelopment\build.xml:90: Whitespace = required=20 before attributes.

I have determined that the issue is = the quotes=20 within the command line.  I have tried replacing the \" with the = &quot; macro, but I got "Reference to undefined entity".  I = even=20 tried using &quote; just in case.  I am wondering if anyone = has an=20 example of a command line that has embedded quotes in it?  I am = using ANT=20 1.3 on Win2K.

Patrick D O'Hara
N17 W24222 Riverwood Dr,
Suite=20 330
Waukesha, WI = 53188-1162=20
(262)408-3849
(262)408-3840 Fax

------_=_NextPart_001_01C0EDCC.1C762530--