Tried modify ivysetting.xml and add <artifact pattern="D://Program 
Files//apache-ant-1.9.2//lib//[artifact](-[revision]).[ext]" /> 
Which "D://Program Files//apache-ant-1.9.2//lib//" is the URL of required file. 
Even tried use single slash "D:/Program Files/apache-ant-1.9.2/lib/". Still did 
not work. I think there is a trick.


Buildfile: G:\3.0.x\build.xml

clean.classes:
   [delete] Deleting directory G:\3.0.x\build\classes\openmeetings

clean.dist:
   [delete] Deleting directory G:\3.0.x\dist

clean:
   [delete] Deleting directory G:\3.0.x\build\junit

info:
     [echo] Ant version is Apache Ant(TM) version 1.9.2 compiled on July 8 2013

-java7.check:
     [echo] Using Java 1.7.0_05 specification: 1.7

prepare.mkdir:
    [mkdir] Created dir: G:\3.0.x\dist
    [mkdir] Created dir: G:\3.0.x\build\classes\openmeetings
    [mkdir] Created dir: G:\3.0.x\build\junit\report

-availability-check:

-retrieve-svntask:

-check-ivy-installed:

-download-ivy:

-install-ivy:

-retrieve:
     [echo] Ivy conf name: svntask, destination: G:\3.0.x/build/lib/svntask
[ivy:resolve] :: Apache Ivy 2.4.0 - 20141213170938 :: 
http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = G:\3.0.x\ivysettings.xml
[ivy:resolve] :: resolving dependencies :: 
apache#openmeetings;working@7VUWMFFOCA27H4H
[ivy:resolve]   confs: [svntask]
[ivy:resolve]   found org.tmatesoft.svnkit#svnkit;1.7.11 in central
[ivy:resolve]   found org.tmatesoft.sqljet#sqljet;1.1.8 in central
[ivy:resolve]   found org.antlr#antlr-runtime;3.4 in central
[ivy:resolve]   found com.jcraft#jsch.agentproxy.svnkit-trilead-ssh2;0.0.6 in 
central
[ivy:resolve]   found com.trilead#trilead-ssh2;1.0.0-build217 in central
[ivy:resolve]   found com.jcraft#jsch.agentproxy.core;0.0.6 in central
[ivy:resolve]   found de.regnis.q.sequence#sequence-library;1.0.2 in central
[ivy:resolve]   found net.java.dev.jna#jna;3.4.0 in central
[ivy:resolve]   found com.jcraft#jsch.agentproxy.connector-factory;0.0.6 in 
central
[ivy:resolve]   found com.jcraft#jsch.agentproxy.usocket-jna;0.0.6 in central
[ivy:resolve]   found net.java.dev.jna#platform;3.4.0 in central
[ivy:resolve]   found com.jcraft#jsch.agentproxy.usocket-nc;0.0.6 in central
[ivy:resolve]   found com.jcraft#jsch.agentproxy.sshagent;0.0.6 in central
[ivy:resolve]   found com.jcraft#jsch.agentproxy.pageant;0.0.6 in central
[ivy:resolve] :: resolution report :: resolve 187154ms :: artifacts dl 78ms
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      svntask     |   16  |   0   |   0   |   0   ||   14  |   0   |
        ---------------------------------------------------------------------
[ivy:resolve] 
[ivy:resolve] :::: WARNINGS
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           :: svnant#svnant;1.3.1: googlecode: unable to get 
resource for svnant#svnant;1.3.1: res=D://Program 
Files//apache-ant-1.9.2//lib//svnant-1.3.1.jar: java.net.MalformedURLException: 
unknown protocol: d
[ivy:resolve]           :: svnClientAdapter#svnClientAdapter;1.3.1: googlecode: 
unable to get resource for svnClientAdapter#svnClientAdapter;1.3.1: 
res=D://Program Files//apache-ant-1.9.2//lib//svnClientAdapter-1.3.1.jar: 
java.net.MalformedURLException: unknown protocol: d
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] 
[ivy:resolve] 
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

-----Original Message-----
From: Maxim Solodovnik [mailto:solomax...@gmail.com] 
Sent: Thursday, February 05, 2015 12:26 AM
To: dev
Subject: Re: Can anybody help use ant or mvn to compile applicaton

you can put it on your own server, then edit ivysetting.xml file
add line like this at line ~34:
<artifact pattern="URL TO YOUR SERVER HERE/[artifact](-[revision]).[ext]" />



> On Wed, Feb 4, 2015 at 9:46 PM, Wentao Liu <cscmu...@aliyun.com> wrote:
>
>> Much appreciated! We can not access google from China because google did
>> not follow China's network security policy and is already blocked by
>> government. Can you provide any other available location?
>>
>> Thanks
>>
>>
>>

Reply via email to