Thanks a lot.
-Original Message-
From: Keith Hatton [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2008 5:48 PM
To: Ant Users List
Subject: RE: Using Ant in Java
There is a createArg() method which sounds like what you want.
The manual included in the Ant download has API docs for
]
Sent: 27 March 2008 14:44
To: user@ant.apache.org
Subject: RE: Using Ant in Java
First of all I tried to find this method..
JavaTask is instance of org.apache.tools.ant.taskdefs.Java class. This class
doesn't have such a method.
Which class should I use?
-Original Message-
PM
To: user@ant.apache.org
Subject: AW: Using Ant in Java
There is an add method which takes an Arg object.
Jan
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 27. März 2008 15:18
An: user@ant.apache.org
Be
There is an add method which takes an Arg object.
Jan
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 27. März 2008 15:18
An: user@ant.apache.org
Betreff: Using Ant in Java
Hi
Hi, everybody.
I'm using ant in java to run another java application.
Here is the example of code:
JavaTask runner = new JavaTask();
.
runner.setArgs("--xsdschemaroot=C:/aschemas --outputdir=C:/obj
--language=java --basepath=..");
runner.execute();
It says:
Guys,
How can I get the result of execution?
For example, I have Java task.
runner.execute(); is void
If I set the following:
runner.setFailonerror(true);
Than I don't see the error output.
But I need both.
So, how can I know if application is failed?
Regards,
Denis.
Visit our website at
8:21
> An: user@ant.apache.org
> Betreff: RE: Using ant in java
>
> Is there any working example of it?
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 27, 2008 9:25 AM
> To: user@ant.apache.org
> Subjec
Is there any working example of it?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2008 9:25 AM
To: user@ant.apache.org
Subject: AW: Using ant in java
You could implement a Redirector for catching the output into your GUI.
Jan
You could implement a Redirector for catching the output into your GUI.
Jan
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 25. März 2008 11:44
An: user@ant.apache.org
Betreff: Using ant in java
Hello everybody!
I'm using ant in java to launch java application, to compile sources and
to pack the result in jar file.
How can I catch the result of launching java application, for example? I
need to show it on UI.
I have found setError, setOutput methods with the File parameter, but
I&
10 matches
Mail list logo