Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
1Activity

Table Of Contents

1 Apache Ant User Manual Authors
2 Feedback and Troubleshooting
3 Introduction
3.1 Why?
4 Installing Ant
4.1 Getting Ant
4.1.1 Binary Edition
4.1.2 Source Edition
4.2 System Requirements
4.3 Installing Ant
4.3.1 Setup
4.3.2 Optional Tasks
4.3.3 Windows and OS/2
4.3.4 Unix (bash)
4.3.5 Unix (csh)
4.3.6 Advanced
4.4 Building Ant
4.5 Library Dependencies
4.6 Platform Issues
4.6.1 Unix
4.6.2 Microsoft Windows
4.6.3 Cygwin
4.6.4 Apple MacOS X
4.6.5 Novell Netware
4.6.6 Other platforms
5 Running Ant
5.1 Command Line
5.1.1 Command-line Options Summary
5.1.2 Library Directories
5.1.3 Files
5.1.4 Environment Variables
5.1.5 Java System Properties
5.1.6 Cygwin Users
5.1.7 OS/2 Users
5.2 Running Ant via Java
6 Using Ant
6.1 Writing a Simple Buildfile
6.1.1 Projects
6.1.2 Targets
6.1.3 Tasks
6.1.4 Properties
6.1.5 Built-in Properties
6.1.6 Example Buildfile
6.1.7 Token Filters
6.1.8 Path-like Structures
6.1.9 Command-line Arguments
7.3.1 Assertions
7.3.2 Description
7.3.3 Directory-based Tasks
7.3.3.1 Patternset
7.3.4 DirSet
7.3.5 FileList
7.3.6 FileSet
7.3.7 Mapping File Names
7.3.8 FilterChains and FilterReaders
7.3.8.1 FilterReader
7.3.8.2 Nested Elements:
7.3.8.3 ClassConstants
7.3.8.4 EscapeUnicode
7.3.8.5 ExpandProperties
7.3.8.6 HeadFilter
7.3.8.7 LineContains
7.3.8.8 LineContainsRegExp
7.3.8.9 PrefixLines
7.3.8.10 ReplaceTokens
7.3.8.11 StripJavaComments
7.3.8.12 StripLineBreaks
7.3.8.13 StripLineComments
7.3.8.14 TabsToSpaces
7.3.8.15 TailFilter
7.3.8.16 DeleteCharacters
7.3.8.17 ConcatFilter
7.3.8.18 TokenFilter
7.3.8.19 LineTokenizer
7.3.8.20 FileTokenizer
7.3.8.21 StringTokenizer
7.3.8.22 ReplaceString
7.3.8.23 ContainsString
7.3.8.24 ReplaceRegex
7.3.8.25 ContainsRegex
7.3.8.26 Trim
7.3.8.27 IgnoreBlank
7.3.8.28 DeleteCharacters
7.3.8.29 ScriptFilter
7.3.8.30 Custom tokenizers and string filters
7.3.9 FilterSet
7.3.9.1 Filterset
7.3.9.2 Filter
7.3.9.3 Filtersfile
7.3.10 PatternSet
7.3.11 Permissions
7.3.11.1 Base set
7.3.12 PropertySet
7.3.12.1 Parameters specified as nested elements
7.3.13 Selectors
7.3.13.1 How to use a Selector
7.3.13.2 Core Selectors
7.3.13.3 Selector Containers
7.3.13.4 And Selector
7.3.13.5 Majority Selector
7.3.13.6 None Selector
7.3.13.7 Not Selector
7.3.13.8 Or Selector
7.3.13.9 Selector Reference
7.3.13.10 Custom Selectors
7.3.14 XMLCatalog
7.3.14.1 Entity/DTD/URI Resolution Algorithm
7.3.14.2 XMLCatalog attributes
7.3.14.3 XMLCatalog nested elements
7.3.15 ZipFileSet
7.4 Optional Types
7.4.1 ClassFileSet
7.4.2 Extension
7.4.3 ExtensionSet
7.5 XML Namespace Support
7.5.1 History
7.5.2 Motivation
7.5.3 Assigning Namespaces
7.5.4 Default namespace
7.5.5 Namespaces and Nested Elements
7.5.6 Namespaces and Attributes
7.5.7 Mixing Elements from Different Namespaces
7.5.8 Namespaces and Antlib
7.6 Antlib
7.6.1 Description
7.6.2 Antlib namespace
7.6.3 Current namespace
7.6.4 Other examples and comments
7.7 Custom Components
7.7.1 Overview
7.7.2 Definition and use
7.7.3 Custom Conditions
7.7.4 Custom Selectors
7.7.5 Custom Filter Readers
8 Listeners & Loggers
8.1 Overview
8.1.1 Listeners
8.1.2 Loggers
8.2 Built-in Listeners/Loggers
8.2.1 DefaultLogger
8.2.2 NoBannerLogger
8.2.3 MailLogger
8.2.4 AnsiColorLogger
8.2.5 Log4jListener
8.2.6 XmlLogger
8.3 Writing your own
9 Ant in Anger (Using Apache Ant in a Production Development System)
9.1 Introduction
9.2 Core Practices
9.2.1 Clarify what you want Ant to do
9.2.2 Define standard targets
9.2.3 Extend Ant through new tasks
9.2.4 Embrace Automated Testing
9.2.5 Learn to Use and love the add-ons to Ant
9.3 Cross Platform Ant
9.3.1 Command Line apps: Exec/ Apply
9.3.2 Cross platform paths
9.4 Team Development Processes
9.5 Deploying with Ant
9.6 Directory Structures
9.6.1 Simple Project
9.6.2 Interface and Implementation split
9.6.3 Loosely Coupled Sub Projects
9.6.4 Integrated sub projects
9.7 Ant Update Policies
9.8 Installing with Ant
9.9 Tips and Tricks
9.9.1 get
9.9.2 i18n
9.9.3 Use Property Files
9.9.4 Faster compiles with Jikes
9.9.5 #include targets to simplify multi build.xml projects
9.9.6 Implement complex Ant builds through XSL
9.9.7 Change the invocation scripts
9.9.8 Write all code so that it can be called from Ant
9.9.9 Use the replace task to programmatic modify text files in your project
9.9.10 Use the mailing lists
9.10 Putting it all together
9.11 The Limits of Ant
9.11.1 It's not a scripting language
9.11.2 It's not Make
9.11.3 It's not meant to be a nice language for humans
9.11.4 Big projects still get complicated fast
9.11.5 You still need all the other foundational bits of a software project
9.12 Endpiece
9.13 Further Reading
9.14 About the Author
10 Apache Ant Task Design Guidelines
10.1 Don't break existing builds
10.2 Use built in helper classes
10.2.1 Execute
10.2.2 Java, ExecuteJava
10.2.3 Project and related classes
10.3 Obey the Sun/Java style guidelines
10.4 Attributes and elements
10.5 Support classpaths
10.6 Design for controlled re-use
10.7 Do your own Dependency Checking
10.8 Support Java 1.2 through Java 1.4
10.9 Refactor
10.10 Test
10.11 Document
10.12 Licensing and Copyright
10.12.1 Dont re-invent the wheel
10.13 Submitting to Ant
10.14 Checklists
10.14.1 Checklist before submitting a patch
10.14.2 Checklist before submitting a new task
11 Writing Your Own Task
11.1 The Life-cycle of a Task
11.2 Conversions Ant will perform for attributes
11.3 Supporting nested elements
11.4 Nested Types
11.5 TaskContainer
11.6 Examples
11.7 Build Events
11.8 Source code integration
12 Tasks Designed for Extension
13 InputHandler
13.1 Overview
13.2 InputHandler
13.2.1 DefaultInputHandler
13.2.2 PropertyFileInputHandler
13.3 InputRequest
14 Using Ant Tasks Outside of Ant
14.1 Rationale
14.1.1 Pros
14.1.2 Cons
14.2 Example
15 Tutorial: Writing Tasks
15.1 Set up the build environment
15.2 Write the Task
15.3 Use the Task
15.4 Integration with TaskAdapter
15.9 Our task in a little more complex version
15.10 Test the Task
15.11 Resources
16 License
0 of .
Results for:
No results containing your search query
P. 1
AntGuide1.6.0

AntGuide1.6.0

Ratings: (0)|Views: 2 |Likes:
Published by Raks Cool

More info:

Published by: Raks Cool on May 05, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/05/2011

pdf

text

original

You're Reading a Free Preview
Pages 4 to 28 are not shown in this preview.
You're Reading a Free Preview
Page 32 is not shown in this preview.
You're Reading a Free Preview
Pages 36 to 120 are not shown in this preview.
You're Reading a Free Preview
Pages 124 to 130 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->