Is this the correct format to increase the default memory for the JVM
and to pass command line arguments?
Thanks.
Ken
Kenneth D. Litwak
Software Engineer III
IMT
Azusa Pac
Thanx, I have done exactly this and is working fine.
- Original Message -
From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Friday, August 19, 2005 9:51 PM
Subject: RE: Problem executing task
You need to specify either trust="true", of
knownhosts="pat
Well, my intention is not to email each developer involved, but certain
selected people for the various tasks (cvs checkout, copiling source code,
building db, etc). then those people can review the problem they are
assigned to and delegate to appropriate developer(s).
i guess my work is going to
thanks, i had to add the key to the authorized keys on the remote server,
and then the id_dsa.pub file didn't work, but the id_dsa does. whatever
works and gets the pwd out of the build script.
On 8/19/05, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote:
>
> Private keys should never mov
Hello,
--- Rizwan Merchant <[EMAIL PROTECTED]> wrote:
> I looked through Mailloggers..it doesnt seem to have
> the capability to send
> out emails based on specific target errors..i.e
> error on target 1 --> send email to person 1
> error on target 2 --> send email to person 2
Yes, I see... Well,
you are right, I have several different targets and need to capture errors
and notify people of any errors that may occur during the build process. My
problem is that depending on the target, different people need to be
notified of different errors. This is why I have to check every target
seperat
Private keys should never move. They are specific to a [EMAIL PROTECTED]
You need to get key authentication working from the command line first. Please
read the ssh documentation to understand public key authentication and how to
set it up.
-Rob A
> -Original Message-
> From: Mark Lyba
You need to specify either trust="true", of knownhosts="path/to/known/hosts".
If the box is within your private network trust="true" is probably OK.
-Rob A
> -Original Message-
> From: Karunakar Chatla [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 19, 2005 3:47 AM
> To: Ant Users List
Hello,
As far as I can see you are trying to capture the
output of some task and send emails if something goes
wrong. I would suggest to have a look ant loggers and
listeners[1] and especially at MailLogger[2] which
collects the output of the whole build process and
mails it. You can control it to
Thanks Ivan, I will try that. will the same work for javac task? I noticed
there is no "output" or "error" attribute for the javac task. how would i
send a failure notification email if javac fails?
wouldnt it be simpler if ant had the functionality to set a property for
each task in case of fail
Hello,
one way to do this is to use error and output
attributes of task (quote from [1]):
output - the file to direct standard output from the
(cvs) command.
error - the file to direct standard error from the
(cvs) command
So you can store the error in a text file, than load
that file as a prope
Thanks Jan for your answer.
I have more queries regarding this problem.
Is InputStream supported? Any other object than File supported?
I Checked the API and found this statement "A helper must support at least
File, for backward compatibility. Helpers may support URL, InputStream, etc or
s
Hi all,
I just installed Ant today on an XP box, and I'm
getting errors when I try to run "ant" from the
command line (cmd). The errors seem to stem from the
use of quotes when java is called. I turn on echo in
ant.bat, and saw this was the command being executed:
"c:\j2sdk1.4.2_07\bin\java.exe
Mark Lybarger wrote:
so then on the local server (the one trying to run the sshexec task),i need
to have the private key from the remoteserver? i've pulled from the
remoteserver the ~/.ssh/id_dsa (the private key). and also placed it into
the same folder as the build script that is running the
On 8/18/05, Burgess, Benjamin <[EMAIL PROTECTED]> wrote:
> The "-vl" means that this is a version label, not a view label. It is
> handled differently in the checkout task's code. Try replacing the
> first 4 attributes of the task with this instead:
> URL="myserver:5558/myproject/myview" just to
so then on the local server (the one trying to run the sshexec task),i need
to have the private key from the remoteserver? i've pulled from the
remoteserver the ~/.ssh/id_dsa (the private key). and also placed it into
the same folder as the build script that is running the sshexec task. it's
st
Hi,
I'm using ant to checkout code from the CVS. If the checkout is not
successful I would like to send an email to someone to notify them of the
problem.
How do I detect this error in ant? Say the password on the cvs account is
wrong, cvs notifies of bad login and then the ant continues executin
Mark Lybarger wrote:
i'm trying to use sshexec with a keyfile. i generated a key on the remote
server using the ssh-keygen -t dsa. this gave me a ~/.ssh/id_dsa and
~/.ssh/id_dsa.pub. i pulled the id_dsa.pub file to the remote machine from
where i want to run the sshexec task. i put the file int
i'm trying to use sshexec with a keyfile. i generated a key on the remote
server using the ssh-keygen -t dsa. this gave me a ~/.ssh/id_dsa and
~/.ssh/id_dsa.pub. i pulled the id_dsa.pub file to the remote machine from
where i want to run the sshexec task. i put the file into the
and ant
On 19/08/05, Leon Pu <[EMAIL PROTECTED]> wrote:
>
> A simple example.
>
> [build.xml]
>
>
> ]>
>
> &include;
>
> echo from target main2 in build.xml
>
>
> [build.xml]
>
> [include.inc]
>
> echo from target main1 in include.inc
>
> [include.inc]
>
> [output]
> Buildfile: build.xml
>
>
Hi,
On 7/27/05, Nicolas Vervelle <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a build file to update a website from my own pc using task.
> It was working perfectly until more than a week ago.
> I now have an error message when it tries to upload a file in a
> subdirectory :
> "server indicated a
It is giving following error when I use 22 as port number -
com.jcraft.jsch.JSchException: reject HostKey: 172.18.228.70
at
org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute(SSHExec.java:211)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
a
>Does anybody know how to parse ant script from URL instead of File?
URL is not supported - too many file relative tasks.
>2. As I need to call ant tasks in the java class, I'll have to
>parse the ant script.
Why? You dont have to parse a script - you can instantiate the tasks for
your own.
Hi,
On 8/19/05, Karunakar Chatla <[EMAIL PROTECTED]> wrote:
>
>
>port="23"
> username="user"
> password="password"
> command="ls"
> output="${output.folder.path}\ssh.log"
> failonerror="true"/>
>
>
Usually, sshd will wait for connections at TCP port 22.
Is TCP
Hi all,
Does anybody know how to parse ant script from URL
instead of File?
What I need to do is as below:
1. I have a .jar file which contains my class file,
the ant script, and some other dirs/files.
2. As I need to call ant tasks in the java class, I'll
have to parse the ant script. However,
A simple example.
[build.xml]
]>
&include;
echo from target main2 in build.xml
[build.xml]
[include.inc]
echo from target main1 in include.inc
[include.inc]
[output]
Buildfile: build.xml
main1:
[echo] echo from target main1 in include.inc
main2:
[echo] echo from t
On 19/08/05, RADEMAKERS Tanguy <[EMAIL PROTECTED]> wrote:
>
> happy to help.
>
> Might i suggest you post a simple example?
> That way it will become part of our colective memory.
>
> /t
>
> >-Original Message-
> >From: Leon Pu [mailto:[EMAIL PROTECTED]
> >Sent: Friday, August 19, 2005
happy to help.
Might i suggest you post a simple example?
That way it will become part of our colective memory.
/t
>-Original Message-
>From: Leon Pu [mailto:[EMAIL PROTECTED]
>Sent: Friday, August 19, 2005 11:24 AM
>To: Ant Users List
>Subject: RE: Is it possible to use other build f
Dominique Devienne wrote:
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ron Piterman
The xslt task has a parameter sub-element. How can I pass the current
xml file name being processed to the stylesheet?
You can't, AFAIK. Use Ant-Contrib's task to call for each
individual file. Will be
Hi RADEMAKERS,
it works, good idea!
Thanks a lot!
Best regards,
Leon
--- RADEMAKERS Tanguy <[EMAIL PROTECTED]> wrote:
> You could define your path in a seperate file (like "build_path.inc")
> and then use xml-include to include this in BOTH your build files.
> This
> is an xml-level hack rath
You could define your path in a seperate file (like "build_path.inc")
and then use xml-include to include this in BOTH your build files. This
is an xml-level hack rather than a ant level hack.
/t
>-Original Message-
>From: Leon Pu [mailto:[EMAIL PROTECTED]
>Sent: Friday, August 19, 2005
Hi all,
maybe my question is a little confusing. I mean the class path setting
inside the build file, just like following example. I want to use it in
another build file. Is it possible without import this build file?
[build-script]
[build-script]
Best regards,
Leon
Hi all,
I want to know whether it is possible to use other build file's
classpath?
For some reasons I don't want to use import task.
Thanks!
Best regards,
Leon
Start your day with Yahoo! - make it your home page
http://ww
Hi,
I've seen this problem before on this list but no answers were given.
I'm trying to add a class file to an existing jar, but it fails silently
(does nothing whatsoever). I even try to sleep for 5 seconds so the
class file gets a newer timestamp than the jar (they end up having a
very close ti
cool, he? :-)
Jan
>-Ursprüngliche Nachricht-
>Von: Matt Benson [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 18. August 2005 19:17
>An: Ant Users List
>Betreff: Re: AW: AW: Workaround for no failonerror
>
>--- [EMAIL PROTECTED] wrote:
>[SNIP]
>> maybe a nested would be useful
>>
>
35 matches
Mail list logo