Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 13721 invoked from network); 17 Jan 2001 20:42:48 -0000 Received: from www27.gmx.net (213.165.64.77) by h31.sny.collab.net with SMTP; 17 Jan 2001 20:42:48 -0000 Received: (qmail 3422 invoked by uid 0); 17 Jan 2001 20:42:25 -0000 Date: Wed, 17 Jan 2001 21:42:25 +0100 (MET) From: Frank =?ISO-8859-1?Q?Heinst=E4tter?= To: ant-user@jakarta.apache.org MIME-Version: 1.0 References: <20010117200406.59996.qmail@web11208.mail.yahoo.com> Subject: Re: ftp task... please pardon the redundancy X-Priority: 3 (Normal) X-Authenticated-Sender: #0007352792@gmx.net X-Authenticated-IP: [149.225.48.253] Message-ID: <3367.979764145@www27.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi Craig! Obviously it was not documented. This is the way I solved it: 1) download NetComponents.jar (NetComponents 1.3.8) from http://www.savarese.org/oro/ and add it to your CLASSPATH 2) add a global task such as this to your buildfile: I'm not sure why I had to do 2), as this is included in defaults.properties. Hope I could help. Cheers, Frank > when I try: > > > > > > I get the following: > build.xml:111: Could not create task of type: ftp. > 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 optional.jar file is in my ANT_HOME. I'm using > ant1.2 and jdk1.1.8... hmmm is that my problem? Should > I use jdk1.3? And if so, how do I use jdk1.3 to > execute ant and then jdk1.1.8 to compile my code? -- Sent through GMX FreeMail - http://www.gmx.net