Java Doc for ModelBuildScriptGenerator.java in  » IDE-Eclipse » Eclipse-plug-in-development » org » eclipse » pde » internal » build » builder » 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 » IDE Eclipse » Eclipse plug in development » org.eclipse.pde.internal.build.builder 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.pde.internal.build.AbstractScriptGenerator
      org.eclipse.pde.internal.build.builder.AbstractBuildScriptGenerator
         org.eclipse.pde.internal.build.builder.ModelBuildScriptGenerator

ModelBuildScriptGenerator
public class ModelBuildScriptGenerator extends AbstractBuildScriptGenerator (Code)
Generic class for generating scripts for plug-ins and fragments.

Inner Class :protected class CompiledEntry

Field Summary
final public static  StringDOT
    
final public static  StringEXPANDED_DOT
    
final protected  StringPLUGIN_DESTINATION
    
protected  StringfullName
    
protected  BundleDescriptionmodel
     Bundle for which we are generating the script.
protected  StringpluginUpdateJarDestination
    
protected  StringpluginZipDestination
    


Method Summary
protected  CompiledEntry[]extractEntriesToCompile(Properties properties)
    
protected static  booleanfindAndReplaceDot(String[] classpathInfo)
    
public  voidgenerate()
    
public  IPluginEntrygetAssociatedEntry()
    
protected  PropertiesgetBuildProperties()
    
public  StringgetBuildScriptFileName()
    
protected  String[]getClasspathEntries(BundleDescription lookedUpModel)
    
protected  StringgetJARLocation(String jarName)
     Return the full location of the jar file.
public  BundleDescriptiongetModel()
    
protected  BundleDescriptiongetModel(String modelId, String modelVersion)
     Returns the model object which is associated with the given identifier.
public static  StringgetNormalizedName(BundleDescription bundle)
    
protected  PropertiesgetPermissionProperties()
    
public  StringgetPropertiesFileName()
    
protected  StringgetSRCLocation(String jarName)
     Return the name of the zip file for the source for the jar with the given name.
protected  StringgetSRCName(String jarName)
     Return the name of the zip file for the source from the given jar name.
protected  StringgetTempJARFolderLocation(String jarName)
     Return the location for a temporary file for the jar file with the given name.
protected  StringreplaceVariables(String sourceString, boolean compiledElement)
     Substitute the value of an element description variable (variables that are found in files like plugin.xml, e.g.
public  voidsetAssociatedEntry(IPluginEntry associatedEntry)
    
public  voidsetBuildScriptFileName(String buildScriptFileName)
    
public  voidsetFeatureGenerator(FeatureBuildScriptGenerator featureGenerator)
     Sets the featureGenerator.
public  voidsetModel(BundleDescription model)
     Sets the PluginModel to generate script from.
public  voidsetModelId(String modelId, String modelVersion)
     Sets model to generate scripts from.
public  voidsetPropertiesFileName(String propertyFileName)
    
public  voidsetSignJars(boolean value)
     Sets whether or not to sign any constructed jars.
public static  booleanspecialDotProcessing(Properties properties, String[] classpathInfo)
    

Field Detail
DOT
final public static String DOT(Code)



EXPANDED_DOT
final public static String EXPANDED_DOT(Code)



PLUGIN_DESTINATION
final protected String PLUGIN_DESTINATION(Code)
constants



fullName
protected String fullName(Code)



model
protected BundleDescription model(Code)
Bundle for which we are generating the script.



pluginUpdateJarDestination
protected String pluginUpdateJarDestination(Code)



pluginZipDestination
protected String pluginZipDestination(Code)





Method Detail
extractEntriesToCompile
protected CompiledEntry[] extractEntriesToCompile(Properties properties) throws CoreException(Code)

Parameters:
  properties - JAR[]



findAndReplaceDot
protected static boolean findAndReplaceDot(String[] classpathInfo)(Code)



generate
public void generate() throws CoreException(Code)

See Also:   AbstractScriptGenerator.generate



getAssociatedEntry
public IPluginEntry getAssociatedEntry()(Code)



getBuildProperties
protected Properties getBuildProperties() throws CoreException(Code)



getBuildScriptFileName
public String getBuildScriptFileName()(Code)



getClasspathEntries
protected String[] getClasspathEntries(BundleDescription lookedUpModel) throws CoreException(Code)



getJARLocation
protected String getJARLocation(String jarName)(Code)
Return the full location of the jar file.
Parameters:
  jarName - the name of the jar file String



getModel
public BundleDescription getModel()(Code)



getModel
protected BundleDescription getModel(String modelId, String modelVersion) throws CoreException(Code)
Returns the model object which is associated with the given identifier. Returns null if the model object cannot be found.
Parameters:
  modelId - the identifier of the model object to lookup the model object or null



getNormalizedName
public static String getNormalizedName(BundleDescription bundle)(Code)



getPermissionProperties
protected Properties getPermissionProperties() throws CoreException(Code)



getPropertiesFileName
public String getPropertiesFileName()(Code)



getSRCLocation
protected String getSRCLocation(String jarName)(Code)
Return the name of the zip file for the source for the jar with the given name.
Parameters:
  jarName - the name of the jar file String



getSRCName
protected String getSRCName(String jarName)(Code)
Return the name of the zip file for the source from the given jar name.
Parameters:
  jarName - the name of the jar file String



getTempJARFolderLocation
protected String getTempJARFolderLocation(String jarName)(Code)
Return the location for a temporary file for the jar file with the given name.
Parameters:
  jarName - the name of the jar file String



replaceVariables
protected String replaceVariables(String sourceString, boolean compiledElement)(Code)
Substitute the value of an element description variable (variables that are found in files like plugin.xml, e.g. $ws$) by an Ant property.
Parameters:
  sourceString - String



setAssociatedEntry
public void setAssociatedEntry(IPluginEntry associatedEntry)(Code)



setBuildScriptFileName
public void setBuildScriptFileName(String buildScriptFileName)(Code)



setFeatureGenerator
public void setFeatureGenerator(FeatureBuildScriptGenerator featureGenerator)(Code)
Sets the featureGenerator.
Parameters:
  featureGenerator - The featureGenerator to set



setModel
public void setModel(BundleDescription model) throws CoreException(Code)
Sets the PluginModel to generate script from.
Parameters:
  model -
throws:
  CoreException -



setModelId
public void setModelId(String modelId, String modelVersion) throws CoreException(Code)
Sets model to generate scripts from.
Parameters:
  modelId -
throws:
  CoreException -



setPropertiesFileName
public void setPropertiesFileName(String propertyFileName)(Code)



setSignJars
public void setSignJars(boolean value)(Code)
Sets whether or not to sign any constructed jars.
Parameters:
  value - whether or not to sign any constructed JARs



specialDotProcessing
public static boolean specialDotProcessing(Properties properties, String[] classpathInfo)(Code)



Fields inherited from org.eclipse.pde.internal.build.builder.AbstractBuildScriptGenerator
protected AssemblyInformation assemblyData(Code)(Java Doc)
protected Properties buildProperties(Code)(Java Doc)
protected DevClassPathHelper devEntries(Code)(Java Doc)

Methods inherited from org.eclipse.pde.internal.build.builder.AbstractBuildScriptGenerator
abstract protected Properties getBuildProperties() throws CoreException(Code)(Java Doc)
public Set getCompiledElements()(Code)(Java Doc)
public static Properties getExecutionEnvironmentMappings()(Code)(Java Doc)
public void includePlatformIndependent(boolean value)(Code)(Java Doc)
public boolean isIgnoreMissingPropertiesFile()(Code)(Java Doc)
public boolean isPlatformIndependentIncluded()(Code)(Java Doc)
protected StringBuffer readFile(File target) throws IOException(Code)(Java Doc)
protected StringBuffer readFile(InputStream stream) throws IOException(Code)(Java Doc)
protected int scan(StringBuffer buf, int start, String target)(Code)(Java Doc)
protected int scan(StringBuffer buf, int start, String[] targets)(Code)(Java Doc)
public List selectConfigs(IPlatformEnvironment element)(Code)(Java Doc)
public void setCompiledElements(Set compiledElements)(Code)(Java Doc)
public void setDevEntries(String entries)(Code)(Java Doc)
public void setDevEntries(DevClassPathHelper entries)(Code)(Java Doc)
public void setIgnoreMissingPropertiesFile(boolean value)(Code)(Java Doc)
public void setReportResolutionErrors(boolean value)(Code)(Java Doc)
protected void updateVersion(File buildFile, String propertyName, String version) throws IOException(Code)(Java Doc)

Fields inherited from org.eclipse.pde.internal.build.AbstractScriptGenerator
protected static boolean buildingOSGi(Code)(Java Doc)
protected static boolean embeddedSource(Code)(Java Doc)
protected List featuresForFilterRoots(Code)(Java Doc)
protected boolean filterState(Code)(Java Doc)
protected static boolean forceUpdateJarFormat(Code)(Java Doc)
protected Properties platformProperties(Code)(Java Doc)
protected String[] pluginPath(Code)(Java Doc)
protected List pluginsForFilterRoots(Code)(Java Doc)
protected boolean reportResolutionErrors(Code)(Java Doc)
protected AntScript script(Code)(Java Doc)
protected BuildTimeSiteFactory siteFactory(Code)(Java Doc)
protected String[] sitePaths(Code)(Java Doc)
protected static String workingDirectory(Code)(Java Doc)

Methods inherited from org.eclipse.pde.internal.build.AbstractScriptGenerator
public void closeScript()(Code)(Java Doc)
protected String findFile(String location, boolean makeRelative)(Code)(Java Doc)
protected void flushState()(Code)(Java Doc)
abstract public void generate() throws CoreException(Code)(Java Doc)
public static List getConfigInfos()(Code)(Java Doc)
public static boolean getDefaultBuildingOSGi()(Code)(Java Doc)
public static String getDefaultConfigInfos()(Code)(Java Doc)
public static boolean getDefaultEmbeddedSource()(Code)(Java Doc)
public static String getDefaultOutputFormat()(Code)(Java Doc)
public static boolean getForceUpdateJarFormat()(Code)(Java Doc)
public static String getImmutableAntProperty(String key)(Code)(Java Doc)
public static String getImmutableAntProperty(String key, String defaultValue)(Code)(Java Doc)
public String getLocation(BundleDescription model)(Code)(Java Doc)
public String[] getPluginPath()(Code)(Java Doc)
public static boolean getPropertyAsBoolean(String key)(Code)(Java Doc)
public BuildTimeSite getSite(boolean refresh) throws CoreException(Code)(Java Doc)
public static String getWorkingDirectory()(Code)(Java Doc)
protected boolean havePDEUIState()(Code)(Java Doc)
public static boolean isBuildingOSGi()(Code)(Java Doc)
public void openScript(String scriptLocation, String scriptName) throws CoreException(Code)(Java Doc)
public static Properties readProperties(String location, String fileName, int errorLevel) throws CoreException(Code)(Java Doc)
public void setBuildSiteFactory(BuildTimeSiteFactory siteFactory)(Code)(Java Doc)
public void setBuildingOSGi(boolean b)(Code)(Java Doc)
public static void setConfigInfo(String spec) throws CoreException(Code)(Java Doc)
public static void setEmbeddedSource(boolean embed)(Code)(Java Doc)
public void setFilterState(boolean filter)(Code)(Java Doc)
public static void setForceUpdateJar(boolean force)(Code)(Java Doc)
public void setNextId(long nextId)(Code)(Java Doc)
public void setPDEState(State state)(Code)(Java Doc)
public void setPlatformProperties(String filename)(Code)(Java Doc)
public void setPluginPath(String[] path)(Code)(Java Doc)
public void setStateExtraData(HashMap classpath, Map patchData)(Code)(Java Doc)
protected static void setStaticAntProperties(Properties properties)(Code)(Java Doc)
public void setWorkingDirectory(String location)(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.