Re: Auto task need to take backup before deployemnt

2006-01-17 Thread Stefan Bodewig
On Tue, 17 Jan 2006, Karthik <[EMAIL PROTECTED]> wrote: > Does this mean i have been asking "Dumb Questions" There is a difference between "dumb" and "not smart". > and the form is for asking smart Questions only... No, but you'll generally get better answers if you ask your questions in a

Re: Subscibing to the ant apache mailing list

2006-01-17 Thread Stefan Bodewig
On Tue, 17 Jan 2006, Atmaling Bedre <[EMAIL PROTECTED]> wrote: > I am using ant in my project. so i need some clarification to the > ant. that why i have to post message there in mailing list.so need > login credentials. You don't need any login credentials to post. You just need to subscribe t

Re: java.lang.NullPointerException at .XMLJUnitResultFormatter.formatOutput(XMLJUnitResultFormatter.java:253)

2006-01-17 Thread Stefan Bodewig
On Tue, 17 Jan 2006, somath nao <[EMAIL PROTECTED]> wrote: > I'm trying to get the jUnit task to show the results in a xml > format, however, when I add "" in the Ant > build script I get java.lang.NullPointerException at > .XMLJUnitResultFormatter.formatOutput(XMLJUnitResultFormatter.java:253) W

Subscibing to the ant apache mailing list

2006-01-17 Thread Atmaling Bedre
Hi, I am using ant in my project. so i need some clarification to the ant. that why i have to post message there in mailing list.so need login credentials. Rgds Bedre

RE: macrodef

2006-01-17 Thread Ivan \"Rambius\" Ivanov
Hello Paulo, it depends on the macrodef. I had a situation where I wrapped and in one macrodef since that piece of code was repeated several times. Later, it turned out that some invoka tions of that macrodef required different 's. So I added a macrodef element that allows passing different pro

RE: macrodef

2006-01-17 Thread Paulo Jorge Guedes
> -Original Message- > From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] > Sent: terça-feira, 17 de Janeiro de 2006 19:21 > To: Ant Users List > Subject: Re: macrodef > > Well, you can do it via internal ANT API, but it would be a too complex > solution for the task. Yeah... I'll overr

Re: macrodef

2006-01-17 Thread Alexey N. Solofnenko
Well, you can do it via internal ANT API, but it would be a too complex solution for the task. - Alexey. Paulo Jorge Guedes wrote: -Original Message- From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Sent: terça-feira, 17 de Janeiro de 2006 18:23 To: Ant Users List Subject: Re: macr

RE: macrodef

2006-01-17 Thread Paulo Jorge Guedes
> -Original Message- > From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] > Sent: terça-feira, 17 de Janeiro de 2006 18:23 > To: Ant Users List > Subject: Re: macrodef > > You can overwrite the macrodef in your build file or you can copy the > file first, then insert necessary elements i

RE: Auto task need to take backup before deployemnt

2006-01-17 Thread Anderson, Rob (Global Trade)
You should consider what Jeffrey is saying regarging asking questions on the list. It will help you get the answers you need faster. Based in the limited information you have provided, I would recommend using the task to make a backup before deployment. Cheers, -Rob Anderson > -Original Mes

Re: macrodef

2006-01-17 Thread Alexey N. Solofnenko
You can overwrite the macrodef in your build file or you can copy the file first, then insert necessary elements into that copy. - Alexey. Paulo Jorge Guedes wrote: Hi, I have a target (-init-macrodef-junit ) that initializes "junit" target using the "macrodef" element. It doesn't declare the

macrodef

2006-01-17 Thread Paulo Jorge Guedes
Hi, I have a target (-init-macrodef-junit ) that initializes "junit" target using the "macrodef" element. It doesn't declare the "formatter" element and I need to have the reports printed. The thing is I can't touch that file. Is there any way to "append" the "formatter" child element to the juni

RE: Setting memory options for Ant in Eclipse

2006-01-17 Thread Jonnalagadda, Sumithra
Here is how to set it: Go to Run --> External tools --> External Tools JRE tab VM arguments -Xmx640m Hope this helps -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 9:30 AM To: Ant Users List Subject: Setting memory options for Ant in E

Re: Setting memory options for Ant in Eclipse

2006-01-17 Thread Jeffrey E Care
Is your run config. spawning a new VM for the Ant run, or are you running within the same VM instance as Eclipse? JEC -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) "Brown, Carlton" <[EMAIL PROTECTED]> wrote on 01/17/2006 12:

Re: Setting memory options for Ant in Eclipse

2006-01-17 Thread Darin Swanson
Are you running Ant in the same or separate JRE from Eclipse? See you JRE tab for your Ant launch configuration. For same JRE as Eclipse launch Eclipse with -Xmx and -Xms options set For separate JRE, specify the VM arguments on the JRE tab for your Ant launch configuration. Likely in the futu

Setting memory options for Ant in Eclipse

2006-01-17 Thread Brown, Carlton
Hi all, When running Ant from Eclipse, how does one set the -Xmx and -Xms memory options inside Eclipse? I've poked around and cannot seem to do it. (This is to fix OutOfMemory exceptions that occur when I use the task.) I've tried launching Eclipse with -Xmx and -Xms options set. I unde

RE: Auto task need to take backup before deployemnt

2006-01-17 Thread Jeffrey E Care
Not at all; I never once mentioned code or APIs. All you've told us so far is that you want to back stuff up before deploying new stuff; perhaps that's interesting to you, but it doesn't tell the people on this list who are in a position help you anything useful. As I said before, at this poin

java.lang.NullPointerException at .XMLJUnitResultFormatter.formatOutput(XMLJUnitResultFormatter.java:253)

2006-01-17 Thread somath . nao
I'm trying to get the jUnit task to show the results in a xml format, however, when I add "" in the Ant build script I get java.lang.NullPointerException at .XMLJUnitResultFormatter.formatOutput(XMLJUnitResultFormatter.java:253) Error Output: [junit] java.lang.NullPointerException [

RE: Auto task need to take backup before deployemnt

2006-01-17 Thread Carroll, Jason \(US SSA\)
Karthik - You don't need to be an expert. Just properly phrase your questions prior to asking. Judging from the way the question was asked it would probably be to you benefit to read the website that Jeff mentioned. -Jason -Original Message- From: Karthik [mailto:[EMAIL PROTECTED]

RE: Auto task need to take backup before deployemnt

2006-01-17 Thread Karthik
Hi Form So this answers my Question, one has to be expert in *ANT APIS* to ask such questions ? with regards Karthik -Original Message- From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 9:16 PM To: Ant Users List Subject: RE: Auto task need to take backu

RE: Problems deleting files or directories via ftp

2006-01-17 Thread Javier Ballesteros
Hi! The user is the same both cases, first mail user name was hiden, but in the log file from ftp the user is shown. I can assure you that the user is the same in the script and in the ftp. cheers! -Mensaje original- De: glenn opdycke-hansen [mailto:[EMAIL PROTECTED] Enviado el: mart

RE: Auto task need to take backup before deployemnt

2006-01-17 Thread Jeffrey E Care
Basically yes, this is not a smart question. You aren't giving us any meaningful information about your scenario or the problem you are trying to solve. Here's just a sampling of some of the information that would have been helpful in your initial query: Is the machine local or remote? One mach

Re: running junit from ant

2006-01-17 Thread Lothar Krenzien
You're right. I didn't realised the difference. Now it works as it should ;) Thanks, Lothar > > On Mon, 16 Jan 2006, Lothar Krenzien <[EMAIL PROTECTED]> wrote: > > > > > > > > should be or > otherwise you are placing your c

RE: Auto task need to take backup before deployemnt

2006-01-17 Thread Dick, Brian E.
For Windows I use rcmd.exe to remotely run Winzip. For Unix I use shexec to remotely run zip. -Original Message- From: Karthik [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 6:27 AM To: user@ant.apache.org Subject: Auto task need to take backup before deployemnt Hi form

RE: Auto task need to take backup before deployemnt

2006-01-17 Thread Karthik
hI Does this mean i have been asking "Dumb Questions" and the form is for asking smart Questions only... need help please with regards Karthik -Original Message- From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 5:07 PM To: Ant Users List Subject

Re: Jar task

2006-01-17 Thread Clifton Craig
Windows is a tricky beast. It's like WYSINWYG, (What You See Is NOT What You Get). The directory casing listed by the dir command will not be what is actually stored. That is why I suggested you use the jar -tvf command which should show you exactly how the casing appears in the jar. You might w

Re: Jar task

2006-01-17 Thread Clifton Craig
On Tuesday 17 January 2006 6:49 am, Guruprasad R wrote: > i am creating a jar file using the below ant script. > > > > > > > > The created jar file has all the files twice in it, with the same path. ex: > there are 2 files named as weblogic-ejb-jar.xml with the same path. > i have ano

Re: Jar task

2006-01-17 Thread Guruprasad R
well, one interesting thing i saw in the jar file when i opened it with winzip is that all the uppercase is stored as lowercase. but when u unzip it, u will get the folders named with proper uppercase/lowercase. On 1/17/06, Clifton Craig <[EMAIL PROTECTED]> wrote: > > On Tuesday 17 January 2006 6:

Re: Jar task

2006-01-17 Thread Clifton Craig
On Tuesday 17 January 2006 6:49 am, Guruprasad R wrote: > i am creating a jar file using the below ant script. > > > > > > > > The created jar file has all the files twice in it, with the same path. ex: > there are 2 files named as weblogic-ejb-jar.xml with the same path. > i have ano

Re: Problems deleting files or directories via ftp

2006-01-17 Thread glenn opdycke-hansen
It appears that user cvt2032 is the owner of ejb-jar.xml and that is the only userid that has write permissions to that file. The userid that was attempting to delete was "user" (see above). That is one reason the delete will not work. I suggest you try to use ftp or even su and test your logic a

Re: Jar task

2006-01-17 Thread Jeffrey E Care
Don't trust winzip - use a real unzip program and actually unzip it. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) Guruprasad R <[EMAIL PROTECTED]> 01/17/2006 06:55 AM Please respond to "Ant Users List" To Ant Users List

Re: Jar task

2006-01-17 Thread Guruprasad R
thanx Jeffrey, the duplicates have been removed. On 1/17/06, Guruprasad R <[EMAIL PROTECTED]> wrote: > > i am opening the jar file with winzip and i can see the path as > ''meta-inf'. > > On 1/17/06, Jeffrey E Care <[EMAIL PROTECTED]> wrote: > > > > As for the duplicates, either use the basedir, o

RE: Timeout feature

2006-01-17 Thread Santosh Pai
Thanks!!! 'limit' worked for me...;) -Original Message- From: Dale Anson [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 11:51 PM To: Ant Users List Subject: Re: Timeout feature Also, Ant-Contrib has a 'limit' task to handle such cases. http://ant-contrib.sourceforge.net On

Re: Jar task

2006-01-17 Thread Guruprasad R
i am opening the jar file with winzip and i can see the path as ''meta-inf'. On 1/17/06, Jeffrey E Care <[EMAIL PROTECTED]> wrote: > > As for the duplicates, either use the basedir, or use the nested fileset: > not both. > > As for META-INF, how do you know that it is lowercased in the JAR? > > --

Re: Jar task

2006-01-17 Thread Jeffrey E Care
As for the duplicates, either use the basedir, or use the nested fileset: not both. As for META-INF, how do you know that it is lowercased in the JAR? -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) Guruprasad R <[EMAIL PROTEC

Jar task

2006-01-17 Thread Guruprasad R
i am creating a jar file using the below ant script. The created jar file has all the files twice in it, with the same path. ex: there are 2 files named as weblogic-ejb-jar.xml with the same path. i have another problem. there are several files whose *path* is META-INF. but i am get

Re: Auto task need to take backup before deployemnt

2006-01-17 Thread Jeffrey E Care
http://www.catb.org/~esr/faqs/smart-questions.html -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) "Karthik" <[EMAIL PROTECTED]> wrote on 01/17/2006 06:27:24 AM: > > Hi form > > >using ant i need a task to take back up

Auto task need to take backup before deployemnt

2006-01-17 Thread Karthik
Hi form using ant i need a task to take back up of deployed files( selective jsp / calss /html / files )before new deployment task is fired. how to achieve this ??? with regards Karthik - To unsubscribe, e-