Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7173567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:51:05+00:00 2026-05-28T15:51:05+00:00

I have set our Eclipse projects up with Ivy and a URL resolver which

  • 0

I have set our Eclipse projects up with Ivy and a URL resolver which looks for artifacts and ivy files on a web server here in the office. Everything works beautifully.

I have a few projects that are dependencies for other projects, and I would like to tweak the Ivy config so that these dependencies can “publish locally”, and so that the downstream projects that depend on them can resolve them locally. Doing so will allow a developer to make changes in one project, and see those changes ripple out in another project that depends on it; all without having to publish to our official (web server) repository.

First I added a publish-locally task to a project (let’s call it DepProj) that is a dependency for downstream projects:

<target name="publish-locally" depends="clean,dist">
    <ivy:publish resolver="local" overwrite="true" pubrevision="${ivy.new.revision}">  
        <artifacts pattern="${distDir}/[artifact].[ext]" />   
</ivy:publish>
</target>

Then I modified the ivy.xml file for one of DepProj‘s downstream projects, called DownstreamProj:

<dependency org="ourOrg" name="DepProj" rev="latest.integration" conf="*->*"/>

I’m now choking on connecting the two. I need to tweak our ivy.settings file to use a filesystem resolver. When DepProj publishes locally, you can see that it first runs clean, then dist. The dist target creates a JAR under DepProj/dist/DepProj.jar.

I imagine I need to point the filesystem resolver (somehow) to this dist directory? But then again the DepProj is not the only project I want to publish locally with.

I have most of the pieces of the puzzle here, I’m just having trouble connecting some dots.

Can some kind SOer nudge me in the right direction? A helpful code example is always greatly appreciated too! Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T15:51:08+00:00Added an answer on May 28, 2026 at 3:51 pm

    You definitely need to define a file system resolver and create your own ivysettings.xml.

    You will have to give it a special directory where it can publish. This should be somewhere outside of your project.

        <filesystem name="local" checkmodified="true">
            <ivy pattern="${basedir}/../repo/[module](-[branch])/[revision]/[artifact](-[branch])-[revision].[ext]" />
            <artifact pattern="${basedir}/../[module]/[revision]/[artifact](-[branch])-[revision].[ext]" />
        </filesystem>
    

    This will behave like a completely normal repository. On resolve artifacts will be copied to your cache and from there to your retrieve-location.

    On publish artifacts will be copied there.

    You can set the path to the ivysettings.xml:

    <property name="ivy.settings.file" value="${path_to_file}/ivysettings.xml"/>
    

    This will be read automatically by calling:

    <ivy:settings />
    

    which activates the settings.

    You can also create a chain for the special module, that looks first in the filesystem and then in the repository:

    <resolvers>
        <url name="remote"/>
        <filesystem name="local" checkmodified="true" />
    
        <chain name="ourOrg" dual="true" latest="time"> 
            <resolver ref="local"/>
            <resolver ref="remote"/>
        </chain>    
    </resolvers>
    
      <modules>
        <!-- resolver für readybank module-->
        <module organisation="ourOrg" resolver="ourOrg"/>
      </modules>
    

    IvyDe for eclipse has a workspace resolver, which works great for any projects that are open in eclipse.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just set up cruise control.net on our build server, and I am
We have TFS 2008 our build set up to checkout all AssemblyInfo.cs files in
we're using Jenkins as our build server. We have a Project which is built
We have set a fixed limit on the filesize of uploads on our site
We have set up a SharePoint meeting workspace (using WSS 3.0) for our weekly
Our VSS setup is like this: We have a set of unique folders with
I have Reporting Services set up with Forms Authentication. Our app is sitting over
I have been asked to set up some authentication for some content on our
In our project we have a requirement that when a set of records are
Our current MVC project is set up to have ViewModels that encapsulate the data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.