RE: Remove entru from ZIP file using ANT

2008-02-12 Thread RADEMAKERS Tanguy
Hello Walter, Don't think there's a one-step way to do this via the update="true" attribute , but you could do it like this: 1. unzip archive into a temp folder 2. delete the archive 3. delete the file(s) you don't want from the temp folder 4. rezip the contents of the temp folder into a new zip.

RE: Suggestions for sending data to the server

2007-10-24 Thread RADEMAKERS Tanguy
Hi Rob, AFAIK, SCP just transfers files - dunno how you would go about executing server side logic i.e. "but the servlet would insert some data into a database." Other than that, i'd say the main benefits are a. it already exists. you don't need to write it. b. it's secure by nature (no need to

RE: symlink - which ant jar do I need?

2007-10-22 Thread RADEMAKERS Tanguy
Hello Wayne, In the future, you may want to make things like that clear from the start, as i have been running a simple test to create symlinks, not delete them. Having changed that, i can tell you that the following build script does work to delete symlinks under Solaris 10 (not sure about Linux)

RE: symlink - which ant jar do I need?

2007-10-18 Thread RADEMAKERS Tanguy
Wayne, No, if ln is installed, it *should* work just fine. By "on the path" it just means that the system can find the ln command (i.e. "which ln". In fact, try using an task to run the "which ln" command - this will show you that ln is installed and that the ant process can find it...). Note t

RE: symlink - which ant jar do I need?

2007-10-18 Thread RADEMAKERS Tanguy
it's "ln" (ie "LN" in lower case). It's the executable which you use to create symlinks. Basically, all the task does is call this executable, so you have to have it installed on your machine. Once again: you're running this on Unix or Linux, right? /t >-Original Message- >From: Wayne

RE: symlink - which ant jar do I need?

2007-10-17 Thread RADEMAKERS Tanguy
Hello Wayne, I don't think you need a jar, i think you need the "ln" executable on the path. /t ps: you're running this on Unix or Linux, right? >-Original Message- >From: Wayne Cruz [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 17, 2007 1:38 AM >To: Ant Users List >Subject: RE:

RE: How to insert CSV into SQL Server via ANT

2007-10-15 Thread RADEMAKERS Tanguy
>-Original Message- >From: Mario Madunic [mailto:[EMAIL PROTECTED] >Sent: Saturday, October 13, 2007 3:39 PM >To: user@ant.apache.org >Subject: How to insert CSV into SQL Server via ANT > > >Hi I've been using the BCP command to do this via > > > >Ran into a problem with this. I thought

RE: package compile problem

2007-09-13 Thread RADEMAKERS Tanguy
"TipiDelovnihMestTabela" sounds like something out of Harry Potter ;) /t ps: sorry, couldn't resist. >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Thursday, September 13, 2007 11:56 AM >To: user@ant.apache.org; [EMAIL PROTECTED] >Subject: AW: package c

RE: How to create a file from ant

2007-09-07 Thread RADEMAKERS Tanguy
use the task with the file attribute /t >-Original Message- >From: Krzysztof Kucybala [mailto:[EMAIL PROTECTED] >Sent: Friday, September 07, 2007 5:36 PM >To: Ant Users List >Subject: How to create a file from ant > >Hi, > >I wanted to know if there is a way to easily create a text >f

RE: [help] ANT + Clearcase

2007-08-14 Thread RADEMAKERS Tanguy
check out cruise control /t >-Original Message- >From: Dharmesh Vyas [mailto:[EMAIL PROTECTED] >Sent: Tuesday, August 14, 2007 11:54 AM >To: Ant Users List >Subject: [help] ANT + Clearcase > >Hello everyone, > >I have setup a small framework using ANT buildscripts for >Updating my clea

RE: Inclusion and Exclusion Confusion

2007-07-20 Thread RADEMAKERS Tanguy
>Can somebody shed light on what I am doing wrong? I'm guessing that your test classes refer to - i.e. depend on - the classes they test, right? So isn't it normal that the tested classes get compiled? /t - To unsubscribe, e-ma

RE: Disable loading of DTD in task

2007-07-06 Thread RADEMAKERS Tanguy
Hello Roman, Use an xmlcatalog: "An XMLCatalog is a catalog of public resources such as DTDs or entities that are referenced in an XML document. Catalogs are typically used to make web references to resources point to a locally cached copy of the resource." It is linked to from the page in the

RE: need help regarding the sql query

2007-07-05 Thread RADEMAKERS Tanguy
Hello, You could write the results of your sql query to a file using the task's "output" attribute, then read that file in to set a property value using the task. Regs, /t >-Original Message- >From: Basha [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 04, 2007 1:49 PM >To: user@ant.

RE: How to RENAME a file in ANT 1.6.2

2007-06-22 Thread RADEMAKERS Tanguy
Hello Satheesh, You should use a task with a nested - probably a or a depending on how you want to rename the file. Check the documentation for the in the Core Types section of the documentation. Regards, /t >-Original Message- >From: Satheesh [mailto:[EMAIL PROTECTED] >Sent: Frid

RE: Whats the best syntax to use for a directory copy?

2007-06-15 Thread RADEMAKERS Tanguy
iirc, that would copy the *contents* of ${source} under ${tdestination} try this: /t >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf >Of yitzle >Sent: Friday, June 15, 2007

RE: replace an entry in a zip file?

2007-06-14 Thread RADEMAKERS Tanguy
ver you need >and switch to using the task to create the JAR, feeding in >the hand-crafted manifest. > >Here's my build.xml: > > > > > > > > > > > > > > > > > > >fullpath="META-INF/MANIFEST.MF"/> > >

RE: replace an entry in a zip file?

2007-06-14 Thread RADEMAKERS Tanguy
Hello Cyril, >GOAL: To replace one entry in a zip file with an updated file. > >I cannot find an elegant way to do this, short of 'ing the >archive, replacing the file of interest and then re-. It seems >there should be a better way. Can anyone help? > >Thanks. > >--Cyril If you use the update

RE: [solved] Re: Running .app on Mac OSX

2007-06-13 Thread RADEMAKERS Tanguy
h the player, but unfortunately that didn't work. >Re thr other response, the only options for 'open' are -a to >specify the >app, and -e to open the file in textEdit > >Cheers all > >PBH > > >On 6/12/07 12:29 PM, "RADEMAKERS Tanguy" <[EMAIL

RE: Running .app on Mac OSX

2007-06-12 Thread RADEMAKERS Tanguy
Hello Paul, You should be able to get around this by using the "waitfor" task with a nested "available" check on the output file. Regs, /t >-Original Message- >From: Paul Barnes-Hoggett [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 12, 2007 6:16 PM >To: user@ant.apache.org >Subject:

RE: build doesn't complete after tomcat starts

2007-05-23 Thread RADEMAKERS Tanguy
Hello, Just off the top of my head, but did you look into using the spawn attribute of the exec task? Regs, /t >-Original Message- >From: swapnil_r_84 [mailto:[EMAIL PROTECTED] >Sent: Wednesday, May 23, 2007 11:21 AM >To: user@ant.apache.org >Subject: build doesn't complete after tomcat

RE: tag inside some other tag(cvs)

2007-04-19 Thread RADEMAKERS Tanguy
Hello Prasad, OK, i have checked the WinCvs site, and it seems that WinCvs has a window (they call it the "browser status window") that shows you which cvs calls are being made as you use the tool. In this picture: http://www.wincvs.org/wincvs_app.png it is the window at the bottom of the scree

RE: tag inside some other tag(cvs)

2007-04-19 Thread RADEMAKERS Tanguy
Prasad, How would you do what you are trying to do *without* ant? In other words, how would you do this using just the cvs command line client? If you can post the commands you would use (copy and paste them from your command line window) maybe it would clear things up for us. /t >-Original

RE: Automated build to ensure that every day check-ins are clean and non-breaking

2007-04-16 Thread RADEMAKERS Tanguy
see this for interesting info: http://www-128.ibm.com/developerworks/java/library/j-ap09056/index.html /t >-Original Message- >From: prasad kumar [mailto:[EMAIL PROTECTED] >Sent: Saturday, April 14, 2007 10:20 AM >To: user@ant.apache.org >Subject: Automated build to ensure that every d

RE: Doubt in use ANT or not.

2007-04-06 Thread RADEMAKERS Tanguy
Hello Marcos, No, embedding ant in your program is overkill for something this simple. My 0.02$ /t >-Original Message- >From: Marcos Vilela [mailto:[EMAIL PROTECTED] >Sent: Friday, April 06, 2007 3:33 AM >To: user@ant.apache.org >Subject: Doubt in use ANT or not. > > >Hello experts, >

RE: build problem

2007-04-02 Thread RADEMAKERS Tanguy
Hello Emir, Try "ant" (as opposed to "build"). /t >-Original Message- >From: Emir Mahmut BAHSI [mailto:[EMAIL PROTECTED] >Sent: Monday, April 02, 2007 10:38 AM >To: user@ant.apache.org >Subject: build problem > >Hi, >I have just downloaded apache ant and am trying to build. >However wh

RE: task broken in 1.6.5?

2007-03-08 Thread RADEMAKERS Tanguy
Hi David, I find no sign of it in the 1.6.5 manual... so it looks like maybe it was added for 1.7? /t >-Original Message- >From: David Corley (AT/LMI) [mailto:[EMAIL PROTECTED] >Sent: Thursday, March 08, 2007 5:27 PM >To: user@ant.apache.org >Subject: task broken in 1.6.5? > >I've trie

RE: Invoking Ant Procedures from tomcat ?

2007-03-01 Thread RADEMAKERS Tanguy
Hello, What you are describing sounds a lot like continuous integration. Have you considered CruiseControl? It can be used to build and test your application each time code is committed to scm, and sends all kinds of mails as well as having a web interface with results, etc. Regs, /t >-Orig

RE: Versioning

2007-02-26 Thread RADEMAKERS Tanguy
Hello Erica, Have you looked at the task? Regs, /t >-Original Message- >From: Erica A Ramsey [mailto:[EMAIL PROTECTED] >Sent: Monday, February 26, 2007 2:59 PM >To: Ant Users List >Subject: RE: Versioning > >Well, it would be nice if build would auto increment. is that possible? > >---

RE: Help with running different target based on user input?

2007-02-23 Thread RADEMAKERS Tanguy
>Thanks for all the help!! Your name looks familiar - you are on the >CFEclipse mailing list as well aren't you? :) My pleasure, and, yes, i am indeed on the CFE list (usually posting things like "you can do that with ant!") /t ---

RE: Help with running different target based on user input?

2007-02-23 Thread RADEMAKERS Tanguy
Hey James, Just a last disclaimer/whatnot: it's worth mentioning that is not meant to be used as a poor man's "goto" - it's more about allowing you to reuse an existing target, optionally with different properties. Ant scripts can get pretty hairy even when you do everything "by the book" (becau

RE: Help with running different target based on user input?

2007-02-23 Thread RADEMAKERS Tanguy
IH/NIEHS) [C] [mailto:[EMAIL PROTECTED] >Sent: Friday, February 23, 2007 4:15 PM >To: Ant Users List >Subject: RE: Help with running different target based on user input? > >> -Original Message- >> From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] > >> An

RE: Help with running different target based on user input?

2007-02-23 Thread RADEMAKERS Tanguy
i'm not too sure i understand what you mean by "chain dependencies together". In ant, a target can depend on more than one other targets (just pass a comma separated list) and ant handles generating the graph of dependent targets for you (so if target c depends on target b which depends on target a

RE: Help with running different target based on user input?

2007-02-23 Thread RADEMAKERS Tanguy
ILD SUCCESSFUL Total time: 2 seconds D:\scrap\ant>ant Buildfile: build.xml ask_script3: [input] Populate people tables with test data? (run script3)(y,n) y script3: [echo] running script 3... BUILD SUCCESSFUL Total time: 1 second D:\scrap\ant> /t >-Original Message- >F

RE: Help with running different target based on user input?

2007-02-23 Thread RADEMAKERS Tanguy
Hello James, You should put the input tasks within the target blocks that "consume" the inputted info: mailto:[EMAIL PROTECTED] >Sent: Friday, February 23, 2007 2:13 PM >To: user@ant.apache.org >Subject: Help with running different target based on user input? > >I'm just gett

RE: Using SQL query result as a property, how?

2007-02-08 Thread RADEMAKERS Tanguy
can't find it in my mails, but there's a hack for this. Depending on your database, you should be able to tell it *not* to write that info at the end (something like "set nocount" on oracle). Search the archives, it's come up before... /t >-Original Message- >From: Steve Loughran [mailto

RE: ant env

2007-01-16 Thread RADEMAKERS Tanguy
gt; ant version - 1.6.5 >> OS - Linux (CentOS) >> >> >> the same thing runs on ubuntu. >> >> -Original Message- >> From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] >> Sent: 16 January 2007 10:33 >> To: Ant Users List >> Subject:

RE: ant env

2007-01-16 Thread RADEMAKERS Tanguy
*any* properties or a specific property? please give more info - setup, environment, etc. >-Original Message- >From: Kalsi, Ramnish [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 16, 2007 11:02 AM >To: Ant Users List >Subject: ant env > >Can the list help me with possible reasons - w

RE: [ANN] Ant 1.7.0 Released

2006-12-20 Thread RADEMAKERS Tanguy
Congratulations to the Apache Ant Team, and i'm sure i speak for all us users when i say thanks a lot for all the time and effort you put into this. Regs, /t >-Original Message- >From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 20, 2006 4:22 AM >To: Ant D

RE: cksum

2006-11-16 Thread RADEMAKERS Tanguy
Hi Venkatesh, Ant has a checksum task (one of the core tasks) to do this. Check out (no pun intended) the examples in the manual for the checksum task. regs, /t >-Original Message- >From: Venkatesh Vijayakumar04 [mailto:[EMAIL PROTECTED] >Sent: Thursday, November 16, 2006 10:25 AM >To:

RE: Error - Could not create task of type: condition

2006-11-15 Thread RADEMAKERS Tanguy
Hello Sergio, "Condition" is a built-in task (no need to add any jars anywhere), but you are running a really old version of ant, so that's probably the issue here. First things first: upgrade ant to 1.6.5 (latest stable). There is no built-in way to upgrade ant, so just go to http://ant.apache

RE: Deploying to windows desktop

2006-09-29 Thread RADEMAKERS Tanguy
well then you could use the task ;) >-Original Message- >From: Angus Rose [mailto:[EMAIL PROTECTED] >Sent: Friday, September 29, 2006 10:13 AM >To: user@ant.apache.org >Subject: Re: Deploying to windows desktop > > >Yes, that would suffice > >Scot P. Floess wrote: >> >> Define "deploy"

RE: Question

2006-09-08 Thread RADEMAKERS Tanguy
if your interfaces follow some kind of a naming pattern ("IInterfaceName.java"), you can select them all using a fileset with a nested include /t >-Original Message- >From: Bret Kumler [mailto:[EMAIL PROTECTED] >Sent: Friday, September 08, 2006 4:42

RE: Ant Task for FOP

2006-08-25 Thread RADEMAKERS Tanguy
Hello, Not quite sure if i'm understanding the question, but as far as i can ascertain from a quick look at the website, FO files are in fact xml, so i would say that your best bet would be to generate them using xsl transformations. Ant has a

RE: Ant task to grep 'import' ?

2006-07-25 Thread RADEMAKERS Tanguy
Yes, use the task with a nested and a filterreader. /t >-Original Message- >From: samuel cheung [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 25, 2006 5:24 AM >To: user@ant.apache.org >Subject: Ant task to grep 'import' ? > >Hi, > >Is there an ANT task to grep all "imports" in each j

RE: How to run JUnit Test cases using ANT script ?

2006-06-20 Thread RADEMAKERS Tanguy
Hello Deepak, I would suggest looking up the following tasks in the ant manual: 1) building your code: the task 2) running junit tests: the task 3) making a report of junit tests run: the task Regards, /t >-Original Message- >From: Deepak Rao [mailto:[EMAIL PROTECTED] >Sent: Tuesday

RE: Unzip Question

2006-04-13 Thread RADEMAKERS Tanguy
Hello Josh, It's a two step process: 1) extract the .js files from the archive to a temp location using the task with a nested 2) use the task with a nested to copy the js files from the temp location to a new destination /t >-Original Message- >From: Fenlason, Josh [mailto:[EMAI

RE: regarding Ant

2006-03-24 Thread RADEMAKERS Tanguy
Manas, You can get LOTS of benefit of using ant with WSAD - check your docco, i'm sure that WSAD ships with custom ant tasks - most java app servers do. /t >-Original Message- >From: Manas_Das [mailto:[EMAIL PROTECTED] >Sent: Friday, March 24, 2006 3:44 PM >To: Ant Users List >Subject: R

RE: regarding Ant

2006-03-24 Thread RADEMAKERS Tanguy
Hello Manas, Ant is mainly used to automate processes related to developing java software - so things like compiling, testing, deploying, etc. Think about all of the things you do that do related to "development" (i.e. not meetings - ant can't go to meetings for you yet) but don't involve typing j

RE: Get the modification time of a file into a property.

2006-03-23 Thread RADEMAKERS Tanguy
Why not do it like this: if lastrun.txt doesn't exist, use to generate the last run date/time and to write it to the file lastrun.txt else use to load lastrun.txt /t >-Original Message- >From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] >Sent: Thursday,

RE: text books on ant

2006-01-19 Thread RADEMAKERS Tanguy
>I'm not aware of any book that covers Ant 1.6, but there may be some. >I'd check the "Resources" link at the Ant web site and read some of >the stuff available online. the second edition of O'Reilly's "Ant: The Definitive Guide" covers Ant 1.6. /t ---

RE: particular fileset question

2006-01-18 Thread RADEMAKERS Tanguy
>This is that, what I do not want to do, because I don't know from begin >which folders should be excluded. I only know which folder should be >included. then use Clifton Craig's solution of only listing the folders you want to include - in this case, folderA and folderB. No matter how many more f

RE: particular fileset question

2006-01-18 Thread RADEMAKERS Tanguy
>-Original Message- >My intention is to include all jars in folderA and folderB, ecluding >jars in folderC. how about this: that should be all jars anywhere except those in folderC /t - To unsubscr

RE: Using mappers with delete task

2005-11-09 Thread RADEMAKERS Tanguy
you could use a nested fileset with an excludes attribute. something like: /t >-Original Message- >From: Brown, Carlton [mailto:[EMAIL PROTECTED] >Sent: Wednesday, November 09, 2005 7:46 PM >To: Ant Users List >Subject: Using mappers with delete task > >If I have a number of

RE: default attribute of project

2005-09-27 Thread RADEMAKERS Tanguy
default attribute of project > >Hi, > >The other system does not need this. Is this an older version on ant >that needs this? > >Thanks >-mez > >-Original Message- >From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] >Sent: Monday, September 26, 2005 1:04 P

RE: default attribute of project

2005-09-26 Thread RADEMAKERS Tanguy
Hello Marcus, try this: /t >-Original Message- >From: Marcus Zafarano [mailto:[EMAIL PROTECTED] >Sent: Monday, September 26, 2005 9:56 PM >To: user@ant.apache.org >Subject: default attribute of project > >Hi, > > > >I have setup my build system and it seemed to work on one system, b

RE: Extracting application version from Java file

2005-09-20 Thread RADEMAKERS Tanguy
Sorted - i didn't have the bcel.jar in my lib folder. Added it and it works fine. Sooo - Nicolas, *if* you have bcel.jar installed, you can use the example below to get your version string out of your file! (but you shouldn't ;) /t >-Original Message- >From: R

RE: Extracting application version from Java file

2005-09-20 Thread RADEMAKERS Tanguy
Hello List, I was going to reply to Nicolas that, whilst i agree with the other two replies (you should pass the version in somehow and not read it from the java source file), you *can* achieve what he is trying to do using the task with a nested filterchain. But i can't seem to get it to work.

RE: where is the problem?

2005-09-20 Thread RADEMAKERS Tanguy
Hello Aydin, Ant+Eclipse is a slightly diffferent animal than Ant all alone - depending on how you have your classpath setup for compiling (basically - explicitly listed in build.xml vs imported as a property vs set in your environment) you may have to mess about with Eclipse's Ant runtime pref

RE: Re(2): Newbie question

2005-09-15 Thread RADEMAKERS Tanguy
>That is strange since I installed Ant and the latest JDK and wrote the >first example described in O'Reilly book about Ant. >If even that first example does not work without downloading additional >classes... That's not what he means - ant has a number of optional tasks that require extra jars, a

RE: moving from windows to unix: found already some clues

2005-09-14 Thread RADEMAKERS Tanguy
>to be honest, there isnt much literature on it because its so >easy. the >only things that break are > >-case of filenames >- of native apps. - use of the task. - use of the task (if you don't have libcabinet) - check that your tasks use the targetos attribute and not hardcoded dirsep/pathse

RE: Very basic newby problem?

2005-09-13 Thread RADEMAKERS Tanguy
Hello Kinjal, What are you trying to do? What have you ried so far? What is/isn't working? /t >-Original Message- >From: Kinjal [mailto:[EMAIL PROTECTED] >Sent: Tuesday, September 13, 2005 3:32 PM >To: Ant Users List; [EMAIL PROTECTED] >Subject: RE: Very basic newby problem? > >how to

RE: Condition operation based on existance of a file ?

2005-09-09 Thread RADEMAKERS Tanguy
check out the ant-contrib project on sourceforge /t >-Original Message- >From: Darryl L. Miles [mailto:[EMAIL PROTECTED] >Sent: Friday, September 09, 2005 11:23 AM >To: user@ant.apache.org >Subject: Condition operation based on existance of a file ? > > >How can I instruct ANT to condit

RE: How do I get 's output back into my ant script?

2005-09-08 Thread RADEMAKERS Tanguy
i thought this is what the outputproperty attribute of the exec task was for? /t >-Original Message- >From: Guru Balse [mailto:[EMAIL PROTECTED] >Sent: Thursday, September 08, 2005 7:38 PM >To: Ant Users List >Subject: Re: How do I get 's output back into my ant script? > >S I: > >I am

RE: classpath problem

2005-09-05 Thread RADEMAKERS Tanguy
you closed your "javac" tag (xml empty tag syntax with a closing "/"), so your classpath isn't being passed. /t >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Saturday, September 03, 2005 9:36 AM >To: user@ant.apache.org >Subject: clas

RE: sql task sp_dboptions problem

2005-08-25 Thread RADEMAKERS Tanguy
/t >-Original Message- >From: Rizwan Merchant [mailto:[EMAIL PROTECTED] >Sent: Thursday, August 25, 2005 9:28 PM >To: 'Ant Users List' >Subject: RE: sql task sp_dboptions problem > >Hmmm...that looks like a good idea. Thanks... > >-Original Messag

RE: sql task sp_dboptions problem

2005-08-25 Thread RADEMAKERS Tanguy
ns problem > > >I don't think so, because the cleanDB.sql file still refers to >a specific >database. What I want to do is somehow pass a parameter to the >cleanDB.sql >file so that the file can be generic. > >-Original Message- >From: RADEMAKERS Tanguy [m

RE: sql task sp_dboptions problem

2005-08-25 Thread RADEMAKERS Tanguy
wouldn't this work? >-Original Message- >From: Moran Ben-David [mailto:[EMAIL PROTECTED] >Sent: Thursday, August 25, 2005 8:43 PM >To: 'Ant Users List' >Subject: RE: sql task sp_dboptions problem > >Sorry Razwan, > >I am not familiar with the task enough to help you on >that. Howeve

RE: Is it possible to use other build file's classpath?

2005-08-19 Thread RADEMAKERS Tanguy
use other build file's classpath? > >Hi RADEMAKERS, > >it works, good idea! > >Thanks a lot! > > >Best regards, >Leon > >--- RADEMAKERS Tanguy <[EMAIL PROTECTED]> wrote: > >> You could define your path in a seperate file (like "build_pat

RE: Is it possible to use other build file's classpath?

2005-08-19 Thread RADEMAKERS Tanguy
You could define your path in a seperate file (like "build_path.inc") and then use xml-include to include this in BOTH your build files. This is an xml-level hack rather than a ant level hack. /t >-Original Message- >From: Leon Pu [mailto:[EMAIL PROTECTED] >Sent: Friday, August 19, 2005

RE: Where from can i donwload catalina-ant.jar?

2005-07-14 Thread RADEMAKERS Tanguy
it ships with tomcat. >-Original Message- >From: Nir Geier [mailto:[EMAIL PROTECTED] >Sent: Thursday, July 14, 2005 8:44 PM >To: Ant Users List >Subject: Where from can i donwload catalina-ant.jar? > >Where from can i donwload catalina-ant.jar? > >

RE: retrieving project names with subant

2005-07-14 Thread RADEMAKERS Tanguy
according to the manual, you can pass a nested to the subant task. You could use this to propagate your own build name property down the tree. Main project name is ${ant.project.name} Sub project name is ${ant.project.name}

RE: using junit task

2005-07-14 Thread RADEMAKERS Tanguy
Marc, Check out the thread titled "storing optional (ftp) task jar dependency under my project instead of under /ant/lib" posted this tuesday by Asle Pedersen (and esp. the answer by Ivan Ivanov) /t >-Original Message- >From: Mark Lybarger [mailto:[EMAIL PROTECTED] >Sent: Thursday, July

RE: Ant 1.6.5 on Linux: Unknown argument: -cp / Wrong version info

2005-07-08 Thread RADEMAKERS Tanguy
Hello, Search the list archives for a thread titled "problem with ant under linux" posted a week or two ago by Diana Steffen. /t >-Original Message- >From: Gisbert Amm [mailto:[EMAIL PROTECTED] >Sent: Friday, July 08, 2005 3:32 PM >To: user@ant.apache.org >Subject: Ant 1.6.5 on Linux:

RE: Question: List

2005-06-15 Thread RADEMAKERS Tanguy
Frank, Download and install the latest binary for windows. The included docco is excellent. Once you can write your own simple build files, a great way to learn is by examining existing (working!) build scripts, so grab some open source stuff and see if you can build it with ant, then peek at the

RE: Detecting JDK Version using ANT

2005-06-15 Thread RADEMAKERS Tanguy
java version: ${ant.java.version} >-Original Message- >From: Zarar Siddiqi [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 15, 2005 9:49 PM >To: user@ant.apache.org >Subject: Detecting JDK Version using ANT > >Hi, > >Is there a clean way to detect what ver

RE: Output of SQL-task

2005-05-02 Thread RADEMAKERS Tanguy
Hello, Try appending "set feedback off" at the top of your SQL script (${unitTests.sql.dir}/query.sql) /t >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Monday, May 02, 2005 1:35 PM >To: Ant Users List >Subject: Re: Output of SQL-task > >Tx Ivan for the w

RE: woes!

2005-03-01 Thread RADEMAKERS Tanguy
Hello Cyril, have you looked at using a combination of the and selectors? /t >-Original Message- >From: Cyril Sagan [mailto:[EMAIL PROTECTED] >Sent: Tuesday, March 01, 2005 2:28 AM >To: user@ant.apache.org >Cc: [EMAIL PROTECTED] >Subject: woes! > > >I'm loosing my mind trying to get

RE: Ant fileset from list of checked out files (cleartool lsco)

2004-12-17 Thread RADEMAKERS Tanguy
perforce tasks. So I >really need to abstract some of the output stream handler >classes that made for this so that other tasks can be easily >implemented to do other clearcase stuff. > >-Rob Anderson > >> -Original Message- >> From: RADEMAKERS Tanguy [mailto:

RE: Ant fileset from list of checked out files (cleartool lsco)

2004-12-17 Thread RADEMAKERS Tanguy
Hello Rob, We use clearcase here. I'd love to give it a spin if you'd send it to me. Regs, /t >-Original Message- >From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] >Sent: Friday, December 17, 2004 1:13 AM >To: [EMAIL PROTECTED] >Cc: Ant Users List; [EMAIL PROTECTED] >Subjec

RE: yet another regex question

2004-12-14 Thread RADEMAKERS Tanguy
The power of awk and many other goodies: http://GnuWin32.sourceforge.net/ /t >-Original Message- >From: Gilbert Rebhan [mailto:[EMAIL PROTECTED] >Sent: Tuesday, December 14, 2004 6:30 PM >To: Ant Users List >Subject: Re: yet another regex question > >Hi, > >Nemana, Satya V wrote: >> Gi

RE: Ant library paths

2004-12-13 Thread RADEMAKERS Tanguy
kine > >EDS Consulting Services >F5-EDS-001 >2424 Garden of the Gods Rd >Colorado Springs, CO 80919 > >Phone: 719-265-5962 > > >> -Original Message- >> From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, December 14, 2004 4:03 AM >&g

RE: Ant library paths

2004-12-13 Thread RADEMAKERS Tanguy
ervices >F5-EDS-001 >2424 Garden of the Gods Rd >Colorado Springs, CO 80919 > >Phone: 719-535-6064 > > >> -Original Message- >> From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] >> Sent: Friday, December 10, 2004 11:35 AM >> To: Ant Users Li

RE: Ant library paths

2004-12-10 Thread RADEMAKERS Tanguy
Hi Chris, You could try using the task and specifying the -lib switch. Regs, /t >-Original Message- >From: Erskine, Chris [mailto:[EMAIL PROTECTED] >Sent: Friday, December 10, 2004 7:23 PM >To: Ant Users List >Subject: RE: Ant library paths > >I am planning on version controlling them

RE: Attachments with MailLogger

2004-12-08 Thread RADEMAKERS Tanguy
Hello Ivan, As far as i know it is not possible to attach files to a mail sent by the MailLogger. Have you looked into using the task inside your build script instead? Regs, /t >-Original Message- >From: Ivan Ivanov [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 08, 2004 2:36 PM

RE: Delete XML Files depending on content

2004-12-02 Thread RADEMAKERS Tanguy
i bow to your speed keyboard ;) >-Original Message- >From: Peter Reilly [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 02, 2004 6:35 PM >To: Ant Users List >Subject: Re: Delete XML Files depending on content > > > > > > > >Peter > >Robert Soesemann wrote: > >>Hello, >

RE: Delete XML Files depending on content

2004-12-02 Thread RADEMAKERS Tanguy
if the string "DONTPROCESS" **only*$ appears in these files and not the others... /t >-Original Message- >From: Robert Soesemann [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 02, 2004 6:09 PM >To: Ant Users List >Subject: Delete XML Files dep

RE: Ant 1.6.2 loads very slow

2004-11-30 Thread RADEMAKERS Tanguy
Hello Tony, Did you try the dev list? I think most people here run ant interactively, not embedded, so you might need a more "expert" level of opinion... just my 0.02 $ /t >-Original Message- >From: Tony Thompson [mailto:[EMAIL PROTECTED] >Sent: Tuesday, November 30, 2004 3:46 PM >To

RE: JUnit/JUnitReport task: Alternative formats

2004-11-29 Thread RADEMAKERS Tanguy
Sometimes the easiest way is just to open a .html file in word -> instant doc. Another neat trick (if your .html is a table) is to open in excel. With a minimum of tweaking you can get some decent results - good enough anyways. /t >-Original Message- >From: [EMAIL PROTECTED] [mailto:[E

RE: Ant file command-line arguments WAS nested "fileset" error (why?)

2004-10-28 Thread RADEMAKERS Tanguy
ant ivcommon_isoft -DBUILDVIEW=[insert here] -DIVC_VER=[insert here] -DIVC_BLD=[insert here] >-Original Message- >From: George Dibi [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 28, 2004 9:30 PM >To: Ant Users List >Subject: RE: Ant file command-line arguments WAS nested >"fileset"

RE: nested "fileset" error

2004-10-28 Thread RADEMAKERS Tanguy
George, Not sure, but i think the task is what you're after. Consult the Quality Documentation ! /t >-Original Message- >From: George Dibi [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 28, 2004 9:13 PM >To: Ant Users List >Subject: RE: nested "fileset" error > >Hey guys, > >Can s

RE: Propostion for improving PropertyFileInputHandler

2004-10-27 Thread RADEMAKERS Tanguy
st >Subject: RE: Propostion for improving PropertyFileInputHandler > >--- RADEMAKERS Tanguy <[EMAIL PROTECTED]> >wrote: >> I agree that the property name makes a better key >> than the message >> string. I routinely wrap my tasks in their >> own targets, us

RE: Propostion for improving PropertyFileInputHandler

2004-10-27 Thread RADEMAKERS Tanguy
Hello Ivan, I agree that the property name makes a better key than the message string. I routinely wrap my tasks in their own targets, using "unless" to allow those devs who want to to put things in a properties file instead:

RE: Perform different target depending on *value* of property

2004-10-15 Thread RADEMAKERS Tanguy
I think he means you would have: ... ... ... and would call the appropriate one (and only that one). Worth a try - if it works, it's brilliant. /t >-Original Message- >From: Rhino [mailto:[EMAIL PROTECTED] >Sent: Friday, October 15, 2004 3:26 PM >To: Ant Users List >Subject: Re: P

RE: Ant build script using sosget

2004-10-14 Thread RADEMAKERS Tanguy
Gareth, Just a guess, but it looks like you haven't added soscmd to your PATH. Regs, /t >-Original Message- >From: Gareth Kelly [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 14, 2004 4:30 PM >To: '[EMAIL PROTECTED]' >Subject: Ant build script using sosget > >I am trying to connect

Re: Problems with available

2004-03-30 Thread RADEMAKERS Tanguy
Marco, Properties in Ant are immutable, once they are set they can't be changed. Remove the "" line and all should be fine (for the purpose of if and unless attributes, undefined is equivalent to false) /t Marco Tedone wrote: Hi, following the documentation for available I defined the follow

Re: Creating a java file

2004-02-23 Thread RADEMAKERS Tanguy
Pritesh, Take a look at FilterSets in the manual, under "Concepts and Types". /t Pritesh saharey wrote: Hello All, A very simple problem for you, i would like to create a java file using ant in which i want to a code something like this // public class VersionDate { publ

Re: Building FileSets...

2004-02-05 Thread RADEMAKERS Tanguy
you should think about donating that! i use a shell script to do the same thing so that i can release just the changes into prod, but it would be cool if the build could do that. /t Rob van Oostrum wrote: changed compared to what? CVS? I have a custom task that works off cvs rdiff that does ju

Re: Updating Java source, JavaCC?

2004-01-29 Thread RADEMAKERS Tanguy
World First: ant-users list member promotes non-ant solution ;) on a tangentially related matter, i'm trying to get ant to make me a cup of coffee whilst my build is processing... any ideas? Erik Hatcher wrote: JavaCC sounds way overkill (and tangential even) to what you are attempting. The

Re: Ant 1.6 and JUnit - NoClassDefFoundError

2004-01-07 Thread RADEMAKERS Tanguy
Hello Keith, I don't *think* you need xalan.jar in the ANT_HOME/lib any more - have you tried removing it? There are some other jars in there that might conflict... here's my test: C:\TanguyLand>echo %JAVA_HOME% C:\j2sdk1.4.2_01 C:\TanguyLand>echo %CLASSPATH% %CLASSPATH% <- i.e. no classpath C:

Re: - what is it?

2004-01-05 Thread RADEMAKERS Tanguy
DevKon, 1) if your example is the one from "using ant" then it's just a snippet and there isn't enough context to see what ${classpath} refers to. Basically, some variable defined elsewhere is the correct (but not very helpful) answer - but ${classpath} itself has no magic value. 2) ${classpat

  1   2   >