public class JSGoogPublisher extends JSPublisher implements IJSPublisher
| Modifier and Type | Class and Description |
|---|---|
class |
JSGoogPublisher.JSGoogErrorManager |
| Modifier and Type | Field and Description |
|---|---|
static String |
GOOG_INTERMEDIATE_DIR_NAME |
static String |
GOOG_RELEASE_DIR_NAME |
protected JSGoogConfiguration |
googConfiguration |
configuration, outputFolder, outputParentFolder, project| Constructor and Description |
|---|
JSGoogPublisher(RoyaleJSProject project,
Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendSourceMapLocation(File path,
String projectName) |
protected void |
copyFile(File source,
File target) |
protected void |
dumpJar(File jarFile,
File outputDir) |
protected List<SourceFile> |
getClasspathResources(File jarFile) |
protected List<SourceFile> |
getClasspathResources(File jarFile,
Properties whiteList) |
protected List<SourceFile> |
getDirectoryResources(File directory) |
File |
getOutputFolder() |
boolean |
publish(ProblemQuery problems) |
protected void |
writeFile(File target,
String content,
boolean append) |
protected void |
writeHTML(String type,
String projectName,
String dirPath) |
setupOutputFolderpublic static final String GOOG_INTERMEDIATE_DIR_NAME
public static final String GOOG_RELEASE_DIR_NAME
protected JSGoogConfiguration googConfiguration
public JSGoogPublisher(RoyaleJSProject project, Configuration config)
public File getOutputFolder()
getOutputFolder in interface IJSPublishergetOutputFolder in class JSPublisherpublic boolean publish(ProblemQuery problems) throws IOException
publish in interface IJSPublisherpublish in class JSPublisherIOExceptionprotected void appendSourceMapLocation(File path, String projectName) throws IOException
IOExceptionprotected void copyFile(File source, File target) throws IOException
IOExceptionprotected void writeHTML(String type, String projectName, String dirPath) throws IOException
IOExceptionprotected void writeFile(File target, String content, boolean append) throws IOException
IOExceptionprotected List<SourceFile> getClasspathResources(File jarFile) throws IOException
IOExceptionprotected List<SourceFile> getClasspathResources(File jarFile, Properties whiteList) throws IOException
IOExceptionprotected List<SourceFile> getDirectoryResources(File directory) throws IOException
IOExceptionprotected void dumpJar(File jarFile, File outputDir) throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.