| org.netbeans.nbbuild.MakeLNBM
MakeLNBM | public class MakeLNBM extends MatchingTask (Code) | | Makes a localized .nbm (NetBeans Module) file.
This version is temporary, intended to be used only until
the functionality added to this version since rev 1.29
of MakeNBM.java can be added into MakeNBM.java
author: Jerry Huth (email: jerry@solidstep.com) |
Inner Class :public class Blurb | |
Inner Class :public class ExternalPackage | |
Inner Class :public class Signature | |
createDescription | public Blurb createDescription()(Code) | | |
createExternalPackage | public ExternalPackage createExternalPackage()(Code) | | |
createLicense | public Blurb createLicense()(Code) | | |
createNotification | public Blurb createNotification()(Code) | | |
createSignature | public Signature createSignature()(Code) | | |
execute | public void execute() throws BuildException(Code) | | |
getFileSet | public FileSet getFileSet()(Code) | | |
reqManOrMod | public boolean reqManOrMod()(Code) | | Returns true if either a manifest or a module must be specified.
This is true unless either the global property
makenbm.manOrModReq is false, or the manOrModReq attribute of
this task is false. The attribute, if set, has priority over the
global property.
|
setBrandingCode | public void setBrandingCode(String s)(Code) | | Set the branding code for branded NBM's.
|
setDistribution | public void setDistribution(String distribution) throws BuildException(Code) | | URL where this NBM file is expected to be downloadable from.
|
setFile | public void setFile(File file)(Code) | | Name of resulting NBM file.
|
setHomepage | public void setHomepage(String homepage)(Code) | | URL to a home page describing the module.
|
setIsStandardInclude | public void setIsStandardInclude(boolean isStandardInclude)(Code) | | Include netbeans directory - default is true
|
setLangCode | public void setLangCode(String s)(Code) | | Set the language code for localized NBM's.
|
setLocBundle | public void setLocBundle(File f)(Code) | | For l10n NBM's, this is the localizing bundle file
that we'll look in to get module name, description, etc.
|
setManOrModReq | public void setManOrModReq(boolean b)(Code) | | See reqManOrMod()
|
setModInfo | public void setModInfo(String s)(Code) | | If the manifest and module aren't required, use this
to set the module codename, major version and spec version.
|
setModule | public void setModule(File module)(Code) | | Module JAR needed for generating the info file.
Information may be gotten either from its manifest,
or if it declares OpenIDE-Module-Localizing-Bundle in its
manifest, from that bundle.
The base locale variant, if any, is also checked if necessary
for the named bundle.
Currently no other locale variants of the module are examined;
the information is available but there is no published specification
of what the resulting variant NBMs (or variant information within
the NBM) should look like.
|
setNeedsrestart | public void setNeedsrestart(String needsrestart)(Code) | | Does module need IDE restart to be installed?
|
setTopdir | public void setTopdir(File topdir)(Code) | | Top directory.
Expected to contain a subdirectory netbeans/ with the
desired contents of the NBM.
Will create Info/info.xml with metadata.
|
|
|