[java] Creating a binary distribution of Apache Ant

Started by
0 comments, last by jbadams 16 years, 3 months ago
Hey all: I'm currently trying to build a binary distribution of Ant, and I'm running into a problem. I've visited the Ant website, and currently I am having a Buildfile error. Specifically it's this: ant.bat //I called this in windows Command Prompt Buildfile: build.xml does not exist! // Build aborts here I have no idea what goes into making build.xml, and I can't find any documentation on making a build.xml for building Ant. If I'm not mistaken, the .xml file is needed to tell Ant how to build itself, or at least where to find resources to make its binary distrabution. Pardon me if I'm talking in circles; while I understand xml and it's format, I no very little about Ant, Apache, or Java. If further explanation or clarification is needed, please let me know and I'll do what I can to help. Peace. *************UPDATE*************** I've found a template build.xml file, but it's mainly now just trying different values for variables. Here's build.xml: <?xml version="1.0"?> <project name="Ant test project" default="build" basedir="."> <target name="build" > <javac srcdir="." destdir="C:/antbin" debug="true" includes="**/*.java" /> </target> </project> 1) I'm not sure if javac srcdir is where Ant is getting resources from Java's JDK. 2) C:\antbin is where I want the binary distribution to go when it's made. [Edited by - Bobby_D on January 8, 2008 6:29:20 AM]
Advertisement
Closed at user request.

- Jason Astle-Adams

This topic is closed to new replies.

Advertisement