Commit Graph

652 Commits

Author SHA1 Message Date
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
Xavier Hanin dde1e2089b NEW: configuration groups (IVY-1097)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@789095 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 13:02:10 +00:00
Maarten Coene 7bedb79cd6 FIX: The Ant output wasn't always prefixed by the name of the task
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@788535 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 22:36:53 +00:00
Xavier Hanin b8161dfd9c improvement in configuration intersection support: support *->@+something (IVY-1093)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@787585 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 08:26:29 +00:00
Maarten Coene 2d5b2326b2 FIX: [originalname] not expanded during retrieve when module descriptor contains extra attributes (IVY-1096)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@786304 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 21:54:09 +00:00
Maarten Coene 1ac854b13d Why do we need to set the context here?
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@786266 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 20:59:58 +00:00
Maarten Coene 8a7d52b9a9 Removed unused imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@786261 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 20:55:27 +00:00
Xavier Hanin 3078aab0b2 NEW: configuration intersections (IVY-1093)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@783755 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 13:12:32 +00:00
Nicolas Lalevee afc1dbf04e IVY-983:
- make the 'callers' aggregated by the requested conf more than the conf currently resolve in the hierarchy of confs


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@780757 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 17:58:28 +00:00
Xavier Hanin 90456a4b45 IMPROVEMENT: Pre and post retrieve artifact events (IVY-1084)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@778769 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 15:50:41 +00:00
Xavier Hanin 08cf1d1fb5 FIX: transitive dependencies and conflict management (IVY-1083)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@778742 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 15:17:04 +00:00
Maarten Coene be2aa80bc3 FIX: PomModuleDescriptorBuilder does not resolve ejb type dependencies to jar extension (IVY-1058) (thanks to Andrey Lomakin)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@765366 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 21:27:17 +00:00
Maarten Coene 770fc1d470 IMPROVEMENT: Fail the retrieve when multiple artifacts of same module are mapped to same file (IVY-1050)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@755043 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 23:27:03 +00:00
Maarten Coene 0642a6f1da FIX: Ivy doesn't handle the classifier attribute of artifacts inside dependency elements (IVY-1041)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@750671 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 23:17:41 +00:00
Maarten Coene 2ebd474518 Added junit test for IVY-1037 (thanks to Martin Eigenbrodt)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@750617 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 21:54:26 +00:00
Maarten Coene 40aee3954f FIX: Dependencies don't inherit exclusions from dependencyManagement (IVY-974) (thanks to John Gibson)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@749782 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 21:56:28 +00:00
Maarten Coene d998be61d8 IMPROVEMENT: ivy initialization shouldn't fail if properties file doesn't exist (IVY-1038)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@749749 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 21:00:58 +00:00
Maarten Coene b2d6184204 IMPROVEMENT: Ability to strip revConstraint attribute from delivered Ivy files (IVY-989)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@744568 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 21:04:19 +00:00
Maarten Coene aeb410f6c2 FIX: Ivy retrieve does not honor validate="false" from ivysettings (IVY-992)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@744087 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 11:39:48 +00:00
Maarten Coene 0346981dd4 Forgot to commit the modified test for IVY-1006
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@741336 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 23:06:40 +00:00
Xavier Hanin 79535f59ac fix problems introduced with IVY-1012
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@737358 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 14:05:24 +00:00
Xavier Hanin 0309c63333 FIX: TTL does not work as expected (IVY-1012)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@737330 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 11:00:40 +00:00
Maarten Coene d6be67b284 Fixed junit test: paths are case-sensitive on unix
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@734618 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 07:16:27 +00:00
Maarten Coene db2ccbe536 FIX: Ivy deliver fails to replace dynamic revision (IVY-999) (thanks to Martin Eigenbrodt)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@734517 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 21:22:01 +00:00
Maarten Coene fb629b23fc Removed unused import.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@723467 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 22:15:30 +00:00
Maarten Coene db841bca38 FIX: NullPointerException when resolving module wihout revision in the pattern (IVY-980) + junit test
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@723065 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 20:50:45 +00:00
Maarten Coene a48f4888bb - FIX: IO problem while parsing ivy file (Resetting to invalid mark) (IVY-975)
- FIX: Cannot parse maven2 poms containing an UTF-8 BOM

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@720307 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 22:07:47 +00:00
Maarten Coene cc6ce27331 FIX: <ivy:buildnumber> returns wrong result when resolve fails (IVY-970)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@719378 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 21:21:37 +00:00
Maarten Coene 79e8ea94db FIX: NPE in LogReportOutputter (IVY-961)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@710178 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 21:50:55 +00:00
Maarten Coene c235721162 Merged changes from 2.0.0-rc2 branch back into trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@709004 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 20:56:03 +00:00
Nicolas Lalevee 8031162789 IVY-953: make the tests run on every plateform
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@707070 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 13:38:40 +00:00
Nicolas Lalevee c48129bd9a IVY-953: make ivy set the basedir property on IvySettings.setBasedDir (if the property doesn't exist yet)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@707053 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 12:10:08 +00:00
Maarten Coene 4e52d16c4c FIX: Ivy doesn't throw an error when the parent POM cannot be loaded (IVY-931)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@706768 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 21:03:57 +00:00
Maarten Coene e6037c6b99 Fixed failing junit test (introduced by fixing IVY-950)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@706443 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 22:57:56 +00:00
Maarten Coene 73c4065d78 FIX: Correctly set ivy.resolved.configurations property when the conf string includes a negation operator (IVY-951) (thanks to Patrick Woodworth)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@706440 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 22:45:13 +00:00
Maarten Coene abd0b37f0a FIX: Support for passing arbitrary arguments to the -main invoked class when using the standalone mode is severely limited (IVY-952) (thanks to Patrick Woodworth)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@706432 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 22:26:49 +00:00
Maarten Coene c342635a46 FIX: Extra Attributes specified in the Dependency's Module Descriptor are not available to resolvers (IVY-929) (thanks to Scott Hebert)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@706421 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 21:47:15 +00:00
Maarten Coene 9c831fa545 FIX: Maven2 parser doesn't support POMs with <model> as root (IVY-932)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@701232 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 20:19:59 +00:00
Maarten Coene 2cbea2ac39 Added junit test for IVY-921
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@701224 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 19:46:20 +00:00
Maarten Coene 1733cf35ad Added junit test for IVY-924
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@700929 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 21:12:02 +00:00
Maarten Coene 86b9dbd025 FIX: ivy:settings doesn't work if id is a property (IVY-925)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@700920 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 21:00:57 +00:00
Maarten Coene a509b19c33 Fixed junit test failure introduced by changing junit tests for IVY-926
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@700604 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 22:18:17 +00:00
Maarten Coene cd9f86bada FIX: Maven Pom reader doesn't handle optional dependencies correctly in some instances (IVY-926) (thanks to Phil Messenger)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@700571 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 20:34:15 +00:00
Maarten Coene 89ef710719 Added missing licenses.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@698364 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 21:43:19 +00:00
Maarten Coene 821a3ddf69 FIX: Properties needed to parse version in POM (IVY-914) (thanks to Tom Widmer)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@698345 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 20:57:13 +00:00
Maarten Coene f1c7e5c7c4 FIX: Cannot configure items with java.io.File attributes (IVY-905)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@696031 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 19:56:48 +00:00
Maarten Coene eadc1e3453 FIX: ivy.cache.dir.${settingsRef} is set to default instead of the defaultCacheDir from the ivysettings.xml after ivy:resolve (IVY-898)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@694036 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 22:25:06 +00:00
Maarten Coene 951b253fc3 FIX: Ivy ibiblio resolver chokes on variables while checking descriptor consistency (IVY-818)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@692729 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 20:32:48 +00:00
Maarten Coene 8174a5bbf5 FIX: Enable consistent support of the configuration negation operator (IVY-894)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@691877 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 06:08:00 +00:00
Xavier Hanin cfa7c5e3bb IMPROVEMENT: write home page, description and license info in XmlModuleDescriptorWriter. This is useful to be sure we don't lose information parsed in poms, license information being especially useful (related to IVY-892)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@691538 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 08:19:46 +00:00
Xavier Hanin 1f73722ffb IMPROVEMENT: Parse license information in poms (IVY-892)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@691531 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 07:52:46 +00:00
Xavier Hanin b1cfd88a8c FIX: can't use gotoNode with a node which has not been visited yet (IVY-874)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@691310 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 16:33:16 +00:00
Xavier Hanin a92a4fcecc IMPROVEMENT: Better and more homogeneous relative paths handling (IVY-387)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@691210 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 12:07:20 +00:00
Maarten Coene aaa2583f35 FIX: Ivy Publish Task Fails When XML Comments Exist Next to Dependency Declarations (IVY-888)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@691071 13f79535-47bb-0310-9956-ffa450edef68
2008-09-01 21:52:35 +00:00
Xavier Hanin 32038d1bde FIX: Incorrect directory path resolve when running from a different directory (IVY-232)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@690317 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 16:24:03 +00:00
Xavier Hanin 12e916f9cc IMPROVEMENT: in Ivy API, let users first locate an Artifact, then download it in a second step. This will be used to fix IVYDE-117, and could also be useful to allow a report only resolve, which does not download any artifact but only locate them (a kind of dry run).
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689862 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 15:54:58 +00:00
Xavier Hanin 720ad4628d FIX: Ivy#listTokenValues(String, Map) does not filter returned values, and does not use maven-metadata.xml files with IBiblio resolver (IVY-886)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689160 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 18:19:27 +00:00
Xavier Hanin 3ef6097b71 FIX: PackagerResolverTest was failing
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689093 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 14:29:53 +00:00
Xavier Hanin 2bc0118ad0 FIX: Circular Dependency messages in a resolve do not reflect the configuration used during the resolve (IVY-708)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689060 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 13:05:43 +00:00
Xavier Hanin 1d225dae0a enable again xsl transformation for test with circular dependency
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689046 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 12:21:53 +00:00
Xavier Hanin b1249fa0c5 FIX: Failure to transitively install Maven2 artifacts with namespace (IVY-440)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689034 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 11:13:23 +00:00
Xavier Hanin 945313a13f FIX: Unwanted eviction of dependencies when optional attributes in dependency and info tags are in consistent (IVY-745)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689014 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 09:59:29 +00:00
Xavier Hanin a8e22c5d18 FIX: Deliver delivers the wrong version when a dynamic revision is evicted before being resolved (IVY-707)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@688740 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 14:51:26 +00:00
Xavier Hanin 6d6d34af69 FIX: ChainResolverTest failures (IVY-882)
The problem was due to the changes introduced in IVY-857. Indeed the cache checking was removed from the chain, to allow a resolver to force a revision even when there is already something in the cache. The problem is that resolvers where always checked in the chain even when the cache is filled. To implement this properly, I've moved the responsibility of knowing what resolved module revision should be returned to each individual resolver instead of the chain (pretty much like in the chain of responsibility pattern, where each node is responsible for calling the next one). To avoid changing the DependencyResolver API, I've added the detail about a possibly already resolved module revision in ResolveData. The added responsibility to DependencyResolver makes it more flexible, but also more complex to write. Hopefully most people writing dependency resolvers at least extend BasicResolver where all this logic is already implemented.

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@688097 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 15:32:18 +00:00
Maarten Coene b506d8f19d FIX: URLRepository does not allow some valid file scheme uri's (IVY-884)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@687492 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 22:30:44 +00:00
Scokart Gilles 94d07bcb20 IMPROVEMENT: Add a memory cache for the module descriptor that are parsed from the cache (IVY-883)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@685906 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 14:11:20 +00:00
Scokart Gilles 0ef3e5dd06 Give the possibility to not compute ivy.deps.changed (IVY-876)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@683552 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 08:41:52 +00:00
Scokart Gilles d31db960ee fix unit test on IBM JVM (probably broken by IVY-868)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@683200 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 09:39:32 +00:00
Scokart Gilles c9b273ce69 fix unit test on IBM JVM (probably broken by IVY-868)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@683187 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 09:10:07 +00:00
Maarten Coene 28b71bd41d FIX: Maven2 "ejb" packaging is not supported (IVY-873)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@682974 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 21:45:49 +00:00
Maarten Coene 2ff246110d FIX: Config files with # in path can't be read (IVY-868) (thanks to Simon Steiner)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@681508 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 21:41:11 +00:00
Xavier Hanin d1df7c94e8 FIX: Cache can't distinguish artifacts with classifiers (IVY-803) (thanks to James P. White)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@680417 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 17:33:12 +00:00
Maarten Coene 1f3f87a67c Fixed problem with test on some VM's where XSLT doesn't like the Turkish locale.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@678564 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 20:56:42 +00:00
Maarten Coene 18554d04c0 Fixed compilation problem.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@678558 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 20:49:30 +00:00
Maarten Coene dce2f45c16 Updated new packager resolver to use Ant API instead of command-line and updated the packager-stylesheet to make it work on windows (IVY-829)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@678326 13f79535-47bb-0310-9956-ffa450edef68
2008-07-20 21:45:02 +00:00
Scokart Gilles 2667a06a31 FIX: Ivy causes IveDE to fail where a properties file is relative to ivyconf.xml (IVY-573) (thank to Jamie Burns)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@678265 13f79535-47bb-0310-9956-ffa450edef68
2008-07-20 10:12:00 +00:00
Scokart Gilles d8a7bc3251 (IVY-89) properties from referenced from settings file are now relative to the location of the settings file, not relative to the execution directory)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@678264 13f79535-47bb-0310-9956-ffa450edef68
2008-07-20 09:50:36 +00:00
Maarten Coene ab72c0dcde IMPROVEMENT: undeprecate configure task (IVY-849)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@675931 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 12:24:00 +00:00
Xavier Hanin dbbccbf883 IMPROVEMENT: Detect missing artifacts on publish asap (IVY-862)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@675585 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 14:19:56 +00:00
Xavier Hanin 3e14e1a22f IMPROVEMENT: Check branch consistency during resolve (IVY-858)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@675235 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 15:44:31 +00:00
Xavier Hanin 71ddda2178 FIX: Reports showing double dependencies in certain cases (IVY-578)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@675227 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 15:30:03 +00:00
Xavier Hanin f94ef5f669 FIX: dynamic revision resolve does not throw error when configuration is missing (IVY-861)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@675186 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 14:23:22 +00:00
Xavier Hanin 4f0e9a0acb FIX: Referenced resolver not found in macro (IVY-860)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@675108 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 07:45:23 +00:00
Xavier Hanin a3939fcf74 IMPROVEMENT: Allow to set the branch at deliver/publish time (IVY-859)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@674868 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 16:16:00 +00:00
Xavier Hanin c64eaa7994 IMPROVEMENT: Add defaultconf in publications tag of ivy file (IVY-801)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@674852 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 15:04:42 +00:00
Xavier Hanin c4dee75b1b NEW: Better support for local builds (IVY-857)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@674824 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 13:51:59 +00:00
Xavier Hanin 46fe473ebf IMPROVEMENT: Support atomic publish with sub directory structure (IVY-856)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@674574 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 18:15:52 +00:00
Xavier Hanin 33e453a0dc FIX: Ivy files are not retrieved when using useOrigin=true (IVY-713)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@674011 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 11:16:12 +00:00
Xavier Hanin 5a8ac6281a FIX: NPE in Ivy:install task if the repository cache dir has been cleared (IVY-843)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@673998 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 10:53:51 +00:00
Xavier Hanin 0a870c960d FIX: Maven version ranges with ( ) are not supported (IVY-678) (thanks to Michael Kebe)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@673934 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 07:25:37 +00:00
Xavier Hanin cbb1b2da79 add m2resource test in PackagerResolver (thanks to Archie Cobbs)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@673332 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 09:42:20 +00:00
Xavier Hanin 881500cd68 fix some test cases
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@671601 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 16:45:24 +00:00
Xavier Hanin 8bbf8370c3 FIX: haltonmissing on publish task does not prevent the other files to be published, even with an atomic publisher (IVY-656)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@671578 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 15:16:31 +00:00
Xavier Hanin dfbb7282f1 add more test and improve atomic publish support
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@671566 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 14:32:22 +00:00
Xavier Hanin a08090fced FIX: Transitive dependencies resolves incorrectly when different modules uses the same dependency with different configurations in the same build (IVY-541)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@671546 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 13:26:03 +00:00
Xavier Hanin 484e1ee3f2 FIX: transitive attribute set to false because of dependency (IVY-105)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@671528 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 12:25:25 +00:00
Xavier Hanin 1c8e952ae7 review some packager resolver code:
- use FileUtil.forceDelete instead of re implementing own recursive delete
- put temporary test files in build/test instead of tmp, to follow other unit test template
- remove m2resource test for the moment, since the "website" does not provide it (missing in patch)

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@671005 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 03:27:37 +00:00
Xavier Hanin fbc18fb917 IMPROVEMENT: Provide ant task to retrieve information from published ivy modules (IVY-838) (thanks to David Maplesden)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@670998 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 02:53:25 +00:00
Xavier Hanin a7eb2c27a9 NEW: Add new packager resolver (IVY-829) (thanks to Archie Cobbs)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@670997 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 02:44:04 +00:00
Maarten Coene d6829773e1 Improved junit test...
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@667272 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 22:23:44 +00:00
Maarten Coene 51d967fddb FIX: NPE in ivy:install if ivy.settings.xml contains custom attribute for a module (IVY-838)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@667269 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 22:17:39 +00:00