You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Martin Eigenbrodt <ma...@googlemail.com> on 2009/02/01 18:24:56 UTC

Issues upgrading from 1.4 to 2.0.0

Is there a List of known problems when upgrading from Ivy 1.4 to 2.0?

Best regards,

Martin

Re: Debugging ivy code within an ant script

Posted by Gilles Scokart <gs...@gmail.com>.
I just pushed to antunit something that could help you to do that.  It
is an adapter between JUnit and AntUnit.  With this feature, you can
write a Junit Test class that when executed (from an IDE debuger for
instance) will run an AntUnit script.

All you have to do is :
- Add a target 'testXXXX' using the task you want to debug (so your
ant script is now an AntUnit script.
- Write a simple Junit Test using AntUnitSuite (see
http://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk/src/tests/junit/org/apache/ant/antunit/junit3/EatYourOwnDogFoodTest.java
for an example).
- Debug it with your favorite debugger like you would debug any JUnit test.


Of curse, you can also get all the benefits of AntUnit : You testXXX
is now an automated test in which you can use different ant oriented
assert.

The code is really fresh and still needs some tuning, but if you want
to give it a try...


Gilles Scokart



2009/2/3  <pa...@targetgroup.net>:
>
>
>
>
>
> Is there any way to run an ant script within Eclipse and debug at the Java
> level an ivy publish task ?
>
>
>
> 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
>
> **********************************************************************
> DISCLAIMER.
> This message is intended only for the use of the Addressee and may
> contain information that is PRIVILEGED and CONFIDENTIAL.
> If you are not the intended recipient you must not copy,
> distribute or take any action or reliance upon it.
> The content of this message may also contain personal
> views of an employee of this company and does
> not necessarily represent the view of the company.
> **********************************************************************
> This message has been scanned by Norton Anti-Virus.
> It has also been scanned by MAILsweeper to enforce our e-mail
> policy. If you have any concerns or comments about the content
> of this message, please  e-mail support@targetgroup.net.
> **********************************************************************
>
>
> _____________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs Email
> Security System. For more information on a proactive email security
> service working around the clock, around the globe, visit
> http://www.messagelabs.com
>

Debugging ivy code within an ant script

Posted by pa...@targetgroup.net.




Is there any way to run an ant script within Eclipse and debug at the Java
level an ivy publish task ?



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

**********************************************************************
DISCLAIMER.
This message is intended only for the use of the Addressee and may
contain information that is PRIVILEGED and CONFIDENTIAL. 
If you are not the intended recipient you must not copy, 
distribute or take any action or reliance upon it. 
The content of this message may also contain personal 
views of an employee of this company and does
not necessarily represent the view of the company.
**********************************************************************
This message has been scanned by Norton Anti-Virus. 
It has also been scanned by MAILsweeper to enforce our e-mail 
policy. If you have any concerns or comments about the content 
of this message, please  e-mail support@targetgroup.net.
**********************************************************************


_____________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com

Re: Issues upgrading from 1.4 to 2.0.0

Posted by Martin Eigenbrodt <ma...@googlemail.com>.
Thanks!

2009/2/2 Maarten Coene <ma...@yahoo.com>

> Martin,
>
> A (probably incomplete) list of incompatibilites are listed in the release
> notes:
> http://ant.apache.org/ivy/history/2.0.0/release-notes.html
>
> Maarten
>
>
>
>
> ----- Original Message ----
> From: Martin Eigenbrodt <ma...@googlemail.com>
> To: ivy-user@ant.apache.org
> Sent: Sunday, February 1, 2009 6:24:56 PM
> Subject: Issues upgrading from 1.4 to 2.0.0
>
> Is there a List of known problems when upgrading from Ivy 1.4 to 2.0?
>
> Best regards,
>
> Martin
>
>
>
>
>

Re: Issues upgrading from 1.4 to 2.0.0

Posted by Maarten Coene <ma...@yahoo.com>.
Martin,

A (probably incomplete) list of incompatibilites are listed in the release notes:
http://ant.apache.org/ivy/history/2.0.0/release-notes.html

Maarten




----- Original Message ----
From: Martin Eigenbrodt <ma...@googlemail.com>
To: ivy-user@ant.apache.org
Sent: Sunday, February 1, 2009 6:24:56 PM
Subject: Issues upgrading from 1.4 to 2.0.0

Is there a List of known problems when upgrading from Ivy 1.4 to 2.0?

Best regards,

Martin