Grokbase Groups Ant user April 2004
FAQ

Search Discussions

175 discussions - 680 posts

  • The new 1.6 'import' feature is great, but what I would like is a way to have ant automatically execute a predefined import. For example: ant --pre-import=common.xml --buildfile build.xml my-target ...
    Johan Vromans CPWRJohan Vromans CPWR
    Apr 6, 2004 at 2:15 pm
    Apr 21, 2004 at 7:42 am
  • Hi ! I defined a property X with a value. Later in my Ant script, I would like to change the value of X. Is it the kind of thing that I can do with Ant ? At first glance, it seems not possible with a ...
    Paul MartelPaul Martel
    Apr 30, 2004 at 12:25 pm
    May 6, 2004 at 3:49 pm
  • I'm having a problem with FTP, or more precisely iftp. I hope someone can help. I am getting: BUILD FAILED: java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClient when I run the ...
    RhinoRhino
    Apr 6, 2004 at 4:09 pm
    Apr 11, 2004 at 11:52 pm
  • Hi, Can anyone pls tell me how to get xmlvalidate (in 1.6) to see external catalogs. I can see from the docs that for this to work v1.1 of xml-commons resolver.jar must be on the classpath but I ...
    Jeremy AstonJeremy Aston
    Apr 6, 2004 at 12:31 am
    Apr 7, 2004 at 10:56 pm
  • Is it possible to embed properties? For example: <property name="Type" value="Static" / <property name="Lib.Name.Static" value="foo" / <property name="Lib.Name.Dynamic" value="bar" / <property ...
    Nick_gianakasNick_gianakas
    Apr 13, 2004 at 3:04 pm
    Apr 13, 2004 at 8:16 pm
  • I think I've isolated a problem in my Ant use of the Sql task. How do I pass a statement that contains doublequotes? select @querystring = "alter table " + @tmptablename + " drop constraint " + ...
    Jack WoehrJack Woehr
    Apr 5, 2004 at 9:00 pm
    Apr 9, 2004 at 7:56 pm
  • Can anyone help me? I'm trying to use a very simple scp command via ant - below is my project file and the results. I have the following jars in my anthome/lib directory: jce1_2_2.jar jsch-0.1.14.jar ...
    Edward CiramellaEdward Ciramella
    Apr 1, 2004 at 8:38 pm
    Apr 1, 2004 at 9:41 pm
  • I've written a guide to writing Ant tasks using Jython: how to add scripted behaviour to ant builds. It details the steps to write a custom Ant task in jython, compile it and install it into ant so ...
    Ed TaekemaEd Taekema
    Apr 24, 2004 at 3:27 am
    Apr 27, 2004 at 11:43 am
  • Only via a custom listener. Or indirect: use <record to save that to file then use <concat with a nested <linecontains filterreader for printing. Jan
    Jan MaterneJan Materne
    Apr 22, 2004 at 5:33 am
    Apr 23, 2004 at 6:28 am
  • If I am using an target which gets user input which in turn gets set as a property(addproperty=${input value}), how can I make sure this property gets set for all targets. i.e emulating the ...
    Jacob, Anil - MWTJacob, Anil - MWT
    Apr 30, 2004 at 4:27 pm
    Apr 30, 2004 at 11:12 pm
  • After installing ant , try to invoke ant 1.6.1 I get the following error java.lang.InstantiationException: org.apache.tools.ant.Main at java.lang.Class.newInstance0(Native Method) at ...
    Srikrishna ParthaSrikrishna Partha
    Apr 23, 2004 at 9:06 pm
    Apr 23, 2004 at 10:16 pm
  • Hi, How to write an build script so that the jar get updated ONLY when its .class is compiled (i.e. the java get changed) I can't do it with uptodate tag Thanks Andrew -----Original Message----- ...
    Andrew WongAndrew Wong
    Apr 21, 2004 at 7:26 am
    Apr 21, 2004 at 11:48 am
  • Hi all, I am executing an sql file as follows: <sql userid="${USERNAME}" password="${PASSWORD}" url="${CONNECTSTRING}" driver="${DRIVER}" autocommit="true" src="mysql-dump.sql" </sql With the above ...
    ChanduChandu
    Apr 9, 2004 at 12:01 pm
    Apr 14, 2004 at 10:17 pm
  • Is it possible for an Exec task in Ant 1.6.1 to execute two or more commands in the same task? I am trying to take something that I do at the Windows XP command prompt and do it within an Ant script. ...
    RhinoRhino
    Apr 14, 2004 at 1:36 pm
    Apr 14, 2004 at 11:20 pm
  • I am currently using Ant to detect if a user is using Tomcat 5 or Tomcat 4. The main reason is so I can deploy my context.xml to the appropriate location on the server. Right now I'm using some ...
    Matt RaibleMatt Raible
    Apr 28, 2004 at 5:19 am
    Apr 28, 2004 at 8:18 am
  • You can´t. Properties are immutable by design. "Properties are immutable: whoever sets a property first freezes it for the rest of the build; they are most definately not variable." Jan [1] ...
    Jan MaterneJan Materne
    Apr 22, 2004 at 7:33 am
    Apr 26, 2004 at 3:47 pm
  • Hi, Where is this located on their site? I looked everywhere and could n to find it. Also, I called them and they did not know anything about this standalone executable. -mez -----Original ...
    Marcus ZafaranoMarcus Zafarano
    Apr 15, 2004 at 5:42 pm
    Apr 20, 2004 at 3:39 pm
  • Can anyone think of a slick way to depend on an inherited, overridden target from an optional imported file, without failing when the imported file is absent, and without resorting to <antcall ? -Matt
    Matt BensonMatt Benson
    Apr 9, 2004 at 6:40 pm
    Apr 13, 2004 at 6:02 pm
  • What is the easiest way to count all the lines in all the files of a project? I don't care about coding style/standards, just line count? ...
    EJ CiramellaEJ Ciramella
    Apr 23, 2004 at 9:19 pm
    Apr 26, 2004 at 7:45 pm
  • Hello, Has anyone written an Ant target for stopping and starting a webapp from websphere? I'm running Ant locally and Websphere is on the server that I can reach with a terminal emulator, telnet or ...
    Gian Franco CasulaGian Franco Casula
    Apr 8, 2004 at 6:08 am
    Apr 23, 2004 at 6:07 pm
  • I'm having a problem with the javac task in Ant 1.6.1. Even though I have debug set to 'on' and debuglevel includes the 'lines' argument, I get (Unknown Source) in my stacktrace for that module when ...
    RhinoRhino
    Apr 16, 2004 at 2:08 pm
    Apr 19, 2004 at 2:32 pm
  • Dear, The problem may sound simple but when I want to build with JAI (Java Advanced Imaging)... There is the need to place the : ./lib/libmlib_jai.so in the Path & the following in the ClassPath : ~ ...
    Thomas SMETSThomas SMETS
    Apr 6, 2004 at 5:44 am
    Apr 8, 2004 at 7:26 am
  • Switched to 1.6.1 on our project ... Copy with overwrite now seems to be inserting carriage returns: 0000000 # ! / b i n / b a s h \r \n This makes the shell abort. How do we turn this behavior off? ...
    Jack WoehrJack Woehr
    Apr 5, 2004 at 5:24 pm
    Apr 6, 2004 at 2:20 pm
  • How about email alias in Maillogger ? -----Original Message----- From: Anderson, Rob (Global Trade) Sent: Friday, April 02, 2004 9:14 AM To: Ant Users List Subject: RE: Hi I'm pretty sure that ...
    Srikrishna ParthaSrikrishna Partha
    Apr 2, 2004 at 6:01 pm
    Apr 2, 2004 at 10:26 pm
  • I only see these possiblities: - add the cvs-dir to PATH - modify the start script to do that - do a quick hack: - subclass org.apache.tools.ant.taskdefs.Cvs - overwrite protected void ...
    Jan MaterneJan Materne
    Apr 30, 2004 at 4:58 am
    May 4, 2004 at 5:36 am
  • Hi, The previous problem seems to be resolved with ANT1.5 resulting into new problems. JASPER is converting the jsp's into .java file. JSPs that are including the taglibraries are converted to 0KB ...
    ParimalaParimala
    Apr 29, 2004 at 6:03 am
    Apr 30, 2004 at 8:49 am
  • I have a script that needs to chown some files as root, but I don't want to have to execute everything as root. I've been trying to use 'su' with no success. Any ideas? I've been trying variations on ...
    StevecanfieldStevecanfield
    Apr 20, 2004 at 7:26 pm
    Apr 21, 2004 at 5:48 pm
  • I have several zip files that I can use with the WinZip application without any problems. However, the Ant "unzip" task cannot perform the extract operation on these files without throwing the ...
    David F. WhiteDavid F. White
    Apr 21, 2004 at 2:11 pm
    Apr 21, 2004 at 4:47 pm
  • Hi, I a ant-lib with the following presetdef <presetdef name="javac" <javac deprecation="true" debug="true" srcdir="src" destdir="classes" </javac </presetdef Then I got a build file using this lib: ...
    Andre Fleischer LsyAndre Fleischer Lsy
    Apr 20, 2004 at 9:50 am
    Apr 20, 2004 at 10:14 am
  • Hi Does "[Ljava.lang.String" mean anything to anyone? I'm getting it when bootstraping what I believe to be the most recent nightly build of ant on a Sphera VDS Redhat Linux 2.1ES system. I've ...
    Daniel L. KunkelDaniel L. Kunkel
    Apr 13, 2004 at 10:40 pm
    Apr 15, 2004 at 2:17 pm
  • Hi, Just curious: Any statistics on how many people use Ant, or at least how many times the current and previous versions of Ant have been downloaded ? Thanks, Rich Wagner Get rid of annoying pop-up ...
    Rich WagnerRich Wagner
    Apr 11, 2004 at 11:37 pm
    Apr 13, 2004 at 4:25 pm
  • Is it "good Ant style" to do the following, i.e., depend on the immutability of a property to do a simple choice point, as in choosing between two files based on the existence-or-nonexistence of the ...
    Jack WoehrJack Woehr
    Apr 9, 2004 at 9:12 pm
    Apr 13, 2004 at 6:40 am
  • I am able to compile java code with 'debug' information turned, but somehow line numbers are not appearing in my output when I run the code via the 'java' task. I can verify that the class file and ...
    Greg WolfeGreg Wolfe
    Apr 2, 2004 at 2:24 am
    Apr 9, 2004 at 12:36 am
  • I am having trouble running ant from a UNC path. I get the following error with Ant 1.6.1 installed on a UNC path... C:\buildtools "c:\opt\sun\java\1.4.2_03\bin\jav a.exe" -classpath ...
    Anderson, Rob (Global Trade)Anderson, Rob (Global Trade)
    Apr 1, 2004 at 6:20 pm
    Apr 2, 2004 at 5:12 pm
  • What it the best way to e-mail the build file? I know I can use the mail task to e-mail files but it won't e-mail the ant logfile as it hasn't completed yet...right? What is the best way to get an ...
    Edward PelokeEdward Peloke
    Apr 1, 2004 at 7:12 pm
    Apr 2, 2004 at 12:43 am
  • Hi, My apologies if this question has been asked before, I searched the archives and couldn't find anything. I'm using ant to build and deploy web applications. At the moment when I do a build it ...
    Janssens, SimonJanssens, Simon
    Apr 29, 2004 at 4:35 am
    Apr 30, 2004 at 7:47 pm
  • Any way to use a variable/property in a depend like: <target name="Target12" depends="${someVar} thanks --------------------------------------------------------------------- To unsubscribe, e-mail: ...
    HanasakiHanasaki
    Apr 24, 2004 at 1:58 am
    Apr 26, 2004 at 3:31 am
  • ------------------------------------------------------------------------------------- The information contained in this message is proprietary of Amdocs, protected from disclosure, and may be ...
    Neta Bar TalNeta Bar Tal
    Apr 21, 2004 at 12:29 pm
    Apr 22, 2004 at 7:29 am
  • Hi All, We have a significantly long build process for our weekly/quarterly build. If an error occurs in any stage of the build, we currently have to re-run the whole build, which is probably what we ...
    Stratton, JasonStratton, Jason
    Apr 21, 2004 at 1:56 pm
    Apr 21, 2004 at 4:38 pm
  • fyi Performing unattended daily builds with WebSphere Studio and Ant Part 1: http://www-106.ibm.com/developerworks/websphere/library/techarticles/040 4_bowker/0404_bowker1.html Part 2: ...
    Sullivan, Sean C - MWTSullivan, Sean C - MWT
    Apr 20, 2004 at 3:57 pm
    Apr 21, 2004 at 7:39 am
  • I've written a simple utility to find the "version.txt" file in the "ant.jar" of a given Ant installation, and the utility looks for the: VERSION=<something line in the "version.txt" file. So far, I ...
    Rich WagnerRich Wagner
    Apr 18, 2004 at 7:07 pm
    Apr 20, 2004 at 4:55 am
  • Jacob, Anil - MWTJacob, Anil - MWT
    Apr 20, 2004 at 12:53 am
    Apr 20, 2004 at 1:17 am
  • I will be out of the office starting 17/04/2004 and will not return until 26/04/2004. I will respond to your message when I return. For urgent issues, contact Jan Moeyersons or Enrico Miccolis ...
    Walter HeestermansWalter Heestermans
    Apr 17, 2004 at 2:12 am
    Apr 17, 2004 at 6:14 pm
  • What is the name of the stand alone executable? thanks -mez -----Original Message----- From: Marcus Zafarano Sent: Thursday, April 15, 2004 10:42 AM To: Ant Users List Subject: RE: Installshield ...
    Marcus ZafaranoMarcus Zafarano
    Apr 15, 2004 at 8:22 pm
    Apr 16, 2004 at 5:47 pm
  • Is the following scenario possible using the FTP task? When our daily builds complete we FTP them to another server. I would like to use the FTP task to delete files on the server that are older than ...
    David F. WhiteDavid F. White
    Apr 16, 2004 at 2:48 pm
    Apr 16, 2004 at 5:32 pm
  • My Build.xml contains the followings : Located outside any target : <fileset dir="${Business.dir}/config" id="property.files" <include name="*.properties"/ <exclude name="Datasource.properties"/ ...
    Thomas SMETSThomas SMETS
    Apr 15, 2004 at 8:57 am
    Apr 15, 2004 at 10:14 am
  • I'm getting errors when I try to import a mysql dump back into the database using the ant sql task (using ant 1.6.1). I created the dump with the following command: karl@polinki:~/projects/post ...
    Karl StenerudKarl Stenerud
    Apr 13, 2004 at 4:32 am
    Apr 14, 2004 at 10:16 pm
  • Just a weird one I've been experiencing for some time on Solaris 8 and Solaris 9 with various levels of the JDK. Javadoc hangs building the Ant javadocs. Seems to have done all the work but it just ...
    Jack J. WoehrJack J. Woehr
    Apr 8, 2004 at 3:18 pm
    Apr 13, 2004 at 4:40 pm
  • All, Can i actually in the value field? For example, <exec dir="build/${ssl.name}" executable="make" <env key="LD_LIBRARY_PATH" value="/usr/local/lib"/ <env key="LD_RUN_PATH" value=""/ <arg ...
    BarryBarry
    Apr 9, 2004 at 11:41 pm
    Apr 13, 2004 at 12:37 pm
  • I have a directory tree that looks something like: +-DirA +-DirB +-DirC I want to apply chgrp to every file and directory below DirA. I've written an Ant target that looks like: <target ...
    StevecanfieldStevecanfield
    Apr 8, 2004 at 4:35 am
    Apr 8, 2004 at 6:00 pm
Group Navigation
period‹ prev | Apr 2004 | next ›
Group Overview
groupuser @
categoriesant
discussions175
posts680
users143
websiteant.apache.org

143 users for April 2004

Matt Benson: 53 posts Jan Materne: 46 posts Stefan Bodewig: 43 posts Anderson, Rob (Global Trade): 30 posts Jack Woehr: 26 posts Srikrishna Partha: 21 posts Peter Reilly: 20 posts Dominique Devienne: 17 posts Johan Vromans CPWR: 17 posts Sullivan, Sean C - MWT: 16 posts Conelly, Luis (GNF, Contractor): 14 posts EJ Ciramella: 14 posts Baz: 13 posts Rhino: 13 posts Nick_gianakas: 12 posts Erik Hatcher: 12 posts Ivan Ivanov: 12 posts Daniels, Doug: 11 posts Jacob, Anil - MWT: 11 posts Walter Heestermans: 8 posts
show more
Archives