Jump to content
  • Advertisement
Sign in to follow this  
Bobby_D

[java] Creating a binary distribution of Apache Ant

This topic is 3791 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post


Link to post
Share on other sites
Advertisement

This topic is 3791 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!