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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:16:59+00:00 2026-05-20T01:16:59+00:00

We have quite a big tree of source code, parts of it are deployed

  • 0

We have quite a big tree of source code, parts of it are deployed as two separate jar files. We need an easy control of what goes to which jar.

So far we do this by <exclude name="" /> and <include name="" /> tags, but this is quite inconvenient. The best option would be a separate config file with all the packages listed which we could comment out when needed, say with a ‘#’ character.

Does something similar exist or do we have to write a new ant task that reads such a file and runs a <jar> task?

  • 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-20T01:17:00+00:00Added an answer on May 20, 2026 at 1:17 am

    ANT includes and excludes can be managed with external files and referenced in a fileset using includesfile and excludesfile attributes.

    includesfile the name of a file; each
    line of this file is taken to be an
    include pattern.
    excludesfile the
    name of a file; each line of this file
    is taken to be an exclude pattern.

    For example:

     <jar destfile="${dist}/lib/app1.jar">
       <fileset dir=".">
        <includesfile name="app1.properties"/>
       </fileset>
      </jar>
     <jar destfile="${dist}/lib/app2.jar">
       <fileset dir=".">
        <includesfile name="app2.properties"/>
       </fileset>
      </jar>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have quite big data frame (few millions of records). I need to filter
I have quite a big code here... But fortunately it is not needed to
I have a quite big XML output from an application. I need to process
I have this quite big CSV file (15 Gb) and I need to read
I have a quite a big jpg image file and few css files, and
I have quite big document in html format that generated from Microsoft Word. It
I've started playing around with transitions and have come up against quite a big
I am refurbishing a big CMS that I have been working on for quite
I have quite a complex piece of code (JQuery and HTML5 Web SQL) that
I have quite a lot of music files but their title attributes have the

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.