Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 1240 invoked from network); 19 Oct 2006 07:14:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2006 07:14:02 -0000 Received: (qmail 474 invoked by uid 500); 19 Oct 2006 07:13:56 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 430 invoked by uid 500); 19 Oct 2006 07:13:56 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 419 invoked by uid 99); 19 Oct 2006 07:13:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2006 00:13:55 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: 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, 19 Oct 2006 00:13:54 -0700 Received: from z011100.bk.fin.local (z011104.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.13.8/8.13.8) with ESMTP id k9J7DO03013738 for ; Thu, 19 Oct 2006 09:13:30 +0200 Received: from z011134.bk.fin.local ([130.11.7.134]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Thu, 19 Oct 2006 09:13:30 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: Task help Date: Thu, 19 Oct 2006 09:13:30 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Task help Thread-Index: Acby4oS6UaAAY4rzRIWi7ZKaQHM97wAFDZEQABTE1uAAAFlkAAAAak7g From: To: X-OriginalArrivalTime: 19 Oct 2006 07:13:30.0927 (UTC) FILETIME=[14D6FBF0:01C6F34E] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can use external tasks in the way of Ant until 1.5 (which is and = will supported in the feature too): * place the jar in ${user.home}/.ant/lib, so Ant adds it to its = classpath * declare the tasks: - use for the mapping of taskname-classname + for each task + for a bundle of tasks using properties-file Since Ant 1.6 we have "Antlibs". Same here: * place the jar in ${user.home}/.ant/lib, so Ant adds it to its = classpath * declare the tasks - use for the mapping of taskname-classname + for each task =20 + for a bundle of tasks using properties-file + NEW: for a bundle of tasks using xml-file - NEW: use of xml namespaces and "antlib:" protocol for a bundle of = tasks using the xml file (antlib.xml) I'll put a note into the manual at "Using Ant :: (NEW) Use of external = tasks" Jan >-----Urspr=FCngliche Nachricht----- >Von: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de]=20 >Gesendet: Donnerstag, 19. Oktober 2006 08:56 >An: Ant Users List >Betreff: RE: Task help > > >sorry, it's enough to reference the namespace if=20 >antcontrib.jar is in ANT_HOME/lib directory > >so you could either put antcontrib in its own namespace =3D > > > >and > >... > > >or without ancontrib in own namepsace =3D > > > > > >and > > >... ><:for> > > >Regards, Gilbert >=20 > >-----Original Message----- >From: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de] >Sent: Thursday, October 19, 2006 8:51 AM >To: Ant Users List >Subject: RE: Task help > >=20 >Hi, > >you forgot to reference the namespace =3D > > > >beside =3D > > >to make =3D > > >... > > >work. > >also i would use antcontrib 1.0b2 instead of the old 0.6 > > >Regards, Gilbert > > > >-----Original Message----- >From: bill/wilandra [mailto:bill@wilandra.com] >Sent: Wednesday, October 18, 2006 10:49 PM >To: 'Ant Users List' >Subject: RE: Task help > >Try this taskdef instead and see if it helps: > > >HTH Bill=20 > >-----Original Message----- >From: Muthyala, Sunil [mailto:Sunil.Muthyala@aig.com] >Sent: Wednesday, October 18, 2006 11:23 AM >To: 'Ant Users List' >Subject: RE: Task help > >Thanks to Jan and Steve Loughran. > >I tried Jan's suggestion, I get an error > >I downloaded the Ant-contrib-0.6.jar and dropped it in ant/lib=20 >directory and included the in build.xml. > >Here is the build.xml > >---- > > > > > > > > @{file} > > > > > > ssdir=3D"V:\Job_Tracking\ANT" > serverPath=3D"V:\Job_Tracking" > login=3D"***,***" > vsspath=3D"${list}"/> > > > >------ >This is the error I get > >C:\apache-ant-1.6.5\bin>ant -f C:\apache-ant-1.6.5\build_AC.xml >Buildfile: C:\apache-ant-1.6.5\build_AC.xml > >BUILD FAILED >C:\apache-ant-1.6.5\build_AC.xml:6: The prefix "ac" for=20 >element "ac:for" >is >not bound. > >Total time: 0 seconds > > >What mistake I am doing? > >-thanks >Sunil > >-----Original Message----- >From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] >Sent: Tuesday, October 17, 2006 10:19 AM >To: user@ant.apache.org >Subject: AW: Task help > >>1. How to unzip a folder on a remote server (Windows NT),=20 >>I am unable >>to nest it inside of FTP. >> >>I am zipping a folder on local machine and FTP'ing it to the server,=20 >>but I need to unzip it in tmp folder and move the unzipped folder to=20 >>the right path on the server. Does REXEC work for windows box? > >Try - its more secure ... > > > >>2. I want to read the txt or doc which has full path and=20 >>file names of >>files to be pulled from VSS. >> >>I need to feed the contents of this txt file as input to the=20 >vsspath, I > >>tried using LOADFILE and saving it as property, but it reads=20 >only first > >>line and not the subsequent. Does ANT have a for loop kind of command=20 >>or any other to this kind of job. > > > should load the whole file into a property. >Ant-Contrib has a which you can feed with that value. > > > > > @{file} > > > > > >Jan > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 >additional commands, e-mail: user-help@ant.apache.org > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 >additional commands, e-mail: user-help@ant.apache.org > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 >additional commands, e-mail: user-help@ant.apache.org > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 >additional commands, e-mail: user-help@ant.apache.org > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 >additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org