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
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.
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
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
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
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
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
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
You could do this:
@{file} can be unzipped
But this does generate a lot of noise:
run:
[mkdir] Created dir: /home/pre
> 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
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
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
-
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
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
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
> 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
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
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
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
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
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
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
-
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
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
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
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
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.
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
...
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
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
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
31 matches
Mail list logo