Commit Graph

652 Commits

Author SHA1 Message Date
Nicolas Lalevee 2d650f890f Make IvyCachePath understand OSGi classpaths with their Bundle-Classpath header
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375593 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:58:53 +00:00
Nicolas Lalevee faffec9020 Parse the Bundle-Classpath in an OSGi MANIFEST
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375592 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:58:21 +00:00
Nicolas Lalevee 535cbcd9f2 Test and fix the detection of the 'zipped' bundles
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375591 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:57:47 +00:00
Nicolas Lalevee f65e9aa63f Fix sync retrieve of uncompressed artifacts
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375585 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:49:46 +00:00
Nicolas Lalevee 53d3e8ce79 When retrieving, the uncompressed artifact should take the place of the real artifact
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375573 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:28:32 +00:00
Nicolas Lalevee 99e257660b Add support of uncompress artifacts to the Ant tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375554 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:09:46 +00:00
Nicolas Lalevee 59aedc8a22 Add support for retrieve of uncompressed artifacts
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375549 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 13:58:36 +00:00
Nicolas Lalevee 9b2d76e5c7 Add support for 'compressed' artifacts:
- add 'compression' attribute to indicate artifact which should be used uncompressed
- make the cache downloader uncompress data if requested
- path to the uncompressed data is referenced in the artifact download report

This can be useful for OSGi bundle which contains an inner classpath: they should be uncompressed before being used.
This could also be useful for managing multiple little files.


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375539 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 13:36:40 +00:00
Maarten Coene fc39007446 Don't run the testRetrieveWithSymlinksMass test on windows...
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375243 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 21:43:23 +00:00
Maarten Coene 0b873b95a8 Log a bit more in a junit test to see what's going wrong on unix...
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1374859 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 21:46:25 +00:00
Maarten Coene 275870d751 - FIX: Unnecessary warning when parent ivy.xml is not found (IVY-1346)
- FIX: StackOverflowError when using <extends> and ../ivy.xml is not the parent ivy.xml (IVY-1437)


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1374774 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 15:37:25 +00:00
Nicolas Lalevee 79ad715f02 Do actual symlink testing on Mac OS X
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1373627 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 20:55:56 +00:00
Nicolas Lalevee 2cd92aa6e3 IVY-1252 : fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1373626 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 20:52:44 +00:00
Nicolas Lalevee e83ed048d4 IVY-1252 : symlinkmass feature based on symlink feature of ivy:retrieve (Thanks to Gene Smith)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1373534 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 17:32:47 +00:00
Nicolas Lalevee 2e75977267 IVY-1288: Exposing some parent metadata (organisation, module, revision, branch) as properties (Thanks to Jean-Louis Boudart)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1373350 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 11:43:10 +00:00
Nicolas Lalevee 371dfcceb6 Implementation of a task which create an ivy.xml with fixed non transitive dependencies
Not sure how usefull it will be and how clean it is, so the doc is not linked into the toc, and no reference in the CHANGE.txt file


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1372619 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:10:39 +00:00
Nicolas Lalevee a39a81a17e IVY-1367: Support Conditional Setting of a Property
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1372616 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:03:10 +00:00
Nicolas Lalevee 02227560d9 add support for source URI from OBR repositories
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1368709 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 21:22:44 +00:00
Nicolas Lalevee eeda726246 Add support for source bundles from p2 repositories
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1368683 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 20:08:20 +00:00
Nicolas Lalevee a57988b0e5 thanks to Mitch Gitman and Jean-Louis Boudart:
- FIX: ivy:buildlist task confused by extends feature using two parents (IVY-1363)
- FIX: ivy.xml extends feature complains about Windows filesystem path (IVY-1359)
- FIX: buildlist task chokes on absolute path to parent Ivy module (IVY-1364)



git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1364410 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 19:45:18 +00:00
Nicolas Lalevee c02386113b IVY-1300: Delivered ivy descriptor inconsistent with resolve report / retrieve and other post-resolve actions (thanks to Ed Burcher)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1342465 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 22:31:21 +00:00
Nicolas Lalevee 18c5b2536c IVY-1343: fix for a NullPointerExeption in AbstractOSGiResolver (thanks to Thomas Kurpick)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1329663 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:10:43 +00:00
Nicolas Lalevee 3f83207040 Fix the example about managing an Eclipse plugin dependencies with Ivy
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1325396 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 17:36:50 +00:00
Nicolas Lalevee 3aa534a3e0 Use Java 1.4 APIs
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1325150 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 07:59:47 +00:00
Nicolas Lalevee f00c70d865 Improvement of the resolve process of an OSGi dependency:
- no more extra attribute, the kind of dependency is in the organisation name
- while resolving transitive dependencies, make Ivy aware of the packages by making them real module rather then tricking it by immediately trying to find an implementation fitting the requirement


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1324865 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 17:06:36 +00:00
Maarten Coene bdcbde4987 removed System.out.println
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1311149 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 07:13:09 +00:00
Maarten Coene ed1d3ed21c junit test fix caused by ivyde release
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1311148 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 07:11:48 +00:00
Maarten Coene 90870ae137 Removed unused import.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1305654 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 22:52:57 +00:00
Maarten Coene 9fcd616fe5 FIX: Impossible to get artifacts when data has not been loaded for multiple dynamic revisions (IVY-1333)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1305644 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 22:45:10 +00:00
Maarten Coene e8633715a1 removed commented code
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1304653 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 23:15:00 +00:00
Maarten Coene e83ea3998d renamed fields beginning with '_'
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1304652 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 23:14:04 +00:00
Maarten Coene 63b85e9c14 FIX: Ivy didn't properly handle some file: URLs (IVY-1340)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1304651 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 23:11:41 +00:00
Maarten Coene 65a2a7da3e FIX: Infinite loop in latest-compatible conflict manager (IVY-1233) (thanks to Payam Hekmat and Sven Zethelius)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1304633 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 22:27:47 +00:00
Maarten Coene eb2824c490 IMPROVEMENT: ivy:install task does not allow specification of conf (IVY-1313) (thanks to Nihal Sinha)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1299482 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 23:11:00 +00:00
Maarten Coene 815fa4b995 Attempt to fix failing tests on vmgump.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1296761 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 06:39:54 +00:00
Maarten Coene 58588fd7b8 Another attempt to fix the failing tests on vmgump and jenkins
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1245872 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 06:53:20 +00:00
Maarten Coene 425c28f75c FIX: [originalname] not expanded for source and javadoc types during publish in ivy:install (IVY-1324)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1244251 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 22:40:53 +00:00
Nicolas Lalevee 935b93acaa Fix the fs iterator so it properly handle Windows paths: stick with java.io.File rather than playing with java.lang.String
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1231729 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 19:07:16 +00:00
Nicolas Lalevee bd0aac4761 Fix the tests: listing modules does include packages capabilities
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1231727 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 19:04:01 +00:00
Nicolas Lalevee 2db4eb59d4 IVY-1329: fix the parse of ! (NOT) in the OSGi requirement filter
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1231711 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 17:51:24 +00:00
Maarten Coene 187236482a Fixed some outdated junit tests...
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1226319 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 00:02:38 +00:00
Maarten Coene 84fd1dd099 FIX: extra attributes lost from info when ivy file is merged with parent (IVY-1206)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1226251 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 14:25:49 +00:00
Nicolas Lalevee 965ab18ee1 Fix composite P2 respotory parsing
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1201498 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 19:55:21 +00:00
Nicolas Lalevee f1dab54918 Fix setter for RequirementStrategy
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1201495 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 19:52:37 +00:00
Nicolas Lalevee 0f794328d8 - fix the JarResolver when used with an URL
- fix the unit tests: the settings are the last set on the resolver


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1201254 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 12:29:50 +00:00
Nicolas Lalevee e9b9844fce IVY-1312:
- implementation, test and documentation of the jar resolver


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1165117 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 21:33:39 +00:00
Nicolas Lalevee 069faaa38e - add some tests on the updatesite resolver
- fix the way artifact location is handled so at the end we have a proper URL


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1165100 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 19:37:03 +00:00
Maarten Coene 2b720c7df0 FIX: Infinite loop in latest-compatible conflict manager (IVY-1233) (thanks to Payam Hekmat)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1163390 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 21:15:03 +00:00
Maarten Coene cd68dcc15a Corrected unit test to actually test that the 2 configuration have the same dependencies (copy/paste error)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1163368 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 20:41:17 +00:00
Maarten Coene 9c7f6d4212 IMPROVEMENT: ivy:makepom ignores the artifact type in generated dependencies (IVY-1229) (thanks to Douglas Palmer)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1156840 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 21:32:39 +00:00
Matthew Jason Benson 72b9a7f373 [IVY-1301] Ivy does not apply overridden properties to parent dependency versions specified using dependencyManagement properties
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1133126 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 18:34:01 +00:00
Matthew Jason Benson 3b91cc1d78 test overriding grandparent properties also
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1132750 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 20:30:47 +00:00
Matthew Jason Benson 020f71e5fb [IVY-1299] Ivy does not apply overridden properties to parent dependency versions specified using properties
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1132472 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 18:24:31 +00:00
Matthew Jason Benson 0419ecf691 parent dependency management includes version management; child pom doesn't need to declare parent-managed version
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1131239 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 21:00:31 +00:00
Maarten Coene b2b0c36ee6 Removed old non-working maven mirrors.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1097644 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 22:30:37 +00:00
Nicolas Lalevee e0aedbbca4 fix the tests regarding the previous commit r1097628
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1097631 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 21:51:30 +00:00
Maarten Coene 2e027a4d3d - IMPROVEMENT: Added support for dynamic revisions in <extends> tag (IVY-1281) (thanks to Jean-Louis Boudart)
- FIX: extends section of ivy.xml info does not replace variable in location tag (IVY-1287) (thanks to Jean-Louis Boudart)


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1097612 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 21:16:35 +00:00
Nicolas Lalevee d413bf2e74 - improving support for composite p2 repository
- add a unit test to load the eclipse repository, disabled as it download too much stuff and there is no cache support (yet)

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1092303 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 14:48:59 +00:00
Nicolas Lalevee 087f54a170 Add support for a composite P2 repository
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1091577 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 21:30:14 +00:00
Nicolas Lalevee c765837f17 Add a mirror capable url resolver. Far from perfect but a nice first working version.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1087396 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 18:19:24 +00:00
Nicolas Lalevee 4420519291 Add a unit test on a class imported from Bushel (see IVY-1208) (thanks to John Gibson)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1084394 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 22:43:50 +00:00
Nicolas Lalevee f0c59d736f IVY-1272:
- use an java empty iterator rather than having an exclude-all filset which might still read the filesystem

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1079735 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 10:42:45 +00:00
Maarten Coene f46912fffe Fixed failing junit test
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1072265 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 07:15:02 +00:00
Nicolas Lalevee f91eece713 fix a NPE and remove a not working test
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1056458 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 18:59:59 +00:00
Nicolas Lalevee 38e4922d4f Add a first implementation of a parser of an Eclipse update site
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1056288 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 12:39:32 +00:00
Nicolas Lalevee f678072100 Better handle spaces
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1056064 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 20:40:19 +00:00
Nicolas Lalevee 0905dc0045 Try to make the code more generic about handling descriptor based repository
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1056016 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 19:18:41 +00:00
Maarten Coene 3222754b7d FIX: Dynamic version resolution result can be incorrect when ivy metadata contains extra attributes (IVY-1236)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1055675 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 22:55:07 +00:00
Maarten Coene 4edd88f57b More changes to let the osgi code compile with JDK 1.4
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1055062 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 14:36:49 +00:00
Maarten Coene 81c68f288a Some obvious code changes to get the osgi code to compile on JDK 1.4.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1055036 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 13:46:12 +00:00
Maarten Coene a61ff9c166 FIX: ivy.xml that contains UTF-8 encoded umlauts cannot be bigger than 10000 bytes (IVY-1253) (2nd attempt)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1052083 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 22:18:32 +00:00
Nicolas Lalevee 3ea778c10a fix the test: it has two choices as results, depending of some entropy
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1049337 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 23:41:19 +00:00
Nicolas Lalevee 800168f43c fix the test and fix a bug raised by a unit test
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1049322 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 23:12:08 +00:00
Nicolas Lalevee 88d62a6976 svn_apply_autoprops, mainly for line endings
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1049146 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 16:28:01 +00:00
Nicolas Lalevee de2468ebbf fix the compilation regarding the earlier move of the BundleInfoAdapter
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1045141 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 14:39:21 +00:00
Nicolas Lalevee 29507b64c3 IVY-1241: Cleanup of the code and make the unit tests pass
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1040596 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 16:02:04 +00:00
Nicolas Lalevee 8cc389ea41 Reenable the loading of the environment profile
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1040043 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 09:21:46 +00:00
Nicolas Lalevee 9ee47ff010 IVY-1248: Module inheritance sometimes fails to locate parent descriptor in deliver process (thanks to Jean-Louis Boudart)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1037152 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 10:07:31 +00:00
Nicolas Lalevee e0091b3f6f Setup of the unit tests of the OSGi mapping
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1036863 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 14:13:40 +00:00
Nicolas Lalevee c45f1ecf72 make the bushel imported code java 1.4 friendly
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1036857 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 14:11:22 +00:00
Nicolas Lalevee ec958b5f6e Raw import of Bushel
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1036848 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 14:06:06 +00:00
Nicolas Lalevee ca76e32c5e IVY-334:
- refactor the work done on ivy:resources so it becomes and post resolve task, then it can be used like ivy:cachepath
- nice side effect: ivy:resolve and every post resolve tasks support now "inlined ivy.xml dependencies"

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1030584 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 18:12:20 +00:00
Nicolas Lalevee b2835e0219 Test the "content" of the ivy:resources
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1028019 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 16:00:15 +00:00
Nicolas Lalevee 9e6d96f945 Unit test and fix on exclude/include in ivy:resources
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1028018 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 15:59:56 +00:00
Nicolas Lalevee 555f2fffcc fix the compilation of the unit test
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1028015 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 15:59:00 +00:00
Nicolas Lalevee 39108dc9b5 New Ivy Ant datatype: a resource collection compute from an Ivy resolve.
The basic implementation work, but is not yet a complete clone/merge of ivy:resolve and ivy.xml's <dependencies>

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1028013 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 15:57:36 +00:00
Nicolas Lalevee 220d2bfeee IVY-1227: here are the unit test for useCacheOnly
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1026174 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 23:03:32 +00:00
Nicolas Lalevee 9cc97b92d6 IVY-1240: a fix, and a unit test that doesn't test much unfortunately...
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1026063 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 16:45:31 +00:00
Maarten Coene 6ab9d41e3e FIX: Can not use a v[revision] in an artifact pattern of a filesystem resolver (IVY-1238)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1024027 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 21:48:41 +00:00
Maarten Coene 2dc3e2207a FIX: Cached ivy.xml is invalid if the description contains the ampersand entity (&amp;) (IVY-1237)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1023438 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 09:02:27 +00:00
Maarten Coene b0564321b6 IMPROVEMENT: ivy:makepom now has an option to disable the generation of an extra Ivy comment block in the POM
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@983797 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 19:50:55 +00:00
Maarten Coene ab4bd72f09 Use dedicated options class to pass configuration options to PomModuleDescriptorWriter.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@983793 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 19:41:24 +00:00
Maarten Coene 6d4b512cb1 FIX: XmlModuleDescriptorWriter does not write the transitive attribute (IVY-1207) (thanks to Abel Muino)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@965284 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 20:56:30 +00:00
Maarten Coene 728ccf5a5a IMPROVEMENT: ivy:makepom now accepts a list of configurations to include (IVY-1005) (thanks to Jesper Pedersen)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@964690 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 06:18:53 +00:00
Maarten Coene 98567abad2 FIX: Ivy info/extends/extendsType attribute is misspelled by XmlModuleDescriptorWriter (IVY-1203) (thanks to Jason Trump)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@961020 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 21:40:30 +00:00
Jonathan K. Schneider 33412b485e Allow for updating the resolved branch attribute of dependencies in XmlModuleDescriptorUpdator (IVY-1200)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@958693 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 19:51:41 +00:00
Maarten Coene 0a000800ef FIX: The ivy-module version used by XmlModuleDescriptorWriter is hard coded to '1.0' (IVY-1199)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@958290 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 21:49:50 +00:00
Maarten Coene 17ff3e942e "_dest" renamed to "dest"
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@958289 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 21:39:34 +00:00
Maarten Coene 75ab5e6bca FIX: makepom ignores artifact type in ivy.xml and hardcodes 'jar' in the output pom (IVY-736) (thanks to Aaron Hachez)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@954656 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 21:49:11 +00:00
Maarten Coene 2e96cd40c9 FIX: Resolved Ivy properties written to cache during ivy:resolve incorrectly represents forced revisions (IVY-1159)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@953162 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 21:14:51 +00:00
Maarten Coene 7f640b0bad FIX: Namespace rules not properly applied to parent projects (IVY-1186)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@953111 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 18:40:35 +00:00
Maarten Coene 48c7a0cbe0 IMPROVEMENT: added support for 'deflate' HTTP Content-Encoding (IVY-1194)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@951772 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 21:25:26 +00:00
Maarten Coene 37f373401c FIX: LatestVersionMatcher.needModuleDescriptor() does not honor custom statuses (IVY-1170) (thanks to Carl Quinn)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@949860 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 20:57:10 +00:00
Maarten Coene 3197015c0d Improved code style (thanks to Carl Quinn)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@949849 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 19:48:33 +00:00
Maarten Coene 010a4388d9 Cleanup deliver directory after test
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@944410 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 19:20:11 +00:00
Maarten Coene 3d336f0e30 Changed the location of the deliver directory to "build/test/deliver" instead of the default "distrib".
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@944019 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 21:20:38 +00:00
Maarten Coene f044bcb3d5 IMPROVEMENT: retrieve doesn't retrive files if the current one is more recent (IVY-1044)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@942885 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 20:07:08 +00:00
Maarten Coene 0be1e18d9e NEW: Support ivy.xml parent mechanism (IVY-742) (thanks to Jason Trump and Jean-Louis Boudart)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@942195 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 20:00:48 +00:00
Maarten Coene d0e4eabcdb Code style
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@937482 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 19:36:22 +00:00
Maarten Coene d92e70e750 Removed unnecessary code
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@937481 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 19:30:53 +00:00
Maarten Coene e3d72c538e Improved test to check that something has been unzipped/untarred at all...
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@937087 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 22:27:08 +00:00
Maarten Coene c4355851db FIX: Packager resolver always extracts all files from archives even when the packaging instructions contains include tags (IVY-1179) (thanks to Stefan De Boey)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@936523 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 21:40:59 +00:00
Maarten Coene b2cc472f73 FIX: Ivy cannot connect to URLs with '_' in their hostname
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@931310 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 20:35:31 +00:00
Maarten Coene 75bca5bd4c Added junit tests for IVY-923
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@931309 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 20:31:02 +00:00
Maarten Coene 91cb40361e FIX: Transitive dependencies resolutions issue when eviction is triggered (IVY-1178)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@929239 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 20:01:55 +00:00
Maarten Coene b62c3ff93e FIX: Transitive dependencies resolutions issue when eviction is triggered (IVY-1178)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@929238 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 19:59:33 +00:00
Maarten Coene 77da8cd564 typing error
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@927628 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 22:52:20 +00:00
Maarten Coene cb674aee84 Don't use ${user.home}/.ivy2/cache as the default Ivy cache for junit tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@926844 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:13:52 +00:00
Maarten Coene cce5289e58 Little code cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@926307 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 20:13:12 +00:00
Maarten Coene 27671a8bcd FIX: ApacheURLLister does not allow directories not containing a dot on Artifactory (IVY-1175) (thanks to Anders Jacobsson)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@922994 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 22:52:00 +00:00
Maarten Coene 9221fca35c FIX: artifact-lock strategy could hang Ivy when resolving dynamic revisions (junit test)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@916871 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 23:52:34 +00:00
Matthew Jason Benson 89dd7ae918 [IVY-1171] test
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@909635 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 22:12:33 +00:00
Maarten Coene 79b2633547 IMPROVEMENT: Enhance <info/> task to access the 'publication', 'branch' and published artifacts as ant propeties (IVY-395) (thanks to Carl Quinn)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@908679 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:13:09 +00:00
Maarten Coene eac471eefe FIX: parent.groupId is not resolved in maven 2 parser (IVY-1169) (thanks to Achim Huegen)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@908664 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:01:29 +00:00
Maarten Coene 7cf7986513 FIX: add ability to programmatically change default resolver (IVY-1163) (thanks to Jason Trump)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@902569 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 14:15:08 +00:00
Maarten Coene aade2faddd NEW: Make ivy.xml <conf description> available (IVY-1158)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@898344 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 14:36:58 +00:00
Maarten Coene c443b39bd6 Don't forget to call the init() method when a new Project instance is created!
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@897049 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 23:15:30 +00:00
Maarten Coene 944d5a7efe Forgot to commit updated junit test for IVY-1155
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@897046 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 23:06:47 +00:00
Maarten Coene 2509784fe0 Fixed junit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@888188 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 23:34:37 +00:00
Maarten Coene ac7e5e4ff9 Added junit test for IVY-956
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@888184 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 23:24:38 +00:00
Maarten Coene beff2feb9d FIX: FileSystem resolver with m2compatible=true throws error when publishing modules with dotted organisation names (IVY-968)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@885601 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 22:35:17 +00:00
Maarten Coene 3ac3caed42 FIX: ivy:retrieve sync="true" does nothing if first variable is optional (IVY-1142) (thanks to Andreas Axelsson)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@883156 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 22:18:59 +00:00
Maarten Coene f7cf3d8e1b Added unit tests for IVY-956
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@881024 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 22:55:31 +00:00
Maarten Coene 07f1766b0e Removed debug logging
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@832208 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 23:55:39 +00:00
Maarten Coene a1a4c062ea Added missing license
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@832205 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 23:51:13 +00:00
Maarten Coene 46722e306a FIX: ResolveEngine.getDependencies does not work using extra attributes (IVY-1115)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@832203 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 23:49:09 +00:00
Maarten Coene 92fd90c630 IMPROVEMENT: discover 'src' sources in maven repos (IVY-1138)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@831776 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 22:57:30 +00:00
Maarten Coene 0d7777b3a9 FIX: <override> ignored in dynamic resolve mode (IVY-1131)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@829662 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 21:44:16 +00:00
Maarten Coene 12060a3336 IMPROVEMENT: use defaultconf in combination with defaultconfmapping (IVY-1135) (thanks to Jon Schneider)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@828822 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 19:18:19 +00:00
Maarten Coene 62502fa48c Added missing license information
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@826849 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 22:43:17 +00:00
Maarten Coene 4d3836de33 Fixed failing junit test
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@826234 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 11:32:52 +00:00
Maarten Coene 827ac04016 Attempt to fix the failing junit-tests when running with latest Ant snapshot (cfr gump).
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@821584 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 19:18:54 +00:00
Maarten Coene 312c2518aa FIX: SearchEngine.listModules returns MRID without extra attributes (IVY-1128) (thanks to Michael Scheetz)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@820829 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 22:44:26 +00:00
Maarten Coene d3ecb70f56 FIX: Ivy deliver fails to replace dynamic revision when using extra attributes (IVY-1111) (thanks to Michael Scheetz)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@820806 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 21:31:46 +00:00
Maarten Coene 929ff9adfe Spelling fix
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@819042 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 22:03:11 +00:00
Scokart Gilles d46e1045cc Add documentation and unit test for (IVY-1021)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@811665 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 15:25:42 +00:00
Maarten Coene 72548f48a8 Removed System.out.println
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@800225 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 07:01:59 +00:00
Maarten Coene f7acab1f6c FIX: ivy parse exception when using <publications defaultconf> (IVY-1102)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@800224 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 06:59:10 +00:00
Nicolas Lalevee c55cb82fb4 IVY-1098:
- fix : hascode and equals added on ArtifactDownloadReport so that the map used in RetrieveEngine#determineArtifactsToCopy will avoid duplicates
 - unit test added


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@790534 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 10:03:31 +00:00
Maarten Coene c0c9223269 - NEW: added built-in versionmatcher: 'Version Pattern Matcher' (IVY-871)
- DOCUMENTATION: missing documentation for the 'Version Pattern Matcher' (IVY-871) (thanks to Jon Schneider)

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@789952 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 21:03:37 +00:00