On Jun 4, 2008, at 3:21 PM, JerodLass wrote:
I tried that in a couple different orders, and it still times out.
Might it
be timing out when it tries to get no_deps before setting the proxy?
You are right.
What should help right is setting the proxy directly via Java system
properties (which Java version are you using?):
See for example: http://info4tech.wordpress.com/2007/05/04/java-http-
proxy-settings/
props = System.properties
props['http.proxyHost'] = 'host'
props['http.proxyPort'] = '80'
props['http.proxyUser'] = 'uid'
props['http.proxyPassword'] = 'pw'
I'm not sure if this only works for Java 5.
Also, what about the libs task issue (back to uninteresting, I'm
afraid):
I've been building by executing the task libs just like in the user
guide.
Do I have to do that in order for it to complete all of the build
steps? How
can I link in other tasks at certain times?
When using usePlugin('java') the libs task gets created and
associated with the other tasks.
'gradle libs' should therefore trigger a compile, test and building
of the jars.
'gradle -t' shows you all the defined tasks and dependencies for your
gradle project.
You can hook in custom tasks by something like: compile.dependsOn
('mytask')
If it does not work as expected please send your gradlefile.
- Hans
Thank you very much for your help
-Jerod
JerodLass wrote:
If I add a Maven2 repository resolver:
dependencies{
addMavenRepo()
}
How can I configure my Maven proxy settings? When I come up with a
settings.xml file, where do I need to put it in order for gradle
to grab
and use it? Thanks in advance for any help...
-Jerod
--
View this message in context: http://www.nabble.com/maven-
repository-tp17630249p17646604.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email