Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 10825 invoked by uid 500); 28 Jun 2001 10:03:38 -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 10806 invoked from network); 28 Jun 2001 10:03:36 -0000 Message-ID: <502326F46B08D41191C400508B6D70C10235C272@nvision01.rubus.com> From: Les Hughes To: "'ant-user@jakarta.apache.org'" Subject: RE: P4 Optional Tasks Date: Thu, 28 Jun 2001 09:58:13 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N The p4 tasks are taskdef'd as not Try (all lower case). Failing that, run ant with the -verbose or -debug switches and post the results. Bye, Les > -----Original Message----- > From: Kazandjian Erik [mailto:Erik.Kazandjian@siemens.atea.be] > Sent: 28 June 2001 07:23 > To: 'Ant User' > Subject: P4 Optional Tasks > > > Hi, > > I'm trying to use P4Sync in my ant script to synchronise all > my source files > before starting to compile. I already downloaded the > optional.jar and put it > in my lib directory under my ANT_HOME. However every time > when I try to call > P4Sync I get the following message > > /home/erik/square/src/build.xml:25: Could not create task of > type: P4Sync. > Common solutions are to use taskdef to declare your task, or, > if this is an > optional task, to put the optional.jar in the lib directory > of your ant > installation (ANT_HOME). > > The complete P4 command I call is the following > > > > Does anybosy know what I'm doing wrong > > Erik >