Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 72594 invoked from network); 20 Dec 2001 17:41:23 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Dec 2001 17:41:23 -0000 Received: (qmail 23595 invoked by uid 97); 20 Dec 2001 17:41:17 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 23573 invoked by uid 97); 20 Dec 2001 17:41:16 -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 23562 invoked from network); 20 Dec 2001 17:41:16 -0000 Message-ID: <20011220174115.61929.qmail@web11003.mail.yahoo.com> Date: Thu, 20 Dec 2001 09:41:15 -0800 (PST) From: James Bullington Subject: Re: Perforce Optional Tasks To: Ant Users List In-Reply-To: <000d01c1897e$06493470$0a41a8c0@MERLIN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I placed this line in a batch file that I execute before I call ant. --Jim --- Marcus wrote: > Hi Jim, > > Where in the xml file or in the sys variables? > > thx > -mez > ----- 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: > > __________________________________________________ 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: