ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Res Pons" <pon...@hotmail.com>
Subject RE: AW: Exec Task
Date Fri, 10 Mar 2006 18:16:09 GMT
Great & thank you for your help.  I already use the javasvn.jar files and 
svn ant tasks to do this and I had checked these jar files into each project 
locally to access them easier for repo transactions. However, I was asked to 
create my own top level build project and not to pollute the developers' 
projects with my build stuff.  But since I know everyone has svn cli on 
their desk top, I'm testing to switch to ant exec to do this.

So then here's another question: Could I still use ant svn tasks 
cross-project wise? Let's say I touched the build.number file in 3 different 
& separate projects and since I'm pulling out all my build stuff out of 
their projects...I would like to be able to, from my master build project to 
make repository calls into their projects and check in the files.

Thanks

----Original Message Follows----
From: <Jan.Materne@rzf.fin-nrw.de>
Reply-To: "Ant Users List" <user@ant.apache.org>
To: <user@ant.apache.org>
Subject: AW: Exec Task
Date: Fri, 10 Mar 2006 08:27:47 +0100
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by 
bay0-mc4-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 
Mar 2006 23:28:28 -0800
Received: (qmail 7613 invoked by uid 500); 10 Mar 2006 07:28:27 -0000
Received: (qmail 7577 invoked by uid 99); 10 Mar 2006 07:28:27 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)    by 
apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2006 23:28:27 -0800
Received: pass (asf.osuosl.org: local policy)
Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66)   
  by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2006 23:28:25 -0800
Received: from z011100.bk.fin.local (z011104.bk.fin.local 
[172.18.101.140])by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id 
k2A7S2ah009394for <user@ant.apache.org>; Fri, 10 Mar 2006 08:28:02 +0100
Received: from z011134.bk.fin.local ([130.11.7.134]) by z011100.bk.fin.local 
with Microsoft SMTPSVC(6.0.3790.0); Fri, 10 Mar 2006 08:27:48 +0100
X-Message-Info: JGTYoYF78jEhL7GgYM7vAWb22TYu9/+8fyaZhDIQMsc=
Mailing-List: contact user-help@ant.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
List-Help: <mailto:user-help@ant.apache.org>
List-Post: <mailto:user@ant.apache.org>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list user@ant.apache.org
X-ASF-Spam-Status: No, hits=1.4 required=10.0tests=INFO_TLD,NO_REAL_NAME
X-Spam-Check-By: apache.org
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Exec Task
Thread-Index: AcZECeSTllntKtqCQw+HVjB/aezt3gACby4Q
X-OriginalArrivalTime: 10 Mar 2006 07:27:48.0529 (UTC) 
FILETIME=[21E46A10:01C64414]
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: user-return-55138-pons32=hotmail.com@ant.apache.org

 >How do I pass arguments with quotation marks intact to the
 >exec task?  I am having difficulty passing double quotes for
 >comments to the svn ci -m "comment" filename

xml entities?   &quot;


 >		<exec executable="svn.exe" dir="${build.dir}" >
 >			<arg value="ci -m ${commit.info}
 >build.number" />

Mmh ... really  <arg value>?? Multiple options need a <arg line>
But here it would be better to use multiple <arg value>s
   <arg value="ci"/>
   <arg value="-m"/>
   <arg value="${commit.info}"/>
   <arg value="build.number"/>

Have you tried the available svn tasks? Mostly the tasks provided by the
svn team...


Jan

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

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar  get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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


Mime
View raw message