--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
Yes, but how should i access an maven repo with basic auth from dependencies.yml. I believe it's not unusual to have an internal maven repo like nexus thats protected. Should i switch back to the play maven plugin, or is there a solution to this problem that i don't get?
Yes, but how should i access an maven repo with basic auth from dependencies.yml. I believe it's not unusual to have an internal maven repo like nexus thats protected. Should i switch back to the play maven plugin, or is there a solution to this problem that i don't get?
Found this, supose we could use it in https://github.com/playframework/play/blob/master/framework/src/play/deps/DependenciesManager.java
http://www.docjar.org/docs/api/org/apache/ivy/Ivy.html
Here is one typical usage:
Ivy ivy = Ivy.newInstance();
ivy.configure(new URL("ivysettings.xml"));
2011/5/4 Pascal Voitot Dev <pascal.v...@gmail.com>:
--
Guillaume Bort, http://guillaume.bort.fr
Hi! I have done a solution that works in DependenciesManager.java that reads a .ivy2/ivysettings.xml if exists.
And it would be nice to be able to configure ivy through for example application.conf, properties that could be handy is ex. "ivy.checksums" and configurable path to ivysettings.xml
But you don't have access to Play.configuration in DependenciesManager and i no nothing about the conventions in play so i have no solution to that.
Best Regards Λdam
Hi! I have done a solution that works in DependenciesManager.java that reads a .ivy2/ivysettings.xml if exists.
And it would be nice to be able to configure ivy through for example application.conf, properties that could be handy is ex. "ivy.checksums" and configurable path to ivysettings.xml
But you don't have access to Play.configuration in DependenciesManager and i no nothing about the conventions in play so i have no solution to that.
2011/5/4 Adam Miller <adam.hg...@gmail.com>Hi! I have done a solution that works in DependenciesManager.java that reads a .ivy2/ivysettings.xml if exists.
And it would be nice to be able to configure ivy through for example application.conf, properties that could be handy is ex. "ivy.checksums" and configurable path to ivysettings.xml
But you don't have access to Play.configuration in DependenciesManager and i no nothing about the conventions in play so i have no solution to that.
great!
And is it possible to mix the ivysettings.xml with the configuration set in SettingsParser class?
I think it's not difficult to read play config from DependenciesManager.
Look at the class Play and function public static void readConfiguration()...
I think it's not difficult to read the config and use it...