Java Doc for BuildScriptGenerator.java in » IDE-Eclipse » Eclipse-plug-in-development » org » eclipse » pde » internal » build » 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
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.eclipse.pde.internal.build
.AbstractScriptGenerator
org.eclipse.pde.internal.build
.BuildScriptGenerator
All known Subclasses:
org.eclipse.pde.internal.build.packager
.PackagerGenerator
,
BuildScriptGenerator
public
class BuildScriptGenerator extends
AbstractScriptGenerator
(Code)
Field Summary
protected
boolean
children
Indicates whether scripts for a feature's children should be generated.
protected
DevClassPathHelper
devEntries
Additional dev entries for the compile classpath.
protected
String
[]
elements
Source elements for script generation.
protected
boolean
generateArchive
Indicates whether the assemble script should contain the archive generation statement.
protected
boolean
generateBuildScript
protected
boolean
generateFeatureVersionSuffix
protected
boolean
generateJnlp
protected
boolean
groupConfigs
protected
boolean
includePlatformIndependent
protected
boolean
recursiveGeneration
protected
boolean
signJars
Method Summary
public
void
generate
()
protected
void
generateFeatures
(
List
features)
protected
void
generateModels
(
List
models)
protected
void
generatePackageScripts
(
AssemblyInformation
assemblageInformation,
String
[] featureInfo,
BuildTimeSiteFactory
factory)
protected
void
generateVersionsLists
(
AssemblyInformation
assemblageInformation)
protected
HashMap
getArchivesFormat
()
public
void
includePlatformIndependent
(boolean b)
protected
void
readVersions
(
Properties
properties,
String
fileName)
public
void
realSetArchivesFormat
(
String
archivesFormatAsString)
protected
void
recordVersion
(
String
name, Version version,
Properties
properties)
protected
void
saveVersions
(
Properties
properties,
String
fileName)
public
void
setArchivesFormat
(
String
archivesFormatAsString)
public
void
setBundles
(BundleDescription[] bundles)
public
void
setChildren
(boolean children)
public
void
setDevEntries
(
String
devEntries)
public
void
setElements
(
String
[] elements)
public
void
setGenerateArchive
(boolean generateArchive)
public
void
setGenerateAssembleScript
(boolean generateAssembleScript)
public
void
setGenerateFeatureVersionSuffix
(boolean value)
public
void
setGenerateJnlp
(boolean value)
public
void
setGenerateVersionsList
(boolean generateVersionsList)
public
void
setGroupConfigs
(boolean value)
public
void
setIgnoreMissingPropertiesFile
(boolean value)
public
void
setImmutableAntProperties
(
Properties
properties)
public
void
setProduct
(
String
value)
public
void
setRecursiveGeneration
(boolean recursiveGeneration)
Sets the recursiveGeneration.
public
void
setReportResolutionErrors
(boolean value)
public
void
setSignJars
(boolean value)
protected
void
sortElements
(
List
features,
List
plugins)
Separate elements by kind.
Field Detail
children
protected
boolean children
(Code)
Indicates whether scripts for a feature's children should be generated.
devEntries
protected
DevClassPathHelper
devEntries
(Code)
Additional dev entries for the compile classpath.
elements
protected
String
[] elements
(Code)
Source elements for script generation.
generateArchive
protected
boolean generateArchive
(Code)
Indicates whether the assemble script should contain the archive generation statement.
generateBuildScript
protected
boolean generateBuildScript
(Code)
generateFeatureVersionSuffix
protected
boolean generateFeatureVersionSuffix
(Code)
generateJnlp
protected
boolean generateJnlp
(Code)
groupConfigs
protected
boolean groupConfigs
(Code)
Indicates whether the resulting archive will contain a group of all the configurations
includePlatformIndependent
protected
boolean includePlatformIndependent
(Code)
recursiveGeneration
protected
boolean recursiveGeneration
(Code)
signJars
protected
boolean signJars
(Code)
Method Detail
generate
public
void generate() throws CoreException
(Code)
throws:
CoreException -
generateFeatures
protected
void generateFeatures(
List
features) throws CoreException
(Code)
generateModels
protected
void generateModels(
List
models) throws CoreException
(Code)
Parameters:
models -
throws:
CoreException -
generatePackageScripts
protected
void generatePackageScripts(
AssemblyInformation
assemblageInformation,
String
[] featureInfo,
BuildTimeSiteFactory
factory) throws CoreException
(Code)
generateVersionsLists
protected
void generateVersionsLists(
AssemblyInformation
assemblageInformation) throws CoreException
(Code)
getArchivesFormat
protected
HashMap
getArchivesFormat()
(Code)
includePlatformIndependent
public
void includePlatformIndependent(boolean b)
(Code)
readVersions
protected
void readVersions(
Properties
properties,
String
fileName)
(Code)
realSetArchivesFormat
public
void realSetArchivesFormat(
String
archivesFormatAsString) throws CoreException
(Code)
recordVersion
protected
void recordVersion(
String
name, Version version,
Properties
properties)
(Code)
saveVersions
protected
void saveVersions(
Properties
properties,
String
fileName) throws CoreException
(Code)
setArchivesFormat
public
void setArchivesFormat(
String
archivesFormatAsString)
(Code)
setBundles
public
void setBundles(BundleDescription[] bundles)
(Code)
setChildren
public
void setChildren(boolean children)
(Code)
Parameters:
children -
setDevEntries
public
void setDevEntries(
String
devEntries)
(Code)
Parameters:
devEntries -
setElements
public
void setElements(
String
[] elements)
(Code)
Parameters:
elements -
setGenerateArchive
public
void setGenerateArchive(boolean generateArchive)
(Code)
setGenerateAssembleScript
public
void setGenerateAssembleScript(boolean generateAssembleScript)
(Code)
Parameters:
generateAssembleScript - The generateAssembleScript to set.
setGenerateFeatureVersionSuffix
public
void setGenerateFeatureVersionSuffix(boolean value)
(Code)
setGenerateJnlp
public
void setGenerateJnlp(boolean value)
(Code)
setGenerateVersionsList
public
void setGenerateVersionsList(boolean generateVersionsList)
(Code)
Whether or not to generate plugin & feature versions lists
Parameters:
generateVersionsList -
setGroupConfigs
public
void setGroupConfigs(boolean value)
(Code)
setIgnoreMissingPropertiesFile
public
void setIgnoreMissingPropertiesFile(boolean value)
(Code)
Parameters:
value - The ignoreMissingPropertiesFile to set.
setImmutableAntProperties
public
void setImmutableAntProperties(
Properties
properties)
(Code)
setProduct
public
void setProduct(
String
value)
(Code)
setRecursiveGeneration
public
void setRecursiveGeneration(boolean recursiveGeneration)
(Code)
Sets the recursiveGeneration.
Parameters:
recursiveGeneration - The recursiveGeneration to set
setReportResolutionErrors
public
void setReportResolutionErrors(boolean value)
(Code)
Parameters:
value - The reportResolutionErrors to set.
setSignJars
public
void setSignJars(boolean value)
(Code)
sortElements
protected
void sortElements(
List
features,
List
plugins)
(Code)
Separate elements by kind.
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.