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 5946883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:53:09+00:00 2026-05-22T16:53:09+00:00

I am using Ivy for my Lib repository. I have created my own local

  • 0

I am using Ivy for my Lib repository. I have created my own local repository that already contains several jars. These are resolved correctly.

Now I want to add a library that consists of a jar and a dll. How should I add these files to the repository and how can I make sure that both parts are resolved correctly?

  • 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-22T16:53:10+00:00Added an answer on May 22, 2026 at 4:53 pm

    The best approach would be to write a custom ivy.xml in the repository for your dependency like:

    ivy-1.0.0.xml

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml-stylesheet type="text/xsl" href="http://www.jayasoft.fr/org/ivyrep/ivy-doc.xsl"?>
    <ivy-module version="1.0">
        <info 
            organisation="myorg"
            module="depend"
            revision="1.0.0"
            status="release"
            publication="20110207120000"/>
        <configurations>
        <conf name="compile" visibility="public" />
        </configurations>
        <publications>
            <artifact name="jarfile"      type="jar" conf="compile"/>
            <artifact name="ddlfile"      type="dll" conf="compile"/>
        </publications>
    </ivy-module>
    

    This way you can easily retrieve all the artifacts as a dependency:

    <ivy-module version="2.0"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:noNamespaceSchemaLocation=
                       "http://ant.apache.org/ivy/schemas/ivy.xsd">
    <info organisation="myorg" module="project"/>
    <configurations>
        <conf name="compile" visibility="public" />
    </configurations>
    <dependencies>
          <!-- COMPILE  -->
         <dependency org="myorg" name="depend" rev="1.0.0" conf="compile"/>
    </dependencies>
    
    </ivy-module> 
    

    You could give the jar and the dll different configurations, if you need the dependencies at different stages in your build.

    Alternatively you can specify the artifacts in the ivy.xml for your project like described here:
    http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency-artifact.html

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

Sidebar

Related Questions

The reason we are using IVY is that we already have ANT scripts. Meaning,
In my Gradle script (version 0.8), I have a local ivy repository which I
Using Ivy with this Ant target: <target name=retrieve-jars> <ivy:retrieve pattern=WebContent/WEB-INF/lib/[artifact].[ext] /> </target> to fetch
While using ivy:retrieve , it fails to resolve the dependency that should be downloaded.
I am using ant and Apache Ivy, and i have multiple plans in my
Does anyone have specific examples of using the Ivy <deliver> or <publish> tasks with
I have a project built by gradle that publishes an artifact to a local
I have an existing project that is developed using netbeans, and I would like
I am using Ivy for dependency managment. I have problems with maven-findbgs-plugin:plugin:1.3.1 maven-cobertura-plugin:plugin:1.3 There
I am using ivy to resolve dependencies, the direct dependency I have is for

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.