Search Discussions

233 discussions - 813 posts

  • Hi, A fellow here at my work seems to think it's desirable (best practice) that all build files are named simply "build.xml". And hence that they'd have to be stored in appropriately named ...
    Patricia WattPatricia Watt
    Nov 26, 2002 at 4:38 pm
    Nov 27, 2002 at 10:08 am
  • FYI, Ant is featured in Out-of-the-Box 1.0, a distribution of Open Source projects. We wrote over 23,000 lines of Ant scripts to automatically install, configure, and integrate over 50 Open Source ...
    Eric WeidnerEric Weidner
    Nov 20, 2002 at 7:31 am
    Nov 22, 2002 at 5:13 pm
  • Hello All, I have a problem using war taks. This is the error i am getting : D:\testweb\build.xml:13: Class org.apache.tools.ant.taskdefs.War doesn't support the "destfile" attribute This is my ...
    Pavan kumarPavan kumar
    Nov 21, 2002 at 12:14 pm
    Nov 22, 2002 at 9:46 am
  • I've finally received my copy of "Java Development with Ant", and want to thank Steve and Erik for a great reference! Having used ant for several years now on varying sized projects, I was very ...
    Ken GentleKen Gentle
    Nov 2, 2002 at 6:07 pm
    Nov 19, 2002 at 5:01 pm
  • Hi, I'm running some demos from my ant build file with the <java task. A couple of the demos are gui apps and I've had no problem with them. However, now I have an app that takes command line input ...
    Jacob KjomeJacob Kjome
    Nov 19, 2002 at 5:58 am
    Nov 24, 2002 at 11:54 pm
  • OK. So I have determined that Ant is currenty not capable of doing the following within a single task (if I'm wrong, please correct me): if condition exists, do stuff else stop executing script ...
    Klein, Scott @ TWKlein, Scott @ TW
    Nov 13, 2002 at 5:54 pm
    Nov 14, 2002 at 3:04 pm
  • I cannot exclude a directory from being touched. The solution has to be simple, any advice? I tried a simple task: deleting all files with *.bak at the end. No problem so far. But in XP there is a ...
    Nov 14, 2002 at 11:21 am
    Nov 21, 2002 at 10:38 am
  • My quest for the perfect build environment continues.... I've been asked to avoid using environment variable in our build procedures so I've been trying to find a way to have Ant take care of telling ...
    Dave RathnowDave Rathnow
    Nov 15, 2002 at 12:39 am
    Nov 15, 2002 at 4:34 pm
  • Ant, Daisy has sent you a greeting card -- a postcard from Friend-Greetings.com. You can pickup your greeting card at Friend-Greetings.com by clicking on the link below. ...
    Daisy GuoDaisy Guo
    Nov 8, 2002 at 7:05 pm
    Nov 11, 2002 at 4:21 pm
  • Which is the better way to convert a package name to a relative directory path? For example: com.foo.blah -- com/foo/blah -- To unsubscribe, e-mail: For additional commands, e-mail:
    Stefano MancarellaStefano Mancarella
    Nov 7, 2002 at 2:43 pm
    Nov 8, 2002 at 7:19 pm
  • It was version 1.5 and the behavior you described is exactly what I found. I had searched the archives and found nothing mentioning it so wasn't sure it was common knowledge. I see that it is now. ...
    Nicklas McCalipNicklas McCalip
    Nov 15, 2002 at 8:31 pm
    Dec 11, 2002 at 3:54 pm
  • Hi, I've been racking my brains over this problem for a while now, but just cannot find an answer. I have a jar task that uses a fileset to make sure only one package(and it's subpackages) are in ...
    Nov 26, 2002 at 5:06 pm
    Nov 27, 2002 at 4:11 pm
  • Hello ! I'm using the manifest task to insert jar file references into the classpath attribute of my MANIFEST. I currently only have 3 jar files in the classpath value and it already does go over 72 ...
    Sebastien BLANCSebastien BLANC
    Nov 22, 2002 at 12:31 am
    Nov 22, 2002 at 2:03 am
  • Hi, Ant 1.5.1, J2SDK1.4.1_01, Win2000, PIII 600Mhz, 256MB. I have 2 probs; 1) If I run a buildfile with a cvs task I get as below + "[cvs] Caught exception: CreateProcess: cvs ...
    Euan GuttridgeEuan Guttridge
    Nov 18, 2002 at 11:56 am
    Nov 18, 2002 at 3:24 pm
  • I'm wondering if anyone would be interested in a JBoss taskdef, for JBoss 2.4.3 and higher? It is designed for how we use JBoss in our environment, which is basically to generate ejb-jar.xml and ...
    Daniel Bruce LynesDaniel Bruce Lynes
    Nov 15, 2002 at 7:03 am
    Nov 15, 2002 at 8:06 pm
  • What is the best way to loop in ant? For example, what is the ant code equivalent to the following? for %i in (*.html) do tidy -im %i -- To unsubscribe, e-mail: For additional commands, e-mail:
    Nov 7, 2002 at 6:56 pm
    Nov 14, 2002 at 4:42 pm
  • I got the following message complaining that it cannot find JDK. But it was working before and all the necessary paths and environment variables have been set properly. ANT_home and JAVA_HOME are not ...
    Peter LeePeter Lee
    Nov 26, 2002 at 8:27 am
    Nov 28, 2002 at 12:59 am
  • I have a web application deployment descriptor web.xml in a file. I've run the JspC task with the -webinc arguement which creates a portion of the deployment descriptor (webinc.xml) for the JSP ...
    Kevin HaleBoyesKevin HaleBoyes
    Nov 21, 2002 at 7:07 pm
    Nov 22, 2002 at 12:57 pm
  • I would like to know the way to compile pieces with individual (pices of)build.xml and also all of them together with option by selecting them dynamically. I am using Ant to build and deploy for our ...
    Ravi appalaRavi appala
    Nov 21, 2002 at 12:30 am
    Nov 21, 2002 at 6:42 pm
  • I've got a directory hierarchy with a number of different projects under it. All the project share a "common" build script that they invoke from a "private" build script under thier own project ...
    Dave RathnowDave Rathnow
    Nov 13, 2002 at 6:06 pm
    Nov 15, 2002 at 12:05 am
  • I was trying to generate the classpath for the manifest file so it was made up of my dist jar and all the jars in the lib directory. For example, if a.jar, b.jar are in my lib dir, and I generate ...
    Dean HillerDean Hiller
    Nov 12, 2002 at 8:58 pm
    Nov 12, 2002 at 10:25 pm
  • It seems that apply does not take under consideration the limitations the OS implies on the number of parameters a program can receive. I discovered this when called tidy.exe (on Windows 2000) when ...
    Anakreon MejdiAnakreon Mejdi
    Nov 8, 2002 at 2:14 pm
    Nov 11, 2002 at 8:34 am
  • Is there anyway to tell ant to run the garbage collection? I have a fairly complicated build script that must execute peer projects so that it can properly import the dependent libraries. What is ...
    David McTavishDavid McTavish
    Nov 5, 2002 at 8:27 pm
    Nov 6, 2002 at 8:10 am
  • I agree about what's important - but in reality, my cynicism kicks in, and the project manager suddenly wants to see "Unit Test Reports" (like, I thought, unit testing was checking that your code met ...
    Keith HattonKeith Hatton
    Nov 1, 2002 at 8:49 am
    Nov 1, 2002 at 5:21 pm
  • I want to generate an index html file for several thousand images. I already have the thumbnails images, so I just want to autogenerate the page using the directory listing and some XSLs. What would ...
    Nov 26, 2002 at 4:07 pm
    Nov 26, 2002 at 10:06 pm
  • I have a series of month-based directories in the format "DirName_yyMM". So for example: DirName_0206 is the directory for June 2002. In these directory, I need to replace dates in some files, but I ...
    Nov 13, 2002 at 10:49 am
    Nov 25, 2002 at 10:12 pm
  • Hello, I am attempting to use Ant to build J2EE tutorial examples as outlined on the Sun web site. My background in Java is very limited, the probable cause of my difficulties. Anyway, here is what I ...
    Nov 22, 2002 at 8:01 pm
    Nov 25, 2002 at 2:37 pm
  • I need to change the attributes of the files that are copied after the ant build is done. Is there a way to do that using some ant task similar to 'Chmod' that works only for Unix? Janusz
    Janusz Dalecki \(TYCO\)Janusz Dalecki \(TYCO\)
    Nov 21, 2002 at 12:31 am
    Nov 21, 2002 at 4:13 pm
  • ----- Original Message ----- From: "Steve Schlaifer" <steve@kihakkt.jetcafe.org To: "Ant Users List" <ant-user@jakarta.apache.org Sent: Saturday, November 16, 2002 17:15 Subject: Problem with junit ...
    Steve LoughranSteve Loughran
    Nov 17, 2002 at 5:56 pm
    Nov 20, 2002 at 7:58 am
  • Hi, I cannot figure out the syntax to recursively delete all directories and their contents called "CVS" in a tree. My task is below, this only deletes the contents, not the actual directories. <!-- ...
    Euan GuttridgeEuan Guttridge
    Nov 18, 2002 at 6:41 pm
    Nov 19, 2002 at 3:13 pm
  • How can I use the jar task to create jar file without the META-INF directory? -- To unsubscribe, e-mail: For additional commands, e-mail:
    Narayanan, GopalakrishnanNarayanan, Gopalakrishnan
    Nov 12, 2002 at 9:54 pm
    Nov 13, 2002 at 1:03 am
  • Is there a way in ANT to dynamically construct a property based on the files in a fileset. More specifically,I run the ejb-jar to generate ejbs.The number of ejbs is not known till runtime and so are ...
    Narayanan, GopalakrishnanNarayanan, Gopalakrishnan
    Nov 12, 2002 at 8:18 pm
    Nov 12, 2002 at 10:41 pm
  • I have the following script which creates a jar file including a set of files.But the same set of files needs to be excluded in another jar file.So, I thought it would be a better option to specify ...
    Narayanan, GopalakrishnanNarayanan, Gopalakrishnan
    Nov 6, 2002 at 10:14 pm
    Nov 8, 2002 at 7:06 pm
  • Ok, I've searched through the archives but couldn't find exactly the answer I need. I'm new to Ant, and just installed it on Windows Me into the following directory: C:\devtools\ant I changed my ...
    Todd thornerTodd thorner
    Nov 6, 2002 at 1:13 am
    Nov 7, 2002 at 7:11 am
  • This is sort of an Ant question, and sort of an XSLT question. I've asked it here first, to see what I get. All suggestions or ideas where else to look welcome! I make a lot of use of Ant's XSLT task ...
    Frank CarverFrank Carver
    Nov 16, 2002 at 8:57 pm
    Jan 4, 2003 at 1:34 pm
  • I want to find a way to print what jar files currently exist in a specific directory and what there version is (via their manifest file). It looks like I can use the <apply task to loop through all ...
    Nau, MichaelNau, Michael
    Nov 22, 2002 at 10:59 pm
    Dec 6, 2002 at 5:09 am
  • I would like to switch of "echo" string when I am executing “Echo” task. Is it possible? Janusz
    Janusz Dalecki \(TYCO\)Janusz Dalecki \(TYCO\)
    Nov 27, 2002 at 10:54 pm
    Nov 28, 2002 at 1:20 am
  • I'm trying to use the Ant task for Zeus that's mentioned in the User Guide. I've added the following to my build.xml file: <taskdef name="zeus" classname="org.enhydra.zeus.util.ZeusTask"/ <target ...
    Jason BodnarJason Bodnar
    Nov 25, 2002 at 9:42 pm
    Nov 25, 2002 at 10:13 pm
  • Hello, trying my first project with Ant (Windows NT, jdk 1.3, Tomcat 4.0). I'm trying the simple build.xml file found in the Ant documentation. I get the followign error message: BUILD FAILED Target ...
    Nov 25, 2002 at 8:35 pm
    Nov 25, 2002 at 10:11 pm
  • Just posted the latest version of the task. Provided AS-IS, use at your own risk. A caveat I fell into myself is using two <lsync with the same destination directory, which basically annihilate each ...
    Dominique DevienneDominique Devienne
    Nov 15, 2002 at 1:59 pm
    Nov 24, 2002 at 7:08 am
  • To provide on update on this month old thread, the task provided by SUN is not smart at all!!! So the task I started writing was not completely wasted after all, since after converting it to Jaxb 1.0 ...
    Dominique DevienneDominique Devienne
    Nov 14, 2002 at 8:37 pm
    Nov 18, 2002 at 4:22 pm
  • Hello ! I'm trying to produce a jar from the following configuration: I want to jar all the classes under n directories, these directories can all be described by the following regex: ejb-jar-*. the ...
    Sebastien BLANCSebastien BLANC
    Nov 14, 2002 at 2:04 am
    Nov 14, 2002 at 6:59 pm
  • Hi All, The "os" attribute of exec task determines that this executable will be called for which Operating Systems. I want a list of the Operating System names supported by ANT. I was able to find ...
    Rajat GuptaRajat Gupta
    Nov 12, 2002 at 3:12 pm
    Nov 12, 2002 at 4:26 pm
  • Hi All, I'm finding that the following doesn't work: <target name="find.compiler" <condition property="compiler.found" <or <available file="jikes" filepath="${env.PATH}" property="compiler.type" ...
    David BudworthDavid Budworth
    Nov 9, 2002 at 10:42 pm
    Nov 12, 2002 at 7:39 am
  • Hi, What is the simplest way of checking the java version before running an application ? What is the simplest way of checking the java version before compiling an application ? This is an important ...
    Xavier LoiseauXavier Loiseau
    Nov 8, 2002 at 1:41 pm
    Nov 8, 2002 at 3:21 pm
  • Hi all, I have been seeking a way to remove assert statements from source code (... a copy of the source code, of course ...) so that I can compile JVM1.1 compatible class files. The JDK1.4 compiler ...
    Beton, RichardBeton, Richard
    Nov 26, 2002 at 11:31 am
    Nov 26, 2002 at 8:26 pm
  • Hi, I am having problems with the <property environment="osEnv"/ command. I am using ant 1.4.1 from within eclipse 2.0.1 The operating system is Windows XP Pro. I don't seem to be able to read my ...
    Cam AntonuccioCam Antonuccio
    Nov 14, 2002 at 10:48 pm
    Nov 18, 2002 at 11:32 am
  • Hi all, I'm probably missing something obvious, but a look around the website didn't net me any info as to how 1.5.1 and 1.5 differ. In the project I work on, we've seen some intermittent problems ...
    Nov 13, 2002 at 4:09 pm
    Nov 13, 2002 at 5:23 pm
  • Has anyone had to jar up multiple ( 20) ejb's into individual jars? Currently, we have a jar task in a separate build, and then we call that task from within another build file (one ant task for each ...
    Ciramella, E.J.Ciramella, E.J.
    Nov 7, 2002 at 7:12 pm
    Nov 12, 2002 at 7:44 pm
  • Is there anyway to determine whether the javac task actually compiles classes or not? Essentially, what I'd like to know is whether the source files were modified to require a recompile. thx, d. -- ...
    David McTavishDavid McTavish
    Nov 10, 2002 at 3:40 pm
    Nov 11, 2002 at 3:50 pm
Group Navigation
period‹ prev | Nov 2002 | next ›
Group Overview
groupuser @

236 users for November 2002

Stefan Bodewig: 66 posts Dominique Devienne: 65 posts Steve Loughran: 38 posts David McTavish: 18 posts Elankath, Tarun (Cognizant): 16 posts Jacob Kjome: 16 posts PREMKUMAR, N [AG/8042]: 16 posts Matt Benson: 15 posts Erik Hatcher: 14 posts Keith Hatton: 13 posts Sebastien BLANC: 13 posts Euan Guttridge: 12 posts Narayanan, Gopalakrishnan: 12 posts EXT / FOCAL MALAPRADE Roland: 9 posts Janusz Dalecki \(TYCO\): 9 posts Dave Rathnow: 8 posts Rolf Schumacher: 8 posts Ciramella, E.J.: 7 posts Conor MacNeill: 7 posts Markus Dettori: 7 posts
show more