Java Doc for FeatureBuildScriptGenerator.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.FeatureBuildScriptGenerator

All known Subclasses:   org.eclipse.pde.internal.build.packager.ElementCollector,
FeatureBuildScriptGenerator
public class FeatureBuildScriptGenerator extends AbstractBuildScriptGenerator (Code)
Generates build.xml script for features.


Field Summary
protected  booleananalyseIncludedFeatures
     Indicates whether scripts for this feature included features should be generated.
protected  booleananalysePlugins
     Indicates whether scripts for this feature children' should be generated.
protected  booleanbinaryFeature
    
protected  IFeaturefeature
     Target feature.
protected  StringfeatureFolderName
    
protected  StringfeatureFullName
    
protected  StringfeatureIdentifier
     The identifier of the feature that the build script is being generated for.
protected  StringfeatureRootLocation
    
protected  StringfeatureTempFolder
    
protected  StringsearchedVersion
    
protected  FeaturesourceFeature
    
protected  StringsourceFeatureFullName
    
protected  StringsourceFeatureFullNameVersionned
    
protected  booleansourceFeatureGeneration
    
protected  PluginEntrysourcePlugin
    
protected  booleansourcePluginOnly
    
protected  SourceFeatureInformationsourceToGather
    

Constructor Summary
public  FeatureBuildScriptGenerator()
    
public  FeatureBuildScriptGenerator(String featureId, String versionId, AssemblyInformation informationGathering)
     Constructor FeatureBuildScriptGenerator.

Method Summary
protected  voidcollectElementToAssemble(IFeature featureToCollect)
    
protected  voidcollectElementToAssemble(IPluginEntry entryToCollect)
    
protected  ListcomputeElements()
     Returns a list of BundleDescription objects representing the elements delivered by the feature.
public  voidgenerate()
    
protected  voidgenerateAllPluginsTarget()
     Target responsible for delegating target calls to plug-in's build.xml scripts.
protected  voidgenerateIncludedFeatureBuildFile()
    
protected  voidgenerateZipDistributionWholeTarget()
     Add the zip.distribution target to the given Ant script.
protected  voidgenerateZipSourcesTarget()
     Add the zip.sources target to the given Ant script.
protected  PropertiesgetBuildProperties()
     Return a properties object constructed from the build.properties file for the given feature.
public static  StringgetNormalizedName(IFeature feature)
    
public  StringgetSourcePluginName(PluginEntry plugin, boolean versionSuffix)
    
public  booleanisSourceFeatureGeneration()
     Returns the sourceFeatureGeneration.
public  voidsetAnalyseChildren(boolean generate)
     Set the boolean for whether or not children scripts should be generated.
public  voidsetBinaryFeatureGeneration(boolean binaryFeatureGeneration)
     Sets the binaryFeatureGeneration.
protected  voidsetExtraPlugins(String[] plugins)
    
public  voidsetFeature(String featureID)
     Set this object's feature id to be the given value.
public  voidsetFeatureRootLocation(String featureLocation)
    
public  voidsetGenerateIncludedFeatures(boolean recursiveGeneration)
    
public  voidsetGenerateJnlp(boolean value)
    
public  voidsetGenerateVersionSuffix(boolean value)
    
public  voidsetProduct(String product)
    
public  voidsetScriptGeneration(boolean scriptGeneration)
     Sets the scriptGeneration.
public  voidsetSignJars(boolean value)
     Sets whether or not to sign any constructed jars.
public  voidsetSourceFeatureGeneration(boolean sourceFeatureGeneration)
     Sets the sourceFeatureGeneration.
public  voidsetSourceFeatureId(String id)
    
public  voidsetSourcePluginOnly(boolean b)
    
public  voidsetSourceToGather(SourceFeatureInformation sourceToGather)
     Method setSourceToGather.

Field Detail
analyseIncludedFeatures
protected boolean analyseIncludedFeatures(Code)
Indicates whether scripts for this feature included features should be generated.



analysePlugins
protected boolean analysePlugins(Code)
Indicates whether scripts for this feature children' should be generated.



binaryFeature
protected boolean binaryFeature(Code)
Indicates whether the feature is binary



feature
protected IFeature feature(Code)
Target feature.



featureFolderName
protected String featureFolderName(Code)



featureFullName
protected String featureFullName(Code)
The featurename with its version number



featureIdentifier
protected String featureIdentifier(Code)
The identifier of the feature that the build script is being generated for.



featureRootLocation
protected String featureRootLocation(Code)



featureTempFolder
protected String featureTempFolder(Code)



searchedVersion
protected String searchedVersion(Code)



sourceFeature
protected Feature sourceFeature(Code)



sourceFeatureFullName
protected String sourceFeatureFullName(Code)



sourceFeatureFullNameVersionned
protected String sourceFeatureFullNameVersionned(Code)



sourceFeatureGeneration
protected boolean sourceFeatureGeneration(Code)
Indicates whether a source feature should be generated for this feature



sourcePlugin
protected PluginEntry sourcePlugin(Code)



sourcePluginOnly
protected boolean sourcePluginOnly(Code)



sourceToGather
protected SourceFeatureInformation sourceToGather(Code)




Constructor Detail
FeatureBuildScriptGenerator
public FeatureBuildScriptGenerator()(Code)



FeatureBuildScriptGenerator
public FeatureBuildScriptGenerator(String featureId, String versionId, AssemblyInformation informationGathering) throws CoreException(Code)
Constructor FeatureBuildScriptGenerator.




Method Detail
collectElementToAssemble
protected void collectElementToAssemble(IFeature featureToCollect) throws CoreException(Code)



collectElementToAssemble
protected void collectElementToAssemble(IPluginEntry entryToCollect) throws CoreException(Code)



computeElements
protected List computeElements() throws CoreException(Code)
Returns a list of BundleDescription objects representing the elements delivered by the feature. List of BundleDescription
throws:
  CoreException -



generate
public void generate() throws CoreException(Code)

See Also:   AbstractScriptGenerator.generate



generateAllPluginsTarget
protected void generateAllPluginsTarget() throws CoreException(Code)
Target responsible for delegating target calls to plug-in's build.xml scripts. Plugins are sorted according to the requires chain. Fragments are inserted afterward
throws:
  CoreException -



generateIncludedFeatureBuildFile
protected void generateIncludedFeatureBuildFile() throws CoreException(Code)



generateZipDistributionWholeTarget
protected void generateZipDistributionWholeTarget()(Code)
Add the zip.distribution target to the given Ant script. Zip up the whole feature.



generateZipSourcesTarget
protected void generateZipSourcesTarget()(Code)
Add the zip.sources target to the given Ant script.



getBuildProperties
protected Properties getBuildProperties() throws CoreException(Code)
Return a properties object constructed from the build.properties file for the given feature. If no file exists, then an empty properties object is returned. Properties the feature's build.properties
throws:
  CoreException -
See Also:   Feature



getNormalizedName
public static String getNormalizedName(IFeature feature)(Code)



getSourcePluginName
public String getSourcePluginName(PluginEntry plugin, boolean versionSuffix)(Code)



isSourceFeatureGeneration
public boolean isSourceFeatureGeneration()(Code)
Returns the sourceFeatureGeneration. boolean



setAnalyseChildren
public void setAnalyseChildren(boolean generate)(Code)
Set the boolean for whether or not children scripts should be generated.
Parameters:
  generate - true if the children scripts should begenerated, false otherwise



setBinaryFeatureGeneration
public void setBinaryFeatureGeneration(boolean binaryFeatureGeneration)(Code)
Sets the binaryFeatureGeneration.
Parameters:
  binaryFeatureGeneration - The binaryFeatureGeneration to set



setExtraPlugins
protected void setExtraPlugins(String[] plugins)(Code)



setFeature
public void setFeature(String featureID) throws CoreException(Code)
Set this object's feature id to be the given value.
Parameters:
  featureID - the feature id
throws:
  CoreException - if the given feature id is null



setFeatureRootLocation
public void setFeatureRootLocation(String featureLocation)(Code)



setGenerateIncludedFeatures
public void setGenerateIncludedFeatures(boolean recursiveGeneration)(Code)



setGenerateJnlp
public void setGenerateJnlp(boolean value)(Code)
Sets whether or not to generate JNLP manifests
Parameters:
  value - whether or not to generate JNLP manifests



setGenerateVersionSuffix
public void setGenerateVersionSuffix(boolean value)(Code)
Sets whether or not to generate the feature version suffix
Parameters:
  value - whether or not to generate the feature version suffix



setProduct
public void setProduct(String product)(Code)
Set the location of the .product file
Parameters:
  product - the location of the .product file



setScriptGeneration
public void setScriptGeneration(boolean scriptGeneration)(Code)
Sets the scriptGeneration.
Parameters:
  scriptGeneration - The scriptGeneration to set



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



setSourceFeatureGeneration
public void setSourceFeatureGeneration(boolean sourceFeatureGeneration)(Code)
Sets the sourceFeatureGeneration.
Parameters:
  sourceFeatureGeneration - The sourceFeatureGeneration to set



setSourceFeatureId
public void setSourceFeatureId(String id)(Code)



setSourcePluginOnly
public void setSourcePluginOnly(boolean b)(Code)



setSourceToGather
public void setSourceToGather(SourceFeatureInformation sourceToGather)(Code)
Method setSourceToGather.
Parameters:
  sourceToGather -



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.