java.lang .Object org.eclipse.pde.internal.build .AbstractScriptGenerator org.eclipse.pde.internal.build.builder .AbstractBuildScriptGenerator All known Subclasses: org.eclipse.pde.internal.build.builder .ModelBuildScriptGenerator , org.eclipse.pde.internal.build.builder .FeatureBuildScriptGenerator ,AbstractBuildScriptGenerator abstract public class AbstractBuildScriptGenerator extends AbstractScriptGenerator (Code) Instance of this class and subclasses are created on a plugin / feature basis.
buildProperties protected Properties buildProperties(Code) The content of the build.properties file associated to the element for which the script is generated
getBuildProperties abstract protected Properties getBuildProperties() throws CoreException(Code)
getCompiledElements public Set getCompiledElements()(Code)
getExecutionEnvironmentMappings public static Properties getExecutionEnvironmentMappings()(Code)
includePlatformIndependent public void includePlatformIndependent(boolean value)(Code)
isIgnoreMissingPropertiesFile public boolean isIgnoreMissingPropertiesFile()(Code) Returns the ignoreMissingPropertiesFile.
isPlatformIndependentIncluded public boolean isPlatformIndependentIncluded()(Code)
readFile protected StringBuffer readFile(File target) throws IOException (Code) Return a buffer containing the contents of the file at the specified location.
Parameters: target - the file StringBufferthrows: IOException -
scan protected int scan(StringBuffer buf, int start, String target)(Code) Parameters: buf - Parameters: start - Parameters: target - int
scan protected int scan(StringBuffer buf, int start, String [] targets)(Code) Parameters: buf - Parameters: start - Parameters: targets - int
selectConfigs public List selectConfigs(IPlatformEnvironment element)(Code) Method selectConfigs.
Return a list containing all the configurations that are valid for the
element
Parameters: element - List
setCompiledElements public void setCompiledElements(Set compiledElements)(Code) Sets the compiledElements.
Parameters: compiledElements - The compiledElements to set
setDevEntries public void setDevEntries(String entries)(Code)
setIgnoreMissingPropertiesFile public void setIgnoreMissingPropertiesFile(boolean value)(Code) Parameters: value - The ignoreMissingPropertiesFile to set.
setReportResolutionErrors public void setReportResolutionErrors(boolean value)(Code)
updateVersion protected void updateVersion(File buildFile, String propertyName, String version) throws IOException (Code) Custom build scripts should have their version number matching the
version number defined by the feature/plugin/fragment descriptor.
This is a best effort job so do not worry if the expected tags were
not found and just return without modifying the file.
Parameters: buildFile - Parameters: propertyName - Parameters: version - throws: IOException -