Contact: Web / Voice / Email / Tips
Simple Thoughts Blog - Java and Web Technologies

Simple solutions for complex problems.

 

How To Run Apache Ant Recursively From Any Sub-Folders

July 26th, 2006 by Angsuman Chakraborty

The following command will recursively search for ant build file in the directories and then its parent directories, till it finds it; and then executes it. In short you can use this command to manage your project from any subdirectory of the project.

ant -s [build file name]

If you are specifying a target on the commandline then you should specify it as follows:

ant target_name -s [build file name]

Note: build file name is optional; default is build.xml


Filed under How To, Java Software, Tech Note | | RSS 2.0 | Trackback this Article | Email this Article

You may also like to read

»How To Recursively Delete Files And Directories Using Java
»Solving Failure To Forward Emails in Mozilla Thunderbird by Message Filters; Understanding Thunderbird Account Architecture
»Free Java Utility To Touch Files (Cross Platform)
»How To Enable / Use .htaccess / Nice permalinks in Apache Web Server on Windows
»How To Use Apache HTTP WebDav Server With Windows XP Explorer
»Open Source Java Application Server Geronimo Passes Java 2 Enterprise Edition 1.4 Certification
»Tomcat 5.5 with Apache 2.0 Integration in 5 Simple Steps
»JSP / Servlet - PHP Integration Options
»WebDAV, DeltaV, Apache Slide - Resources and Guides
»What Java Needs Most To Be The Preferred Web 2.0 Language
»Shutdown Apache James Mail Server - Java Utility
»Thunderbird: How To Automatically Forward Email in Certain Folders?
»How To Enable Nice Friendly URL in Vanilla Forum
»Apache Harmony?
»How To Run PHP in HTML Pages

Looking forward to hear your thoughts.



Please enter the code shown below ( to verify that you are human ) before you click Submit Comment.

No. 1 method to ethically increase your blog traffic and reach.

Translate

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanPřeložit do Čech/CzechOversætte hen til Dansk/DanishKääntää jotta Finnish/FinnishLefordít -hoz Magyar/HungarianÞýða til Íslenska/IcelandicTraducir a Latinoamericano Español/Latin American Spanishtagapagsalin sa Filipino/FilipinoTłumaczyć wobec Polski/PolishA traduce la spre Român/RomanianPrevesti za Srpski/Serbiantolmačiti v slovenski/SlovenianÖversätta till Svensk/SwedishChyfieitha at Cymraeg/Welshtercüme etmek -e doğru Türk/TurkishPrevesti to Hrvatski/CroatianПревеждам към Българин/BulgarianTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Korean中文翻译/Chinese Simplifiedترجمة الى العربية/ArabicVertaal aan het Nederlands/DutchΜεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/Norwegian中文翻译/Chinese TraditionalTraduzir a Língua portuguesa brasileira/Brazilian PortugueseReddo ut Latin/Latin

Taragana Network

»Ctrl-S
»Enterprise Blog
»Free Book on Eye Care by Natural Therapy
»Health Care Blog
»Hot Computer Jobs Blog
»Pet Care & Grooming News and Tips
»Phil Law Blog
»Taragana - Software Outsourcing
»The Angsuman Chakraborty Blog
»The Diabetes Cure Blog
»The Eye Treatment Blog
»The Stem Cell Blog
»Weblog Hosting Blog
"A human being is a part of a whole, called by us _universe_, a part limited in time and space. He experiences himself, his thoughts and feelings as something separated from the rest... a kind of optical delusion of his consciousness. This delusion is a kind of prison for us, restricting us to our personal desires and to affection for a few persons nearest to us. Our task must be to free ourselves from this prison by widening our circle of compassion to embrace all living creatures and the whole of nature in its beauty." - Albert Einstein