Grokbase Groups Ant user June 2016
FAQ
Hi guys,

I have an issue with this code https://github.com/apache/cassandra/blob/cassandra-2.1.14/build.xml#L567-L590
I've tried to use http_proxy, ANT_OPTS, ANT_ARGS and JAVA_TOOL_OPTIONS without being able to force ant to use my proxy to access the web.

Any idea ? I'd like a way that to do not requires to change files if possible.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Search Discussions

  • Martin Gainty at Jun 15, 2016 at 9:16 pm

    From: cyril.scetbon@free.fr
    Subject: maven-ant-tasks proxy issue
    Date: Wed, 15 Jun 2016 16:11:26 -0400
    To: user@ant.apache.org

    Hi guys,

    I have an issue with this code https://github.com/apache/cassandra/blob/cassandra-2.1.14/build.xml#L567-L590
    I've tried to use http_proxy, ANT_OPTS, ANT_ARGS and JAVA_TOOL_OPTIONS without being able to force ant to use my proxy to access the web.
    MG>what are the values of properties :centralapachejava.net2
    MG>properties need to be set so the refid works for:
                        <remoteRepository refid="central"/><remoteRepository refid="apache"/><remoteRepository refid="java.net2"/>>
    Any idea ? I'd like a way that to do not requires to change files if possible.
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org
  • Cyril Scetbon at Jun 15, 2016 at 9:41 pm
    They are defined at https://github.com/apache/cassandra/blob/cassandra-2.1.14/build.properties.default

    When I don't need to use a proxy it works fine.
    I have an issue with this code https://github.com/apache/cassandra/blob/cassandra-2.1.14/build.xml#L567-L590
    I've tried to use http_proxy, ANT_OPTS, ANT_ARGS and JAVA_TOOL_OPTIONS without being able to force ant to use my proxy to access the web.
    MG>what are the values of properties :centralapachejava.net2
    MG>properties need to be set so the refid works for:
    <remoteRepository refid="central"/><remoteRepository refid="apache"/><remoteRepository refid="java.net2"/>>
    Any idea ? I'd like a way that to do not requires to change files if possible.
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org
  • Cyril Scetbon at Jun 16, 2016 at 3:16 pm
    Anyone ?
    On Jun 15, 2016, at 17:40, Cyril Scetbon wrote:

    They are defined at https://github.com/apache/cassandra/blob/cassandra-2.1.14/build.properties.default

    When I don't need to use a proxy it works fine.
    I have an issue with this code https://github.com/apache/cassandra/blob/cassandra-2.1.14/build.xml#L567-L590
    I've tried to use http_proxy, ANT_OPTS, ANT_ARGS and JAVA_TOOL_OPTIONS without being able to force ant to use my proxy to access the web.
    MG>what are the values of properties :centralapachejava.net2
    MG>properties need to be set so the refid works for:
    <remoteRepository refid="central"/><remoteRepository refid="apache"/><remoteRepository refid="java.net2"/>>
    Any idea ? I'd like a way that to do not requires to change files if possible.
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org
  • Martin Gainty at Jun 16, 2016 at 3:54 pm
    big difference between Nix proxy and Windows proxy configurations

    follow this tutorial:

    https://ant.apache.org/manual/proxy.html
    Subject: Re: maven-ant-tasks proxy issue
    From: cyril.scetbon@free.fr
    Date: Thu, 16 Jun 2016 11:15:52 -0400
    To: user@ant.apache.org

    Anyone ?
    On Jun 15, 2016, at 17:40, Cyril Scetbon wrote:

    They are defined at https://github.com/apache/cassandra/blob/cassandra-2.1.14/build.properties.default

    When I don't need to use a proxy it works fine.
    I have an issue with this code https://github.com/apache/cassandra/blob/cassandra-2.1.14/build.xml#L567-L590
    I've tried to use http_proxy, ANT_OPTS, ANT_ARGS and JAVA_TOOL_OPTIONS without being able to force ant to use my proxy to access the web.
    MG>what are the values of properties :centralapachejava.net2
    MG>properties need to be set so the refid works for:
    <remoteRepository refid="central"/><remoteRepository refid="apache"/><remoteRepository refid="java.net2"/>>
    Any idea ? I'd like a way that to do not requires to change files if possible.
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org
  • Cyril Scetbon at Jun 16, 2016 at 3:56 pm
    I already read this page. I tried the manual configuration which didn't work, and I can't use the auto version because I'm not using gconf. Also looking for a way that do not need any new file to be added if possible.
    On Jun 16, 2016, at 11:54, Martin Gainty wrote:

    big difference between Nix proxy and Windows proxy configurations

    follow this tutorial:

    https://ant.apache.org/manual/proxy.html
    Subject: Re: maven-ant-tasks proxy issue
    From: cyril.scetbon@free.fr
    Date: Thu, 16 Jun 2016 11:15:52 -0400
    To: user@ant.apache.org

    Anyone ?
    On Jun 15, 2016, at 17:40, Cyril Scetbon wrote:

    They are defined at https://github.com/apache/cassandra/blob/cassandra-2.1.14/build.properties.default

    When I don't need to use a proxy it works fine.
    I have an issue with this code https://github.com/apache/cassandra/blob/cassandra-2.1.14/build.xml#L567-L590
    I've tried to use http_proxy, ANT_OPTS, ANT_ARGS and JAVA_TOOL_OPTIONS without being able to force ant to use my proxy to access the web.
    MG>what are the values of properties :centralapachejava.net2
    MG>properties need to be set so the refid works for:
    <remoteRepository refid="central"/><remoteRepository refid="apache"/><remoteRepository refid="java.net2"/>>
    Any idea ? I'd like a way that to do not requires to change files if possible.
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org
  • Urena, Jose M (JOSE) at Jun 16, 2016 at 3:44 pm
    If you have a project's "local" settings.xml
    You can add --settings to have maven-ant-tasks use that for options like mirror and proxy without using ANT_OPTS or JAVA_OPTS

         <artifact:localRepository path="${basedir}/apps/repo" id="maven.repo.local"/>

       <target name="build" depends="need.maven_tasks">
          <artifact:mvn mavenVersion="3.3.9" fork="true" failonerror="true">
            <localRepository refid="maven.repo.local"/>
           <jvmarg line="-Dmaven.multiModuleProjectDirectory"/>
            <jvmarg line="-Dmaven.test.skip=true"/>
            <jvmarg line="-Dlog4j.configuration=${basedir}/log4j.console.xml"/>
            <arg line="--settings ${basedir}/settings.xml" />
            <arg line="install " />
            <arg line="versions:display-dependency-updates " />
            <arg line="versions:display-plugin-updates " />
            <arg line="dependency:analyze " />
          </artifact:mvn>

    -----Original Message-----
    From: Cyril Scetbon
    Sent: Wednesday, June 15, 2016 5:41 PM
    To: Ant Users List
    Subject: [E] Re: maven-ant-tasks proxy issue

    They are defined at https://github.com/apache/cassandra/blob/cassandra-2.1.14/build.properties.default

    When I don't need to use a proxy it works fine.
    I have an issue with this code
    https://github.com/apache/cassandra/blob/cassandra-2.1.14/build.xml#L
    567-L590 I've tried to use http_proxy, ANT_OPTS, ANT_ARGS and
    JAVA_TOOL_OPTIONS without being able to force ant to use my proxy to access the web.
    MG>what are the values of properties :centralapachejava.net2
    MG>properties need to be set so the refid works for:
    <remoteRepository refid="central"/><remoteRepository
    refid="apache"/><remoteRepository refid="java.net2"/>>
    Any idea ? I'd like a way that to do not requires to change files if possible.
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
    additional commands, e-mail: user-help@ant.apache.org

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categoriesant
postedJun 15, '16 at 8:11p
activeJun 16, '16 at 3:56p
posts7
users3
websiteant.apache.org

People

Translate

site design / logo © 2018 Grokbase