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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:31:06+00:00 2026-05-20T10:31:06+00:00

I work in a group where we produce many small apps, and use ANT

  • 0

I work in a group where we produce many small apps, and use ANT for our build processes.

We would like to have some of our commonly used directives housed in a common way. Currently, we require a mapped drive to a common location, and use

<import file="${env.MAPPED_DRIVE}/common_directive.xml">

There must be a better way to distribute a common ant file to include in many projects without having to map a drive. Do you have any other suggestions?

Import is a “top level” directive, which means it won’t work inside of a target. Therefore, I cannot simply create a target that downloads the file, and then import it.

  • 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-20T10:31:07+00:00Added an answer on May 20, 2026 at 10:31 am

    If you are using ANT 1.8+, you could specify a URL and host the common build fragment on a website.

    Since Ant 1.8.0 the task can also
    import resources from URLs
    or
    classpath resources (which are URLs,
    really). If you need to know whether
    the current build file’s source has
    been a file or an URL you can consult
    the property ant.file.type.projectname
    (using the same example as above
    ant.file.type.builddocs) which either
    have the value “file” or “url”.

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

Sidebar

Related Questions

I manage a small group and I'd keep my work breakdown in project. However,
I'm working in a small development group. We are building and improving our product.
At our sports centre, I would like to analyse the number and types of
In our group we primarily do search engine architecture and content integration work and
I have a snippet to create a 'Like' button for our news site: <iframe
Working on a Calendar app, and would like each Event model instance to have
At my work we are running a group of tests that consist of about
At work we are currently still using JUnit 3 to run our tests. We
At work, we have multiple branches that we may be working on at any
I have a dataframe, and I want to produce a table of summary statistics

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.