|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.jlgrock.javascriptframework.jsdocs.JsDocUtil
public final class JsDocUtil
The utility for creating a maven site using the jsdoc toolkit.
| Field Summary | |
|---|---|
protected static String |
ERROR_INIT_VM
Error message when VM could not be started using invoker. |
| Method Summary | |
|---|---|
protected static void |
invokeMaven(org.apache.maven.plugin.logging.Log log,
File localRepositoryDir,
File projectFile,
List<String> goals,
Properties properties,
File invokerLog)
Invoke Maven for the given project file with a list of goals and properties, the output will be in the invokerlog file. |
protected static String |
readFile(File javaFile,
String encoding)
Read the given file and return the content or null if an IOException occurs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String ERROR_INIT_VM
| Method Detail |
|---|
protected static void invokeMaven(org.apache.maven.plugin.logging.Log log,
File localRepositoryDir,
File projectFile,
List<String> goals,
Properties properties,
File invokerLog)
throws org.apache.maven.shared.invoker.MavenInvocationException
maven.home Java system property or defined in
M2_HOME system env variables.
log - a logger could be null.localRepositoryDir - the localRepository not null.projectFile - a not null project file.goals - a not null goals list.properties - the properties for the goals, could be null.invokerLog - the log file where the invoker will be written, if null using
System.out.
org.apache.maven.shared.invoker.MavenInvocationException - if any
protected static String readFile(File javaFile,
String encoding)
javaFile - not nullencoding - could be null
FileUtils.fileRead(File, String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||