Question regarding the Jar task

2006-02-21 Thread Barak Yaish
Hello all, Is it possible using the Jar task to add a file to a specific location in a jar file? For example, if there is a jar containing a folder named z inside a folder named x (/x/z). How should I use the Jar task to add some file into the z folder inside the jar file? Thanks, Barak.

AW: Support for JUnit 4?

2006-02-21 Thread Jan.Materne
Because JUnit4 is just released and it seemed to me that it wasnt very clear available in the cvs (as Gump has used only the 'old' 3.8.1), I doubt that there are many thoughts about integrating JUnit4 into Ant yet. JUnit4 also needs Java5 due to extensive use of annotations and generics. Ant´s

Re: Can these targets be combined?

2006-02-21 Thread Ian Pilcher
Anderson, Rob (Global Trade) wrote: > You do not need to use the task within a target (as long as > you are using Ant 1.6 or greater) . You could rewrite this as... > > property="bootstrap"/> > > > > > Thanks! -- ==

RE: Regarding Continous build integration.

2006-02-21 Thread Ferrer, Eric
Rob, Is there anyway to do what you described all at once with out providing the arguments? For example, I want to provide 3 targets (build all, build with unit testing, build static content only) I would then like to generate a war file for dev, test, and prod with appropriate properties file

RE: Regarding Continous build integration.

2006-02-21 Thread Anderson, Rob (Global Trade)
> -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 18, 2006 2:24 PM > To: Ant Users List > Subject: Re: Regarding Continous build integration. > > Ferrer, Eric wrote: > > This topic brings up an interesting issue I am having and maybe the

RE: Can these targets be combined?

2006-02-21 Thread Anderson, Rob (Global Trade)
You do not need to use the task within a target (as long as you are using Ant 1.6 or greater) . You could rewrite this as... -Rob A > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ian Pilcher > Sent: Friday, February 17, 2006 2:29 PM > To: user@an

RE: How to update build number without screwing up build.properties format

2006-02-21 Thread Anderson, Rob (Global Trade)
How about using a different properties file for your build number? -Rob A > -Original Message- > From: Matthew Hughes [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 14, 2006 11:07 AM > To: user@ant.apache.org > Subject: How to update build number without screwing up > build.propert

RE: conditional execution

2006-02-21 Thread Anderson, Rob (Global Trade)
If the existance of a file is your condition, use a combination of , , ... ... You could probably do something similar for equal files with the task. -Rob Anderson > -Original Message- > From: Paul Pogonyshev [mailto:[EMAIL PROTECTED] > Sent: Friday, February 17, 2006 7

RE: builds and App. Server

2006-02-21 Thread Anderson, Rob (Global Trade)
You can use Ant for that stuff! http://ant.apache.org/manual/index.html -Rob A > -Original Message- > From: Harshal Chavda [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 12, 2006 5:02 AM > To: user@ant.apache.org > Subject: builds and App. Server > > > Hello to all fellow users

Re: Trying to escape quote character in cpptasks type (repost)

2006-02-21 Thread Ben Pracht
Tommy Nordgren wrote: On 21 feb 2006, at 18.05, Ben Pracht wrote: I'm trying to pass in a macro define to the command line to define the level of code being used. Something like gcc -o objname.o source.c -DFIXLVL=\"FEB 17 2006\" the code does something like: static const char mszFixLvl[]

Re: Trying to escape quote character in cpptasks type (repost)

2006-02-21 Thread Tommy Nordgren
On 21 feb 2006, at 18.05, Ben Pracht wrote: I'm trying to pass in a macro define to the command line to define the level of code being used. Something like gcc -o objname.o source.c -DFIXLVL=\"FEB 17 2006\" the code does something like: static const char mszFixLvl[] = " " __FILE__ " at " F

Re: ?How to split a file? Split Task?????

2006-02-21 Thread Dale Anson
The split task referenced in the bug is the same split task from Antelope. To use the Antelope version: 1. download the task zip file from http://antelope.tigris.org/files/documents/1409/11489/AntelopeTasks_3.2.10.zip 2. unzip the file. It has documentation and source as well as a jar file. Co

Support for JUnit 4?

2006-02-21 Thread Marian Petras
Hello, I am new to this mailing list. I am a NetBeans IDE developer and I am working on support for JUnit 4 in the IDE. I would like to know about the current status of Ant's support for JUnit 4. Is it going to be implemented? In which version and when is the version to be released? Thank y

Re: Special Ant-Javadoc for own tasks?

2006-02-21 Thread Ivan \"Rambius\" Ivanov
Hello, --- David <[EMAIL PROTECTED]> wrote: > You can find more information from the following > web page: > > http://antdoc.free.fr/ AntDoc is used for documenting the very build scripts. I understood that the original requestor wanted a tool that generates docs from Java source file

Trying to escape quote character in cpptasks type (repost)

2006-02-21 Thread Ben Pracht
I'm trying to pass in a macro define to the command line to define the level of code being used. Something like gcc -o objname.o source.c -DFIXLVL=\"FEB 17 2006\" the code does something like: static const char mszFixLvl[] = " " __FILE__ " at " FIXLVL " on " __DATE__ " at " __TIME__ " "; so

RE: Ant ,ftp,java

2006-02-21 Thread Karthik
Hi Form Thx very much , u were Right the Port 22 indeed was the Culprit in my case, Thx very much. with regards Karthik -Original Message- From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 8:28 PM To: Ant Users List Cc: Ant Users List Subject:

Re: EJB task problem help please....

2006-02-21 Thread Patrick Martin
Hello, Found at the following link: http://ant.apache.org/manual/OptionalTasks/ejb.html#ejbjar -- The task uses the jakarta-BCEL framework to extract all dependent classes. This means that, in addition to the classes that are mentioned in the deployment descriptor, any classes that these de

dependencydepth in CC

2006-02-21 Thread Shree
Hi all, Dedepency depth attributed in cc task has been deprecated. Has it been replaced by any other attribute ? Is Ant-Contrib developers is rite forum this question. The group does not seem to be that active as this group ? Thank you, Shreedhar --

EJB task problem help please....

2006-02-21 Thread Bejoy
Hi, Can anybody help me please.. I'm getting the following exception while running an ejb task this is my ejb task                           I'm getting the following error: [ejbjar] Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer - depende

Re: ¿How to split a file? Split Task?????

2006-02-21 Thread Patrick Martin
Hello, For splitting a file fixing the number of line, I guess that you could use two using and . Regards, Patrick M. On 2/20/06, David <[EMAIL PROTECTED]> wrote: > Dear members, > > I was looking in to the Ant Bug database and I have found the following > request: > > http://issues.apa

Re: Special Ant-Javadoc for own tasks?

2006-02-21 Thread Daniel Lindner
David wrote: The only solution I know and works well is AntDoc. It is no so much live project, but it is robust, even from the new ant version features. You can find more information from the following web page: http://antdoc.free.fr/ take the version 0.8g from 2003.10.01, bec