Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

[Ant] Trying to override old definition of task $taskname

I've seen the following message printed out as part of our build process for quite a few months now - and decided to try and fix it today.

compile-common:
Trying to override old definition of task runservertests
Trying to override old definition of task canoo
Trying to override old definition of task dbunit

I found that moving my <taskdef>'s from the root level (right under <project>) to inside my "init" target fixed the problem. Easy fix, no more messages.

Posted in Java at Jun 06 2003, 08:32:29 AM MDT 3 Comments
Comments:

Helpful detail. Worked for me too. Thanks!

Posted by LH on October 20, 2006 at 09:51 PM MDT #

I had a similar problem: I got repeated "Trying to override old definition of task for" warnings. In my case, I eventually tracked it down to the fact that I had ant-contrib in my classpath in two separate locations. In this situation, Ant will load both versions and correctly warn that there's a problem.

Posted by 195.212.29.79 on February 20, 2012 at 03:54 PM MST #

Hi, We have this information in 3 xml files, and i am facing the same issue that its repeating the messages. I dont have any init targets to move this piece of code. Can anyone show an example of the init and how are you calling this taskdef inside that.

Posted by Madhu on November 21, 2016 at 07:10 PM MST #

Post a Comment:
  • HTML Syntax: Allowed