Re: Java Source Cross-Reference

2005-09-30 Thread Alan Gutierrez
* Brett Porter <[EMAIL PROTECTED]> [2005-09-30 21:23]: > Are you looking for capabilities other than what the Maven xref (JXR) > provides, or the ability to use it outside of Maven? The library is > now separate and could trivially be wrapped in an Ant task. Thank you. Last time I needed

Re: Java Source Cross-Reference

2005-09-30 Thread Brett Porter
Are you looking for capabilities other than what the Maven xref (JXR) provides, or the ability to use it outside of Maven? The library is now separate and could trivially be wrapped in an Ant task. - Brett On 10/1/05, Alan Gutierrez <[EMAIL PROTECTED]> wrote: > Is there a source cross-referen

Java Source Cross-Reference

2005-09-30 Thread Alan Gutierrez
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 - [EMAIL PROTECTED] - http://engrm.com/blogometer/ --

RE: cd shell script command - ant equivalent?

2005-09-30 Thread Erskine, Chris
Look at the dir attribute on the exec task. Chris Erskine EDS Consulting Services Colorado Springs, CO Phone: 719-265-5962 Cell: 719-640-6488 -Original Message- From: Chad Armstrong [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 4:53 PM To: Ant Users List Subject: cd she

cd shell script command - ant equivalent?

2005-09-30 Thread Chad Armstrong
Hi all, I am converting a Makefile to an ant script. Is there a way to specify directory location in ant, like with the 'cd' command in a Makefile/shell script? I have an exe file that I need to execute (via the task), which is located in a sub-directory of where the main ant script is, and I *t

Re: Check directory exists

2005-09-30 Thread Jeffrey E Care
just run ; it won't post an error if the directory already exists -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) João Augusto Charnet <[EMAIL PROTECTED]> 09/30/2005 06:36 PM Please respond to "Ant Users List" To A

Check directory exists

2005-09-30 Thread João Augusto Charnet
Hello. Is is possible to check if a given directory exists through ant? I have a task that compiles some java files, and I'd like to check if the directory passed to the javac exists before running javac. Any ideas ? Thanks a lot. John -- Softway & Softcomex

importing multiple files

2005-09-30 Thread DHARNA, AJAY [AG/1000]
I have a main build that imports buildX and buildY. There is a fileset Task in buildX that has the same id name as the one in buildY - how can I get the one in buildX to override the one in buildY and can I even override fileset Tasks Thank you for your help Ajay Dharna -

Re: Zip a lot of files

2005-09-30 Thread Sven Waibel
Okay, i got it. Thank Nicolas for your help! Sven Nicolas Vervelle wrote:

Re: Zip a lot of files

2005-09-30 Thread Nicolas Vervelle
I made a typo, I was thinking of from ant-contrib also. You could use it before the call to . It will require some work especially to find the good pattern to use. Other idea is using to extract the filename from the complete path. Just remember that a property is immutable, so you need to use

Re: Zip a lot of files

2005-09-30 Thread Sven Waibel
How can i insert it in my target? Some ideas? Thanks a lot! Sven Nicolas Vervelle wrote: > Maybe a to create yourself the destfile ? > > Sven Waibel wrote: > >> ant-contrib helps in so many cases, thanks. >> >> I got some problems with . >> >> That's my target: >> >> >> >> >>

Re: Zip a lot of files

2005-09-30 Thread Nicolas Vervelle
Maybe a to create yourself the destfile ? Sven Waibel wrote: ant-contrib helps in so many cases, thanks. I got some problems with . That's my target: Now i get an error: [for]

Re: Zip a lot of files

2005-09-30 Thread Sven Waibel
ant-contrib helps in so many cases, thanks. I got some problems with . That's my target: Now i get an error: [for] D:\test\build.xml:702: Problem creating zip: D:\testing_today\D:\

Re: Zip a lot of files

2005-09-30 Thread Joe Schmetzer
On Fri, 30 September, 2005 11:04 am, Sven Waibel wrote: > You have to specify an archive file, but i have several archive files, so > i can't use Ah, PEBKAC on my last response (I need to read the Q more carefully). In that case, Nicolas Vervelle has probably given you the best solution. -- Jo

Re: Zip a lot of files

2005-09-30 Thread Sven Waibel
You have to specify an archive file, but i have several archive files, so i can't use Joe Schmetzer wrote: > On Fri, 30 September, 2005 10:37 am, Sven Waibel wrote: > >>Hi, >> >>i have several files i want to zip. >> >>Situation: >> >>d:\test\tt1.txt >>d:\test\tt2.txt >>d:\test\tt3.txt >>d:\te

Re: Zip a lot of files

2005-09-30 Thread Joe Schmetzer
On Fri, 30 September, 2005 10:37 am, Sven Waibel wrote: > Hi, > > i have several files i want to zip. > > Situation: > > d:\test\tt1.txt > d:\test\tt2.txt > d:\test\tt3.txt > d:\test\tt4.txt > d:\test\tt5.txt > d:\test\tt6.txt > > I want to get the following: > > d:\testing\tt1.zip > d:\testing\tt2

Re: Zip a lot of files

2005-09-30 Thread Nicolas Vervelle
A solution that works: use task from ant-contrib. Maybe there's an other solution using only ant core tasks, but I don't have the idea ;) Sven Waibel wrote: Hi, i have several files i want to zip. Situation: d:\test\tt1.txt d:\test\tt2.txt d:\test\tt3.txt d:\test\tt4.txt d:\test\tt5.txt

Zip a lot of files

2005-09-30 Thread Sven Waibel
Hi, i have several files i want to zip. Situation: d:\test\tt1.txt d:\test\tt2.txt d:\test\tt3.txt d:\test\tt4.txt d:\test\tt5.txt d:\test\tt6.txt I want to get the following: d:\testing\tt1.zip d:\testing\tt2.zip d:\testing\tt3.zip d:\testing\tt4.zip d:\testing\tt5.zip d:\testing\tt6.zip In

DirectoryScanner exclude subdirectories ?

2005-09-30 Thread Rebhan, Gilbert
Hi, i want to use the DirectoryScanner in an own task. i want to exclude subdirectories and only including the files in the root of basedir. DirectoryScanner ds = fs.getDirectoryScanner(getProject()); String[] includes = {"*.*"}; String[] excludes = {"**\\**"}; ds.setInc