Commit Graph

234 Commits

Author SHA1 Message Date
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