aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Ivy Settings Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ivy Settings Issue" Watch "Ivy Settings Issue" New topic
Author

Ivy Settings Issue

Bhavesh Dak
Ranch Hand

Joined: Jun 27, 2009
Posts: 91
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}"
defaultResolver="internal"/>

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


Ivy XML file for jars of spring

<ivy-module version="2.0">
<info organisation="org.springframework" module="spring" revision="3.0.0"/>
<publications>
<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="org.springframework.context.support-3.0.2.RELEASE" 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"/>
</publications>
</ivy-module>

and Ivy file in project

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


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

Thanks in advance


SCJP 6(83%), SCWCD 5.0(100%)
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Hi Bhavesh,

Could you please edit your post (UseCodeTags) that way people can read your question a lot more easily!


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ivy Settings Issue
 
Similar Threads
module not found: org.springframework#org.springframework.core;3.0.0.RELEASE
What are publications in Ivy?
Error: ERROR initServletBean, Context initialization failed
Spring 3.0.2 and Active MQ 5.4.1 Issues
java.util.MissingResourceException: Can't find bundle for base name in JSF Spring Maven project