Commit Graph

887 Commits

Author SHA1 Message Date
Maarten Coene f3fa2da056 IMPROVEMENT: Smarter determination if an expression is exact or not for RegexpPatternMatcher and GlobPatternMatcher
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@638096 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 22:12:58 +00:00
Xavier Hanin dce9dcdd31 - IMPROVEMENT: Parse description information in ivy files (IVY-766)
- IMPROVEMENT: Parse description and home page from poms (IVY-767)


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@636252 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 08:44:56 +00:00
Xavier Hanin 3e5b60de4f FIX: Ivy reports a conflict when the same file is supposed to be retrieved at the same location twice (or more) (IVY-743)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@635695 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 21:10:48 +00:00
Xavier Hanin aac02075fb test case for IVY-732, not reproducing the problem
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@635685 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 20:49:51 +00:00
Scokart Gilles 675270c475 IVY-759 : cachefileset doesn't support directory name starting with the same characters
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@634670 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 13:41:13 +00:00
Xavier Hanin f13e910f90 FIX: StackOverflowError when configuration extends itself (IVY-696)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@633568 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 17:49:10 +00:00
Xavier Hanin a9ba2122fe remove bad import
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632981 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 08:41:43 +00:00
Xavier Hanin 458b9ebad9 fix style: refactor: introduce InstallOptions to reduce the number of parameters for install methods
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632798 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 17:35:32 +00:00
Xavier Hanin 61a0d62543 add defaultResolveMode in settings (as part of IVY-740)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632788 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 17:12:13 +00:00
Xavier Hanin 85e1d92af6 fix style: refactor: introduce UpdateOptions to reduce the number of parameters for XmlModuleDescriptorUpdater update methods
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632743 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 11:54:51 +00:00
Xavier Hanin 25a06cbf5b - NEW: Retain original dependency constraint rules in resolved ivy file (IVY-739)
- NEW: Add a new resolve mode (optionally per module) to utilize dynamic constraint rule metadata (IVY-740)


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632723 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 08:50:33 +00:00
Xavier Hanin 3eef3cd67e IMPROVEMENT: add branch attribute in ivy:install task (IVY-727)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632587 13f79535-47bb-0310-9956-ffa450edef68
2008-03-01 13:01:45 +00:00
Xavier Hanin 60e6078195 FIX: XML schema ambiguity (IVY-750)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632405 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 18:44:20 +00:00
Xavier Hanin b44da9ac7e FIX: ivy-resolve fails when a project has different dependencies in different branches (IVY-717)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632399 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 17:32:23 +00:00
Xavier Hanin f97ecea7e1 IMPROVEMENT: Make Ivy standalone runnable with no required dependencies (IVY-757)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632381 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 16:40:52 +00:00
Xavier Hanin fa41eed5a7 FIX: Cachefileset task silently fails with parent dir ".." construct (IVY-638)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632310 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 13:05:33 +00:00
Xavier Hanin 416bc3ab8f FIX: XML entity parsing does not work properly (IVY-737) (thanks to Patrick Woodworth)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632301 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 12:03:19 +00:00
Xavier Hanin 4ca6b16dfe FIX: PublishEventsTest fails when Ivy sources are located in a directory with a + (IVY-755)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632299 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 11:52:22 +00:00
Scokart Gilles 2eab3e96c1 Flexible cache management (IVY-399) apply patch of Adrian Sandor
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@629817 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 15:00:07 +00:00
Scokart Gilles 4f33cc5724 FIX: m2 incompatibility - IVY does not recognize property section(IVY-637)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@629619 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 21:35:02 +00:00
Scokart Gilles 65479b4787 IVY-637 m2 incompatibility - IVY does not recognize property section (partial fix, the case of properties inherited from parent is not yet covered
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@629230 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 21:03:21 +00:00
Scokart Gilles 54c75983ed FIX: Inherit depedencies defined in parent pom (IVY-683)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@629215 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 20:22:51 +00:00
Scokart Gilles b70c75229f clean import
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@629198 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 19:23:11 +00:00
Scokart Gilles dc44824f86 IMPORVEMENT: Refactor the PomModuleDescriptorParser in order to allow easier integration of maven pom
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@629194 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 19:18:43 +00:00
Xavier Hanin 474c321dfb FIX: ivy:install task not using validate attribute (IVY-728)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@619946 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 17:17:07 +00:00
Xavier Hanin 30d4b7bd49 FIX: Bad conflict resolution leads to bad "configuration(s) not found" error (IVY-729)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@619939 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 17:00:10 +00:00
Xavier Hanin 9a234fafba FIX: Resolving for muyltiple configurations when one is not in the list of available configurations does not abort the build (IVY-720)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@619527 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 17:50:09 +00:00
Xavier Hanin b4bb16127d FIX: Branch attribute considered as both a standard and extra attribute on module info (IVY-726)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@619514 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 17:22:12 +00:00
Xavier Hanin 8e44cdd0a2 IMPROVEMENT: branch and extra attributes missing from info Ant task (IVY-721)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@619425 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 14:28:09 +00:00
Xavier Hanin 02b81d8408 FIX: Branch attribute not set on deliver when using a non default branch (IVY-724)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@619414 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 13:58:21 +00:00
Xavier Hanin 73c5066074 improve ChainResolver error reporting
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@618913 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 07:05:58 +00:00
Maarten Coene 320a562244 FIX: NullPointerException reported instead of error in ivy:cachepath (IVY-690)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@618445 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 21:24:17 +00:00
Xavier Hanin 551a84a36c FIX compilation error due to change for IVY-715
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@618316 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 16:21:40 +00:00
Xavier Hanin 718d5b756e clean cache after test
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@618035 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 17:30:12 +00:00
Xavier Hanin cf410674e4 IMPROVEMENT: Review settings loading in Ant (IVY-703)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@615445 13f79535-47bb-0310-9956-ffa450edef68
2008-01-26 11:33:09 +00:00
Xavier Hanin 32c182c2d8 IMPROVEMENT: Move useOrigin to repository cache manager (IVY-700)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@612173 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 17:45:26 +00:00
Xavier Hanin 0affb8216d add fine grain ttl settings (IVY-694)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@611739 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 08:26:46 +00:00
Xavier Hanin 3b44582c28 NEW: Cache dynamic revision resolution (IVY-694)
TODO:
- check if this should be the default or not, and add easier way to change the default TTL
- add unit test for TTL
- update doc
- add more flexible ttl settings?

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@610936 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 21:28:31 +00:00
Scokart Gilles 0520d25fff NEW: Add ability for buildlist task to start build from specified module in the list (IVY-697) (thanks to Mirko Bulovic)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@610812 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 15:14:57 +00:00
Maarten Coene b886fa4740 NEW: Add support for importing environment variables (IVY-608)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@610562 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 21:02:58 +00:00
Xavier Hanin 1696e097b6 IMPROVEMENT: Make IBiblio resolver compatible with maven proxy (IVY-466)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@610291 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 07:40:34 +00:00
Xavier Hanin f1f9a7950e FIX: Problem with cached Ivy files which have extra attributes (IVY-693)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@609172 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 16:37:19 +00:00
Xavier Hanin a339cb5c24 IMPROVEMENT: Use namespace aware validation (IVY-553)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@609138 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 13:47:31 +00:00
Xavier Hanin 87bc48ed77 IMPROVEMENT: use ModuleRevisionId instead of ModuleId in IvySettings#getResolver (IVY-591)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@608922 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 17:05:55 +00:00
Xavier Hanin e9f3603473 review settings syntax for cache management according to recent discussion on mailing list
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@608882 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 15:12:16 +00:00
Xavier Hanin c9a22ab08a review settings syntax for cache management according to recent discussion on mailing list
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@608879 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 15:09:43 +00:00
Xavier Hanin b1f2739c44 add resolve test with multiple caches
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@608795 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 10:30:24 +00:00
Xavier Hanin d7d0f9d39b rename 'lock' to 'lockStrategy' on cache element in settings
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@608781 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 09:47:10 +00:00
Xavier Hanin 2a617e6572 FIX: Detection of newer and better artifacts should not happen if 'checkModified' is set to 'false' (IVY-389) (with contribution from Johan Stuyts)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@608593 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 18:51:26 +00:00
Xavier Hanin 351512675a upgrade cleancache to latest cache management changes
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@608488 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 13:51:43 +00:00
Xavier Hanin 823b5942eb reduce RepositoryCacheManager contract
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@608162 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 17:58:40 +00:00
Xavier Hanin ab2869b096 IMPROVEMENT: Flexible cache management (IVY-399 - not completed yet)
- finished splitting cache between resolution and repository cache management
- added option to configure repo cache manager per resolver
TODO:
- update doc to reflect the changes
- add more tests
- remove some methods in RepositoryCacheManager interface to make the contract cleaner and easier to implement

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@607278 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 16:11:26 +00:00
Xavier Hanin 9f7f0a4a52 - store module descriptor cache location in resolution report to avoid using cache manager for later use of this data
- simplify ResolvedModuleRevision usage by making it a class, and putting some data separated in an ArtifactDownloadReport
- create a constant for unknown ArtifactOrigin instead of using null, to distinguish between unknown location and not providing ArtifactOrigin in IvyPatternHelper methods (which avoid calling getSavedArtifactOrigin many times for nothing)

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@607221 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 12:16:22 +00:00
Xavier Hanin 91773162bb TASK: Remove cache attribute on Ant tasks (IVY-685)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@607146 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 00:11:39 +00:00
Scokart Gilles acae06553b FIX: Maven test scope includes all runtime dependencies (IVY-682)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@606458 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 15:01:54 +00:00
Maarten Coene 4e1e7a93be FIX: Ivy doesn't respect the order of the ivy patterns as defined in the settings (IVY-676)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@605343 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 22:20:56 +00:00
Maarten Coene 37c750127b Don't validate 'test.xml' because it contains extra attributes.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@603760 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 22:52:00 +00:00
Maarten Coene 702cb06790 FIX: XmlModuleDescriptorWriter doesn't write the deprecated attribute of the "ivy-module/configurations/conf" element (IVY-664)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@602278 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 23:54:54 +00:00
Maarten Coene 7de83722fc FIX: XMLModuleDescriptorWriter does not write extra attributes (IVY-471) (thanks to Mikkel Bjerg)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@602266 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 23:25:36 +00:00
Xavier Hanin 9413720aaa use basic settings rather than default settings for test fixture, which avoid having ibiblio resolver in test settings
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@602250 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 22:28:24 +00:00
Xavier Hanin e49e56f050 fix bug in TestHelper
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@602248 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 22:26:19 +00:00
Xavier Hanin 526733c818 NEW: Introduce RepositoryManagementEngine (IVY-665 - not completed yet)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@602246 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 22:25:31 +00:00
Xavier Hanin 25987cad1d FIX: latest compatible conflict manager fails with circular dependencies and dynamic revision (IVY-663)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@602203 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 20:13:50 +00:00
Scokart Gilles f96bb8f731 increase timeout for slower machine (the test is taking 11 seconds on my machine, and the thread-1 was the last one to finish)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@602094 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 13:29:35 +00:00
Xavier Hanin a1b5731778 merge 601176, 601621 and 601624 from branch 2.0.0-beta1
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@601931 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 00:37:48 +00:00
Maarten Coene 27170b5ef2 FIX: Strict conflictmanager seems to not support dynamic revisions (IVY-474)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@601906 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 23:17:05 +00:00
Maarten Coene bf0ff091dc TestHelper didn't work on JDK 1.4
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@601890 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 22:45:30 +00:00
Maarten Coene b52353e68a Style
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@601887 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 22:35:35 +00:00
Xavier Hanin 06151bfd4b IMPROVEMENT: Ease performance auditing (IVY-655)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@601077 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 20:39:16 +00:00
Scokart Gilles 56e3bfe5bb fix test too dependenant of the test data
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600914 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 12:49:52 +00:00
Scokart Gilles 87a4b24ce4 fix regression found when configuration extends private confuration and is transfered to an other version because of a conflict detected
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600876 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 11:02:01 +00:00
Scokart Gilles 960675f49e (IVY-586) don't stop the resolution if the module is relocated to an other version of the same module. The complete fix requires to handle relocation in the resolution algorithm. This version will continue the resolution taking partially into account the relocation, and printing an error. Note that conflict resolution doesn't take into account the relocation
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600481 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 11:12:23 +00:00
Xavier Hanin b514d4d032 add some Ivy reference in generated pom
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600421 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 02:49:33 +00:00
Xavier Hanin 001e2caa07 fix settings initialization issue, related to the changes made for IVY-639. Default settings were loaded when no there was no Ivy in context, which was actually happening pretty often in the ant tasks since the Ivy instance was only attached when calling an Ivy method. Now all IvyTasks push an IvyContext with the configured Ivy instance attached, and pop it at the end.
I've also reviewed the default message logger use, now MessageLoggerEngine actually use it as currently defined (and not as defined at logger engine init) at the time it needs it. This allow easier configuration of the default logger with the Message.setDefaultLogger() method, which actually propagates to all logger engines on which a default logger has not been specificied.

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600418 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 01:57:37 +00:00
Xavier Hanin 403ef0adfd FIX: download failed log when using a chain of resolver for artifact download, when any element of the chain does not find the artifact
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600411 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 23:48:41 +00:00
Xavier Hanin 6d5f4c0f67 fix style
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600405 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 23:06:25 +00:00
Xavier Hanin 2fd32cfc14 FIX: same module appear twice in a circular dependency (IVY-514) (thanks to John Williams)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600395 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 22:27:19 +00:00
Maarten Coene ee55c3a02c IMPROVEMENT: Maven Dependency Management is not used to determine artifact version (IVY-616) (thanks to Jim Bonanno)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600378 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 21:31:06 +00:00
Xavier Hanin 403efd21dc introduce TestFixture useful to set up a repository from very simple text description, and use this for LatestCompatibleConflictManagerTest
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600364 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 19:49:57 +00:00
Xavier Hanin fb3d1a2b3e use lockStrategy instead of lockingStrategy as attribute on cache, for consistency reason
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600317 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 15:55:07 +00:00
Xavier Hanin b6d4f1a76b allow to define new lock strategies in settings (IVY-654)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600305 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 15:05:19 +00:00
Xavier Hanin da73505519 - reproduce split cache bug in unit test and fix it (IVY-628)
The problem with that bug was due to bad cache manager use in XmlReportOutputter. 
The problem was due to the use of a File destDir and a CacheManager which is not the one used by the ResolveEngine. 
Hence I've modified ReportOutputter to use a cache manager instead of a File dest Dir. 
Note that this will break any custom ResolveOutputter since the interface has changed, but we aren't in API stable mode for Ivy 2.0, and updating a previous outputter will be pretty easy (you have the "dest dir" available in the cache manager replacing the dest dir as parameter). 

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@600289 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 13:51:10 +00:00
Xavier Hanin 129eab54b4 add settings parsing implementation for cache: locking (IVY-654) and split (IVY-628)
still need documentation update

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@600194 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 21:06:48 +00:00
Xavier Hanin 7b49b9581f - use a LinkedHashSet instead of HashSet for conflicts to make behavior consistent between JRE and easier to test
- add a test and fix a bug in LatestCompatibleConflictManager revealed with java 6

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@600190 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 20:15:37 +00:00
Xavier Hanin 3738993998 - improved locking reliability by surrounding more cache related operations with lock (IVY-654)
- moved yet more responsibilities from resolver to cache manager (still on the road to IVY-399)
- review of namespace use in basic resolver: now all logs from the basic resolver should be performed in the system namespace, and the code is less confusing between the system and repository namespace

remaining work: 
- add settings to configure locking and document (IVY-654)
- move more responsibilities to cache manager (checkModified for instance) (IVY-399)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@600184 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 19:26:20 +00:00
Xavier Hanin c820e94f33 IMPROVEMENT: add publish triggers to event system (IVY-650) (thanks to Jason Trump)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@600041 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 02:30:50 +00:00
Xavier Hanin 5bd85a69dd - review responsibilities between resolver and cache manager, making cache management slightly more flexible (IVY-399)
- introduce lock strategy, used by CacheManager, not yet fully implemented nor tested (IVY-654)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@600004 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 22:59:53 +00:00
Maarten Coene 36d2d60dd9 oops, committed a bit too much
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@599952 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 20:41:29 +00:00
Maarten Coene f5c047c582 FIX: m2 incompatibility - IVY does not recognize property section (IVY-637)
FIX: m2 incompatibility - IVY does not recognize parent pom (IVY-636)


git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@599950 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 20:38:22 +00:00
Xavier Hanin 8563862bc4 IMPROVEMENT: split the cache into a repository cache and a dependency resolution cache (IVY-628)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@599583 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 21:21:48 +00:00
Xavier Hanin 76a9cce337 IMPROVEMENT: Only display unique circular dependencies during Resolve (IVY-653)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@599508 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 16:39:15 +00:00
Xavier Hanin 7ad04b22b8 add new test for atomic publish and fix a bug revealed by one of these tests (IVY-492)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@599450 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 14:15:25 +00:00
Xavier Hanin a80a7397c8 NEW: support atomic publish operation (IVY-492) (with contribution from Geoff Reedy)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@599186 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 23:05:25 +00:00
Xavier Hanin d282731d51 fix issue with circular dependency and latest compatible conflict manager (IVY-648)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@599024 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 15:18:38 +00:00
Xavier Hanin 60de0bd20f NEW: latest compatible conflict manager (IVY-648)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@598738 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 19:18:09 +00:00
Xavier Hanin 3d19bca76e IMPROVEMENT: New text representation for main module metadata concepts (IVY-649)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@598722 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 18:09:59 +00:00
Xavier Hanin a07a6a9b45 IMPROVEMENT: New text representation for main module metadata concepts (IVY-649)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@598408 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 20:10:49 +00:00
Scokart Gilles befe5e408a Handle also relocation for artefactId and version number (IVY-586)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@597090 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 14:00:41 +00:00
Scokart Gilles 283f77d29a IVY-644 fix NPE in case of eviction by 2 modules on 2 different confs mixed with extends
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@596998 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 09:04:46 +00:00
Scokart Gilles 5d22333659 FIX: Ivy doesn't handle relocation in pom.xml (IVY-586). I took the simple aproach consisting of considering the relocation as the unique dependency.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@596346 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 16:03:16 +00:00
Xavier Hanin 56760b9a40 fix listing test (related to new test for IVY-644)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@596217 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 07:35:09 +00:00
Xavier Hanin b01f391365 add details when test fails
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@596216 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 07:31:46 +00:00
Scokart Gilles b7478d6d6f add test case for IVY-644 (commented out because I don't have yet a fix)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@595712 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 16:06:37 +00:00
Maarten Coene 687537331f Attempt to download a file with & in its name causes SAXParseException in Ivy (IVY-635)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@595040 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 20:43:15 +00:00
Xavier Hanin 420261ccd1 fix unit test failures due to recent modification on IvyContext handling (IVY-639)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@594716 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 23:38:55 +00:00
Maarten Coene 1f2a18c7c1 Attempt to download a file with & in its name causes SAXParseException in Ivy (IVY-635)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@594641 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 21:04:30 +00:00
Xavier Hanin 61ae53eee0 NEW: Add a task/code to create M2 POM files from Ivy configurations (IVY-416)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@594518 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 12:51:28 +00:00
Xavier Hanin 24f7524858 FIX: Bad IvyContext scope causing memory leak and bad handling of subproject builds (IVY-639)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@594481 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 10:55:27 +00:00
Maarten Coene 65384681bd Removed unused imports.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@593972 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 22:08:47 +00:00
Maarten Coene 41a824e349 FIX: Resolution failure when no ivy.xml file present (IVY-630)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@593971 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 22:06:07 +00:00
Scokart Gilles 4ecc5c9942 clean some eclipse warning
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@592128 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 19:35:30 +00:00
Maarten Coene 556f3174c8 FIX: Retrieval not expanding "[originalname]". (IVY-631)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@591945 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 10:18:06 +00:00
Xavier Hanin a6ec8ebb5b IMPROVEMENT: Make the root attribute in the ivyrep resolver mandatory (IVY-625)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@589100 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 13:56:01 +00:00
Scokart Gilles a82488b9cf remove useless import
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@586937 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 19:12:22 +00:00
Scokart Gilles d2a2deec90 Remove infinite loop in some case of circular dependencies (IVY-624)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@586936 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 19:09:00 +00:00
Maarten Coene 92a36b07c9 Workaround for SUN bug 6240963
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@586129 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 20:37:12 +00:00
Xavier Hanin ac1664b88d move Ivy's site to http://ant.apache.org/ivy/ (still require the site to be updated with test files)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@585702 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 21:18:20 +00:00
Maarten Coene 2e053b28dc Fixed problem with Ant 1.7.0 introduced by code-change for IVY-614.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@584945 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 22:31:45 +00:00
Maarten Coene cc7dab6e43 FIX: ${parent.version} property is not recognized in maven2 pom (IVY-620)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@583619 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 21:22:05 +00:00
Scokart Gilles 0deb1712c7 fix module used to test
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@582823 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 13:30:16 +00:00
Scokart Gilles 7951705198 mod9.1 was already used by an other unit test using the repository 1
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@582809 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 12:53:11 +00:00
Scokart Gilles 06d8a192e8 add test for IVY-618
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@582793 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 12:01:36 +00:00
Maarten Coene b22245181c FIX: Ivy doesn't work with Ant 1.6.2 (IVY-614)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@582017 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 21:47:06 +00:00
Maarten Coene 8a4cc1031e FIX: java.lang.IllegalArgumentException: Invalid uri when working with version ranges (IVY-390)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@578092 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 13:06:01 +00:00
Maarten Coene c65f83394f FIX: Ivy settings include -tag url attribute does not work correctly (IVY-601)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@578065 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 11:14:48 +00:00
Xavier Hanin 6b79a96787 FIX: Static revision replacement is not working when a dynamic revision is evicted by a transitive dependency (IVY-603) (with contribution from Matthias Kilian)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@577708 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 12:09:00 +00:00
Maarten Coene f6c577b795 Attempt to fix the failing junit-tests when running with latest Ant snapshot (cfr gump).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@576184 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 21:47:25 +00:00
Scokart Gilles 58355c5579 Fix typo in the unit test making it fail on some platform (IVY-604)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@574804 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 06:53:03 +00:00
Scokart Gilles 42975faaef try to remove my cache cleaning issue (sorry to 'work by coincidence', I have really no idea what goes wrong, but I found the new code is a little bit cleaner, so I share it)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@573647 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 17:58:07 +00:00
Scokart Gilles a8b2d5d318 Isolate CheckEngineSettings, InstallEngineSettings, CacheSettings, RetrieveEngineSettings, ResolveEngineSettings and ResolverSettings
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@573645 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 17:53:21 +00:00
Xavier Hanin e81026fb1a FIX: Resolving dynamic version fails when using multiple patterns if only one pattern find a revision and others don't (IVY-602)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@573324 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 17:07:31 +00:00
Maarten Coene 9bf25f5b4c FIX: NullPointerException whilst resolving transitive dependencies (IVY-590)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@571295 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:20:17 +00:00
Maarten Coene 5d7f94f8d4 Fixed incorrect code cleanup.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@571290 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:08:05 +00:00
Xavier Hanin e3124703c8 clean code
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@566620 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 09:41:47 +00:00
Scokart Gilles eb290fc98b refactor to isolate settings specific to deliverEngine and PublishEngine (like in SortEngine)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@563617 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 18:41:21 +00:00
Scokart Gilles 362f239d32 IMPROVEMENT: replace * by *(public) when resolving inline (IVY-589)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@563162 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 15:02:31 +00:00
Scokart Gilles d931080ace clean formating
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@563149 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 14:25:11 +00:00
Scokart Gilles b49a38bb55 code cleaning for checkstyle
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@560593 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 19:11:58 +00:00
Xavier Hanin 9279c08a42 - NEW: Add cleancache task (IVY-565)
- FIX: Ant target "clean" on Ivy multi-project tutorial points to wrong cache directory. (IVY-548)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@554661 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 14:32:31 +00:00
Xavier Hanin 00d2e79bf9 IMPROVEMENT: Expose default cache location as an ant property (IVY-563)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@554645 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 13:41:26 +00:00
Xavier Hanin fa5bb28163 IMPROVEMENT: expose Ivy variables as Ant properties (IVY-564)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@554634 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 13:15:08 +00:00
Maarten Coene 3d4c5026d5 FIX: Variables not replaced during deliver (IVY-520) (thanks to John Williams)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@553653 13f79535-47bb-0310-9956-ffa450edef68
2007-07-05 22:04:11 +00:00
Xavier Hanin 2742727bf2 - FIX: XmlModuleDescriptorWriter does not produce matcher attribute on include and exclude rules (IVY-556)
- review module wide exclude syntax: use exclude tags in dependencies element (IVY-431)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@552853 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 14:32:47 +00:00
Scokart Gilles 3c04546687 clean doc
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@551868 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 12:18:55 +00:00
Scokart Gilles 5df9276f17 refactoring to prepare support of relative url in XmlModuleDescriptorUpdater
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@551867 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 12:16:12 +00:00
Xavier Hanin 152229433b FIX: pom.groupId is not recognized in maven 2 pom parser (IVY-550)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@551837 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 09:43:27 +00:00
Scokart Gilles de4c40a91b fix&complete test with relative path + refactoring. There is maybe still a bug in XmlModuleUpdaterTest.testUpdateWithImportedMappingOverride. I temporary work around the problem to make the test pass.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@551706 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 21:28:44 +00:00
Scokart Gilles a1e47595c8 IVY-347 Allow relative path in ivy.xml files
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@551661 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 19:04:18 +00:00
Xavier Hanin 61ab67698f IMPROVEMENT: Unit test improvements (IVY-545) (thanks to Tjeerd Verhagen)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@551549 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 13:18:55 +00:00
Scokart Gilles 4e5292f538 clean code
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@550134 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 22:49:17 +00:00
Scokart Gilles 88ab8663ce clean code
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@550119 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 21:59:40 +00:00
Scokart Gilles a50afa7558 IMPROVEMENT: Buildlist onlydirectdep attribute (IVY-473 and IVY-504) (with contribution from Mikkel Bjerg )
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@549603 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 20:35:18 +00:00
Maarten Coene b117dc9572 Evicted modules report depends on the order of the dependencies (IVY-526)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@549236 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 21:09:17 +00:00
Scokart Gilles 0c57573b37 refactor to remove settings dependency (second aproach)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@549214 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 19:53:16 +00:00
Scokart Gilles 4cd16b8ca2 refactor: remove dependency between sort engine and IvySettings
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@548695 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 11:32:43 +00:00
Maarten Coene 7a1f106f41 Removed some debug leftover....
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@547377 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 19:40:24 +00:00
Maarten Coene 38ecb80ecd FIX: Ivy does not work on Turkish machines (IVY-65)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@547374 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 19:36:46 +00:00
Scokart Gilles b5b4f97d19 code cleaning
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@546398 13f79535-47bb-0310-9956-ffa450edef68
2007-06-12 07:07:50 +00:00
Scokart Gilles a59e74d9ed Fix test failure when URI contains spaces
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@546397 13f79535-47bb-0310-9956-ffa450edef68
2007-06-12 07:07:33 +00:00
Maarten Coene 523be0566f Ivy does not handle multiple version dependencies in maven2 poms correctly (IVY-494)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@546306 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 22:22:30 +00:00
Scokart Gilles 671a2e1038 clean code
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@546168 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 15:03:26 +00:00
Scokart Gilles 5214e19261 code cleaning
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@545472 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 10:51:01 +00:00
Scokart Gilles 0e079f5a21 remove warnings during a resolve + code cleaning
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@545457 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 08:31:53 +00:00
Maarten Coene 258959fd74 git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@545340 13f79535-47bb-0310-9956-ffa450edef68 2007-06-07 22:51:35 +00:00
Maarten Coene ea4990ae7a FIX: Retrieve Ant task ignores resolveId attribute (IVY-522)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@544965 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 21:37:11 +00:00
Xavier Hanin fbbd374a14 code cleanup
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@544785 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 09:56:27 +00:00
Xavier Hanin cb52855f86 fix eol: add svn property + run fixcrlf to use native eol for all text files
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@544480 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 13:21:26 +00:00
Xavier Hanin 534f50d1d5 code cleanup using eclipse code formatter
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@544459 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 12:02:27 +00:00
Maarten Coene 38326aa020 FIX: The deprecated "keep" attribute on post resolve tasks causes an error (IVY-517)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@542927 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 20:39:19 +00:00
Scokart Gilles f73cbde14d remove references to the message mock
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@542922 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 19:49:43 +00:00
Scokart Gilles 72c729f18e IVY-493, IVY-509 : fix buildlist regression and add Circular dependency startegy
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@542921 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 19:44:28 +00:00
Xavier Hanin f69b5cbe89 FIX: Some circular dependencies not retrieved (IVY-400)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@540781 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 22:41:55 +00:00
Maarten Coene b7f625aea3 FIX: ${revision} property not recognized in poms (IVY-512)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@540308 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 21:36:49 +00:00
Xavier Hanin e8d12dc246 introduce scope for settings (IVY-366) (thanks to Gilles Scokart)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@538591 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 13:47:47 +00:00
Xavier Hanin 9c8a6a6298 IMPROVEMENT: Remove @author tags (thanks to Stephane Bailliez)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@538245 13f79535-47bb-0310-9956-ffa450edef68
2007-05-15 16:29:33 +00:00
Xavier Hanin 2f039bd72d FIX: Bug on handling dependency artifacts when a module configuration is specified (IVY-507)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@537769 13f79535-47bb-0310-9956-ffa450edef68
2007-05-14 10:11:09 +00:00
Xavier Hanin 1a89989477 FIX: packaging data not parsed in maven 2 pom (IVY-500) (thanks to Jeffrey Blatttman)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@537380 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 10:37:26 +00:00
Maarten Coene f8a3e4edbe FIX: install ant task: requires default resolver in ivy settings (IVY-477)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@537017 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 22:20:57 +00:00
Xavier Hanin 1b5578ac66 FIX: Ant project reference lost from context on multiple ant calls in single thread (IVY-497) (thanks to Jaroslaw Wypychowski)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@536990 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 20:44:32 +00:00
Maarten Coene b31f9f02a0 NEW: Hide private or specific conf when publishing (IVY-77)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@534641 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 22:35:31 +00:00
Xavier Hanin 9d89a073b4 FIX: ivy:install ant task does not fail on error (IVY-475)
use haltonfailure instead of haltonunresolved, and halt in case of any failure

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@534012 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 11:30:06 +00:00
Xavier Hanin 7ad46005f3 FIX: Cache is storing ArtifactOrigin properties with no guarantee of unicity and types telescope during resolve. (IVY-430) (thanks to Stephane Bailliez)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@533993 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 10:18:49 +00:00
Maarten Coene 34f4d7a7d7 FIX: Post-Resolve task shouldn't set the 'resolveid' (IVY-489)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@533873 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 23:07:07 +00:00
Xavier Hanin fef703cf8a merge modifications from branch 2.0.0-alpha-1 up to revision 529251
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@532281 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 09:37:36 +00:00
Xavier Hanin 129c19711e BUG: ivy:install ant task does not fail on error (IVY-475) (thanks to Jeffrey Blatttman)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@532027 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 17:53:20 +00:00
Xavier Hanin 0c9730a5b1 NEW: The default public resolver used is now ibiblio with m2 compatible mode (IVY-463)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@526152 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 13:20:53 +00:00
Maarten Coene cc502dfc9d FIX: ivy-retrieve failure when explicit absolute 'ivy.dep.file' path specified (IVY-396)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@525605 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 21:13:09 +00:00
Xavier Hanin 7f4694ac70 NEW: Module wide exclude (IVY-431)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@525217 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 17:45:54 +00:00
Maarten Coene 335a410740 Removed unused import
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@524925 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 21:19:07 +00:00
Maarten Coene 0ecb0d62f5 IMPROVE: Let user specify Ivy file when using a post-resolve task (IVY-455)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@524924 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 21:17:37 +00:00
Maarten Coene b5a0ae45f5 Added more junit tests for resolveId and post-resolve task (IVY-366)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@524691 13f79535-47bb-0310-9956-ffa450edef68
2007-04-01 21:15:49 +00:00
Maarten Coene b7a49eac5a Renamed the junit test
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@524489 13f79535-47bb-0310-9956-ffa450edef68
2007-03-31 22:19:09 +00:00
Maarten Coene fc856fc144 FIX: IvyPostResolve Task doesn't reuse Ivy file of previous resolve (IVY-458)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@524488 13f79535-47bb-0310-9956-ffa450edef68
2007-03-31 22:15:35 +00:00
Xavier Hanin 1a432cc1d5 FIX: Invalid error report with m2compatible resolver (IVY-456)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@523965 13f79535-47bb-0310-9956-ffa450edef68
2007-03-30 07:01:06 +00:00
Maarten Coene 14a7e5b49d Cache was not deleted after junit test.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@523076 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 21:01:14 +00:00
Maarten Coene 1aa7361ccc FIX: IvyPostResolve Task doesn't use specified cache for the resolve (IVY-453)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@523069 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 20:44:23 +00:00
Xavier Hanin 9340c66aa9 add license headers to xml and html files + modify some tests to run with those license headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@522842 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 09:36:03 +00:00
Xavier Hanin f942e2bdcd review some license headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@522805 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 07:39:00 +00:00
Maarten Coene d371266122 Added resolveId support to deliver task (IVY-366)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@522640 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 21:55:57 +00:00
Xavier Hanin 690af97adf FIX: XmlModuleDescriptorWriterTest not working with Java 6 (IVY-374)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@522546 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 15:27:41 +00:00
Xavier Hanin 2c932d1af2 FIX: Conflict managers ignored, when assigned to modules in Ivy settings (IVY-448)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@522467 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 09:48:54 +00:00
Maarten Coene 89574baa05 Fixed another problem with resolveId and added extra junit test for IVY-366.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@521937 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 23:23:50 +00:00
Maarten Coene 9876da5d6b Improved junit test
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@521930 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 22:53:16 +00:00
Maarten Coene 413accec84 Fixed bug and added extra junit test for IVY-366.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@521927 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 22:44:49 +00:00
Xavier Hanin 33688b56fc add license header to properties files
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@521701 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 12:32:50 +00:00
Maarten Coene d8f288a35e Ivy should fail if ';' has been used in publications/artifact/@conf of ivy.xml (IVY-441)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@521518 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 23:01:40 +00:00
Maarten Coene feb0d2f4d8 Ivy should fail where dependency uses undefined configuration (IVY-442)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@521503 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 22:22:07 +00:00
Xavier Hanin c974be3956 IVY-438 work in progress: ivyconf=>ivysettings refactored in test and example code, and basic renames in doc. Still need to update the doc.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@519887 13f79535-47bb-0310-9956-ffa450edef68
2007-03-19 09:47:57 +00:00
Maarten Coene f9190252b2 Dynamic revision not calculated properly when using multiple directories (IVY-427)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@519738 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 23:38:23 +00:00
Maarten Coene 77680e867c LatestRevisionStrategy.sort() doesn't sort as specified (IVY-435)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@519726 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 23:08:16 +00:00
Xavier Hanin 0657990e85 FIX: setting m2compatible on ibiblio resolver overwrite root and pattern settings (IVY-437)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@519279 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 10:14:04 +00:00
Xavier Hanin f5631f9821 FIX: Invalid pom parsing when version is only declared in parent (IVY-436)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@519276 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 10:05:03 +00:00
Maarten Coene 70012a22c7 Extra junit test for IVY-366.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@517925 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 22:46:24 +00:00
Maarten Coene 1d38edc6a1 IMPROVE: Generated XML reports now contains more information about the resolved module
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@517916 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 22:39:55 +00:00
Maarten Coene f06bbaa0be Added extra junit tests for IVY-366
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@516205 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 22:41:58 +00:00
Maarten Coene 3734d6da5d FIX: ivy.revision property not set correctly for second resolve (IVY-429)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@516201 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 22:39:03 +00:00
Maarten Coene 009ff2d036 Removed hard-coded report filenames.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@516189 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 21:43:49 +00:00
Xavier Hanin bdf6cd438b FIX: ${project.groupId} and ${project.version} not processed correctly in poms (IVY-425)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@516069 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 15:22:54 +00:00
Xavier Hanin b64be5e6c4 assumePublished is no more necessary on artifact (IVY-419)
better distinction between incude and artifact element in dependency

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@516047 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 14:19:45 +00:00
Xavier Hanin 5a78e7423f test case for IVY-424
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@516037 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:27:12 +00:00
Xavier Hanin e02041fba5 FIX: Incorrect pom parsing with profile (IVY-423)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@516029 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:06:16 +00:00
Xavier Hanin 7126e673ce FIX: NPE when no organisation or no name is provided in module element of ivyconf (IVY-422)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@516010 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 11:14:01 +00:00
Xavier Hanin 86826f5e59 FIX: bad tests for conflict managers use the ivy default cache instead of a fresh one
FIX: set last modified from artifact resource when generating default ivy file (related to IVY-407)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@515980 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 09:17:54 +00:00
Maarten Coene 5ee76142f9 Partial fix for IVY-366
- Added 'resolveId' concept to ivy core.
- Modified ant tasks to use this resolveId while keeping old behaviour as default.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@515819 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 22:42:50 +00:00
Xavier Hanin 0ef44fcc25 FIX: FileSystemResolverTest failing due to IVY-420 modification
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@515818 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 22:40:38 +00:00
Xavier Hanin 301f54bd50 FIX: IBiblioResolver test failing due to IVY-418 modification
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@515817 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 22:39:56 +00:00
Xavier Hanin 445be68f8b FIX: FileUtil#copy(File src, File dest, CopyProgressListener l, boolean overwrite) (IVY-420)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@515788 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 21:57:24 +00:00
Xavier Hanin 7a13c2a539 NEW: define artifacts not declared by the dependency module descriptor (IVY-419)
FIX: Ivy doesn't recognize maven2 classifiers (IVY-418)


git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@515753 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 21:02:25 +00:00
Xavier Hanin 40534a4606 added a junit test for IVY-417, already fixed
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@515656 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 17:34:03 +00:00
Xavier Hanin c50fea2488 FIX: bad timestamps were causing tests with latest-time to fail for IVY-407
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@515638 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 16:44:02 +00:00
Xavier Hanin f5eae18d19 FIX: Static revision replacement is not working when delivering an artifact with a dependency having extra attributes (IVY-415)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@515510 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 10:07:00 +00:00
Xavier Hanin 05897630ec FIX: timestamps lost in svn were causing IVY-407 test to fail
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@515506 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 09:31:22 +00:00
Xavier Hanin e2fdd85769 FIX: latest conflict with latest-time strategy and transitive eviction (IVY-407)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@515137 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 15:03:00 +00:00
Xavier Hanin 070d96f02b FIX: Static revision replacement is not working when delivering an artifact with a dependency on a branch (IVY-404)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@513696 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 10:43:20 +00:00
Maarten Coene 4dec9a0493 Use the cache specified in the options instead of the default cache.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@512068 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 23:15:05 +00:00
Xavier Hanin f45aa167dd FIX: latest-time conflict manager not working properly (IVY-407)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@511035 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 17:43:50 +00:00
Xavier Hanin 2e6870ab9a FIX: LatestRevisionStrategy do not consider all dynamic revisions properly (IVY-383) (thanks to John Williams for the unit test)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@510875 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 08:52:49 +00:00
Maarten Coene 4e74e8db62 removed unused import
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@510659 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 21:40:08 +00:00
Maarten Coene b3d5380864 Fixed root of repo1.maven.org mirror
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@510657 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 21:37:40 +00:00
Maarten Coene 9c85b590c1 Added junit test for IVY-390
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@510656 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 21:34:46 +00:00
Maarten Coene b8b2b2485e Attempt to fix the failing VFS tests in gump.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@509348 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 21:53:49 +00:00
Xavier Hanin 96f2099965 REFACTOR: review retrieve API, introduce RetrieveOptions
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@509221 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 15:37:10 +00:00
Xavier Hanin b88fccc2cf REFACTOR: simplify API for resolve: group parameters in an object: ResolveOptions
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@508504 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 17:28:12 +00:00
Xavier Hanin 19b8dc8ed2 REFACTOR: split IvyNode in multiple classes
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@502534 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 08:42:21 +00:00
Xavier Hanin 72a5f080f5 REFACTOR: begin split of Ivy class: creation of IvySettings and ResolveEngine, attempt to remove some dependencies on the Ivy class
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@501796 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 11:00:29 +00:00
Xavier Hanin 4433e9201d REFACTOR: deep review of packages structure, more structured
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@501379 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 11:51:55 +00:00
Xavier Hanin fb0b25b169 IMPROVE: Add a unit test to verify that latest.integration accepts released modules (IVY-394) (thanks to Gilles Scokart)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@496993 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 11:19:08 +00:00
Maarten Coene 33625d9001 PomModuleDescriptorParser fails with nested profile dependency (IVY-392)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@496885 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 22:55:44 +00:00
Maarten Coene 1224f28a1d Added junit test from IVY-388
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@496001 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 23:27:42 +00:00
Xavier Hanin 037ec1ab03 IVY-381: add a junit test
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@494617 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 22:09:52 +00:00
Xavier Hanin b8f7bebd1e IMPROVE: Refactoring / documentation / test of matcher package (IVY-375) (thanks to Stephane Baillez)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@493801 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 18:37:19 +00:00
Xavier Hanin 2767758aba move to apache: package rename, organisation rename, some doc update
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@493695 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 10:41:19 +00:00
Xavier Hanin e51b6052f6 Change license to Apache
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@493462 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 12:50:13 +00:00
Xavier Hanin 02979734b8 IMPROVE: Ability to have multiple roots in the <ivy:buildfilelist> task (IVY-340) (thanks to Matt Inger)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@493450 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 11:49:07 +00:00
Xavier Hanin 28704041eb FIX: Comments in ivy.xml duplicated (IVY-336) (thanks to Gilles Scokart)
FIX: Ivy failure when the ivy.xml file contains non US-ASCII characters (IVY-346) (thanks to Gilles Scokart)


git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@493446 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 11:20:09 +00:00
Maarten Coene b80924c521 IVY-353: ivy:retrieve should be able to create symlinks
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@490200 13f79535-47bb-0310-9956-ffa450edef68
2006-12-25 23:47:55 +00:00
Maarten Coene 7f1e2538b9 FIX: confmappingoverride doesn't work for configurations extending from "*(public)" (IVY-326)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484580 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 19:39:42 +00:00
Xavier Hanin 9f5ded0181 FIX: retrieve fails when resolve is done with useOrigin set to true (IVY-304)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484579 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:31:13 +00:00
Xavier Hanin 8b23890c61 IMPROVE: ability to rebuild all dependent projects from a leaf (IVY-101)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484578 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 14:07:32 +00:00
Xavier Hanin fa8843b18d IMPROVE: Artifact pattern list attribute for the ivy:publish (IVY-113)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484577 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 14:12:12 +00:00
Xavier Hanin 87c95a0528 FIX: attribute name in macrodef is not handled as expected (IVY-319)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484576 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 08:29:31 +00:00
Xavier Hanin 9e4c6365fe FIX: latest.<status> does not work properly when no matching revision exist (IVY-318)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484575 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 15:53:17 +00:00
Maarten Coene 19fbcfcc19 FIX: ivy:resolve useOrigin fails to behave correctly (No JIRA issue yet)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484570 13f79535-47bb-0310-9956-ffa450edef68
2006-10-23 20:18:21 +00:00
Maarten Coene 3c1dedc704 - FIX: IVY complains about non-existent reports in the cache directory (IVY-315)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484561 13f79535-47bb-0310-9956-ffa450edef68
2006-10-13 19:34:23 +00:00
Xavier Hanin 5d5190f6f1 FIX: unit test failing when xml validation is not possible
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484557 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 15:50:51 +00:00
Xavier Hanin b171f483a0 FIX: m2compatible flag is ignored for display of failed artifact searches (IVY-303)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484534 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 03:24:08 +00:00
Xavier Hanin 33794ca66b IMPROVE: allow to use file-system repository directly without cache (IVY-211)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484525 13f79535-47bb-0310-9956-ffa450edef68
2006-09-17 03:44:54 +00:00
Xavier Hanin 9e950760b2 fix: tests with no test fails
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484523 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 22:27:33 +00:00
Xavier Hanin 982478de6d NEW: ivy report generate full graph from automated build (IVY-155)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484522 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 21:54:07 +00:00
Xavier Hanin 3dda730707 FIX: invalid sha1 with sha1 with path (IVY-296)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484520 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 12:23:34 +00:00
Xavier Hanin 5db318ba94 IMPROVE: Do not publish ivy file with bad revision, and allow to force the deliver when calling publish task (IVY-245)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484508 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 02:17:31 +00:00
Xavier Hanin 911126ddeb FIX: ivy file deliver doesn't respect the original file nor custom attributes (IVY-289)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484506 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 20:32:07 +00:00
Xavier Hanin 1c28714c8c FIX: Problem with multiple artifact includes in transitive dependencies (IVY-283)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484505 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 17:22:54 +00:00
Xavier Hanin 06d37eb1d7 FIX: Maven2 POM support can find groupId from "parent" element (IVY-262)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484502 13f79535-47bb-0310-9956-ffa450edef68
2006-09-03 23:31:47 +00:00
Xavier Hanin 3bf4a75bb4 improve test with evicted modules
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484498 13f79535-47bb-0310-9956-ffa450edef68
2006-09-03 22:23:43 +00:00
Xavier Hanin e00a63dee3 add test case for IVY-283
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484496 13f79535-47bb-0310-9956-ffa450edef68
2006-09-03 19:13:34 +00:00
Xavier Hanin 196a3f29cc FIX overwrite issue
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484495 13f79535-47bb-0310-9956-ffa450edef68
2006-08-31 17:39:12 +00:00
Xavier Hanin 7e97cea661 FIX: http url lister doesn't work when link text has spaces (IVY-282)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484492 13f79535-47bb-0310-9956-ffa450edef68
2006-08-31 02:07:51 +00:00
Xavier Hanin 139aad5ea2 IMPROVE: suport empty dependencies tag in an ivy file (IVY-281)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484482 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 13:50:05 +00:00
Xavier Hanin 60a7b9a915 resolving a dependency directly from a task is now known ass 'inline' mode, and configured accordingly
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484476 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 15:05:11 +00:00
Xavier Hanin 969c1d49a2 improve how to deal with inline dependency + fix bug when inline retrieving several times the same module with different confs each time
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484475 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 22:46:44 +00:00
Xavier Hanin 36853987d1 FIX: Wrong resolution of dependencies if artifacts specified explicitly (IVY-261)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484474 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 00:49:51 +00:00
Xavier Hanin 2c759ecf20 NEW: support for build number calculation (IVY-276)
improve the way to deal with no revision found for a prefix

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484472 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 17:17:25 +00:00
Xavier Hanin 817a9df7c4 NEW: support for build number calculation (IVY-276)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484471 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 17:04:16 +00:00
Xavier Hanin 9f62fa5754 rename findmodule in findrevision to focus on its real added value
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484466 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 00:09:47 +00:00
Xavier Hanin be3027f8fe NEW: find modules in repository (IVY-275)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484465 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 23:56:38 +00:00
Xavier Hanin ccf05d5760 FIX: yet another bug with not transitive conf, which might have impact on other situations
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484464 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 04:05:01 +00:00
Xavier Hanin 1e379e26f5 FIX: bug with not transitive configuration
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484463 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 01:02:48 +00:00
Xavier Hanin 1cc2024ab5 introduce offline target in build.xml allowing to disable tests requiring internet resources
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484460 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 04:44:00 +00:00
Xavier Hanin 5e2e327f43 use conflict-managerr instead of conflict for attribute to set conflict manager per org/module
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484456 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 12:52:25 +00:00
Xavier Hanin f2cd24c097 IMPROVE: define conflict manager per organisation/module in ivyconf (IVY-270)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484455 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 12:50:02 +00:00
Xavier Hanin bb7a144797 NEW: Explicitly specify artifact download URL (IVY-271)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484445 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 19:50:57 +00:00
Xavier Hanin 357e3da0cb use eatt instead of branch for extra attribute testing
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484444 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 17:05:30 +00:00
Xavier Hanin 1a895ccf80 FIX: module revision encoding / decoding bug with null attributes
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484438 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 04:36:18 +00:00
Xavier Hanin 5ea10c3bb1 NEW: introduce branch management (IVY-269)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484434 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 23:55:45 +00:00
Xavier Hanin e573ba945b IMPROVE: transitive parameter in resolve (IVY-21)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484428 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 03:04:47 +00:00
Xavier Hanin 2cb7fb109d IMPROVE: add syncing feature in retrieve (IVY-33)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484426 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 14:36:26 +00:00
Xavier Hanin 4e09169467 NEW: resolve dependencies directly without using an ivy file (IVY-268)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484423 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 02:49:09 +00:00
Xavier Hanin b6d29de273 add AntCallTrigger
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484418 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 04:11:54 +00:00
Xavier Hanin 55585c60c9 better credentials prompting in sftp repository, with remember me option
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484415 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 22:50:45 +00:00
Maarten Coene 7049bcf66c - Refactored VFSResource so it better follows the Resource specification
- Fixed VFSResourceTest


git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484413 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 04:28:57 +00:00
Xavier Hanin 520a7e66ae NEW: ability to invoke any build scripts for dependencies (IVY-68)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484411 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 02:52:34 +00:00
Xavier Hanin 4e6138a119 events review and introduction of triggers + first ant build trigger - still needs some configuration code + testing + some new events
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484408 13f79535-47bb-0310-9956-ffa450edef68
2006-07-31 04:38:02 +00:00
Maarten Coene e7a919136b - Enabled webdav support in the VFSRepository
- Improved error reporting when using VFS
- Fixed a tiny bug in HttpClientHandler which caused that the HttpClientHelper3x was never used

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484403 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 12:05:39 +00:00
Xavier Hanin 8c41b50120 remove unuseful part of testLatest
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484401 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 03:11:04 +00:00
Xavier Hanin 49ddd733e6 add a junit test for a failing latest case (due to recent changes), and fix the bug
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484397 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 21:02:40 +00:00
Xavier Hanin b9f3d0b314 slight test update, to check some of the checksums list possibilities
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484392 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 23:10:16 +00:00
Xavier Hanin 058050161a checksums handling review: use a comma separated list instead of two booleans, to be able to define an order to avoid multiple checks
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484391 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 23:08:28 +00:00
Xavier Hanin d01c5872d6 IMPROVE: use of md5 and/or sha1 files to check downloads (IVY-27)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484390 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 22:30:13 +00:00
Xavier Hanin 0eefc3407f preserve artifacts order in module descriptor
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484389 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 16:37:09 +00:00
Xavier Hanin 91a3ad126e fix junit test according to new XmlModuleDescriptor "more compact" feature
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484388 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 15:13:44 +00:00
Xavier Hanin 5527c00f51 some progress on authentication per host: it is now possible to get this kind of feature for httpclient also, and without calling configure several time.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484386 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 21:01:20 +00:00
Xavier Hanin b2498e0a6d FIX: Multiple versions of dependencies appearing in retrieve (IVY-264)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484384 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 19:04:28 +00:00
Xavier Hanin 040002fb9a fix tests: new circular dependency tests files were making other tests (based upon latest version) fail.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484380 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 13:21:53 +00:00
Xavier Hanin eec4aa76a4 IMPROVE: support for circular dependencies (IVY-202)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484379 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 11:58:03 +00:00
Xavier Hanin 4709b304b4 no irregular module revision in mod1 at all
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484378 13f79535-47bb-0310-9956-ffa450edef68
2006-06-23 11:46:36 +00:00
Xavier Hanin 3ce1b3ba7e latest mod1 revision should be correct (with revision) so that FileSystemResolverTest can still be accurate
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484377 13f79535-47bb-0310-9956-ffa450edef68
2006-06-23 10:27:15 +00:00
Xavier Hanin 6080f8594b test IVY-258 test case also when check consistency is disabled
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484373 13f79535-47bb-0310-9956-ffa450edef68
2006-06-23 09:51:36 +00:00
Xavier Hanin e4241930b3 FIX: NullPointer in BasicResolver (IVY-258)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484372 13f79535-47bb-0310-9956-ffa450edef68
2006-06-23 09:47:00 +00:00
Maarten Coene 0ae76b490f Added JUnit test for IVY-54
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484371 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 20:08:03 +00:00
Maarten Coene 3e6d586ca4 Added junit test for IVY-253 and fixed a bug in the parser.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484370 13f79535-47bb-0310-9956-ffa450edef68
2006-06-21 20:51:18 +00:00
Xavier Hanin 498f0d206a IMPROVE: incorrect value in status attribute causes silent failure (IVY-259)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484365 13f79535-47bb-0310-9956-ffa450edef68
2006-06-21 12:12:00 +00:00
Xavier Hanin f576ecdee3 version ranges compatible with maven ones
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484361 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 15:04:14 +00:00
Xavier Hanin 22e92cf07c IMPROVE: make status list configurable (IVY-242)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484359 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 20:20:29 +00:00
Xavier Hanin 591ea0af3c IMPROVE: implement strict haltonfailure if ivy.xml is not found (IVY-110)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484356 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 18:49:57 +00:00
Xavier Hanin 71f8a57967 NEW: option to omit specific confs and allow the rest (IVY-66)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484354 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 18:19:54 +00:00
Xavier Hanin 9844d22f71 IMPROVE: artifact's "name" attribute could be omitted (IVY-231)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484353 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 17:46:52 +00:00
Maarten Coene f66dc4701f artifact origin is not included in the default report (IVY-251)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484344 13f79535-47bb-0310-9956-ffa450edef68
2006-05-29 21:43:11 +00:00
Xavier Hanin 39ef872599 integrate comparator api change
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484335 13f79535-47bb-0310-9956-ffa450edef68
2006-05-23 16:14:54 +00:00
Xavier Hanin d8415b9bfd - NEW: pluggable version matcher (IVY-219)
- NEW: dependency based on dependency status (IVY-47)


git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484334 13f79535-47bb-0310-9956-ffa450edef68
2006-05-23 15:43:34 +00:00
Xavier Hanin c1a0f7f650 IMPROVE: make ReportOutputter pluggable and customizable (IVY-205) (thanks to Maarten Coene)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484330 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 07:53:58 +00:00
Xavier Hanin 64d6303154 FIX: value of confmappingoverride from imported configurations is lost when writing Ivy file (IVY-239) (thanks to Maarten Coene)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484329 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 07:45:34 +00:00
Xavier Hanin 26fa85d0af FIX: POM files that reference to the parent fails
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484326 13f79535-47bb-0310-9956-ffa450edef68
2006-05-04 16:10:06 +00:00
Xavier Hanin 8e96e641f2 accept file for classpath element
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484325 13f79535-47bb-0310-9956-ffa450edef68
2006-05-04 09:02:36 +00:00
Xavier Hanin b129bcce3a refactoring: first step toward version matcher pluggability -> introduce version matcher and get same behaviour as before
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484324 13f79535-47bb-0310-9956-ffa450edef68
2006-05-04 08:57:38 +00:00
Xavier Hanin 1e250be565 fix test
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484323 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 14:51:38 +00:00
Xavier Hanin b17700059b NEW: use custom classloader for plugins (IVY-220)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484322 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 14:42:15 +00:00
Xavier Hanin 264c88b087 FIX: problem with conf extension and latest revisions (IVY-240)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484321 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 13:33:47 +00:00
Xavier Hanin 283a1cfbd2 FIX: bug introduced by extra attributes changes: conf badly resolved on resolve: fixed + junit test added
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484320 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 12:24:13 +00:00
Xavier Hanin d6df0ce843 FIX: add wildcard support for extending configurations (IVY-235): fix problem with import + add junit tests (thanks to Maarten Coene)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484318 13f79535-47bb-0310-9956-ffa450edef68
2006-05-02 06:51:02 +00:00
Xavier Hanin 1d6a986b28 fix mrid encode decode problem + add junit test
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484316 13f79535-47bb-0310-9956-ffa450edef68
2006-04-28 06:54:17 +00:00
Xavier Hanin f19d37abf9 fix order
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484311 13f79535-47bb-0310-9956-ffa450edef68
2006-04-27 15:13:21 +00:00
Xavier Hanin 1a15f2ddf7 fix test
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484310 13f79535-47bb-0310-9956-ffa450edef68
2006-04-27 15:06:53 +00:00
Xavier Hanin 856b838a06 IVY-217 extra attributes: now extra attributes can be used in patterns
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484305 13f79535-47bb-0310-9956-ffa450edef68
2006-04-27 14:33:20 +00:00
Xavier Hanin a204a6d33a add extra attribute feature on module descriptor
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484304 13f79535-47bb-0310-9956-ffa450edef68
2006-04-27 09:19:50 +00:00
Xavier Hanin a7b86c059d FIX: Ivy file containing 2 different versions of the same module is not deliverd correctly (IVY-229) (thanks to Maarten Coene)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484301 13f79535-47bb-0310-9956-ffa450edef68
2006-04-27 07:02:11 +00:00
Xavier Hanin 4c7e7d5c7c FIX: Ivy file containing 2 different versions of the same module is not deliverd correctly (IVY-229) (thanks to Maarten Coene)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484300 13f79535-47bb-0310-9956-ffa450edef68
2006-04-26 14:38:14 +00:00
Xavier Hanin 849ca1daf5 disable circular dependency check in module descriptor sorter (see IVY-230)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484297 13f79535-47bb-0310-9956-ffa450edef68
2006-04-25 14:47:11 +00:00
Xavier Hanin 44d305d964 FIX: cachepath task should preserve the order of the dependencies (IVY-225) (thanks to Maarten Coene)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484292 13f79535-47bb-0310-9956-ffa450edef68
2006-04-24 13:03:08 +00:00
Xavier Hanin b8ddb3e932 NEW: A conflict manager that is able to allow implementation changes but not api changes (1.2.x - OK), (1.x.x - Not OK) (IVY-223) (thanks to Anders Janmyr)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484290 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 14:45:58 +00:00
Xavier Hanin e4533e75f3 IMPROVE: add sort of 'fallback'-mapping to the defaultconfmapping attribute (IVY-215) (thanks to Maarten Coene)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484289 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 07:01:36 +00:00
Xavier Hanin aa48365d7e NEW: allow extending configurations to override the mapping of their super configurations (IVY-218) (thanks to Maarten Coene)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484285 13f79535-47bb-0310-9956-ffa450edef68
2006-04-18 10:47:39 +00:00
Xavier Hanin 12380a1529 NEW: ability to turn off transitivity at configuration level (IVY-103) (thanks to Karl Baum)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484282 13f79535-47bb-0310-9956-ffa450edef68
2006-04-14 15:42:21 +00:00
Xavier Hanin 7723d729d6 NEW: adding to SPECIAL_MEANINGS in LatestRevisionStrategy (IVY-121)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484281 13f79535-47bb-0310-9956-ffa450edef68
2006-04-14 15:07:03 +00:00
Xavier Hanin 044f73ee5e FIX: specifying a defaultconfmapping adds dependencies of each unlisted configuration (IVY-214) (thanks to Maarten Coene)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484280 13f79535-47bb-0310-9956-ffa450edef68
2006-04-14 14:21:22 +00:00
Xavier Hanin 0fa60bf7fb NEW: add possibility to define extra attributes in ivy files (IVY-217)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484279 13f79535-47bb-0310-9956-ffa450edef68
2006-04-13 14:05:57 +00:00
Xavier Hanin dc16d30566 remove dependency on ant FileUtils
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484278 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 13:47:29 +00:00
Xavier Hanin 776e904353 remove dependency on ant FileUtils
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484277 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 13:42:40 +00:00
Xavier Hanin 90b32e0173 IMPROVE: Log messages do not display most specfic resolver name (IVY-170) + FIX: problem with cache and returnFirst (IVY-207)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484272 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 17:00:32 +00:00
Xavier Hanin 9022687ce9 FIX: modules splitted across a chain are not handled correctly (IVY-206)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484271 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 16:15:53 +00:00
Xavier Hanin 0d07eac169 NEW: "this" symbol for configuration mappings (IVY-183) (thanks to Karl Baum)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484270 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 16:14:11 +00:00
Xavier Hanin 2b950f3657 NEW: Addition of Vfs Resolver which uses Commons-Vfs to resolve files (IVY-128) (thanks to Glen Marchesani, Matt Inger and Stephen Nesbitt)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484268 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 14:55:33 +00:00
Xavier Hanin f22f804a84 NEW: "this" symbol for configuration mappings (IVY-183) (thanks to Karl Baum)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484265 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 16:35:36 +00:00
Xavier Hanin d27c3f00bc FIX: Delivered Ivy files with incomplete last line. (IVY-125) (Thanks to Matthias Kilian)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484260 13f79535-47bb-0310-9956-ffa450edef68
2006-03-30 16:37:47 +00:00
Xavier Hanin 2f100bd053 take new org into account
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484259 13f79535-47bb-0310-9956-ffa450edef68
2006-03-30 13:55:40 +00:00
Xavier Hanin ce7e757a89 IVY-198 test case: seems to work
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484257 13f79535-47bb-0310-9956-ffa450edef68
2006-03-30 13:45:22 +00:00
Xavier Hanin f3fbd8d68c FIX: retrieval of mulitple artifacts in different configurations does not work as expected (IVY-188)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484253 13f79535-47bb-0310-9956-ffa450edef68
2006-03-30 10:48:29 +00:00
Xavier Hanin f453f8c7ce FIX: configuration http url include doesn't work with commons http client (IVY-203)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484252 13f79535-47bb-0310-9956-ffa450edef68
2006-03-30 09:48:52 +00:00
Xavier Hanin ba93f9a3db FIX: problem with conflict resolution in transitive dependencies (IVY-199)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484251 13f79535-47bb-0310-9956-ffa450edef68
2006-03-22 11:41:02 +00:00
Xavier Hanin 66e597b4b1 FIX: pb with force when it comes after a conflict has already been solved (IVY-193)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484250 13f79535-47bb-0310-9956-ffa450edef68
2006-03-20 18:13:43 +00:00
Xavier Hanin ea24e26fb7 FIX: POM files that reference to the parent artifact download fails (IVY-195) (thanks to Tat Leung)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484248 13f79535-47bb-0310-9956-ffa450edef68
2006-03-20 12:55:41 +00:00
Xavier Hanin fc65d56754 full unit test only when xml validation can be done
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484245 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 17:01:57 +00:00
Xavier Hanin 4aa07355b0 improve error message on assertion failed
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484243 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 16:34:50 +00:00
Xavier Hanin 515ce0a939 FIX: force attribute is not treated as it should in some cases (IVY-182)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484233 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 11:41:18 +00:00
Xavier Hanin 5057a8affb FIX: problem reading 'invalid' POMs (IVY-153)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484230 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 14:36:34 +00:00
Xavier Hanin d55ed92831 FIX: cryptic NPE due to spelling error in ivy.xml (IVY-177)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484229 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 14:01:01 +00:00
Xavier Hanin 64c1a69c4d FIX: conflicts with dynamic revisions not resolved properly (IVY-181)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484228 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 13:18:19 +00:00
Xavier Hanin b34fdc404f FIX: incorrect configuration definition gives misleading NullPointerException (IVY-175)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484227 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 12:07:57 +00:00
Xavier Hanin c2e70d2654 one more unit test to try to reproduce issue with force and eviction... still not successful in reproducing the problem
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484225 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 11:40:53 +00:00
Xavier Hanin c1b925f1fa FIX: eviction problem with different conflicts in multiple confs (IVY-173)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484224 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 11:06:15 +00:00
Xavier Hanin f6c21431b0 one more unit test to ensure force works in some complex cases
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484223 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 09:40:35 +00:00
Xavier Hanin ff3804849e FIX IVY-180
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484222 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 09:19:06 +00:00
Xavier Hanin 1e19908591 added a test for complex case with force, dynamic revisions and configurations extending another
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484221 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 08:52:12 +00:00
Xavier Hanin c1051ba642 added junit test for force with dynamic revisions
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484220 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 16:42:06 +00:00
Xavier Hanin f799f4e7f1 add junit test for IVY-177
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484219 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 17:20:57 +00:00
Xavier Hanin 55f1ee2a6d IMPROVE: Retrieve task now also optionally do ivy file downloads (IVY-167) (with the contribution of Costin Leau)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484216 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 16:22:32 +00:00
Xavier Hanin 4d7ec7762d first ivy-167 tested impl, still lacks some additional tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484215 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 14:54:57 +00:00
Xavier Hanin cbffbc5882 IMPROVE: ivy now supports ${pom.version} in poms (IVY-174)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484210 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 02:53:29 +00:00
Xavier Hanin 3f8fe0e329 FIX: post resolve tasks like retrieve or cachepath should be able to run from cache information (IVY-169)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484203 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 07:32:06 +00:00
Xavier Hanin c14a3ee19d add matcher setting for resolver per module configuration
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484201 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 17:50:57 +00:00
Xavier Hanin bac3cb8564 IMPROVE: adds the possibility to disable concistency check (IVY-163)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484200 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 13:15:42 +00:00
Xavier Hanin 9ab9779e58 FIX: resolve fails without appropriate message when cache is empty and a module in the repository has no revision (IVY-165)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484198 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 07:25:01 +00:00
Xavier Hanin 040dbc4146 add httpclient test
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484197 13f79535-47bb-0310-9956-ffa450edef68
2006-02-06 14:55:27 +00:00
Xavier Hanin 0e7eb17fe7 FIX: resolve problem with configuration inheritance (IVY-164)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484196 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 07:49:25 +00:00
Xavier Hanin 416a39c7da IMPROVE: add possibility to choose matcher on include exclude and conflict manager rules (IVY-161)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484194 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 09:23:12 +00:00
Xavier Hanin 4dfab0656f first attempt to fix IVY-159
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484193 13f79535-47bb-0310-9956-ffa450edef68
2006-01-30 17:57:44 +00:00
Xavier Hanin cf4243dd16 IMPROVE: add regexp management in the install ant task (IVY-154)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484188 13f79535-47bb-0310-9956-ffa450edef68
2006-01-26 10:19:32 +00:00
Xavier Hanin ed940129bf FIX: problem resolving dependencies when 2 module versions have different configurations (IVY-151)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484176 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 15:23:16 +00:00
Xavier Hanin 2c1e4e98c0 ibiblio has the good patterns when set to m2compatible
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484173 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 12:29:44 +00:00
Xavier Hanin d5469c988b added namespace tests + check inconsistency in both resolver and system namespace when a module is found
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484172 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 10:43:00 +00:00
Xavier Hanin d0780c5be0 fix some transformation rule issue
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484169 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 09:28:22 +00:00
Xavier Hanin 9431373f8a FIX problem with chain resolver and default management
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484167 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 08:24:25 +00:00
Xavier Hanin 77eb781743 make chain resolver consider real module as younger than default one
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484166 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 07:18:23 +00:00
Xavier Hanin 3ec1bc1210 update test to bypass continuous integration server test problem with xslt
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484164 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 19:31:22 +00:00
Xavier Hanin 343be17bd1 added a junit test for IVY-150: not reproduced
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484163 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 17:42:35 +00:00
Xavier Hanin df1bfac007 updated test to match new ChainResolver requirements
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484161 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 15:25:30 +00:00
Xavier Hanin f36652ed2d FIX: problem with inheritance between public and private conf (IVY-149)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484157 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 14:17:16 +00:00
Xavier Hanin 7b9eb39f76 ivyrep doesn't support m2compatible anymore
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484152 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 12:18:25 +00:00
Xavier Hanin 8d01ea69a6 add handling of namespace in xml updater
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484148 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 10:28:29 +00:00
Xavier Hanin 1d281b84dd NEW: namespace system: a resolver can be declared to belong to a namespace, which itself
specify the transformation to apply to convert it from and to system namespace (IVY-147)

(not yet fully complete, but begins to work well)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484147 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 09:38:36 +00:00
Xavier Hanin b172846c29 FIX pom test
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484146 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 09:00:00 +00:00
Xavier Hanin a4d1940ebc NEW: exclusion now let exclude whole modules (IVY-144)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484145 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 07:47:35 +00:00
Xavier Hanin 4acc64dedf FIX BUG in pom parsing
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484144 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 06:31:28 +00:00
Xavier Hanin 0c86ae41e9 slight review of parser pluggability: now they need to be included in a parsers section in ivyconf
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484143 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 05:09:14 +00:00
Xavier Hanin 922b1899b2 NEW: pluggable module descriptor parsers let define new kind of module descriptor (IVY-146) (thanks to Maarten Coene)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484142 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 04:58:27 +00:00
Xavier Hanin b8e898f4a2 namespace implementation, still needs testing
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484141 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 17:57:29 +00:00
Xavier Hanin eac774818b - overwrite is now override in properties and property tag
- import is now include in ivy files

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484135 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 11:10:04 +00:00
Xavier Hanin c411b8d634 FIX some issue with fallback conf
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484132 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 06:59:34 +00:00
Xavier Hanin 25c840bae8 added more test and possibilities for conf fallback mechanism
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484130 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 17:24:19 +00:00
Xavier Hanin 44d9489388 conf fallback mechanism (IVY-145)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484129 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 16:57:46 +00:00
Xavier Hanin 15449c2d89 FIX another contradictory conflict issue (IVY-130)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484121 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 16:53:07 +00:00
Xavier Hanin 690dae616b NEW: a new install task let add modules found in a repository in another one, even transitively (IVY-141)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484120 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 15:10:35 +00:00
Xavier Hanin 0f420bdb85 remove real test
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484118 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 13:16:42 +00:00
Xavier Hanin 907598b1d7 unify line break across platform
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484117 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 12:50:22 +00:00
Xavier Hanin c599ff62c9 fix some issues with latest development (m2 compatibility especially)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484116 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 12:39:39 +00:00
Xavier Hanin 9fec2cba81 update expected result with new defaultconfmapping feature
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484114 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 10:05:10 +00:00
Xavier Hanin cdd2763123 NEW: maven2 pom compatibility: most resolvers are now able to handle m2 pom as project metadata and there is a new convertpom task able to convert a pom file to an ivy file
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484112 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 09:56:42 +00:00
Xavier Hanin 6db0f0ebfc Good progress in m2 compatibility: works now in most cases, there is still the convertpom task to create
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484111 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 09:38:07 +00:00
Xavier Hanin 09e8e74b7c review defaultconf behaviour: reverted back to previous behaviour for backward compatibility and added a defaultconfmapping attribute on dependencies to give access to the new behaviour
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484110 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 05:49:26 +00:00
Xavier Hanin 469a603599 progress toward m2 compatibility
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484105 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 13:21:26 +00:00
Xavier Hanin a2b904aa80 IMPROVE: do not add resolver info in ivy files in cache so that they can be safely used as usual ivy files in a repository (IVY-137)
+ refactoring preparing ability to use other module descriptor file format

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484104 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 09:07:18 +00:00
Xavier Hanin 20bbb9abb1 added junit tests for some new deliver features (replace imported configurations and replace variables)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484101 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 18:10:03 +00:00
Xavier Hanin 815513f7da FIX: no variable replacement during the deliver step (IVY-133)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484100 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 17:56:42 +00:00
Xavier Hanin ef9ec6caee import configurations from external file (IVY-88)
review default conf mapping management (IVY-134)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484098 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 12:16:14 +00:00
Xavier Hanin dc22215e6e IMPROVE: add possibility for a chain to behave like a dual chain (IVY-131)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484095 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 09:44:19 +00:00
Xavier Hanin 23e7c3b44d FIX: conflict badly solved in some complex cases (IVY-130)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484094 13f79535-47bb-0310-9956-ffa450edef68
2006-01-12 10:00:06 +00:00
Xavier Hanin 99fab573d7 IMPROVE: ability to exclude the root project from the buildlist (thanks to Constantine Vetoshev) (IVY-124)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484088 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 06:52:14 +00:00
Xavier Hanin bd4aa2daab FIX: new org in repo 1
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484086 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 12:21:26 +00:00
Xavier Hanin 866ec93bfd FIX: bad dependency ivy files now causes failure (IVY-112)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484085 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 13:51:00 +00:00
Xavier Hanin e26114a8fb IMPROVE: exclusion of artifacts now works on transitive artifacts, and exclusion can specify organisation and/or module (IVY-116)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484084 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 10:50:08 +00:00
Xavier Hanin 3081a1b16a IMPROVE: now dynamic revisions replacement by deliver task can be turned off (IVY-120)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484083 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 12:59:32 +00:00
Xavier Hanin 028572d7f2 add a test using 'resolver' as tag for referencing an existing resolver
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484081 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 14:27:23 +00:00
Xavier Hanin 69f8b7008c FIX: stack overflow error in contradictory conflict cases (IVY-117)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484079 13f79535-47bb-0310-9956-ffa450edef68
2005-12-27 09:46:27 +00:00
Xavier Hanin 3696b20b03 IMPROVE: better performance with deep transitive dependencies
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484078 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 17:21:47 +00:00
Xavier Hanin 1622173832 IMPROVE: better performance with deep transitive dependencies
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484077 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 16:44:23 +00:00
Xavier Hanin 0b5ba61044 FIX: publish now doesn't call deliver when not necessary (IVY-119)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484076 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 11:09:35 +00:00
Xavier Hanin 4857531fe0 FIX: cachefileset was returning all artifacts for empty configuration (IVY-108)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484074 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 09:44:33 +00:00
Xavier Hanin 8c13971089 add a conflict manager ("strict") making build fail when a diamond conflict is found (thanks to Christer Jonsson) (IVY-118)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484073 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 08:57:28 +00:00
Xavier Hanin 0f08bd6302 IMPROVE: allow optional parts in the patterns (IVY-102) (thanks to Maarten Coene)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484069 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 13:53:50 +00:00
Xavier Hanin 6e294e9096 IMPROVE: ability to define variable directly in ivyconf.xml (IVY-100)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484068 13f79535-47bb-0310-9956-ffa450edef68
2005-10-28 08:43:57 +00:00