Commit Graph

579 Commits

Author SHA1 Message Date
Nicolas Lalevee 18b6de93c2 IVY-1431: Also copy original metadata artifact (e.g. POM) on ivy:install (Thanks to Erwin Tratar)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1550939 13f79535-47bb-0310-9956-ffa450edef68
2013-12-14 17:06:25 +00:00
Nicolas Lalevee e1fc87d2d5 IVY-1438:
- fix the parsing of header values with space


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1520874 13f79535-47bb-0310-9956-ffa450edef68
2013-09-08 14:48:35 +00:00
Nicolas Lalevee 9b2d0e3909 - make the buildobr task a post resolve task, so that it can work with set of resolved artifacts
- document how to manage an OSGi target platform, with samples


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1519300 13f79535-47bb-0310-9956-ffa450edef68
2013-09-01 18:08:36 +00:00
Nicolas Lalevee 37787b96ab fix test of fixdeps
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1507802 13f79535-47bb-0310-9956-ffa450edef68
2013-07-28 14:25:22 +00:00
Nicolas Lalevee 39ee22556b - improve the fixdeps task to handle a multi project environment
- add tests and documentation of the task


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1507801 13f79535-47bb-0310-9956-ffa450edef68
2013-07-28 14:09:36 +00:00
Maarten Coene bca350df1f - IMPROVEMENT: New LockStrategy available based on NIO FileLocks (IVY-1424)
- FIX: NIO FileLocker released locks too early (IVY-1424) (thanks to Charles Duffy)


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1507138 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 21:35:08 +00:00
Nicolas Lalevee d6a354e203 - fix the module set gathering
- fix the tests on the online repos


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1506108 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 15:22:45 +00:00
Nicolas Lalevee e06a9f676c Performance optimisation around the OSGi resolver:
- log only if a debug level is set
 - do not retry to load a failing repo
 - compute versions once
 - convert the bundle info into module descriptors on demand


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1506076 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 14:48:40 +00:00
Jean-Louis Boudart 2b085ae342 add showTransitive attribute on dependencyUpdateChecker task
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1493256 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 21:43:15 +00:00
Jean-Louis Boudart 1f978b6387 First draft of dependency update checker task
Extract ant test listener as a reusable class for test to check log output


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1492972 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 07:15:14 +00:00
Maarten Coene 01ecd7c66d FIX: Maven2: resolve failure when parent has <dependencyManagement> with dependency in 'import' scope (IVY-1376)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1419758 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 20:56:05 +00:00
Jean-Louis Boudart fdb7591138 IVY-1391 - IvyPublish fails when using extend tags with no explicit location attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1412669 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 20:44:31 +00:00
Jean-Louis Boudart 5c715cd84d Use StringBuffer in place of StringBuilder to be 1.4 compatible
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1404486 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 07:45:33 +00:00
Jean-Louis Boudart 517b8beb06 Implement IvyDependencyTree task : display a dependency tree on the console
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1404290 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 18:42:42 +00:00
Matthew Jason Benson c28ed2e0cf [IVY-1036] latest.integration isn't resolved against a Maven snapshot repository (when uniqueVersion = true)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1398943 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 19:34:19 +00:00
Matthew Jason Benson 5904d90ade add test to show that IBiblioResolver can resolve latest.integration to a snapshot when the snapshot was deployed as uniqueVersion false
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1398531 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 21:57:21 +00:00
Maarten Coene ee6ae79be8 FIX: Resolve does not deliver all dependent artifacts (IVY-1366) (thanks to Wolfgang Frank)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1378882 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 11:03:17 +00:00
Nicolas Lalevee 50e133fb20 Fix global exclude rule in root ivy files
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1378164 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 15:09:12 +00:00
Maarten Coene d6c57d547c FIX: Ivy descriptors are merged incorrectly when there is an <exclude> element (IVY-1356)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1376738 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 22:21:00 +00:00
Nicolas Lalevee a759e78d4d Fix tests: properly set the ivy settings dir url
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375823 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 22:16:06 +00:00
Nicolas Lalevee 54fdc54dd2 Properly build the url pattern
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375737 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:40:50 +00:00
Nicolas Lalevee 14d6a09601 Fix tests: don't urlify the pattern, only the root
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375736 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:34:05 +00:00
Nicolas Lalevee b9a22fb6f6 fix encoding of e with acute
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375728 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:28:03 +00:00
Nicolas Lalevee ac11ad3593 Fix the buggy use to File.toURL()
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375715 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 18:55:01 +00:00
Nicolas Lalevee 1c4f7bde1c Fix OSGi manifest parsing
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375661 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 16:58:49 +00:00
Nicolas Lalevee 4e8b8cbe05 Add missing test files
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375654 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 16:41:24 +00:00
Nicolas Lalevee 0367064bb6 Use the word 'uncompress' every where
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375596 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 15:09:00 +00:00
Nicolas Lalevee 2d650f890f Make IvyCachePath understand OSGi classpaths with their Bundle-Classpath header
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375593 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:58:53 +00:00
Nicolas Lalevee faffec9020 Parse the Bundle-Classpath in an OSGi MANIFEST
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375592 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:58:21 +00:00
Nicolas Lalevee 535cbcd9f2 Test and fix the detection of the 'zipped' bundles
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375591 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:57:47 +00:00
Nicolas Lalevee f65e9aa63f Fix sync retrieve of uncompressed artifacts
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375585 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:49:46 +00:00
Nicolas Lalevee 53d3e8ce79 When retrieving, the uncompressed artifact should take the place of the real artifact
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375573 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:28:32 +00:00
Nicolas Lalevee 99e257660b Add support of uncompress artifacts to the Ant tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375554 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:09:46 +00:00
Nicolas Lalevee 59aedc8a22 Add support for retrieve of uncompressed artifacts
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375549 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 13:58:36 +00:00
Nicolas Lalevee 9b2d76e5c7 Add support for 'compressed' artifacts:
- add 'compression' attribute to indicate artifact which should be used uncompressed
- make the cache downloader uncompress data if requested
- path to the uncompressed data is referenced in the artifact download report

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


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


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


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



git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1364410 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 19:45:18 +00:00
Nicolas Lalevee c02386113b IVY-1300: Delivered ivy descriptor inconsistent with resolve report / retrieve and other post-resolve actions (thanks to Ed Burcher)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1342465 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 22:31:21 +00:00
Nicolas Lalevee 18c5b2536c IVY-1343: fix for a NullPointerExeption in AbstractOSGiResolver (thanks to Thomas Kurpick)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1329663 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:10:43 +00:00
Nicolas Lalevee 3f83207040 Fix the example about managing an Eclipse plugin dependencies with Ivy
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1325396 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 17:36:50 +00:00