The combination JUnit 4.5 + Ant 1.7.1 works fine for me. I make sure my
library classpath is clean. If it doesn't work for you with JUnit 4.5 +
Ant 1.7.1, I'd say you have an environment problem.
Shawn Castrianni wrote:
> How can I use the new JUnit 4.1 with ANT 1.7.X? If I put the new junit.j
How can I use the new JUnit 4.1 with ANT 1.7.X? If I put the new junit.jar on
the classpath, everything seems to work until the very end when the unit test
report is created. ANT tries to use the XSL stylesheets from ant-junit.jar
which apparently is not compatible with JUnit 4.1.
test.report
I'm working on the 2.0.0 release of Ivy, but I have some technical problems
updating the website atm.
All binaries are already available though.
Once the website is updated, I'll post an announcement.
Maarten
- Original Message
From: "Bagwell, Allen F"
To: "ivy-u...@ant.apache.org"
Why does the IvyDE update site list Ivy 2.0.0.final as a component when the
main Ivy site says only rc2 is available?
Allen
-Original Message-
From: Maarten Coene [mailto:maarten_co...@yahoo.com]
Sent: Wednesday, January 21, 2009 12:51 PM
To: ivy-u...@ant.apache.org
Subject: Re: IvyDE
Hello,
http://ant.apache.org/manual/CoreTasks/filter.html seems to say
that token filters, once established, affect all copy operations.
Is there a way to limit the token filter to a specific copy operation?
On a related note, is there a simple way to somehow wedge a
Subversion revision number (a
The main update site is the second one:
http://www.apache.org/dist/ant/ivyde/updatesite/
It contains the latest versions of features and plugins.
If you don't see these latest versions, you probably are seeing a cached (by
your browser? by your proxyserver?) version.
Maarten
- Original M
Since nothing changed on your build box, I would start by checking the
permissions on the ftp linux box. It could be that someone changed
permissions of the userid used by your ANT task to access and navigate
the ftp server. If someone removed permissions to change directories
for that user
Hi,
I have been running an ant target via cruise control for some time that
ftp's one file from my build box to a linux environment, then all of a
sudden the target stopped working, and
now I receive a "550 Failed to change directory" whenever that target runs,
and it causes the build overall to f
Look at Ant's task. You can embed it in a target, it will
generate a local file, named build.number which contains the universal build
numbering or software versioning scheme, n.n.n.n. and each time your target's
executed, the 4th position is incremented.
> Subject: counter or incre
Hello,
I have some experience with ant but one task I couln't handle.
In my process I want to replace a string in an copied file with a string
increased by 1.
So it is al little counter.
For example i want to copy file A to an folder. After the copy is done I want
to replace an token with a str
Hi -
For XML files, XMLTask will manage correct entity escaping and character
encoding.
http://www.oopsconsultancy.com/software/xmltask/
Brian
On Wed, January 21, 2009 14:22, Alec Fernandez wrote:
> You should exercise caution when using replace to substitute tokens in xml
> files and property
http://ant.apache.org/manual/CoreTasks/copy.html
Example "Copy a set of files to a directory, replacing @TITLE@ with Foo Bar in
all files."
Jan
>-Ursprüngliche Nachricht-
>Von: Alec Fernandez [mailto:alec.fernan...@sas.com]
>Gesendet: Mittwoch, 21. Januar 2009 15:23
>An: Ant Users Lis
My favorite way is to use unicode escapes. Not only does it work for
every character you will need (visible or not visible), but unicode
escapes work for all XML, properties, and even Java source files (using
different syntax, as explained below). For Ant build files: "" +
2_DIGIT_DECIMAL_NUMBE
After using an inputstring="" option in a task ant get control back.
Problem resolved.
Thank you, Stefan
Petro
Stefan Bodewig wrote:
>
> On 2009-01-21, pmken wrote:
>
>> The issue is that when i run my "install" task the build stops at
>> execution
>> of “_XXX” task and waits until the ent
You should exercise caution when using replace to substitute tokens in xml
files and property files because some chars &<>'" need to be escaped in xml
files.
You need to be sure that the string that you are inserting into the xml will
never have such characters, or you must escape yourself.
Si
Just as a followup, I do a similar thing as #3 in a project I am
ANT'ing, and if you are not replacing in the XML file using regular
expressions (e.g., you are just replacing 'password="foo"' with
'password="bar"'), you may be able to accomplish what you need to do
with the much simpler-to-
On 2009-01-21, pmken wrote:
> The issue is that when i run my "install" task the build stops at execution
> of “_XXX” task and waits until the enter key is pressed. The task executes
> sql statement.
> The issue seems to be in version of ant, since with ant 1.6.2 the build
> works well and with a
It's the one linked to on the main ivyDe site.
http://ant.apache.org/ivy/ivyde/download.cgi
Target
www.targetgroup.net
Target is a trading name of Target Group Limited,
registered in England and Wales No. 1208137
Registered office: Target House, Cowbridge Road East, Cardiff CF11 9AU
*
Folks,
Can anyone tell me where the main IvyDE update site is? I am a bit confused.
1. http://ant.apache.org/ivy/ivyde/updatesite/ - is it this one (although it
has no features/plugins directories)?
2. http://www.apache.org/dist/ant/ivyde/updatesite/ - it seems likely that it
is this one, h
The issue is that when i run my "install" task the build stops at execution
of “_XXX” task and waits until the enter key is pressed. The task executes
sql statement.
The issue seems to be in version of ant, since with ant 1.6.2 the build
works well and with ant 1.7.1 it stops at execution of the s
There are multiple options:
1. create two hibernate files and select only one of them while copying using
conditional patternset .
2. create a template and fill in the the values
3. modify the config file with
4. modify the config file with (external task)
Jan
>-Ursprüngliche Nachrich
-Original Message-
From: yousufhaider [mailto:yousuf.r...@gmail.com]
Sent: Tuesday, January 20, 2009 11:11 PM
To: user@ant.apache.org
Subject: Copy files in a directory not directory itself where source directory
name is not known
/*
[...]
Basically what I want to is to copy everythin
Hello list.
I'm using Hibernate in my web project. I've created an Ant file in order to
create a war and deploy it to my remote tomcat. The problem is locally I
test my database access with a user/password database. So, Hibernate has a
hibernate.cfg.xml, in order to set the user and password to a
23 matches
Mail list logo