File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ivy Settings Issue

Bhavesh Dak
Ranch Hand
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have following Ivy file settings which is located in workspace

<ivysettings basedir=".">
<property name="repo.dir" value="${basedir}/../ivy-repo"/>
<property name="cache.dir" value="${basedir}/../ivy-cache"/>
<echo message="Repo directory is : ${repo.dir}"/>
<settings defaultCache="${cache.dir}"

<filesystem name="internal">
<ivy pattern="${repo.dir}/[module]/ivy.xml" />
<artifact pattern="${repo.dir}/[module]/[revision]/jar/[artifact].[ext]" />
<module organisation="xyz" name=".*" resolver="internal" />

Ivy XML file for jars of spring

<ivy-module version="2.0">
<info organisation="org.springframework" module="spring" revision="3.0.0"/>
<artifact name="org.springframework.aop-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.asm-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.aspects-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.beans-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="" ext="jar" type="jar"/>
<artifact name="org.springframework.context-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.core-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.expression-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.instrument-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.jdbc-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.jms-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.orm-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.oxm-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.test-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.transaction-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.web.portlet-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.web.servlet-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.web.struts-3.0.2.RELEASE" ext="jar" type="jar"/>
<artifact name="org.springframework.web-3.0.2.RELEASE" ext="jar" type="jar"/>

and Ivy file in project

<ivy-module version="2.0">
<info organisation="org.apache" module="test-web-module"/>
<dependency org="org.springframework" name="spring" rev="3.0.0"/>
<dependency org="org.velocity" name="velocity" rev="1.4.0"/>

not able to download files in my lib folder can any body see any problem in this configuration?

Thanks in advance
Martijn Verburg
Posts: 3275
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bhavesh,

Could you please edit your post (UseCodeTags) that way people can read your question a lot more easily!
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic