Java Doc for AntProject.java in  » J2EE » enhydra-IDE-plugin » org » enhydra » kelp » ant » node » 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 » J2EE » enhydra IDE plugin » org.enhydra.kelp.ant.node 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.enhydra.kelp.common.node.OtterProject
      org.enhydra.kelp.ant.node.AntProject

AntProject
public class AntProject extends OtterProject (Code)

Title:

Description: This class implementing OtterProject independet from IDE. It use build.xml file for holding properties and Ant tool for: XML compiling, DODS generator and application deploing. When this class is instantiaded, must call setWorkingPath() where build.xml file is placed.

Copyright: Copyright (c) 2003

Company:


author:
   Damir Milovic
version:
   1.0


Field Summary
final public static  StringCLASSES_DIR
    
final public static  StringCLASS_PATH
    
final public static  StringCONTENT_DIR
    
final public static  StringCONTENT_PACKAGE_DIR
    
final public static  StringCONTENT_TYPE_EXTENSIONS
    
final public static  StringDEPLOY_CONTENT_ENABLED
    
final public static  StringDEPLOY_INPUT_ENABLED
    
final public static  StringDEPLOY_INVOKE
    
final public static  StringDEPLOY_WAR_ENABLED
    
final public static  StringDEPLOY_WAR_ENHYDRA_LIBS
    
final public static  StringDODS_ACTION
    
final public static  StringDODS_DOML
    
final public static  StringDODS_GENERATED_SRC_DIR
    
final public static  StringDODS_INVOKE
    
final public static  StringDODS_TEMPLATE_SET
    
final public static  StringENHYDRA_DIR
    
final public static  StringINPUT_DIR
    
final public static  StringOUTPUT_DIR
    
final public static  StringOUTPUT_FILE_NAME
    
final public static  StringPROJECT_NAME
    
final public static  StringRESOURCES_DIR
    
final public static  StringSRC_DIR
    
final public static  StringXMLC_DEFAULT_PACKAGE
    
final public static  StringXMLC_GENERETED_SRC_DIR
    
final public static  StringXMLC_INCLUDES
    
final public static  StringXMLC_INVOKE
    
final public static  StringXMLC_LOG_ENABLED
    
final public static  StringXMLC_OPTIONS_FILE
    
final public static  StringXMLC_PACKAGE_NAME
    
final public static  StringXMLC_RESOURCES_ALL
    
final public static  StringXMLC_RESOURCES_SELECTED
    
final public static  StringXMLC_RESOURCE_EXTENSIONS
    
final public static  StringXMLC_VERBOSE
    

Constructor Summary
public  AntProject(String rootPath)
    

Method Summary
public  voidconfigureRunClass()
    
public  OtterFileNode[]findFileNodesByType(String[] parm1)
    
public  OtterTextFileNode[]getAllDeploymentDescs()
    
public  OtterDocumentNode[]getAllDocuments()
    
public  OtterFileNode[]getAllInput()
    
public  StringgetClassOutputPath()
    
public  StringgetClassPath()
    
public  StringgetCodeGenDefaultDestination()
    
public  String[]getExtensions(String patternsetId)
    
public  OtterTextFileNodegetFirstPolicy()
    
public  ObjectgetNativeNode()
    
public  ObjectgetNativeProject()
    
public  OtterNodeFactorygetNodeFactory()
    
public  StringgetOutputFilename()
    
public  OtterNodegetParent()
    
public  OtterProjectgetProject()
    
public  StringgetProperty(String property)
    
public  HashMapgetReplacements()
    
public  StringgetRootPath()
    
public  OtterDocumentNode[]getSelectedDocuments()
    
public  StringgetSourcePath()
    
public  String[]getSourcePathArray()
    
public  StringgetWorkingPath()
    
public  String[]getXMLCOptionsFileParams()
    
public  booleanisDefaultProject()
    
public  booleanisOpenBuild()
    
public  booleanisOutputFileEnabled()
    
public  booleanisWebType()
    
public  voidsave()
    
public  voidsetAllDocuments(OtterDocumentNode[] docNodes)
    
public  voidsetClassOutputPath(String p)
    
public  voidsetExtensions(String patternsetId, String[] extensions)
    
public  voidsetNativeNode(Object parm1)
    
public  voidsetOutputFileEnabled(boolean enable)
    
public  voidsetOutputFilename(String n)
    
public  voidsetProperty(String property, String value)
    
public  voidsetProperty(String property, int value)
    
public  voidsetReplacements(HashMap replacements)
    
public  voidsetSourcePathArray(String[] parm1)
    
public  voidsetWorkingPath(String path)
    
public  voidsetXMLCOptionsFileParams(String[] options)
    

Field Detail
CLASSES_DIR
final public static String CLASSES_DIR(Code)



CLASS_PATH
final public static String CLASS_PATH(Code)



CONTENT_DIR
final public static String CONTENT_DIR(Code)



CONTENT_PACKAGE_DIR
final public static String CONTENT_PACKAGE_DIR(Code)



CONTENT_TYPE_EXTENSIONS
final public static String CONTENT_TYPE_EXTENSIONS(Code)



DEPLOY_CONTENT_ENABLED
final public static String DEPLOY_CONTENT_ENABLED(Code)



DEPLOY_INPUT_ENABLED
final public static String DEPLOY_INPUT_ENABLED(Code)



DEPLOY_INVOKE
final public static String DEPLOY_INVOKE(Code)



DEPLOY_WAR_ENABLED
final public static String DEPLOY_WAR_ENABLED(Code)



DEPLOY_WAR_ENHYDRA_LIBS
final public static String DEPLOY_WAR_ENHYDRA_LIBS(Code)



DODS_ACTION
final public static String DODS_ACTION(Code)



DODS_DOML
final public static String DODS_DOML(Code)



DODS_GENERATED_SRC_DIR
final public static String DODS_GENERATED_SRC_DIR(Code)



DODS_INVOKE
final public static String DODS_INVOKE(Code)



DODS_TEMPLATE_SET
final public static String DODS_TEMPLATE_SET(Code)



ENHYDRA_DIR
final public static String ENHYDRA_DIR(Code)



INPUT_DIR
final public static String INPUT_DIR(Code)



OUTPUT_DIR
final public static String OUTPUT_DIR(Code)



OUTPUT_FILE_NAME
final public static String OUTPUT_FILE_NAME(Code)



PROJECT_NAME
final public static String PROJECT_NAME(Code)



RESOURCES_DIR
final public static String RESOURCES_DIR(Code)



SRC_DIR
final public static String SRC_DIR(Code)



XMLC_DEFAULT_PACKAGE
final public static String XMLC_DEFAULT_PACKAGE(Code)



XMLC_GENERETED_SRC_DIR
final public static String XMLC_GENERETED_SRC_DIR(Code)



XMLC_INCLUDES
final public static String XMLC_INCLUDES(Code)



XMLC_INVOKE
final public static String XMLC_INVOKE(Code)



XMLC_LOG_ENABLED
final public static String XMLC_LOG_ENABLED(Code)



XMLC_OPTIONS_FILE
final public static String XMLC_OPTIONS_FILE(Code)



XMLC_PACKAGE_NAME
final public static String XMLC_PACKAGE_NAME(Code)



XMLC_RESOURCES_ALL
final public static String XMLC_RESOURCES_ALL(Code)



XMLC_RESOURCES_SELECTED
final public static String XMLC_RESOURCES_SELECTED(Code)



XMLC_RESOURCE_EXTENSIONS
final public static String XMLC_RESOURCE_EXTENSIONS(Code)



XMLC_VERBOSE
final public static String XMLC_VERBOSE(Code)




Constructor Detail
AntProject
public AntProject(String rootPath) throws Exception(Code)




Method Detail
configureRunClass
public void configureRunClass()(Code)



findFileNodesByType
public OtterFileNode[] findFileNodesByType(String[] parm1)(Code)



getAllDeploymentDescs
public OtterTextFileNode[] getAllDeploymentDescs()(Code)



getAllDocuments
public OtterDocumentNode[] getAllDocuments()(Code)



getAllInput
public OtterFileNode[] getAllInput()(Code)



getClassOutputPath
public String getClassOutputPath()(Code)



getClassPath
public String getClassPath()(Code)



getCodeGenDefaultDestination
public String getCodeGenDefaultDestination()(Code)



getExtensions
public String[] getExtensions(String patternsetId)(Code)



getFirstPolicy
public OtterTextFileNode getFirstPolicy()(Code)



getNativeNode
public Object getNativeNode()(Code)



getNativeProject
public Object getNativeProject()(Code)



getNodeFactory
public OtterNodeFactory getNodeFactory()(Code)



getOutputFilename
public String getOutputFilename()(Code)
Method declaration



getParent
public OtterNode getParent()(Code)



getProject
public OtterProject getProject()(Code)



getProperty
public String getProperty(String property)(Code)



getReplacements
public HashMap getReplacements()(Code)



getRootPath
public String getRootPath()(Code)



getSelectedDocuments
public OtterDocumentNode[] getSelectedDocuments()(Code)
Get selected documents for XMLC from build.xml file selected documents



getSourcePath
public String getSourcePath()(Code)



getSourcePathArray
public String[] getSourcePathArray()(Code)



getWorkingPath
public String getWorkingPath()(Code)



getXMLCOptionsFileParams
public String[] getXMLCOptionsFileParams()(Code)
Read options from file lines from xmlc options file



isDefaultProject
public boolean isDefaultProject()(Code)



isOpenBuild
public boolean isOpenBuild()(Code)



isOutputFileEnabled
public boolean isOutputFileEnabled()(Code)



isWebType
public boolean isWebType()(Code)
true if application type is web, otherwise it is enhydra app



save
public void save()(Code)



setAllDocuments
public void setAllDocuments(OtterDocumentNode[] docNodes)(Code)
AntXMLCTool call this method when selection is changed
Parameters:
  docNodes -



setClassOutputPath
public void setClassOutputPath(String p)(Code)



setExtensions
public void setExtensions(String patternsetId, String[] extensions)(Code)



setNativeNode
public void setNativeNode(Object parm1)(Code)



setOutputFileEnabled
public void setOutputFileEnabled(boolean enable)(Code)



setOutputFilename
public void setOutputFilename(String n)(Code)
Method declaration
Parameters:
  n -



setProperty
public void setProperty(String property, String value)(Code)



setProperty
public void setProperty(String property, int value)(Code)



setReplacements
public void setReplacements(HashMap replacements)(Code)



setSourcePathArray
public void setSourcePathArray(String[] parm1)(Code)



setWorkingPath
public void setWorkingPath(String path)(Code)



setXMLCOptionsFileParams
public void setXMLCOptionsFileParams(String[] options)(Code)
Write options to file
Parameters:
  options - XMLC options



Fields inherited from org.enhydra.kelp.common.node.OtterProject
final public static int MAP_SCOPE_ALL(Code)(Java Doc)
final public static int MAP_SCOPE_NONE(Code)(Java Doc)
final public static int MAP_SCOPE_SELECTED(Code)(Java Doc)
final public static int TYPE_EN3APP(Code)(Java Doc)
final public static int TYPE_UNKNOWN(Code)(Java Doc)
final public static int TYPE_WEBAPP(Code)(Java Doc)

Methods inherited from org.enhydra.kelp.common.node.OtterProject
abstract public void configureRunClass()(Code)(Java Doc)
abstract public OtterFileNode[] findFileNodesByType(String[] extensions)(Code)(Java Doc)
abstract public OtterTextFileNode[] getAllDeploymentDescs()(Code)(Java Doc)
abstract public OtterDocumentNode[] getAllDocuments()(Code)(Java Doc)
abstract public OtterFileNode[] getAllInput()(Code)(Java Doc)
public OtterXMLCNode[] getAllXMLCNodes()(Code)(Java Doc)
public JarPlan[] getArchivePlans(boolean validate)(Code)(Java Doc)
public String getAutoDeployFilePath()(Code)(Java Doc)
abstract public String getClassOutputPath()(Code)(Java Doc)
abstract public String getClassPath()(Code)(Java Doc)
abstract public String getCodeGenDefaultDestination()(Code)(Java Doc)
public String[] getContentTypes()(Code)(Java Doc)
public String getDeployBootstrapPath()(Code)(Java Doc)
public String getDeployInputPath()(Code)(Java Doc)
public String getDeployResourcePath()(Code)(Java Doc)
public String getDeployRootPath()(Code)(Java Doc)
public int getDeployType()(Code)(Java Doc)
public String[] getDocTypes()(Code)(Java Doc)
public String getDodsParameters()(Code)(Java Doc)
public String getDodsRootPath()(Code)(Java Doc)
public int getDodsType()(Code)(Java Doc)
public String getDomlFilePath()(Code)(Java Doc)
public String getEnhydraPath()(Code)(Java Doc)
public Throwable getException()(Code)(Java Doc)
public String getExstensionParameter()(Code)(Java Doc)
abstract public OtterTextFileNode getFirstPolicy()(Code)(Java Doc)
public String getGenerateToDirectory()(Code)(Java Doc)
public int getMapScope()(Code)(Java Doc)
abstract public Object getNativeProject()(Code)(Java Doc)
abstract public OtterNodeFactory getNodeFactory()(Code)(Java Doc)
public String[] getNonDocumentContentTypes()(Code)(Java Doc)
public String getOutputFilename()(Code)(Java Doc)
public String[][] getPackageMap()(Code)(Java Doc)
public String getProjectJavaPath()(Code)(Java Doc)
public String getProjectRootName()(Code)(Java Doc)
abstract public String getProperty(String property)(Code)(Java Doc)
public String[][] getReplacementTable()(Code)(Java Doc)
abstract public String getRootPath()(Code)(Java Doc)
abstract public String getSourcePath()(Code)(Java Doc)
abstract public String[] getSourcePathArray()(Code)(Java Doc)
public String getSourcePathOf(OtterFileNode node)(Code)(Java Doc)
public int getVerifiedMapScope()(Code)(Java Doc)
abstract public String getWorkingPath()(Code)(Java Doc)
public String getXMLCOptionFilePath()(Code)(Java Doc)
public String getXMLCParameters()(Code)(Java Doc)
abstract public boolean isDefaultProject()(Code)(Java Doc)
public boolean isDeployBuild()(Code)(Java Doc)
public boolean isDeployContent()(Code)(Java Doc)
public boolean isDeployEcho()(Code)(Java Doc)
public boolean isDeployInput()(Code)(Java Doc)
public boolean isDeployInputFilter()(Code)(Java Doc)
public boolean isDeployOverwrite()(Code)(Java Doc)
public boolean isDeployRun()(Code)(Java Doc)
public boolean isDeployStartupJava()(Code)(Java Doc)
public boolean isDeployStartupJavaReadOnly()(Code)(Java Doc)
public boolean isDeployStartupRun()(Code)(Java Doc)
public boolean isDodsBuild()(Code)(Java Doc)
public boolean isDodsEcho()(Code)(Java Doc)
public boolean isDodsOverwrite()(Code)(Java Doc)
abstract public boolean isOpenBuild()(Code)(Java Doc)
public boolean isPrintAccessorInfo()(Code)(Java Doc)
public boolean isPrintDOM()(Code)(Java Doc)
public boolean isPrintDocumentInfo()(Code)(Java Doc)
public boolean isPrintParseInfo()(Code)(Java Doc)
public boolean isSelected()(Code)(Java Doc)
public boolean isVerbose()(Code)(Java Doc)
public boolean isXMLCBuild()(Code)(Java Doc)
protected boolean readBooleanProperty(String property, boolean def)(Code)(Java Doc)
public void setArchivePlans(JarPlan[] plans)(Code)(Java Doc)
public void setAutoDeployFile(String path)(Code)(Java Doc)
abstract public void setClassOutputPath(String p)(Code)(Java Doc)
public void setContentTypes(String[] exts)(Code)(Java Doc)
public void setDeployBootstrapPath(String path)(Code)(Java Doc)
public void setDeployBuild(boolean b)(Code)(Java Doc)
public void setDeployContent(boolean b)(Code)(Java Doc)
public void setDeployEcho(boolean b)(Code)(Java Doc)
public void setDeployInput(boolean b)(Code)(Java Doc)
public void setDeployInputFilter(boolean b)(Code)(Java Doc)
public void setDeployInputPath(String path)(Code)(Java Doc)
public void setDeployOverwrite(boolean b)(Code)(Java Doc)
public void setDeployResourcePath(String path)(Code)(Java Doc)
public void setDeployRootPath(String path)(Code)(Java Doc)
public void setDeployRun(boolean b)(Code)(Java Doc)
public void setDeployStartupJava(boolean b)(Code)(Java Doc)
public void setDeployStartupRun(boolean b)(Code)(Java Doc)
public void setDeployType(int type)(Code)(Java Doc)
public void setDocTypes(String[] exts)(Code)(Java Doc)
public void setDodsBootstrapPath(String path)(Code)(Java Doc)
public void setDodsBuild(boolean b)(Code)(Java Doc)
public void setDodsEcho(boolean b)(Code)(Java Doc)
public void setDodsOverwrite(boolean b)(Code)(Java Doc)
public void setDodsParameters(String p)(Code)(Java Doc)
public void setDodsRootPath(String path)(Code)(Java Doc)
public void setDodsType(int type)(Code)(Java Doc)
public void setDomlFilePath(String path)(Code)(Java Doc)
public void setException(Throwable e)(Code)(Java Doc)
public void setExstensionParameter(String ext)(Code)(Java Doc)
public void setMapScope(int i)(Code)(Java Doc)
public void setOutputFilename(String n)(Code)(Java Doc)
public void setPackageMap(String[][] map)(Code)(Java Doc)
public void setPrintAccessorInfo(boolean b)(Code)(Java Doc)
public void setPrintDOM(boolean b)(Code)(Java Doc)
public void setPrintDocumentInfo(boolean b)(Code)(Java Doc)
public void setPrintParseInfo(boolean b)(Code)(Java Doc)
abstract public void setProperty(String property, String value)(Code)(Java Doc)
abstract public void setProperty(String property, int value)(Code)(Java Doc)
public void setReplacementTable(String[][] table)(Code)(Java Doc)
public void setSelected(boolean b)(Code)(Java Doc)
abstract public void setSourcePathArray(String[] pathAsArray)(Code)(Java Doc)
public void setVerbose(boolean b)(Code)(Java Doc)
abstract public void setWorkingPath(String path)(Code)(Java Doc)
public void setXMLCBuild(boolean b)(Code)(Java Doc)
public void setXMLCOptionFilePath(String filename)(Code)(Java Doc)
public void setXMLCParameters(String p)(Code)(Java Doc)
protected void writeBooleanProperty(String property, boolean b)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.