Commit Graph

347 Commits

Author SHA1 Message Date
Xavier Hanin 720ad4628d FIX: Ivy#listTokenValues(String, Map) does not filter returned values, and does not use maven-metadata.xml files with IBiblio resolver (IVY-886)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689160 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 18:19:27 +00:00
Xavier Hanin 3ef6097b71 FIX: PackagerResolverTest was failing
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689093 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 14:29:53 +00:00
Xavier Hanin 2bc0118ad0 FIX: Circular Dependency messages in a resolve do not reflect the configuration used during the resolve (IVY-708)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689060 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 13:05:43 +00:00
Xavier Hanin 1d225dae0a enable again xsl transformation for test with circular dependency
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689046 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 12:21:53 +00:00
Xavier Hanin b1249fa0c5 FIX: Failure to transitively install Maven2 artifacts with namespace (IVY-440)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689034 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 11:13:23 +00:00
Xavier Hanin 945313a13f FIX: Unwanted eviction of dependencies when optional attributes in dependency and info tags are in consistent (IVY-745)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689014 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 09:59:29 +00:00
Xavier Hanin a8e22c5d18 FIX: Deliver delivers the wrong version when a dynamic revision is evicted before being resolved (IVY-707)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@688740 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 14:51:26 +00:00
Xavier Hanin 6d6d34af69 FIX: ChainResolverTest failures (IVY-882)
The problem was due to the changes introduced in IVY-857. Indeed the cache checking was removed from the chain, to allow a resolver to force a revision even when there is already something in the cache. The problem is that resolvers where always checked in the chain even when the cache is filled. To implement this properly, I've moved the responsibility of knowing what resolved module revision should be returned to each individual resolver instead of the chain (pretty much like in the chain of responsibility pattern, where each node is responsible for calling the next one). To avoid changing the DependencyResolver API, I've added the detail about a possibly already resolved module revision in ResolveData. The added responsibility to DependencyResolver makes it more flexible, but also more complex to write. Hopefully most people writing dependency resolvers at least extend BasicResolver where all this logic is already implemented.

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

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@671005 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 03:27:37 +00:00
Xavier Hanin fbc18fb917 IMPROVEMENT: Provide ant task to retrieve information from published ivy modules (IVY-838) (thanks to David Maplesden)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@670998 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 02:53:25 +00:00
Xavier Hanin a7eb2c27a9 NEW: Add new packager resolver (IVY-829) (thanks to Archie Cobbs)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@670997 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 02:44:04 +00:00
Maarten Coene d6829773e1 Improved junit test...
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@667272 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 22:23:44 +00:00
Maarten Coene 51d967fddb FIX: NPE in ivy:install if ivy.settings.xml contains custom attribute for a module (IVY-838)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@667269 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 22:17:39 +00:00
Xavier Hanin b5c63335ec review handling of qualified extra attributes, especially during copies, to avoid losing the qualifier
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@667175 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 17:38:13 +00:00
Xavier Hanin 29593eb5ae fix bug with branchConstraint on deliver
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@667158 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 16:54:38 +00:00
Xavier Hanin c57b54c16e improve unit test on for branch and branch constraint handling
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@667047 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 11:28:55 +00:00
Xavier Hanin adbef440c8 FIX: NPE in AbstractResolver.exists() if a resource cannot be found (IVY-831)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@666208 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 17:07:39 +00:00
Xavier Hanin 238b0ba4a7 IMPROVEMENT: declare source and javadoc artifacts in maven2 modules (IVY-325)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@663878 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 10:07:18 +00:00