Grokbase Groups Ant user October 2005
FAQ

Search Discussions

146 discussions - 443 posts

  • Dear All, I would like to know that if is possible that I can take a size of zip file, is there any such task in ANT by using which I can know the size of a zip file or folder. And also want to know ...
    Pritesh SahareyPritesh Saharey
    Oct 18, 2005 at 2:22 pm
    Oct 21, 2005 at 2:49 pm
  • <PARAM NAME = "CUSTOM_APPL_REV" VALUE = "R11A02" How can I replace the R11A02 with a new number? cheers, //mikael --------------------------------------------------------------------- To unsubscribe, ...
    Mikael Petterson (KI/EAB)Mikael Petterson (KI/EAB)
    Oct 20, 2005 at 12:11 pm
    Oct 23, 2005 at 5:30 pm
  • Currently, our build uses a modified distribution of Ant - all the optional libraries we need are bundled into the lib directory. We use a similarly modified version of Eclipse (i.e. the Ant part has ...
    Jon SkeetJon Skeet
    Oct 28, 2005 at 8:51 am
    Nov 14, 2005 at 9:48 am
  • Hello all; We are going to use webpshere application server 6.0 in our project.By the past i always used the standard version of ant, the latest one(1.6.5) combined with ant-contrib and some other ...
    Hind LwahhabiHind Lwahhabi
    Oct 24, 2005 at 12:36 pm
    Oct 26, 2005 at 1:58 pm
  • Is there a source cross-reference tool in Java out there that I can use as part of an Ant build? The only one I now if is Maven's tool that comes with Jetty. -- Alan Gutierrez - alan@engrm.com - ...
    Alan GutierrezAlan Gutierrez
    Oct 1, 2005 at 1:15 am
    Oct 6, 2005 at 3:08 pm
  • Hi, I would like to enhance my current Ant setup and was looking for advice. At the moment, Ant picks up the build.properties file in the root directory and uses that: <property ...
    Rakesh PatelRakesh Patel
    Oct 7, 2005 at 2:40 pm
    Oct 7, 2005 at 9:06 pm
  • Hi all I'm using ant do get some files out of our CVS repository. This works fine, until I try to get tagged files. There is a "tag" option on the CVS command in ant. But caused by my tag, which is ...
    Remo LiechtiRemo Liechti
    Oct 26, 2005 at 7:57 am
    Oct 27, 2005 at 8:04 am
  • Hey Ant users and friends! I've a strange problem using the junit ant task. Everything works fine, but when i add <formatter type="xml" / i get following Exception: [junit] Exception in thread "main" ...
    Wunderlich, PatrickWunderlich, Patrick
    Oct 21, 2005 at 10:59 am
    Oct 26, 2005 at 7:11 am
  • Hello everybody! I am trying to focus on the <subant advantages. Can anyone explain me in-depth why the <subant task is better than the <ant task. I know it was introduced in Ant 1.6 to ease the ...
    Petar TahchievPetar Tahchiev
    Oct 26, 2005 at 6:11 am
    Oct 26, 2005 at 1:05 pm
  • dear, I create a simple task as indicated in the ANT book : "Ant: The Definitive Guide", Second Edition from O'Reilly. Something like import java.io.IOException; import org.apache.tools.ant.Task; ...
    Thomas SMETSThomas SMETS
    Oct 13, 2005 at 10:34 pm
    Oct 17, 2005 at 7:27 am
  • Any hints on how to debug the sshexec task "auth fail"? It was working a couple of weeks ago, but it is now failing for some unknown reason. Of course, "nothing has changed" on my machine. I can ...
    Dick, Brian E.Dick, Brian E.
    Oct 7, 2005 at 3:24 pm
    Oct 13, 2005 at 10:37 am
  • Hi, Please forgive my stupidity, but I have spent hours on this ... Given the following Unix/Linux command line: java Test.Main -all *.txt I wrote the following ant task: <java classname="Test.Main" ...
    Bob NoonanBob Noonan
    Oct 28, 2005 at 6:18 pm
    Oct 28, 2005 at 10:47 pm
  • Hello all, I have the following property file that I want to load in my project: db.system=solid # ------------------- for Solid ---------------- testfw.solid.system=Solid ...
    Lasher, James LLasher, James L
    Oct 19, 2005 at 7:23 pm
    Oct 19, 2005 at 9:10 pm
  • Problem: have ant tell me whether I am running on a 64 bit architecture. I thought the solution was: check for the value of the "os.arch" property. Unfortunately, if I can make something out of the ...
    Marion, PatrickMarion, Patrick
    Oct 14, 2005 at 12:06 am
    Oct 17, 2005 at 5:57 pm
  • Hi all, I'm writing a custom condition that needs to get the value of a property in the project. How do I get a reference to the project from a condition? In a custom task, I would call ...
    Brian KuhnBrian Kuhn
    Oct 13, 2005 at 4:00 pm
    Oct 13, 2005 at 6:57 pm
  • Hi I have a classpath generated as <path <pathelement <some jar ... </path I wish to create a zip file with all the jars mentioned in that path. How do I iterate through the element / tell the zip ...
    Telang, NandanTelang, Nandan
    Oct 28, 2005 at 11:42 pm
    Nov 1, 2005 at 12:51 pm
  • Hi all I didnt find an answer to this in the documentaion or in the mailinglist archive: To run a ant script, I have to call it like this: Ant -buildfile MyAntScript.xml MyTarget I call my ant script ...
    Remo LiechtiRemo Liechti
    Oct 27, 2005 at 9:39 am
    Oct 27, 2005 at 11:18 am
  • How does one utilize fileset to only list the filenames and not the path+filename? example: <apply dir="aDir" executable="anExe" output="aLog" append="true" failonerror="true" <fileset dir="baz" ...
    Martin sweitzerMartin sweitzer
    Oct 25, 2005 at 2:20 am
    Oct 25, 2005 at 9:08 am
  • I was wondering if anyone can please help me? I am having trouble converting a path to a property when a fileset's dir does not exist. The error I received from ant is: "XXX not found." where XXX is ...
    Scot P. FloessScot P. Floess
    Oct 19, 2005 at 5:46 pm
    Oct 20, 2005 at 2:29 pm
  • Hi, I have the following properties in my build.xml: <property name="target" value="xxx"/ <property name="productnumber" value="yyy"/ <property name="productrevision" value="zzz"/ In a file called ...
    Mikael Petterson (KI/EAB)Mikael Petterson (KI/EAB)
    Oct 17, 2005 at 8:40 am
    Oct 19, 2005 at 9:04 pm
  • Hi all, I'm trying to get a gcc apply task running but found out that it simply doesn't execute the executable I specify. I can put in rubbish and still it tells me that it ran successfully. This is ...
    Yves WillemsYves Willems
    Oct 18, 2005 at 3:31 pm
    Oct 19, 2005 at 7:20 am
  • The easiest way is defining the Ant properties and creating the product.attributes. But you can parse that file and assign properties ... using your own task. Quick hack (without any error handling). ...
    Jan MaterneJan Materne
    Oct 17, 2005 at 9:24 am
    Oct 17, 2005 at 12:41 pm
  • I have an XML document generated which declares the following DOCTYPE : <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-02.dtd" The XSLT parser complains that it cannot ...
    Duvelbier-tsmetsDuvelbier-tsmets
    Oct 17, 2005 at 6:45 am
    Oct 17, 2005 at 7:30 am
  • Dear, The ant used by Cruisecontrole has a few library installed in the ${ANT_HOME}/lib There is a library that is of a very old version while I'd need a more recent version of the task. My project ...
    Duvelbier-tsmetsDuvelbier-tsmets
    Oct 6, 2005 at 10:14 am
    Oct 9, 2005 at 2:22 pm
  • Maybe you use filters on that binary files. Jan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, ...
    Jan MaterneJan Materne
    Oct 5, 2005 at 5:17 pm
    Oct 7, 2005 at 8:54 am
  • Hi, I am using multiple build-files, and on some ocassions I want the main-build to know about the properties that are being set in one of the sub-builds. Can anybody tell me how to do this? Thanks! ...
    Roland AsmannRoland Asmann
    Oct 30, 2005 at 2:32 pm
    Oct 30, 2005 at 7:53 pm
  • Hi all I have to implement a loging function to my ant scripts, but I really don't know how to do it... I got a script like this like the one attached. In this script I have some echos, do some file ...
    Remo LiechtiRemo Liechti
    Oct 28, 2005 at 10:49 am
    Oct 28, 2005 at 11:56 am
  • possible to get hostname in ant? cheers, //mikael --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional ...
    Mikael Petterson (KI/EAB)Mikael Petterson (KI/EAB)
    Oct 26, 2005 at 2:45 pm
    Oct 27, 2005 at 3:45 am
  • Hello, I have one build.xml file. now i want to control the running of this ant build.xml in java code. <?xml version="1.0" encoding="UTF-8"? <project default="build1" name="XMLExport" basedir="." ...
    Wei weiWei wei
    Oct 26, 2005 at 1:03 pm
    Oct 26, 2005 at 6:19 pm
  • Hi, Is it possible to generate a unique id for an attribute in ant? Id can consist of numbers and characters. cheers, //mikael --------------------------------------------------------------------- To ...
    Mikael Petterson (KI/EAB)Mikael Petterson (KI/EAB)
    Oct 25, 2005 at 9:56 am
    Oct 25, 2005 at 11:44 am
  • Hi, Is there a way to specify which build file to use within a target? I use my local machine for building the war for the development environment and the production one. The properties are picked up ...
    Rakesh PatelRakesh Patel
    Oct 24, 2005 at 12:00 pm
    Oct 24, 2005 at 3:44 pm
  • Hi, I'm trying to dynamically build 5 different path reference ids. I need them since you can't refer to a non existant reference id and rather not go through all the combinations of using them and ...
    SportySporty
    Oct 19, 2005 at 9:35 pm
    Oct 20, 2005 at 2:17 pm
  • Hi, The purose of my task is to set the values for properties arch, product_number and product_revision. The information is stored in a file called 'product.attributes'. I need to assign the ...
    Mikael Petterson (KI/EAB)Mikael Petterson (KI/EAB)
    Oct 18, 2005 at 10:51 am
    Oct 19, 2005 at 9:38 pm
  • Hello! I try to sync a working copy of a subversion repository: <sync todir="${tmpscratch}" verbose="false" <fileset dir="${scratch}" defaultexcludes="no" <include name="**/**"/ <include ...
    Martin BurgerMartin Burger
    Oct 12, 2005 at 2:10 pm
    Oct 12, 2005 at 3:16 pm
  • <unear -- modify --: <filterchain , <replaceregexp , <mapper , xmltask [1] <ear Jan [1] http://ant.apache.org/external.html#xmltask ...
    Jan MaterneJan Materne
    Oct 7, 2005 at 10:52 am
    Oct 10, 2005 at 12:57 pm
  • I want to use a set of macros across projects, but when I write scripts that integrate the builds, I start getting a lot of warnings, even though the build works fine. Duplicated project name in ...
    Alan GutierrezAlan Gutierrez
    Oct 6, 2005 at 7:23 pm
    Oct 6, 2005 at 10:51 pm
  • When I type: ./ant -version I get the following error message: Unknown argument: -cp ant [options] [target [target2 [target3] ...]] Options: -help, -h print this message -projecthelp, -p print ...
    Deron JohnsonDeron Johnson
    Oct 28, 2005 at 10:22 pm
    Nov 1, 2005 at 1:05 pm
  • Hi, I'm trying to write a method in java that takes a root target and then walks down the task tree until it comes to the desired object, but don't seem to find the api to do this. I sort of got it ...
    Ashley WilliamsAshley Williams
    Oct 28, 2005 at 4:05 pm
    Oct 28, 2005 at 6:30 pm
  • Hi everyone! I 've written a custom ant task which I deploy as a jar file. This jar file contains another jar file which is read during task execution. I'm using the static method ...
    Johannes RiekenJohannes Rieken
    Oct 27, 2005 at 7:11 pm
    Oct 28, 2005 at 2:49 pm
  • Hi Rajnish, never heard from "*" - nothing in the manual ... Which target should be executed on "*" ? Jan --------------------------------------------------------------------- To unsubscribe, e-mail: ...
    Jan MaterneJan Materne
    Oct 28, 2005 at 9:56 am
    Oct 28, 2005 at 12:24 pm
  • Hi, In my project when I am writing <ant antfile="abc.xml" dir="." target="*" it compiles well through the cmd, but when compiling the same build file through myeclipse I am getting the error Target ...
    Rajnish SinghRajnish Singh
    Oct 28, 2005 at 9:26 am
    Oct 28, 2005 at 12:18 pm
  • Hi, I'd like to use ant to create lnk/exe. I know about the ROXES ant taskes but wonder... is there a way to use any OS BUT Windows ... I'd like to stay cross-platform :) Thanks, Dominik ...
    Dominik PichDominik Pich
    Oct 27, 2005 at 6:57 pm
    Oct 28, 2005 at 8:40 am
  • I have a need to build a target that updates the manifest of a jar file with an additional attribute (perhaps replace if it's already present). If I use a jar task, with 'update="true"' and an inline ...
    Karr, DavidKarr, David
    Oct 27, 2005 at 5:18 pm
    Oct 27, 2005 at 11:19 pm
  • I'm trying to update our build procedures using some of the guidelines in http://www.1060.org/blogxter/resources/5/ant-1.7.pdf They claim that an imported file is added to the *end* of the importing ...
    Jon SkeetJon Skeet
    Oct 27, 2005 at 7:48 am
    Oct 27, 2005 at 9:55 am
  • Hi, i have a delegating ant script that sets some properties and then calls another antscript. I need a way to pass the return status, means either Build Failed or Build Successful, back to the ...
    Rebhan, GilbertRebhan, Gilbert
    Oct 27, 2005 at 7:58 am
    Oct 27, 2005 at 9:39 am
  • Hi, we are running some junit (3.8.1) tests with ant (1.6.2) and after a while when running the tests we get the following error (see below). we are using sun's jdk 1.4.2_04. Any ideas what this ...
    Mikael Petterson (KI/EAB)Mikael Petterson (KI/EAB)
    Oct 26, 2005 at 8:14 am
    Oct 26, 2005 at 3:33 pm
  • just reposting, see below... Hind Lwahhabi. -----Original Message----- From: hind.lwahhabi@accenture.com Sent: Tue 10/25/2005 11:46 AM To: user@ant.apache.org Subject: jarsigner problem on aix Hello ...
    Hind LwahhabiHind Lwahhabi
    Oct 26, 2005 at 9:37 am
    Oct 26, 2005 at 1:59 pm
  • I am trying to create a Ear file out of the following. It is complaining \ejb-jar.xml [copy] Copying C:\finalmessage\build.xml to C:\finalmessage\build\META-INF uild.xml [jar] Building jar: ...
    Srikrishna_parthasarathySrikrishna_parthasarathy
    Oct 24, 2005 at 10:46 pm
    Oct 25, 2005 at 4:04 am
  • Hi all, I have setup a recursive build structure that runs OK, except for the 'non-ant' directories. I mean directories that don't have a build.xml file included. I got it running using exclude ...
    Yves WillemsYves Willems
    Oct 24, 2005 at 3:24 pm
    Oct 24, 2005 at 3:38 pm
  • Hi I'm trying to call a perl script with the Ant exec task.. The script tries to get the userid by using getlogin() (Unix) When the script is run directly, it returns my loginname, however when run ...
    Telang, NandanTelang, Nandan
    Oct 21, 2005 at 5:49 pm
    Oct 21, 2005 at 6:50 pm
Group Navigation
period‹ prev | Oct 2005 | next ›
Group Overview
groupuser @
categoriesant
discussions146
posts443
users121
websiteant.apache.org

121 users for October 2005

Jan Materne: 52 posts Hind Lwahhabi: 19 posts Dominique Devienne: 19 posts Mikael Petterson (KI/EAB): 19 posts Jeffrey E Care: 17 posts Remo Liechti: 15 posts Juergen Hermann: 14 posts Steve Loughran: 14 posts Matt Benson: 13 posts Duvelbier-tsmets: 8 posts Rhino: 8 posts Alan Gutierrez: 7 posts Gisbert Amm: 7 posts Rakesh Patel: 7 posts Pritesh Saharey: 6 posts Ron Wheeler: 6 posts Antoine Levy-Lambert: 5 posts Dale Anson: 5 posts Dick, Brian E.: 5 posts Jakob Fix: 5 posts
show more
Archives