Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 54577 invoked from network); 24 Jan 2002 02:04:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 24 Jan 2002 02:04:49 -0000 Received: (qmail 18237 invoked by uid 97); 24 Jan 2002 02:04:39 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 18221 invoked by uid 97); 24 Jan 2002 02:04:39 -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 5231 invoked from network); 23 Jan 2002 19:20:48 -0000 X-Authentication-Warning: jungle.owlnet.rice.edu: sirstevo owned process doing -bs Date: Wed, 23 Jan 2002 13:20:39 -0600 (CST) From: Stephen Charles Huey To: Subject: Ant config? Message-ID: 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 Okay, I've been trying to get Netcomponent's optional ftp task to work, and I went over to one of there mailing lists, but someone was pretty sure my problem was just an Ant config one. He was a Linux user, and threw the simple ftp task tag block from my buildfile.xml into some of his code, and it successfully attempted to open a connection to my server. So, we've established that I didn't make an error there. However, I've posted on here lately, and I've tried all the suggestions, but still nothing works. I successfully set ANT_HOME and JAVA_HOME (for some reason, I have to reset JAVA_HOME every time Windows boots, but not ANT_HOME) every time, and I don't have any spaces in the paths to those locations. None at all. I've never been able to set the PATH like it says in the Ant manual (the 3rd instruction of what to set), but I've never needed it to use Ant to compile some Java files. (It always generates the error "Too many parameters" when I try to do it--I've looked that up and responded to suggestions by modifying SET statements in my autoexec.bat file to make sure that they're enclosed by " " so that the spaces won't affect anything). So basically, I downloaded NetComponents' stuff (including the JAR file necessary), and I've tried all sorts of different things--like putting the JAR file in my ant\lib directory, making sure that that's in the CLASSPATH (I'm in WinME...I'm pretty sure that I'm setting it right even though it's labeled "PATH" in that System Configuration Utility), taking it out and putting the original netcomponents folder in the CLASSPATH, etc...but still, it generates an error when I try to use an XML buildfile containing that ftp task error. Please help! The last part of the error message with -debug turned on looks like this: BUILD FAILED C:\antfiles\buildfile.xml:20: Unexpected element "ftp" at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:135) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav a:85) at org.apache.tools.ant.Main.runBuild(Main.java:439) at org.apache.tools.ant.Main.start(Main.java:153) at org.apache.tools.ant.Main.main(Main.java:176) Total time: 0 seconds C:\> -- To unsubscribe, e-mail: For additional commands, e-mail: