-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong path on classpathentry #9
Comments
this is not an "issue" at all but the standard way ivy is supposed to work. See my comment at the buildr Bug https://issues.apache.org/jira/browse/BUILDR-494 What do you try to achive? Do you want to do an ivy:retrieve and copy the artifacts into your project dir? Then the eclipse target will not be of any use for you, because ivy4r should use the central cache. Right now I cannot say what you should do or if ivy4r should work in a different way, because I am not sure what you try to do. Maybe you can comple an example? Regards Klaas |
If I am correct, what you said at jira is to configure ivysettings.xml instead of setting the ivy.ivy4r.property['ivy.home']. As I'm new to Ivy, can you tell me how to set ivy-home path at ivysettings.xml? Ivy documentation is a little confusing... thank you for your time, |
no not really. Ivy is like Maven (to simplify a bit). You have a central cache on your system that is used by all projects. Normally you should not have the ivy-home/cache within a single project but at some global location i.e. as default set by ivy "{user.home}/.ivy2" If you find Ivy to complex you should consider using buildrs inbuild dependency mechanism. It is a lot simpler and may better suit your needs (no transitive dependencies though). I can not give you a shortcut in understanding ivy. It is a very complex system because of the complexity of dependency-management. You really need to wrap your head around ivy to rip it's benefits. For configuration stuff ivy-settings: http://ant.apache.org/ivy/history/latest-milestone/settings.html And then check out the "caches" and "resolvers" |
Thanks! Now I have MY cache folder (using defaultCacheDir) and MY jars folder in it(using artifactPattern). Does buildr support changing the artifactPattern? |
yeah it does this page is your friend from here you find all stuff related to configuration: |
https://issues.apache.org/jira/browse/BUILDR-494
Is this a buildr issue or an ivy4r issue?
This works:
ivy.ivy4r.property['ivy.home'] = path_to('lib')
but shouldn't this also work?:
ivy.ivy4r.property['ivy.lib.dir'] = path_to('lib')
I want a folder with the jars not the whole ivy cache
The text was updated successfully, but these errors were encountered: