Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 74045 invoked from network); 20 Dec 2001 17:42:22 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Dec 2001 17:42:22 -0000 Received: (qmail 25055 invoked by uid 97); 20 Dec 2001 17:42:15 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 25025 invoked by uid 97); 20 Dec 2001 17:42:14 -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 25014 invoked from network); 20 Dec 2001 17:42:14 -0000 Message-ID: <001101c1897e$760cf5d0$0a41a8c0@MERLIN> From: "Marcus" To: "Ant Users List" References: <20011220173736.61200.qmail@web11003.mail.yahoo.com> Subject: Re: Perforce Optional Tasks Date: Thu, 20 Dec 2001 09:47:58 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Jim, I do that and now I get: $ ant -buildfile run_build.xml init Buildfile: run_build.xml init: [echo] syncing BUILD FAILED p:\cpdev\main\src\run_build.xml:29: Could not create task of type: p4Sync. Commo n 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). Total time: 0 seconds ----- Original Message ----- From: "James Bullington" To: "Ant Users List" Sent: Thursday, December 20, 2001 9:37 AM Subject: Re: Perforce Optional Tasks > Did you remember to put these files in your class path? When I first > started to use optional.jar, this was my mistake. > > i.e. you need: > > CLASSPATH=%CLASSPATH%;/ant/lib/optional.jar;/ant/lib/oro.jar > > Hope this helps, > Jim > > --- Marcus wrote: > > I have put in the optional.jar and the oro.jar file in /ant/lib and I > > still get: > > BUILD FAILED > > > > p:\cpdev\main\src\run_build.xml:23: Could not create task of type: > > classpath. Co > > mmon solutions are to use taskdef to declare your task, or, if this > > is an option > > al task, to put the optional.jar in the lib directory of your ant > > installation ( > > ANT_HOME). > > at > > org.apache.tools.ant.UnknownElement.makeTask(UnknownElement.java:153) > > > > at > > org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav > > a:83) > > at org.apache.tools.ant.Task.perform(Task.java:216) > > at org.apache.tools.ant.Target.execute(Target.java:184) > > at org.apache.tools.ant.Target.performTasks(Target.java:202) > > at > > org.apache.tools.ant.Project.executeTarget(Project.java:601) > > at > > org.apache.tools.ant.Project.executeTargets(Project.java:560) > > at org.apache.tools.ant.Main.runBuild(Main.java:454) > > at org.apache.tools.ant.Main.start(Main.java:153) > > at org.apache.tools.ant.Main.main(Main.java:176) > > > > Thanks > > Marcus > > > > > __________________________________________________ > Do You Yahoo!? > Check out Yahoo! Shopping and Yahoo! Auctions for all of > your unique holiday gifts! Buy at http://shopping.yahoo.com > or bid at http://auctions.yahoo.com > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: