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

  • SEARCH
  • Home
  • 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 8500727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:01:12+00:00 2026-06-11T01:01:12+00:00

In our environment, we end up with multiple workspaces (runk plus multiple branches). We

  • 0

In our environment, we end up with multiple workspaces (runk plus multiple branches).

We wish to separate our resolution caches, but share the actual cache.

So far, this is easy, but it requires hand-coding an identifier for the local resolution cache name (e.g., in ivysettings.local.xml), and obviously that’s suboptimal, and has to be set up by hand for each branch (or workspace if we ever have more than one workspace per branch).

What we’d like to do is to make use of the workspace name (as though Eclipse provided a ${workspace_name} variable), but that doesn’t appear to be the case. I don’t find anything like that in the list of available variables, and we don’t see anything holding the workspace name when running ivy in the debugger.

I’ve looked at both of these questions, but neither seems to address this issue:

Managing conflicting ivy repositories (in eclipse)

How to override the location of Ivy's Cache?

  • 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-06-11T01:01:13+00:00Added an answer on June 11, 2026 at 1:01 am

    Turns out to be easier than we thought, but I figure it might help someone else. Instead of telling ivy by name what the resolution cache name is, we’re using a relative path. This from our ivysettings.local.xml (included in a project in each workspace) shows what I mean:

    Combining this:

    <property name="ivy.local.resolution.cache" 
        value="${ivy.settings.dir}/../../.ivy/resolution-cache"/>
    

    with this:

    <caches default="local-cache" 
            defaultCacheDir="${ivy.local.cache}" 
            resolutionCacheDir="${ivy.local.resolution.cache}">
        <cache name="local-cache"/>
    </caches>
    

    gets us most of the way there: we have a shared local-cache, and per-workspace resolution caches.

    But it leaves us with another challenge: we still want to set the changingPattern regexp. For that, it would be very helpful to be able to pick up the workspace name from eclipse.

    Suggestions would be highly appreciated.

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

Sidebar

Related Questions

Our environment: Drupal+MySQL Examining the query log indicates that the following query, originating from
In our environment, we have 32-bit and 64-bit machines for development. In VS 2010,
Our production environment runs 3 32-Bit Java 6 JVMs on each Windows 2003 server.
Our production environment is: IIS 6.0 .Net framework 4.0 ASP.Net 4.0 thread pool However,
Our developer environment setup tends to have a lot of moving parts with a
In our Production environment we have JBoss running in a clustered mode with 4+
Hi on our dev environment we have show all errors, warnings and notices. I'm
I am migrating our hosting environment to a totally new data center with new
We use Ant to create a database in our testing environment with the following
Currently all our GUI components are written in MFC. Our build environment is: VC

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.