|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectaQute.bnd.osgi.Domain
aQute.bnd.osgi.Processor
aQute.bnd.osgi.Analyzer
aQute.bnd.osgi.Builder
aQute.bnd.build.ProjectBuilder
public class ProjectBuilder
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class aQute.bnd.osgi.Processor |
|---|
Processor.CL, Processor.FileLine |
| Nested classes/interfaces inherited from interface aQute.service.reporter.Reporter |
|---|
Reporter.SetLocation |
| Nested classes/interfaces inherited from interface aQute.service.reporter.Report |
|---|
Report.Location |
| Field Summary |
|---|
| Fields inherited from class aQute.bnd.osgi.Analyzer |
|---|
msgs |
| Fields inherited from class aQute.bnd.osgi.Processor |
|---|
LIST_SPLITTER |
| Constructor Summary | |
|---|---|
ProjectBuilder(Project project)
|
|
ProjectBuilder(ProjectBuilder builder)
|
|
| Method Summary | |
|---|---|
Jar[] |
builds()
Add some extra stuff to the builds() method like exporting. |
protected void |
changedFile(File f)
|
void |
doBaseline(Jar dot)
Compare this builder's JAR with a baseline |
protected void |
doneBuild(Builder builder)
Called when we 're done with a builder. |
void |
fillInLocationForPackageInfo(Report.Location location,
String packageName)
|
Jar |
getBaselineJar()
This method attempts to find the baseline jar for the current project. |
List<Jar> |
getClasspath()
|
List<Run> |
getExportedRuns()
Return the bndrun files that need to be exported |
Jar |
getLastRevision()
|
protected Object[] |
getMacroDomains()
We put our project and our workspace on the macro path. |
Project |
getProject()
|
Builder |
getSubBuilder()
|
void |
init()
Allow any local initialization by subclasses before we build. |
long |
lastModified()
|
void |
report(Map<String,Object> table)
Create a report of the settings |
protected void |
startBuild(Builder builder)
Called when we start to build a builder |
String |
toString()
Printout of the status of this processor for toString() |
| Methods inherited from class aQute.bnd.osgi.Builder |
|---|
_githead, _maven_version, _permissions, addAll, addAll, addSourcepath, addSourcepath, analyze, build, cleanupVersion, close, doDiff, doNotCopy, getClasspathEntrySuffix, getDoNotCopy, getExtra, getSourcePath, getSubBuilder, getSubBuilders, hasSources, isInScope, removeBundleSpecificHeaders, setSourcepath, setTypeSpecificPlugins |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectBuilder(Project project)
public ProjectBuilder(ProjectBuilder builder)
| Method Detail |
|---|
public long lastModified()
lastModified in class Processorprotected Object[] getMacroDomains()
getMacroDomains in class Processor
public Builder getSubBuilder()
throws Exception
getSubBuilder in class BuilderExceptionpublic Project getProject()
public void init()
Builder
init in class Builderpublic List<Jar> getClasspath()
getClasspath in class Analyzerprotected void changedFile(File f)
changedFile in class Builder
public void doBaseline(Jar dot)
throws Exception
doBaseline in class BuilderException
public void fillInLocationForPackageInfo(Report.Location location,
String packageName)
throws Exception
Exception
public Jar getLastRevision()
throws Exception
Exception
public Jar getBaselineJar()
throws Exception
The instruction can then specify the following options:
version : baseline version from repository
file : a file path
If neither is specified, the current version is used to find the highest
version (without qualifier) that is below the current version. If a
version is specified, we take the highest version with the same base
version.
Since baselining is expensive and easily generates errors you must enable
it. The easiest solution is to -baseline: *. This will match all
sub builders and will calculate the version.
Exception
public void report(Map<String,Object> table)
throws Exception
report in class BuilderExceptionpublic String toString()
Processor
toString in class Processor
public List<Run> getExportedRuns()
throws Exception
Exception
public Jar[] builds()
throws Exception
builds in class BuilderExceptionprotected void startBuild(Builder builder)
startBuild in class Builderprotected void doneBuild(Builder builder)
doneBuild in class Builder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||