AW: zip task to include all files under all subdirs

2005-08-03 Thread Jan.Materne
should be enough Jan >-Ursprüngliche Nachricht- >Von: Anand Krishniyer [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 3. August 2005 20:18 >An: user@ant.apache.org >Betreff: zip task to include all files under all subdirs > >Hi >I am using zip task to make a zip of a dir. the user i

junit task problem

2005-08-03 Thread Ola Lie
Hi, I have a class with a method getNames() which returns a List ( ArrayList). Then I have test class with a testGetNames() method which assertTrue if the List contains certain elements. The testGetNames() passes when I compile and run the test from the command prompt. (java "test class

zip task to include all files under all subdirs

2005-08-03 Thread Anand Krishniyer
Hi I am using zip task to make a zip of a dir. the user inputs the dir name and the target needs to zip the entire contents of the dir. Pl note there could be empty dir/sub dir and several levels of nesting in the sub dirs. I am using the zip task like this

RE: Adding to ant's classpath from an ant build script

2005-08-03 Thread Moran Ben-David
I mean.. I did the following (just for the records of this archive for anyone searching): Thanks, again, moran > -Original Message- > From: Moran Ben-David [mailto:[EMAIL PROTECTED] > Sent: Wednesday, Au

RE: Adding to ant's classpath from an ant build script

2005-08-03 Thread Moran Ben-David
Thank you, Antoine. I used the following worked like a charm. Moran > -Original Message- > From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 03, 2005 12:17 PM > To: Ant Users List > Subject: Re: Adding to ant's classpath from an ant build script > > Hello M

Re: Adding to ant's classpath from an ant build script

2005-08-03 Thread Antoine Levy-Lambert
Hello Moran, if your use case does not bring you in the delegating class loader case, you can use the classpath attribute of the task (actually documented under typedef, because taskdef is an extension of ). Cheers, Antoine > --- Ursprüngliche Nachricht --- > Von: "Moran Ben-David" <[EMAIL PRO

Adding to ant's classpath from an ant build script

2005-08-03 Thread Moran Ben-David
I have a custom Ant task in a jar file (custom.jar) that I would like to use in my ant build.xml. However, I would like to add this jar to the ant runtime only during the execution of my script. Is there a way I can tell ant to include this jar (/home/me/custom.jar) in its classpath from my build

Have the performance issues been resolved?

2005-08-03 Thread Dick, Brian E.
I'm currently using the 12/1/4 nightly build of 1.7alpha. I tried the GA build of 1.6.3, but the performance was horrible. A full build of my application using 1.7alpha takes about 15 minutes. It took 1.6.3 over an hour to do the same build. Have these performance issues been resolved with the lat

Re: Pass Argument to CVS Command

2005-08-03 Thread Andrew Goktepe
For the '<' char you can use '<' Ant should take whatever you give for the 'command' value and use it for the CVS command line. For rlog you could do the following: -Andrew On 8/3/05, KrustyDerClown <[EMAIL PROTECTED]> wrote: > > Hello, > > how can i pass the argument "-d 2005-10-10<2005-

Pass Argument to CVS Command

2005-08-03 Thread KrustyDerClown
Hello, how can i pass the argument "-d 2005-10-10<2005-12-12" to the cvs command "log" ? failonerror="yes" > The problem is the "<" symbol. Is that possible that i use this symbol in the argument line ? And another question: Can i use the cvs command "rlog" also in ANT ? When i start

Always get "tar is up to date" from tar task.

2005-08-03 Thread Leon Pu
Hi all, I met a strange problem that Ant always return me "tar is up to date" when I run a target which contains tar task. But as a matter of fact the tar file hasn't been created by my build file, but I continuously get preceding error message. Could anybody tell me why? Any comment is welcome.

Re: Cannot Resolve symbol

2005-08-03 Thread Petar Tahchiev
On 03/08/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Ant does not cache anything. It checks (by timestamp) if the class file is > uptodate to the source file. > All "new" sources are then submitted to the compiler who decides what to > do. > > Maybe you could post your directory struct

RE: Hi!

2005-08-03 Thread hind.lwahhabi
can you post your exception stack trace? Hind Lwahhabi. -Original Message- From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: Wed 8/3/2005 11:10 AM To: Ant Users List Subject: Hi! I am not sure whether anyone is capable in helping me but anyway - I am posting this. I have a build.

AW: Cannot Resolve symbol

2005-08-03 Thread Jan.Materne
Ant does not cache anything. It checks (by timestamp) if the class file is uptodate to the source file. All "new" sources are then submitted to the compiler who decides what to do. Maybe you could post your directory structure and the parts of your two buildfiles - subbuild: compiling, creating

Re: Cannot Resolve symbol

2005-08-03 Thread Petar Tahchiev
On 03/08/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >> I have another ant file that I call with . > >It compiles > >some sources, builds a .jar, and later on I include that jar > >in the classpath in the new compilation. They should be > >uptodate, because wheever I call the master build

AW: Cannot Resolve symbol

2005-08-03 Thread Jan.Materne
>> I have another ant file that I call with . >It compiles >some sources, builds a .jar, and later on I include that jar >in the classpath in the new compilation. They should be >uptodate, because wheever I call the master build file it >compiles the one that should go in the classpath maybe t

Re: Cannot Resolve symbol

2005-08-03 Thread Petar Tahchiev
On 8/3/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > "previously comiled" - maybe they are not uptodate? > Eclipse compiles all java files in the project (workspace?) if needed (and > "autocompile"), Ant doesnt have a workspace. It compiles only the files you > give to > > Jan > > >---

AW: Cannot Resolve symbol

2005-08-03 Thread Jan.Materne
"previously comiled" - maybe they are not uptodate? Eclipse compiles all java files in the project (workspace?) if needed (and "autocompile"), Ant doesnt have a workspace. It compiles only the files you give to Jan >-Ursprüngliche Nachricht- >Von: Petar Tahchiev [mailto:[EMAIL PROTECT

Hi!

2005-08-03 Thread Petar Tahchiev
I am not sure whether anyone is capable in helping me but anyway - I am posting this. I have a build.xml file that compiles some sourc files. I also include some already compiled files in the classpath of the current compilation. However ant fails to compile my sources finding 7 errors saying m

RE: AW: [xslt] a pre-defined output for each XML file

2005-08-03 Thread SinDoc
Thank you for your help. >- --- Original Message --- - >From: user@ant.apache.org >To: user@ant.apache.org, [EMAIL PROTECTED] >Sent: Wed, 3 Aug 2005 10:15:16 > >Some ideas using external tasks (AntContrib, >XmlTasks) >- read the "page"s from layout.xml ( - >core task) >- write them

Hi!

2005-08-03 Thread Petar Tahchiev
I am not sure whether anyone is capable in helping me but anyway - I am posting this. I have a build.xml file that compiles some sourc files. I also include some already compiled files in the classpath of the current compilation. However ant fails to compile my sources finding 7 errors saying m

Cannot Resolve symbol

2005-08-03 Thread Petar Tahchiev
I am a littel bit sceptic when posting this message but anyway I hope someone helps me. I have a build.xml that compiles some files. I set the classpath for compiling to use some previously comiled files. Strangely enough ant finds 7 errors that eclipse doesn't report. Ant says that it cannot f

AW: AW: [xslt] a pre-defined output for each XML file

2005-08-03 Thread Jan.Materne
Some ideas using external tasks (AntContrib, XmlTasks) - read the "page"s from layout.xml ( - core task) - write them to a text file () - read the file into a property () - iterate over that file (, separator="${line.separator}") -- read the dir + filename from layout.xml (xmltask) -- do the tr

RE: AW: [xslt] a pre-defined output for each XML file

2005-08-03 Thread SinDoc
Given the @destdir in , HTML outputs are generated properly. In DocBook Website, the user works out a file, called 'layout.xml', in which, each XML source file is mapped to a particular HTML output, for instance: In this example, the XSLT engine is supposed to create a directory called "urfm",