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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:14:57+00:00 2026-05-15T22:14:57+00:00

Basically I have the following structure for a javadoc: build +—javadoc +——-Module A +——-Module

  • 0

Basically I have the following structure for a javadoc:

build
+---javadoc
+-------Module A
+-------Module B
+---Index.html

Module X are folders. I’m trying to list the folders there, ignoring subfolders, so I can create the main index. So far This is what I have:

<target name="x">
    <dirset id="dist.contents" dir="build/javadoc" excludes="build/javadoc/*/**"/>
    <property name="prop.dist.contents" refid="dist.contents"/>
    <echo>${prop.dist.contents}</echo>
</target>

But it gives me both the the Module’s folder and all its subfolders. I know it should be a little detail but I can’t figure it out.

  • 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-15T22:14:57+00:00Added an answer on May 15, 2026 at 10:14 pm

    Change to use includes instead of excludes, and specify a wildcard that won’t traverse sub-directories:

    <dirset id="dist.contents" dir="build/javadoc" includes="*"/>
    

    Further restrict the wildcard if needed:

    <dirset id="dist.contents" dir="build/javadoc" includes="Module *"/>
    

    Here’s the docs on directory-based tasks.

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

Sidebar

Related Questions

Ok, I have the following structure. Basically a plugin architecture // assembly 1 -
I basically have the following string in the format: A,B,C:D,E,F What I am trying
I've been battling to get this right...basically I have the following HTML setup: <div
Is there any name for the following DB table design: Basically we have generic
I have the following HTML structure <div id=test-1-yay></div> ... bunch of code ... <div
I have the following folder structure: FolderA --Folder1 --Folder2 --Folder3 ... --Folder99 Folders 1
I have the following HTML structure, (This cannot change). <!-- Comment 1 --> <div
I have an SQL table with basically the following structure: PK (int, primary key),
I have a list of records with the following structure: (Simplified example!) class Rate
I am a newbie in this department.I have following folder structure root root\html root\html\html

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.