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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:34:03+00:00 2026-05-25T16:34:03+00:00

I use a specified property to create fileset: <property name=cases value=B.java,A.java,C.java /> <fileset id=casesToBeRunning

  • 0

I use a specified property to create fileset:

<property name="cases" value="B.java,A.java,C.java" />
<fileset id="casesToBeRunning" dir="${src}" includes="${cases}" />

When casesToBeRunning created, I list the content of it:

<echo>Cases to be running: ${toString:casesToBeRunning}</echo>

it shows A.java,B.java,C.java which I’m not expected to.

I don’t want Ant autosort for me, I need the original sort order of the property I defined to execute the cases orderly.

Anyone know how to handle this?

  • 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-25T16:34:03+00:00Added an answer on May 25, 2026 at 4:34 pm

    Ant filesets don’t retain order – as you’ve seen. The related filelist type does respect ordering, so you might use:

    <filelist id="casesToBeRunning" dir="${src}" files="${cases}" />
    

    Whether the order is respected will depend on what task you plan to use to process the files. Most core Ant tasks that accept a fileset will accept a filelist instead, so you should be ok with them. For non-core tasks it may not work.

    (Note that before Ant 1.8.0 some tasks didn’t respect the order when traversing a filelist – among them copy for example).

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

Sidebar

Related Questions

the link specified below is a jquery timer plugin. http://keith-wood.name/countdown.html Also i use the
i specified the below properties in cfg file. <property name=hibernate.cache.use_second_level_cache>true</property> <property name=hibernate.cache.provider_class> net.sf.ehcache.hibernate.EhCacheProvider</property> In
I'm trying to use SharpZipLib to pull specified files from a zip archive. All
I use WiX3 to generate MSI installation package. I have specified comression flag on
Is there a way to tell SQL server to use specific default seed value
In my web application, I create some framework that use to bind model data
I have created a List objects when application starts and saved them as a
I know how to use JSON to create objects, but there doesn't seem to
I use the MonoTouch.Dialog DialogViewController to create a nice view. private RootElement _createRoot(){ return
I'm trying to create a simple webrequest for a json, i'm attempting to use

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.