hello all !

2004-10-08 Thread project member
just wrote this mail to say hello to you all. just subsribed to your list. trying to learn what are mailing lists, trying to learn what is TDK, Maven, turbine and those things. i hope to get guidance from this list : ) . bye - Yahoo! Messenger - Communicate ins

Re: Question re SSH2/Scp/Sshexec

2004-10-08 Thread Rhino
Are you *sure* that the SSH1 and SSH2 formats are the same for the known_hosts file? According to the Ant Manual writeup for the 'knownhosts' parameter Scp (and Sshexec): - This sets the known hosts file to use to validate the identity of the remote host. This must be a SSH2 format file.

Re: Question re SSH2/Scp/Sshexec

2004-10-08 Thread Dale Anson
I don't think there is any difference in format between ssh1 and ssh2 known_hosts files. The details of the file format are in the man pages for sshd(8), on line at http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8&arch=&apropos=0&manpath=OpenBSD+Current > > Can anyone point me to an e

Question re SSH2/Scp/Sshexec

2004-10-08 Thread Rhino
  Can anyone point me to an example of a knownhosts file that is in SSH2 format?   According to the articles on the (optional) Scp and Sshexec tasks in the Ant Manual, both tasks can specify a file in the 'knownhosts' parameter and that file must be in SSH2 format. I'd like to create such a f

preserving case

2004-10-08 Thread Barnes, Michael
How do I get stcheckout to recoginize that I have changed the case of a file and replace it with the new file? I have a file that is all upper case and have renamed it to mixed case. Unfortunately, the stcheckout task does not seem to remove the old file and replace it with the new file. eg. FINI

RE: deleting backup files?

2004-10-08 Thread Dominique Devienne
Oh, didn't notice you put me in To: instead of the list... It's possible you are on Windows, and the files are in use, And this cannot be deleted?! --DD > -Original Message- > From: Dominique Devienne > Sent: Friday, October 08, 2004 1:41 PM > To: 'Greg Wilson' > Subject: RE: deleting bac

RE: deleting backup files?

2004-10-08 Thread Greg Wilson
Hi Dominique. That doesn't seem to do it; I've changed the task to: and it's still not deleting the "*~" files. Thanks, Greg On Fri, 8 Oct 2004, Dominique Devienne wrote: > > From: Greg Wilson [m

Re: AW: AW: how to fail on valid zip file

2004-10-08 Thread Jeffrey Bacon
I ended up with this (below). I should have RTFM on trycatch closer as I needed an empty catch block. quiet="true" failonerror="false" includeEmptyDi

Re: AW: AW: how to fail on valid zip file

2004-10-08 Thread Peter Reilly
You could do this: @{file} can be unzipped But this does generate a lot of noise: run: [mkdir] Created dir: /home/pre

RE: deleting backup files?

2004-10-08 Thread Dominique Devienne
> From: Greg Wilson [mailto:[EMAIL PROTECTED] > > My build.xml includes this: > > > > > > > > > > > > > > > It deletes the two working directories, but doesn't delete the *~ files. > Can anyone te

Re: AW: AW: how to fail on valid zip file

2004-10-08 Thread Richard Russell
You could subclass the task you're using to do the unzip with, and have it catch its' own exception... ie (without having looked at the code, and not being a java programmer -- so caveat emptor): execute () { try { super.execute(); } catch (WhateverException e) { // print a log mess

deleting backup files?

2004-10-08 Thread Greg Wilson
My build.xml includes this: It deletes the two working directories, but doesn't delete the *~ files. Can anyone tell me why not? Thanks, Greg -

Re: AW: AW: how to fail on valid zip file

2004-10-08 Thread Jeffrey Bacon
here, unzip is throwing the exception and it's seemingly not getting caught, do I need to explicitly catch the BuildException? (with a block) Jeffrey Bacon [EMAIL PROTECTED] Creative Developer http://www.magmic.com [EMAIL PROTECTED] wrote: oh, yes - sorry. In JUnit you work with different Excep

AW: AW: how to fail on valid zip file

2004-10-08 Thread Jan . Materne
oh, yes - sorry. In JUnit you work with different Exceptions try { test... fail(); } catch (MyException) { // noop } The fail() itself throws an Exception ... Nothing different here, BUT we´re working only with BuildExceptions ... Jan > -Ursprüngliche Nachricht- > Von: Jeff

Re: AW: how to fail on valid zip file

2004-10-08 Thread Jeffrey Bacon
It still fails on the invalid ZIP file (which I want it to succeed on): [mkdir] Created dir: C:\workspace\BreakFast\temp\ziptest [unzip] Expanding: C:\workspace\BreakFast\bin\BreakFast_res.cod into C:\workspace\BreakFast\temp\ziptest [delete] Deleting directory C:\workspace\BreakFast\te

RE: Ant + Hibernate: two solutions

2004-10-08 Thread Dominique Devienne
> From: Greg Wilson [mailto:[EMAIL PROTECTED] > > Hi everyone. Many thanks to William Lopez and Eric Burke for finding two > different solutions to my Ant + Hibernate grief. I've blogged their > findings here: > > http://pyre.third-bit.com/blog/archives/000112.html > > and you can find the

Ant + Hibernate: two solutions

2004-10-08 Thread Greg Wilson
Hi everyone. Many thanks to William Lopez and Eric Burke for finding two different solutions to my Ant + Hibernate grief. I've blogged their findings here: http://pyre.third-bit.com/blog/archives/000112.html and you can find the files here: http://pyre.third-bit.com/hb1/index.html Is

Re: Scp problem

2004-10-08 Thread Rhino
Please ignore this question; I solved my problem already. I found my answer in the Ant Manual: I don't know how I missed this! Rhino - Original Message - From: Rhino To: ant-user Sent: Friday, October 08, 2004 10:14 AM Subject: Scp problem I am trying the optional Scp t

Scp problem

2004-10-08 Thread Rhino
  I am trying the optional Scp task for the first time but it isn't working too well. I need some help.   I downloaded jsch-0.1.17.jar from http://www.jcraft.com/jsch/index.html and put it in my ant/lib directory. This is my Ant script except that I have spoofed the userid and password for ob

AW: how to fail on valid zip file

2004-10-08 Thread Jan . Materne
in unit tests you would do try { test... fail(); } catch { // fine } so you can use AntContrib for that Jan > -Ursprüngliche Nachricht- > Von: Jeffrey Bacon [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 8. Oktober 2004 15:46 > An: Ant Users L

Questions on serverdeploy task

2004-10-08 Thread Holger Rauch
Hi! I'm using ant 1.6.2 in conjunction with JDK 1.4.2_05 on Debian GNU/Linux 3.0 ("Woody"). From my ant build file, the serverdeploy task is invoked like this: The settings are: weblogic.server.protocol is set to http weblogic.dmgctrl.server is the name of the virtual server (as it shows up

how to fail on valid zip file

2004-10-08 Thread Jeffrey Bacon
During my build process, I want to test a file to see if it is a valid ZIP file. However, I want to FAIL if it IS valid and succeed if it is NOT valid. Is there some way I can do this with the unzip task? -- Jeffrey Bacon [EMAIL PROTECTED] Creative Developer http://www.magmic.com -

RE: Switching JDK

2004-10-08 Thread Roberto Juarez
Mmmm, there is a fast possibility, though it sounds a little like brute force. You could try it in case you have little time. In your build.xml which is being called by the automated build process, use a task to launch a virtual machine with the JDK you may need. Use this task to launch anoth

RE: Switching JDK

2004-10-08 Thread Barnes, Michael
I thought about that. But my problem is that this is being called from an automated build process which is managaging several ant scripts. Mike -Original Message- From: Roberto Juarez [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 9:21 AM To: Ant Users List Subject: RE: Switchin

RE: Switching JDK

2004-10-08 Thread Roberto Juarez
You could try to change the JAVA_HOME environment variable via a shell script. Cheers. > -Mensaje original- > De: Barnes, Michael [SMTP:[EMAIL PROTECTED] > Enviado el: viernes, 08 de octubre de 2004 15:14 > Para: '[EMAIL PROTECTED]' > Asunto: Switching JDK > > I have 2 JDK's o

RE: Ant not accepting arguments

2004-10-08 Thread Shoop, Michael R.
Thanks. Now maybe my head can heal from beating it against this problem. Mike -Original Message- From: Dick, Brian E. [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 9:11 AM To: Ant Users List Subject: RE: Ant not accepting arguments ... Should be

Help with buiding xml file using javadoc

2004-10-08 Thread Fox, Cheri
Hi, I am trying to build an xml file using javadoc. The original ant task came from a developer in our group. I have changed to work on our build machine but I am unable to see where it is actually creating the xml file. He says that when he builds, the xml file goes to the root directory.

Switching JDK

2004-10-08 Thread Barnes, Michael
I have 2 JDK's on my system. I need to get ant to use the appropriate JDK and can not figure out how to do this as well as verifying that ant is using the appropriate JDK. BTW, I am running ANT 1.6.1 Thanks ** This message, including an

RE: Ant not accepting arguments

2004-10-08 Thread Dick, Brian E.
... Should be ... -Original Message- From: Shoop, Michael R. [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 9:08 AM To: '[EMAIL PROTECTED]' Subject: Ant not accepting arguments Hi, I'm fairly new with ant and am having a problem with comm

Ant not accepting arguments

2004-10-08 Thread Shoop, Michael R.
Hi, I'm fairly new with ant and am having a problem with command line arguments. For practice I have the following build.xml file: And I call it from the command line with ant -DtestType=true I should e

Re: Build not failing when Junit tests fail

2004-10-08 Thread Ivan Ivanov
Hi Alison, I cannot tell you where your properties get confused along the three s (AFAIK antcall opens a whole new properties namespace so one should play with inherit attributes so that properties be visible in the new namespace), but here is a more concise way to do unit testing and then unit rep