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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:29:58+00:00 2026-05-21T19:29:58+00:00

Some tasks in Ant have some pretty strange behavior. For example, javac silently ignores

  • 0

Some tasks in Ant have some pretty strange behavior. For example, javac silently ignores the executable attribute if fork is not set to true. Another example is the copy task that silently ignores copying files if it means overwriting another file.

We have made our own tasks where it is more difficult to make mistakes. You always need to specify overwrite=true/false for example.

Is there a way to disable the standard javac and copy tasks so that people don’t use them accidentally?

I don’t want to provide a custom ant release.

There is a file that is imported from all build scripts that imports our own ant tasks so it would be possible to undefine an ant task here if there is a way to do that.

  • 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-21T19:29:58+00:00Added an answer on May 21, 2026 at 7:29 pm

    I think this is not possible without creating your own Ant release by removing task implementation classes from the ant jars.

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

Sidebar

Related Questions

Using cruisecontrol for continuous integration, I have some annoyances with Weblogic Ant tasks and
Suppose I have some Ant task - say javac or junit - if either
I have a ant javac task which is supposed to run some annotation processor.
I have some Ant tasks in my Eclipse JDT project that I want to
I have an android application in which I have to execute some tasks at
I have some rake tasks that run each minute and of course that spawns
I am quite new to ant and have been looking at the tasks. I
I have an ant task that executes some command on a list of files.
So I have a maven project which produces a jar package containing some ant
I have an ant task that contains javac task inside. It reports about error

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.