Commit Graph

11 Commits

Author SHA1 Message Date
twogee 1543f52896 Convert tests to JUnit 4, clean up code 2017-05-25 17:25:59 +02:00
Nicolas Lalevée 2d7c6f5ff4 setup proper loggers in unit tests and factorize the creation and the cleaning of the cache folder 2015-09-06 20:01:25 +02:00
Jean-Louis Boudart bd7a375e37 Apply code formatting on whole project
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1557968 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 08:27:37 +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 88d62a6976 svn_apply_autoprops, mainly for line endings
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1049146 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 16:28:01 +00:00
Xavier Hanin a92a4fcecc IMPROVEMENT: Better and more homogeneous relative paths handling (IVY-387)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@691210 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 12:07:20 +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 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 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 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 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