Hi
Apache Ant does not depend on log4j 2.x at all and never has.
There is an optional Log4JListener that can be used to send Ant's logs
through log4j 1.x that has been deprecated for quite some time now. Even
if you still use it, logj 1.x is not affected by CVE-2021-44228 (but by
several others,
Hi Team,
We are using following jar provided your by. We want to ensure and know if it
is impacted by "Apache Log4j Tool : Zero Day in Ubiquitous Under Active Attack
(CVE-2021-44228)". If it's impacted please let us know about the security
recommendation. To know we are looking for following ans
I've tried adding the "eol" keyword (specifically eol="dos") to concat. No
difference.
-T
-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: Tuesday, December 03, 2013 8:46
To: Ant Users List
Subject: RE: AntUnit Logging Query
> From: tennis.sm...@navis.com
> To: user@ant.apache.org
> Date: Tue, 3 Dec 2013 18:39:25 +0200
> Subject: AntUnit Logging Query
>
> Hi,
>
> I have a routine in 'tearDown' which uses concat to place the test logs in a
> file:
>
>
>
Hi,
I have a routine in 'tearDown' which uses concat to place the test logs in a
file:
This works. But, everything in the log is one long string. Entries are not
separated by cr+lf.
For example, if I have this in a test:
The log will have:
foobar
How can I make the lines be s
I added some targets and set onerror="continue":
here is the complete code:
SELECT * FROM accounts;
SELECT * FROM us_states;
What is the output from verbose? ant -v ...
On Mon, Nov 16, 2009 at 08:29, Scot P. Floess wrote:
>
> I see you have onerror set to stop. What happens if you don't set that
> attribute? It defaults to abort if not set...
>
>
I see you have onerror set to stop. What happens if you don't set that
attribute? It defaults to abort if not set...
On Sun, 15 Nov 2009, Richard Brunelle wrote:
Yes, both echo statements get executed.
Thanks Scot.
On Sun, Nov 15, 2009 at 9:49 PM, Scot P. Floess wrote:
Question for y
Yes, both echo statements get executed.
Thanks Scot.
On Sun, Nov 15, 2009 at 9:49 PM, Scot P. Floess wrote:
>
> Question for you...Do both echo statements get executed? Meaning, both
> targets in the depends are honored (printUsStatesData -and"
> printAccountsData's echo statements are execute
Question for you...Do both echo statements get executed? Meaning, both
targets in the depends are honored (printUsStatesData -and"
printAccountsData's echo statements are executed)...
On Fri, 13 Nov 2009, Richard Brunelle wrote:
This is driving me crazy
I have the following code in an
This is driving me crazy
I have the following code in an ant file.
SELECT * FROM accounts;
SELECT * FROM us_states;
individidualy, each of these targets return proper
ancy.com]
Sent: Tuesday, August 04, 2009 1:23 PM
To: Ant Users List
Subject: query
Hi -
When using I have to specify the DTD public id, and the
location. Now, if I have an XML with the following DOCTYPE definition
http://java.sun.com/dtd/preferences.dtd";>
This appears to have no public id (or
.dtd"/>
Which will then map all requests for the given http:// URL to a local file
w3c-xmlschema-1.0.dtd.
Hope that helps.
David
-Original Message-
From: Brian Agnew [mailto:br...@oopsconsultancy.com]
Sent: Tuesday, August 04, 2009 1:23 PM
To: Ant Users List
Subject: query
Hi
Hi -
When using I have to specify the DTD public id, and the
location. Now, if I have an XML with the following DOCTYPE definition
http://java.sun.com/dtd/preferences.dtd";>
This appears to have no public id (or is it implicit, somehow?). How do
I reference a local copy of the above DTD usi
ich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>
>
>
>
>
>
> > From: ten...@tripit.com
> > Date: Mon, 27 Jul 2009 04
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
> From: ten...@tripit.com
> Date: Mon, 27 Jul 2009 04:21:37 -0700
> Subject: Re: tap2junit query
> To: user@ant.apache.org
>
> Hi Martin,
>
> Thanks fo
et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
> From: ten...@tripit.com
> Date: Sun, 26 Jul 20
à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
From: ten...@tripit.com
Date: Sun, 26 Jul 2009 14:26:47 -0700
Subject: tap2junit query
To: c...@howlingfrog.com
Hi Graham,
I'm using your excellent tap2junit tool to try
and convert some test o
Hi Graham,
I'm using your excellent tap2junit tool to try and convert some test
output. I'm using ant (version 1.7.1) and running 'junitreport' on the
converted output.
I'm hoping you can understand why junitreport says this:
[junitreport] the file
/opt/cruisecontrol/projects/itinerator/results/
On 2009-06-03, wrote:
> I am facing issue with includesfile .
> It is not accepting wild chars in path of file name.
Your observation is correct, includesfile expects a plain file name
and doesn't support wildcards. Right now I can't come up with any way
to use an unknown number of includesf
It looks like I was not clear in explaining my issue.
I am facing issue with includesfile .
It is not accepting wild chars in path of file name.
If I uses My-Deliverables\lib\mytech\files.txt then it works fine but when
I use *\lib\mytech\files.txt it fails.
Could you please suggest?
Rega
ous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> To: user@ant.apache.org
> Subject: Query regarding "includesfile"
> From: bhushan.kharde...@prudential.co.uk
> Date: Wed, 3 Jun 2009 10:16:07 +0100
>
> Hi ,
>
Hi ,
I am using Copy task to copy files to a staging directory
files.txt : It contain
Here the condition and a buildfile compiling and
testing the two conditions.
Test testAAndMainIsOverwritten is failing and therefore the algorithm
not fully right ...
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.ProjectComponent;
import org.apache.tools.ant.taskdefs.
t;working" on a condition ...
Jan
>-Ursprüngliche Nachricht-
>Von: Cyril Sagan [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 17. September 2007 22:46
>An: user@ant.apache.org
>Betreff: Query definition of target?
>
>
>Our Ant build logic would be much cleaner if there was
Our Ant build logic would be much cleaner if there was a way to
determine if a particular target was overriden.
Does anyone know how to check for the existence/definition of a
specified target name?
Ideally, we'd like to have something like this:
I searched all the resouces
Hello,
You could write the results of your sql query to a file using the
task's "output" attribute, then read that file in to set a property
value using the task.
Regs,
/t
>-Original Message-
>From: Basha [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 04
hi,
i have a sql query which returns the result as "complete" . here i want to
use this result as a property to my taget. i mean based on this property i
want run rest of things.
thanks
khadar
Keep in mind that a class file is generated for every Java class, NOT
for every source file. Source files can contain multiple classes
(although I generally don't like the practice, it's very common for
listener classes in GUI code). If B.java defined classes B and C, the
compiler would gener
Thanks Steve, I will look into this.
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 5:09 PM
To: Ant Users List
Subject: Re: Javac task query
Yadav, Akshat Kumar wrote:
> Thanks Peter for reply.
>
> I think ANT developer sho
ay we know that what we ship is what we can build repeatedly, not
whatever was on some developers hdd at the time
-steve
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 3:46 PM
To: Ant Users List
Subject: Re: Javac task query
On 6/27/07
Thanks Peter for reply.
I think ANT developer should think on extending there "javac" task to
provide such feature.
Thanks,
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 3:46 PM
To: Ant Users List
Subject: Re: Javac task quer
nal Message-
From: Prashant Reddy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 1:57 PM
To: Ant Users List
Subject: Re: Javac task query
No 'javac' task by itself will not delete class file whose source java
file has been deleted, and rightly so.
I do not think you would really
Thanks Prashant for reply.
I am talking for the situation where a.java, b.java and c.java are
independent java code files.
Thanks,
-Original Message-
From: Prashant Reddy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 1:57 PM
To: Ant Users List
Subject: Re: Javac task query
class)
>
> But I don't want c.class should not be presend in jar. It there any
> option or method to counter with such situation.
>
> Any help appreciated. If my query is not clear, then let me know...
>
> Thanks,
>
> -Original Message-
> From: Steve
from source dir)
Source: a.java, b.java
Dest: a.class, b.class, c.class
Jar: JTQ.jar (contains a.class, b.class, c.class)
But I don't want c.class should not be presend in jar. It there any
option or method to counter with such situation.
Any help appreciated. If my query is not clear, then l
Yadav, Akshat Kumar wrote:
Hi Prashant,
I had executed ANT in verbose and debug mode and it shows
[javac] HelloWorlApp.java added as HelloWorlApp.class doesn't exist.
Whereas the class file exist in dest dir. I tried adding/deleting dest
dir in classpath, but no luck in both the situation.
ubject: RE: Javac task query
Humm..
May be you could try running ANT in verbose mode, see why ANT thinks it
should compile .java files that are not modified.
Also, I think the destination dir the classes are directed to is
automatically added to classpath by ANT. So you may not need this :
&
cNDBBIMH
> [EMAIL PROTECTED]
> https://issues.apache.org/struts/browse/STR-2403
>
> Thanks,
>
> -Original Message-
> From: Prashant Reddy [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 26, 2007 5:17 PM
> To: Ant Users List
> Subject: Re: Javac task query
>
&g
-2403
Thanks,
-Original Message-
From: Prashant Reddy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 5:17 PM
To: Ant Users List
Subject: Re: Javac task query
Please see :
http://ant.apache.org/faq.html#always-recompiles
HTH
On Tue, 2007-06-26 at 16:15 +0800, Yadav, Akshat Kuma
Please see :
http://ant.apache.org/faq.html#always-recompiles
HTH
On Tue, 2007-06-26 at 16:15 +0800, Yadav, Akshat Kumar wrote:
> Hi All,
>
> Ant manual says "The source and destination directory will be
> recursively scanned for Java source files to compile. Only Java files
> that have no corre
Hi All,
Ant manual says "The source and destination directory will be
recursively scanned for Java source files to compile. Only Java files
that have no corresponding .class file or where the class file is older
than the .java file will be compiled."
Reference: http://ant.apache.org/manual/CoreT
[EMAIL PROTECTED]
>Gesendet: Donnerstag, 19. April 2007 10:37
>An: Ant Users List
>Betreff: RE: Query regarding working of Ant
>
>
>Hi,
>
>-Original Message-
>From: raj kanwal [mailto:[EMAIL PROTECTED]
>Sent: Thursday, April 19, 2007 8:43 AM
>To: user@a
Hi,
-Original Message-
From: raj kanwal [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 19, 2007 8:43 AM
To: user@ant.apache.org
Subject: Query regarding working of Ant
>build.xml file not found.
that's normal when running ant command without
pointing to a file, i.e. C:\&g
I have installed Apache Ant1.7.0. When I run ant command it is giving error
build.xml file not found..The files that r present in my directory Apache
Ant are fetch.xml and get-m2.xml.
When I try to run
ant -buildfile fetch.xml it is giving an error - "import command not found"
, similar is the er
Hi,
I have an application with multiple modules. I have created a common-build.xml
file that can be used in all the module builds. My main build file invokes
subant on all the modules. noe I can use 2 approaches
1. Set generic ant file to use the same common file in all modules.
I
e-
>From: Steve Loughran [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 08, 2007 5:01 PM
>To: Ant Users List
>Subject: Re: Using SQL query result as a property, how?
>
>Hans Schwaebli wrote:
>#
>> I have a SQL query which returns one result like 388291. I
>want to
Hans Schwaebli wrote:
#
I have a SQL query which returns one result like 388291. I want to use that
result as a property.
How can this be done in Ant?
In a script language like Python (haha) this is no problem. But how to solve it with Ant?
If I use the SQL-Task I only can
On 2/8/07, Hans Schwaebli <[EMAIL PROTECTED]> wrote:
I have a SQL query which returns one result like 388291. I want to use that
result as a property.
How can this be done in Ant?
In a script language like Python (haha) this is no problem. But how to solve
it with Ant?
If I u
Hi Hans,
Can you rewrite your query so that it will produce output like
PropertyName=388291
0 rows affected
(e.g. you might write SELECT 'PropertyName=' || (your original column)
FROM ...)
Then you can write that output to a file and use
to read it into a property (the "0 rows
I have a SQL query which returns one result like 388291. I want to use that
result as a property.
How can this be done in Ant?
In a script language like Python (haha) this is no problem. But how to solve
it with Ant?
If I use the SQL-Task I only can write the result to disk. It
via:
Cheers
Rainer
> -Original Message-
> From: Telang, Nandan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 27, 2005 8:55 PM
> To: user@ant.apache.org
> Subject: Custom type query
>
>
>
> I wish to pass an array of a properties ( foo[1].a =..
I wish to pass an array of a properties ( foo[1].a =.. foo[1].b =.. ) to a
custom ANT task that I have defined .. What is the best way to do this ?
How do I define custom types and can they be passed as attributes of the custom
task ?
Thanks,
-Nandan
Hi,
Does any one have a document how to use "rant"?
I am trying to run an ant script remotely. I am getting an error while
running the "rexec" command . does it require anything more than a usual
procedure for it is included in the optional tasks list.
Thanks
-Original Message-
From: Va
54 matches
Mail list logo