Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro ao executar o ant jerry.run

Apresenta o erro abaixo, vi no fórum que há uma solução para o mesmo problema, porém pede para criar uma variável de ambiente, o que não temos permissão de executar. Há outra solução?

[ivy:retrieve]    http://repo1.maven.org/maven2/com/yahoo/platform/yui/yuicompre
ssor/2.3.6/yuicompressor-2.3.6.jar
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          :: br.com.caelum#vraptor;3.4.0: not found
[ivy:retrieve]          :: org.hsqldb#hsqldb;2.2.4: not found
[ivy:retrieve]          :: opensymphony#sitemesh;2.4.2: not found
[ivy:retrieve]          :: javax.servlet#jstl;1.2: not found
[ivy:retrieve]          :: org.hibernate#hibernate-entitymanager;3.6.7.Final: no
t found
[ivy:retrieve]          :: org.hibernate#hibernate-c3p0;3.6.7.Final: not found
[ivy:retrieve]          :: org.hibernate#hibernate-validator;4.2.0.Final: not fo
und
[ivy:retrieve]          :: joda-time#joda-time;2.0: not found
[ivy:retrieve]          :: com.thoughtworks.xstream#xstream;1.4.1: not found
[ivy:retrieve]          :: javax.servlet#servlet-api;2.5: not found
[ivy:retrieve]          :: javax.servlet.jsp#jsp-api;2.1: not found
[ivy:retrieve]          :: junit#junit;4.10: not found
[ivy:retrieve]          :: org.hamcrest#hamcrest-all;1.1: not found
[ivy:retrieve]          :: org.mockito#mockito-all;1.8.5: not found
[ivy:retrieve]          :: org.mortbay.jetty#jsp-api-2.1;6.1.14: not found
[ivy:retrieve]          :: org.mortbay.jetty#jsp-2.1;6.1.14: not found
[ivy:retrieve]          :: org.mortbay.jetty#jetty-ant;6.1.14: not found
[ivy:retrieve]          :: com.yahoo.platform.yui#yuicompressor;2.3.6: not found

[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :::: ERRORS
[ivy:retrieve]  Server access Error: Connection timed out: connect url=http://re
po1.maven.org/maven2/br/com/caelum/vraptor/3.4.0/vraptor-3.4.0.pom
1 resposta
solução!

No startup do ivy você pode passar o comando:

-Dhttp.proxyHost=<endereco do proxy> -Dhttp.proxyPort=<porta do proxy>

esse aqui não funciona?

export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"

no seu build.xml:

<target name="proxy">  
    <property name="proxy.host" value="xyz.proxy.net"/>  
    <property name="proxy.port" value="8443"/>  
    <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>  
</target>