Hi I am running build.xml given in the quick start tutorial provided on the site. I got problem t this line : <ivy:cachepath organisation="apache" module="commons-lang" revision="2.1" pathid="lib.path.id" inline="true"/>
I dont have net on my system and I copied commons-lang.jar at the same location where build.xml is present. I want to ask two things: > Internet is necessary to work with ivy. > If I want to copy commons-lang.jar(on which there is dependency) where should i copy it. Where do I found other file also like ivy.xml. which it tries to download Sir for deatiled information , I am attaching output of the build. Please see the problem, reply me asap Thanks Ekta
cubating.jar!/org/apache/ivy/core/settings/ivysettings-local.xml' [ivy:cachepath] setting 'ivy.conf.url' to 'jar:file:/E:/Ekta/software/apache-ant -1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-incuba ting.jar!/org/apache/ivy/core/settings/ivysettings-local.xml' [ivy:cachepath] setting 'ivy.settings.dir' to 'jar:file:/E:/Ekta/software/apache -ant-1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-in cubating.jar!/org/apache/ivy/core/settings' [ivy:cachepath] setting 'ivy.conf.dir' to 'jar:file:/E:/Ekta/software/apache-ant -1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-incuba ting.jar!/org/apache/ivy/core/settings' [ivy:cachepath] setting 'ivy.local.default.root' to 'C:\Documents and Settings\e kta\.ivy2/local' [ivy:cachepath] setting 'ivy.local.default.ivy.pattern' to '[organisation]/[modu le]/[revision]/[type]s/[artifact].[ext]' [ivy:cachepath] setting 'ivy.local.default.artifact.pattern' to '[organisation]/ [module]/[revision]/[type]s/[artifact].[ext]' [ivy:cachepath] including url: jar:file:/E:/Ekta/software/apache-ant-1.7.0-bin.t ar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-incubating.jar!/or g/apache/ivy/core/settings/ivysettings-main-chain.xml [ivy:cachepath] setting 'ivy.settings.url' to 'jar:file:/E:/Ekta/software/apache -ant-1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-in cubating.jar!/org/apache/ivy/core/settings/ivysettings-main-chain.xml' [ivy:cachepath] setting 'ivy.conf.url' to 'jar:file:/E:/Ekta/software/apache-ant -1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-incuba ting.jar!/org/apache/ivy/core/settings/ivysettings-main-chain.xml' [ivy:cachepath] setting 'ivy.settings.dir' to 'jar:file:/E:/Ekta/software/apache -ant-1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-in cubating.jar!/org/apache/ivy/core/settings' [ivy:cachepath] setting 'ivy.conf.dir' to 'jar:file:/E:/Ekta/software/apache-ant -1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-incuba ting.jar!/org/apache/ivy/core/settings' [ivy:cachepath] including url: jar:file:/E:/Ekta/software/apache-ant-1.7.0-bin.t ar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-incubating.jar!/or g/apache/ivy/core/settings/ivysettings-default-chain.xml [ivy:cachepath] setting 'ivy.settings.url' to 'jar:file:/E:/Ekta/software/apache -ant-1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-in cubating.jar!/org/apache/ivy/core/settings/ivysettings-default-chain.xml' [ivy:cachepath] setting 'ivy.conf.url' to 'jar:file:/E:/Ekta/software/apache-ant -1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-incuba ting.jar!/org/apache/ivy/core/settings/ivysettings-default-chain.xml' [ivy:cachepath] setting 'ivy.settings.dir' to 'jar:file:/E:/Ekta/software/apache -ant-1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-in cubating.jar!/org/apache/ivy/core/settings' [ivy:cachepath] setting 'ivy.conf.dir' to 'jar:file:/E:/Ekta/software/apache-ant -1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-incuba ting.jar!/org/apache/ivy/core/settings' [ivy:cachepath] setting 'ivy.default.ivy.user.dir' to 'C:\Documents and Settings \ekta\.ivy2' [ivy:cachepath] settings loaded (156ms) [ivy:cachepath] default cache: C:\Documents and Settings\ekta\.ivy2\cach e [ivy:cachepath] default resolver: default [ivy:cachepath] default latest strategy: latest-revision [ivy:cachepath] default conflict manager: latest-revision [ivy:cachepath] circular dependency strategy: warn [ivy:cachepath] validate: true [ivy:cachepath] check up2date: true [ivy:cachepath] cache ivy pattern: [organisation]/[module]/ivy-[revision ].xml [ivy:cachepath] cache artifact pattern: [organisation]/[module]/[type]s/ [artifact]-[revision](.[ext]) [ivy:cachepath] -- 5 resolvers: [ivy:cachepath] shared [file] [ivy:cachepath] changingPattern: null [ivy:cachepath] changingMatcher: exactOrRegexp [ivy:cachepath] m2compatible: false [ivy:cachepath] ivy patterns: [ivy:cachepath] C:\Documents and Settings\ekta\.ivy2/sha red/[organisation]/[module]/[revision]/[type]s/[artifact].[ext] [ivy:cachepath] artifact patterns: [ivy:cachepath] C:\Documents and Settings\ekta\.ivy2/sha red/[organisation]/[module]/[revision]/[type]s/[artifact].[ext] [ivy:cachepath] repository: shared [ivy:cachepath] default [chain] [local, main] [ivy:cachepath] return first: true [ivy:cachepath] dual: false [ivy:cachepath] -> local [ivy:cachepath] -> main [ivy:cachepath] local [file] [ivy:cachepath] changingPattern: null [ivy:cachepath] changingMatcher: exactOrRegexp [ivy:cachepath] m2compatible: false [ivy:cachepath] ivy patterns: [ivy:cachepath] C:\Documents and Settings\ekta\.ivy2/loc al/[organisation]/[module]/[revision]/[type]s/[artifact].[ext] [ivy:cachepath] artifact patterns: [ivy:cachepath] C:\Documents and Settings\ekta\.ivy2/loc al/[organisation]/[module]/[revision]/[type]s/[artifact].[ext] [ivy:cachepath] repository: local [ivy:cachepath] public [ibiblio] [ivy:cachepath] changingPattern: null [ivy:cachepath] changingMatcher: exactOrRegexp [ivy:cachepath] m2compatible: true [ivy:cachepath] ivy patterns: [ivy:cachepath] http://repo1.maven.org/maven2/[organisat ion]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext] [ivy:cachepath] artifact patterns: [ivy:cachepath] http://repo1.maven.org/maven2/[organisat ion]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext] [ivy:cachepath] repository: public [ivy:cachepath] root: http://repo1.maven.org/maven2/ [ivy:cachepath] pattern: [organisation]/[module]/[revision]/[art ifact]-[revision](-[classifier]).[ext] [ivy:cachepath] usepoms: true [ivy:cachepath] main [chain] [shared, public] [ivy:cachepath] return first: false [ivy:cachepath] dual: true [ivy:cachepath] -> shared [ivy:cachepath] -> public Setting project property: ivy.conf.dir -> jar:file:/E:/Ekta/software/apache-ant- 1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-incubat ing.jar!/org/apache/ivy/core/settings Setting project property: ivy.checksums -> sha1,md5 Setting project property: ivy.status -> integration Setting project property: ivy.settings.file -> ivysettings.xml Setting project property: ivy.project.dir -> E:\Ekta\Tools\ivy Setting project property: ivy.home -> C:\Documents and Settings\ekta\.ivy2 Setting project property: ivy.configurations -> * Setting project property: ivy.report.output.pattern -> [organisation]-[module]-[ conf].[ext] Setting project property: ivy.distrib.dir -> E:\Ekta\Tools\ivy/distrib Setting project property: ivy.resolve.default.type.filter -> * Setting project property: ivy.cache.dir -> C:\Documents and Settings\ekta\.ivy2\ cache Setting project property: ivy.publish.src.artifacts.pattern -> ${ivy.distrib.dir }/[type]s/[artifact]-[revision].[ext] Setting project property: ivy.build.artifacts.dir -> E:\Ekta\Tools\ivy/build/art ifacts Setting project property: ivy.settings.dir -> jar:file:/E:/Ekta/software/apache- ant-1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-inc ubating.jar!/org/apache/ivy/core/settings Setting project property: ivy.log.modules.in.use -> false Setting project property: ivy.settings.url -> jar:file:/E:/Ekta/software/apache- ant-1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-inc ubating.jar!/org/apache/ivy/core/settings/ivysettings-default-chain.xml Setting project property: ivy.conf.url -> jar:file:/E:/Ekta/software/apache-ant- 1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2-incubat ing.jar!/org/apache/ivy/core/settings/ivysettings-default-chain.xml Setting project property: ivy.default.ivy.user.dir -> C:\Documents and Settings\ ekta\.ivy2 Setting project property: ivy.retrieve.pattern -> ${ivy.lib.dir}/[artifact]-[rev ision].[ext] Setting project property: ivy.default.conf.dir -> jar:file:/E:/Ekta/software/apa che-ant-1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-alpha2 -incubating.jar!/org/apache/ivy/core/settings Setting project property: ivy.buildlist.ivyfilepath -> ivy.xml Setting project property: ivy.default.always.check.exact.revision -> true Setting project property: ivy.resolver.default.check.modified -> false Setting project property: ivy.deliver.ivy.pattern -> ${ivy.distrib.dir}/[type]s/ [artifact]-[revision].[ext] Setting project property: ivy.default.settings.dir -> jar:file:/E:/Ekta/software /apache-ant-1.7.0-bin.tar/apache-ant-1.7.0-bin/apache-ant-1.7.0/lib/ivy-2.0.0-al pha2-incubating.jar!/org/apache/ivy/core/settings Setting project property: ivy.lib.dir -> E:\Ekta\Tools\ivy/lib Setting project property: ivy.dep.file -> ivy.xml [ivy:cachepath] parameter found as attribute value: ivy.organisation=apache [ivy:cachepath] parameter found as attribute value: ivy.module=commons-lang [ivy:cachepath] parameter not found: ivy.resolved.file [ivy:cachepath] calculating configurations to resolve [ivy:cachepath] module not yet resolved, all confs still need to be resolved [ivy:cachepath] using inline mode to resolve apache commons-lang 2.1 (*) [ivy:cachepath] no resolved descriptor found: launching default resolve [ivy:cachepath] parameter found as attribute value: ivy.configurations=* [ivy:cachepath] parameter found as ivy variable: ivy.resolve.default.type.filter =* [ivy:cachepath] default: no latest strategy defined: using default [ivy:cachepath] local: no namespace defined: using system [ivy:cachepath] no ivy file in cache for [ apache | commons-lang | 2.1 ] : tried C:\Documents and Settings\ekta\.ivy2\cache\apache\commons-lang\ivy-2.1.x ml [ivy:cachepath] local: no latest strategy defined: using default [ivy:cachepath] trying C:\Documents and Settings\ekta\.ivy2/local/apach e/commons-lang/2.1/ivys/ivy.xml [ivy:cachepath] tried C:\Documents and Settings\ekta\.ivy2/local /apache/commons-lang/2.1/ivys/ivy.xml [ivy:cachepath] local: resource not reachable for [ apache | commons-lan g | 2.1 ]: res=C:\Documents and Settings\ekta\.ivy2\local\apache\commons-lang\2. 1\ivys\ivy.xml [ivy:cachepath] trying C:\Documents and Settings\ekta\.ivy2/local/apach e/commons-lang/2.1/jars/commons-lang.jar [ivy:cachepath] tried C:\Documents and Settings\ekta\.ivy2/local /apache/commons-lang/2.1/jars/commons-lang.jar [ivy:cachepath] local: resource not reachable for [ apache | commons-lan g | 2.1 ]: res=C:\Documents and Settings\ekta\.ivy2\local\apache\commons-lang\2. 1\jars\commons-lang.jar [ivy:cachepath] local: no ivy file nor artifact found for [ apache | com mons-lang | 2.1 ] [ivy:cachepath] main: no latest strategy defined: using default [ivy:cachepath] shared: no namespace defined: using system [ivy:cachepath] no ivy file in cache for [ apache | commons-lang | 2.1 ] : tried C:\Documents and Settings\ekta\.ivy2\cache\apache\commons-lang\ivy-2.1.x ml [ivy:cachepath] shared: no latest strategy defined: using default [ivy:cachepath] trying C:\Documents and Settings\ekta\.ivy2/shared/apac he/commons-lang/2.1/ivys/ivy.xml [ivy:cachepath] tried C:\Documents and Settings\ekta\.ivy2/share d/apache/commons-lang/2.1/ivys/ivy.xml [ivy:cachepath] shared: resource not reachable for [ apache | commons-la ng | 2.1 ]: res=C:\Documents and Settings\ekta\.ivy2\shared\apache\commons-lang\ 2.1\ivys\ivy.xml [ivy:cachepath] trying C:\Documents and Settings\ekta\.ivy2/shared/apac he/commons-lang/2.1/jars/commons-lang.jar [ivy:cachepath] tried C:\Documents and Settings\ekta\.ivy2/share d/apache/commons-lang/2.1/jars/commons-lang.jar [ivy:cachepath] shared: resource not reachable for [ apache | commons-la ng | 2.1 ]: res=C:\Documents and Settings\ekta\.ivy2\shared\apache\commons-lang\ 2.1\jars\commons-lang.jar [ivy:cachepath] shared: no ivy file nor artifact found for [ apache | co mmons-lang | 2.1 ] [ivy:cachepath] public: no namespace defined: using system [ivy:cachepath] no ivy file in cache for [ apache | commons-lang | 2.1 ] : tried C:\Documents and Settings\ekta\.ivy2\cache\apache\commons-lang\ivy-2.1.x ml [ivy:cachepath] public: no latest strategy defined: using default [ivy:cachepath] trying http://repo1.maven.org/maven2/apache/commons-lan g/2.1/commons-lang-2.1.pom [ivy:cachepath] tried http://repo1.maven.org/maven2/apache/commo ns-lang/2.1/commons-lang-2.1.pom [ivy:cachepath] ERROR: Server access Error: Connection timed out: connect url=ht tp://repo1.maven.org/maven2/apache/commons-lang/2.1/commons-lang-2.1.pom [ivy:cachepath] public: resource not reachable for [ apache | commons-la ng | 2.1 ]: res=http://repo1.maven.org/maven2/apache/commons-lang/2.1/commons-la ng-2.1.pom [ivy:cachepath] trying http://repo1.maven.org/maven2/apache/commons-lan g/2.1/commons-lang-2.1.jar [ivy:cachepath] tried http://repo1.maven.org/maven2/apache/commo ns-lang/2.1/commons-lang-2.1.jar [ivy:cachepath] ERROR: Server access Error: Connection timed out: connect url=ht tp://repo1.maven.org/maven2/apache/commons-lang/2.1/commons-lang-2.1.jar [ivy:cachepath] public: resource not reachable for [ apache | commons-la ng | 2.1 ]: res=http://repo1.maven.org/maven2/apache/commons-lang/2.1/commons-la ng-2.1.jar [ivy:cachepath] public: no ivy file nor artifact found for [ apache | co mmons-lang | 2.1 ] BUILD FAILED E:\Ekta\Tools\ivy\build.xml:81: impossible to resolve dependencies: resolve fail ed - see output for details at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:290) at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:281) at org.apache.ivy.ant.IvyPostResolveTask.prepareAndCheck(IvyPostResolveT ask.java:124) at org.apache.ivy.ant.IvyCachePath.doExecute(IvyCachePath.java:53) at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:281) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe cutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.Main.runBuild(Main.java:698) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.Main.start(Main.java:161) at org.apache.tools.ant.Main.main(Main.java:250) Caused by: resolve failed - see output for details at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:214) ... 21 more --- Nested Exception --- resolve failed - see output for details at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:214) at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:281) at org.apache.ivy.ant.IvyPostResolveTask.prepareAndCheck(IvyPostResolveT ask.java:124) at org.apache.ivy.ant.IvyCachePath.doExecute(IvyCachePath.java:53) at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:281) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe cutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.Main.runBuild(Main.java:698) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.Main.start(Main.java:161) at org.apache.tools.ant.Main.main(Main.java:250) Total time: 1 minute 26 seconds E:\Ekta\Tools\ivy>
