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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:38:00+00:00 2026-05-26T18:38:00+00:00

I am a newbie to both ANT and XML. The XML syntax seems really

  • 0

I am a newbie to both ANT and XML. The XML syntax seems really confusing.
The following three structures of “echo” are correct in my ANT.

  <echo message="Hello "/>
  <echo message="Hello "></echo>
  <echo> Hello </echo>

but when I use “fileset”,

<fileset dir="." includes = "**/*.java" id="myid" />
<fileset dir="." includes = "**/*.java" id="myid2" ></fileset>

are still correct, but

  <fileset> dir="." includes = "**/*.java" id="myid2" </fileset>

are considered wrong by ANT:

The <fileset> type doesn't support nested text data ("dir="." ...="myid2"").

Is there some general rule to distinguish the syntax difference between the headings such as “fileset” and “echo”, I mean, how can “echo” permits nested text data but “fileset” does not?
Thanks.

  • 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-26T18:38:01+00:00Added an answer on May 26, 2026 at 6:38 pm

    Authors of echo task developed it in such a dual-use way. It can operate with “message” attribute or with child text. But other tasks (fileset is actually a type) do not support such features. Just read official documentation to know all use-cases.

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

Sidebar

Related Questions

Hello PyQt/PySide experts, I am a newbie to both PyQt/PySide and desktop application development
I am a newbie to both PHP and Wordpress (but do ok in C#),
Newbie to LINQ, and trying to write the following query... select f.Section_ID, f.Page_ID, f.SortOrder,
Newbie question: There are three types of Asp.Net controls : HTML server controls, Web
I'm an absolutely newbie to both this site and programming so please be patient
I'm a two day newbie in both NetRexx and Java. I tried to modify
I'm newbie on both ruby and linux, so I'm sure this is trivial but
I'm a newbie to both R and LaTeX and have just recently found how
I am a total newbie when it comes to both java and android coding.
Pardon the newbie question. My data model is really simple (two tables; 200 rows

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.