org.apache.tools.ant.taskdefs.optional.genjar

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Code Analyzer » GenJar » org.apache.tools.ant.taskdefs.optional.genjar 
org.apache.tools.ant.taskdefs.optional.genjar

Specialized Ant task that constructs jar files containing all classes referenced by a given set of classes.

The <genjar> Ant task takes a set of class names that are used to generate the set of all referenced classes. A Jar file is constructed from this set of classes after filtration rules have been applied.

Java Source File NameTypeComment
ClassFilter.javaClass Determines whether a class is to be included in the jar.

Buildfile example:

 <classfilter>
 <include name="com.foo." >
<exclude name="org" >
</classfilter>

As a class' dependancy lists are generated, each class is checked against a ClassFilter by calling the include method.

ClassSpec.javaClass

Represents a <class> element.

Buildfile example:

 <class name="com.riggshill.ant.genjar.GenJar"/>
 <class name="com.riggshill.xml.Editor" bean="yes"/>
 

When the <class> element is encountered, a new ClassSpec is instantiated to represent that element.

ClassUtil.javaClass Examines a class file and returns a list of all referenced classes.
author:
   Original Code: John W.
FileResolver.javaClass Represents a directory in the classpath.

When a directory is located in the classpath, a FileResolver is instantiated that encapsulates the path and performs searches in that directory.

GenJar.javaClass Driver class for the task.

This class is instantiated when Ant encounters the <genjar> element.
author:
   Original Code: John W.

GenJarTest.javaClass
JarEntrySpec.javaClass Represents one object (file) that is to be placed into the jar.

This includes all <class> names specified in the project file, all <resource> files specified in the project file and all generated class references.


author:
   Original Code: John W.

JarResolver.javaClass Represents a jar file in the classpath.

When a Jar file is located in the classpath, a JarResolver is instantiated that remembers the path and performs searches in that jar.

JarSpec.javaInterface Interface for file-like elements specified in the project file.
author:
   Original Code: John W.
LibrarySpec.javaClass This class encapsulates the concept of a library - either a set of files in a directory or a jar's content.
Logger.javaClass

A simple adapter class that wraps the logging capabilities of the Project class.

Mft.javaClass Encapsulates the data destined for the jar's Manifest file.

An Mft instance represents the <manifest> element in the project file. An Mft is always created by GenJar (whether or not there's a manifest element) to handle the Manifest creation duties.
author:
   Original Code: John W.

PathResolver.javaClass

A PathResolver is used for each component of the classpath.

Each type of component is a specialization of this base class.

Resource.javaClass Represents a <resource> element within the project file.

In addition to holding the final jar name of the resource, it performs the actual resolution of file names along with expansion of filesets .
author:
   Original Code: John W.

ZipResolver.javaClass Represents a zip file in the classpath.

When a Zip file is located in the classpath, a ZipResolver is instantiated that encapsulates the path and performs searches in that zip.

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.