Java Doc for Ear.java in  » Build » ANT » org » apache » tools » ant » taskdefs » Java Source Code / Java DocumentationJava Source Code and Java Documentation

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 » Build » ANT » org.apache.tools.ant.taskdefs 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.tools.ant.taskdefs.MatchingTask
   org.apache.tools.ant.taskdefs.Zip
      org.apache.tools.ant.taskdefs.Jar
         org.apache.tools.ant.taskdefs.Ear

Ear
public class Ear extends Jar (Code)
Creates a EAR archive. Based on WAR task
since:
   Ant 1.4



Constructor Summary
public  Ear()
     Create an Ear task.

Method Summary
public  voidaddArchives(ZipFileSet fs)
     Adds zipfileset.
protected  voidcleanUp()
     Make sure we don't think we already have a application.xml next time this task gets executed.
protected  voidinitZipOutputStream(ZipOutputStream zOut)
     Initialize the output stream.
public  voidsetAppxml(File descr)
     File to incorporate as application.xml.
public  voidsetEarfile(File earFile)
     Set the destination file.
protected  voidzipFile(File file, ZipOutputStream zOut, String vPath, int mode)
    


Constructor Detail
Ear
public Ear()(Code)
Create an Ear task.




Method Detail
addArchives
public void addArchives(ZipFileSet fs)(Code)
Adds zipfileset.
Parameters:
  fs - zipfileset to add



cleanUp
protected void cleanUp()(Code)
Make sure we don't think we already have a application.xml next time this task gets executed.



initZipOutputStream
protected void initZipOutputStream(ZipOutputStream zOut) throws IOException, BuildException(Code)
Initialize the output stream.
Parameters:
  zOut - the zip output stream.
throws:
  IOException - on I/O errors
throws:
  BuildException - on other errors



setAppxml
public void setAppxml(File descr)(Code)
File to incorporate as application.xml.
Parameters:
  descr - the descriptor file



setEarfile
public void setEarfile(File earFile)(Code)
Set the destination file.
Parameters:
  earFile - the destination file



zipFile
protected void zipFile(File file, ZipOutputStream zOut, String vPath, int mode) throws IOException(Code)
Overridden from Zip class to deal with application.xml
Parameters:
  file - the file to add to the archive
Parameters:
  zOut - the stream to write to
Parameters:
  vPath - the name this entry shall have in the archive
Parameters:
  mode - the Unix permissions to set.
throws:
  IOException - on error



Fields inherited from org.apache.tools.ant.taskdefs.Jar
protected String emptyBehavior(Code)(Java Doc)

Methods inherited from org.apache.tools.ant.taskdefs.Jar
public void addConfiguredIndexJars(Path p)(Code)(Java Doc)
public void addConfiguredManifest(Manifest newManifest) throws ManifestException(Code)(Java Doc)
public void addConfiguredService(Service service)(Code)(Java Doc)
public void addMetainf(ZipFileSet fs)(Code)(Java Doc)
protected void cleanUp()(Code)(Java Doc)
protected boolean createEmptyZip(File zipFile) throws BuildException(Code)(Java Doc)
protected void finalizeZipOutputStream(ZipOutputStream zOut) throws IOException, BuildException(Code)(Java Doc)
final protected static String findJarName(String fileName, String[] classpath)(Code)(Java Doc)
protected ArchiveState getResourcesToAdd(ResourceCollection[] rcs, File zipFile, boolean needsUpdate) throws BuildException(Code)(Java Doc)
final protected static void grabFilesAndDirs(String file, List dirs, List files) throws IOException(Code)(Java Doc)
protected void initZipOutputStream(ZipOutputStream zOut) throws IOException, BuildException(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void setFilesetmanifest(FilesetManifestConfig config)(Code)(Java Doc)
public void setIndex(boolean flag)(Code)(Java Doc)
public void setJarfile(File jarFile)(Code)(Java Doc)
public void setManifest(File manifestFile)(Code)(Java Doc)
public void setManifestEncoding(String manifestEncoding)(Code)(Java Doc)
public void setWhenempty(WhenEmpty we)(Code)(Java Doc)
public void setWhenmanifestonly(WhenEmpty we)(Code)(Java Doc)
final protected void writeIndexLikeList(List dirs, List files, PrintWriter writer) throws IOException(Code)(Java Doc)
protected void zipFile(InputStream is, ZipOutputStream zOut, String vPath, long lastModified, File fromArchive, int mode) throws IOException(Code)(Java Doc)

Fields inherited from org.apache.tools.ant.taskdefs.Zip
protected Hashtable addedDirs(Code)(Java Doc)
protected String archiveType(Code)(Java Doc)
protected boolean doubleFilePass(Code)(Java Doc)
protected String duplicate(Code)(Java Doc)
protected String emptyBehavior(Code)(Java Doc)
protected Hashtable entries(Code)(Java Doc)
protected boolean skipWriting(Code)(Java Doc)
protected File zipFile(Code)(Java Doc)

Methods inherited from org.apache.tools.ant.taskdefs.Zip
public void add(ResourceCollection a)(Code)(Java Doc)
public void addFileset(FileSet set)(Code)(Java Doc)
final protected void addParentDirs(File baseDir, String entry, ZipOutputStream zOut, String prefix, int dirMode) throws IOException(Code)(Java Doc)
final protected void addResources(FileSet fileset, Resource[] resources, ZipOutputStream zOut) throws IOException(Code)(Java Doc)
final protected void addResources(ResourceCollection rc, Resource[] resources, ZipOutputStream zOut) throws IOException(Code)(Java Doc)
public void addZipGroupFileset(FileSet set)(Code)(Java Doc)
public void addZipfileset(ZipFileSet set)(Code)(Java Doc)
protected void cleanUp()(Code)(Java Doc)
protected boolean createEmptyZip(File zipFile) throws BuildException(Code)(Java Doc)
public void execute() throws BuildException(Code)(Java Doc)
public void executeMain() throws BuildException(Code)(Java Doc)
protected void finalizeZipOutputStream(ZipOutputStream zOut) throws IOException, BuildException(Code)(Java Doc)
public String getComment()(Code)(Java Doc)
public File getDestFile()(Code)(Java Doc)
public String getEncoding()(Code)(Java Doc)
public int getLevel()(Code)(Java Doc)
protected ArchiveState getNonFileSetResourcesToAdd(ResourceCollection[] rcs, File zipFile, boolean needsUpdate) throws BuildException(Code)(Java Doc)
protected ArchiveState getResourcesToAdd(ResourceCollection[] rcs, File zipFile, boolean needsUpdate) throws BuildException(Code)(Java Doc)
protected ArchiveState getResourcesToAdd(FileSet[] filesets, File zipFile, boolean needsUpdate) throws BuildException(Code)(Java Doc)
protected Resource[][] grabNonFileSetResources(ResourceCollection[] rcs)(Code)(Java Doc)
protected Resource[][] grabResources(FileSet[] filesets)(Code)(Java Doc)
protected void initZipOutputStream(ZipOutputStream zOut) throws IOException, BuildException(Code)(Java Doc)
final protected boolean isAddingNewFiles()(Code)(Java Doc)
public boolean isCompress()(Code)(Java Doc)
final protected static boolean isEmpty(Resource[][] r)(Code)(Java Doc)
public boolean isInUpdateMode()(Code)(Java Doc)
public void reset()(Code)(Java Doc)
protected Resource[] selectFileResources(Resource[] orig)(Code)(Java Doc)
public void setBasedir(File baseDir)(Code)(Java Doc)
public void setComment(String comment)(Code)(Java Doc)
public void setCompress(boolean c)(Code)(Java Doc)
public void setDestFile(File destFile)(Code)(Java Doc)
public void setDuplicate(Duplicate df)(Code)(Java Doc)
public void setEncoding(String encoding)(Code)(Java Doc)
public void setFile(File file)(Code)(Java Doc)
public void setFilesonly(boolean f)(Code)(Java Doc)
public void setKeepCompression(boolean keep)(Code)(Java Doc)
public void setLevel(int level)(Code)(Java Doc)
public void setRoundUp(boolean r)(Code)(Java Doc)
public void setUpdate(boolean c)(Code)(Java Doc)
public void setWhenempty(WhenEmpty we)(Code)(Java Doc)
public void setZipfile(File zipFile)(Code)(Java Doc)
protected void zipDir(File dir, ZipOutputStream zOut, String vPath, int mode) throws IOException(Code)(Java Doc)
protected void zipDir(File dir, ZipOutputStream zOut, String vPath, int mode, ZipExtraField[] extra) throws IOException(Code)(Java Doc)
protected void zipFile(InputStream in, ZipOutputStream zOut, String vPath, long lastModified, File fromArchive, int mode) throws IOException(Code)(Java Doc)
protected void zipFile(File file, ZipOutputStream zOut, String vPath, int mode) throws IOException(Code)(Java Doc)

Fields inherited from org.apache.tools.ant.taskdefs.MatchingTask
protected FileSet fileset(Code)(Java Doc)

Methods inherited from org.apache.tools.ant.taskdefs.MatchingTask
public void XsetIgnore(String ignoreString)(Code)(Java Doc)
public void XsetItems(String itemString)(Code)(Java Doc)
public void add(FileSelector selector)(Code)(Java Doc)
public void addAnd(AndSelector selector)(Code)(Java Doc)
public void addContains(ContainsSelector selector)(Code)(Java Doc)
public void addContainsRegexp(ContainsRegexpSelector selector)(Code)(Java Doc)
public void addCustom(ExtendSelector selector)(Code)(Java Doc)
public void addDate(DateSelector selector)(Code)(Java Doc)
public void addDepend(DependSelector selector)(Code)(Java Doc)
public void addDepth(DepthSelector selector)(Code)(Java Doc)
public void addDifferent(DifferentSelector selector)(Code)(Java Doc)
public void addFilename(FilenameSelector selector)(Code)(Java Doc)
public void addMajority(MajoritySelector selector)(Code)(Java Doc)
public void addModified(ModifiedSelector selector)(Code)(Java Doc)
public void addNone(NoneSelector selector)(Code)(Java Doc)
public void addNot(NotSelector selector)(Code)(Java Doc)
public void addOr(OrSelector selector)(Code)(Java Doc)
public void addPresent(PresentSelector selector)(Code)(Java Doc)
public void addSelector(SelectSelector selector)(Code)(Java Doc)
public void addSize(SizeSelector selector)(Code)(Java Doc)
public void addType(TypeSelector selector)(Code)(Java Doc)
public void appendSelector(FileSelector selector)(Code)(Java Doc)
public PatternSet.NameEntry createExclude()(Code)(Java Doc)
public PatternSet.NameEntry createExcludesFile()(Code)(Java Doc)
public PatternSet.NameEntry createInclude()(Code)(Java Doc)
public PatternSet.NameEntry createIncludesFile()(Code)(Java Doc)
public PatternSet createPatternSet()(Code)(Java Doc)
protected DirectoryScanner getDirectoryScanner(File baseDir)(Code)(Java Doc)
final protected FileSet getImplicitFileSet()(Code)(Java Doc)
public FileSelector[] getSelectors(Project p)(Code)(Java Doc)
public boolean hasSelectors()(Code)(Java Doc)
public int selectorCount()(Code)(Java Doc)
public Enumeration selectorElements()(Code)(Java Doc)
public void setCaseSensitive(boolean isCaseSensitive)(Code)(Java Doc)
public void setDefaultexcludes(boolean useDefaultExcludes)(Code)(Java Doc)
public void setExcludes(String excludes)(Code)(Java Doc)
public void setExcludesfile(File excludesfile)(Code)(Java Doc)
public void setFollowSymlinks(boolean followSymlinks)(Code)(Java Doc)
public void setIncludes(String includes)(Code)(Java Doc)
public void setIncludesfile(File includesfile)(Code)(Java Doc)
public void setProject(Project project)(Code)(Java Doc)

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