Commit Graph

2365 Commits

Author SHA1 Message Date
Maarten Coene a72eb6ab38 Make sure all properties are set before starting to upload to repository.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1405955 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 21:12:29 +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
Maarten Coene b853d8f718 Added missing license.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1402974 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 11:14:54 +00:00
Maarten Coene b426f03567 FIX: Ivy default cache path with non-ASCII character lets it crash (IVY-1378)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1402340 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 21:51:28 +00:00
Maarten Coene 42f704c86b Attempt to fix IVY-1378 by converting all systemIds to URI's according to RFC 2396.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1401854 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 20:13:32 +00:00
Maarten Coene f37b7c6df5 DOCUMENTATION: Documentation and Implementation mismatch of makepom (IVY-1383) (thanks to Thomas Kurpick)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1401080 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 20:59:30 +00:00
Maarten Coene 614f9a0e7f DOCUMENTATION: added link to extra beginners guide (IVY-1381)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1399839 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 20:43:31 +00:00
Maarten Coene 8b6ab0154d updated changes.txt
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1399805 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 19:22:30 +00:00
Maarten Coene 7011ede6cf Only try to find a unique snapshot version when we have a version ending with 'SNAPSHOT'.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1399803 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 19:20:03 +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 e58b5d453f Fixed typo in ResolutionCacheManager#getResolvedModuleDescriptor() (thanks to Mitch Gitman)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1398479 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 19:49:56 +00:00
Nicolas Lalevee 6526a5e83c fix NPE: some server seems to not return any content type
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1398334 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 15:26:27 +00:00
Maarten Coene fd9a406ee4 Re-implemented IVY-1281 because current implementation had too much issues.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1396296 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 20:26:19 +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 2499f70cab fix test on windows: fix file descriptor leak while unziping
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1378329 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 20:51:02 +00:00
Nicolas Lalevee 15f7f84678 Do not copy the configuration as is, the configurations are already "extended"
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1378176 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 15:31:48 +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 7a6d566a42 Reverting some unwanted changes...
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1376743 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 22:26:26 +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 7df11e1545 Fixing tests: when trying to convert an url to a file, try first new File(new URI(url.toExternalForm())), then new File(url.getPath())
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375859 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 00:14:07 +00:00
Nicolas Lalevee 32ed6601f2 Try to be a little more tolerent on the file name
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375858 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 00:13:04 +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 0ff7c09114 Fix tests: we need the url of the parent dir, not the url of the ivysettings...
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375747 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 20:07:09 +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 ee0699b266 The ibiblio expects an url
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375732 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:28:30 +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 08485426c5 Add missing test files
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375601 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 15:20:18 +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 660431cf4f Fix compilation
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375575 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:30:24 +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 e350a38760 Add support for bundle with inner classpath
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375562 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:19:22 +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 4be0839297 FIX: SimpleDateFormat is not thread safe (IVY-1373)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375250 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 21:48:33 +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 52811ea207 Attempt to fix problem with finding parent ivy.xml on unix.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1374922 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 06:17:40 +00:00
Maarten Coene d82bedb44d Added extra logging
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1374917 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 05:58:25 +00:00
Maarten Coene d964c73d74 FIX: Maven 'hk2-jar' packaging is now supported (IVY-1357)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1374871 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 22:16:55 +00:00
Nicolas Lalevee e80b85d504 When catching an exception, and the stacktrace might be miningful (actually hightly valuable for a NPE), log the stack trace in debug.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1374870 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 22:15:36 +00:00