forked from mojohaus/appassembler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb60b2d
commit 5e67418
Showing
15 changed files
with
51 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ target | |
.project | ||
*.iml | ||
*~ | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ | |
* Reads the appassembler manifest file from the repo, and executes the specified main class. | ||
* | ||
* @author <a href="mailto:[email protected]">Kaare Nilsen</a> | ||
* @todo get rid of all the statics | ||
* TODO: get rid of all the statics | ||
*/ | ||
public class AppassemblerBooter | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,6 @@ | |
|
||
/** | ||
* @author <a href="mailto:[email protected]">Trygve Laugstøl</a> | ||
* @version $Id$ | ||
*/ | ||
public interface DaemonGenerator | ||
{ | ||
|
@@ -37,7 +36,7 @@ public interface DaemonGenerator | |
|
||
/** | ||
* @param generationRequest The request to which is used for the Daemon. | ||
* @throws DaemonGeneratorException | ||
* @throws DaemonGeneratorException in case of an error. | ||
*/ | ||
void generate( DaemonGenerationRequest generationRequest ) | ||
throws DaemonGeneratorException; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,6 @@ | |
|
||
/** | ||
* @author <a href="mailto:[email protected]">Trygve Laugstøl</a> | ||
* @version $Id$ | ||
*/ | ||
public interface DaemonGeneratorService | ||
{ | ||
|
@@ -61,7 +60,7 @@ Daemon loadModel( File stubDescriptor ) | |
/** | ||
* @param daemon The daemon to validate | ||
* @param descriptor An optional file reference that will be used in the exception messages. | ||
* @throws DaemonGeneratorException | ||
* @throws DaemonGeneratorException in case of an error. | ||
*/ | ||
void validateDaemon( Daemon daemon, File descriptor ) | ||
throws DaemonGeneratorException; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,6 @@ | |
|
||
/** | ||
* @author <a href="mailto:[email protected]">Trygve Laugstøl</a> | ||
* @version $Id$ | ||
*/ | ||
public interface DaemonMerger | ||
{ | ||
|
@@ -41,10 +40,10 @@ public interface DaemonMerger | |
/** | ||
* Merge two Daemons into a single one. | ||
* | ||
* @param dominant | ||
* @param recessive | ||
* @param dominant {@link Daemon} | ||
* @param recessive {@link Daemon} | ||
* @return The merged Daemon instance. | ||
* @throws DaemonGeneratorException | ||
* @throws DaemonGeneratorException in case of an error. | ||
*/ | ||
Daemon mergeDaemons( Daemon dominant, Daemon recessive ) | ||
throws DaemonGeneratorException; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,6 @@ | |
|
||
/** | ||
* @author <a href="mailto:[email protected]">Trygve Laugstøl</a> | ||
* @version $Id$ | ||
*/ | ||
public class Platform | ||
{ | ||
|
@@ -455,6 +454,7 @@ private String addJvmSetting( String argType, String extraJvmArgument, String vm | |
* Get the environment setup file. | ||
* | ||
* @param daemon The instance of the Daemon for which this is beeing produced. | ||
* @param binFolder The binary folder. | ||
* @return The created string which contains the path to the setup file. | ||
*/ | ||
public String getEnvSetup( Daemon daemon, String binFolder ) | ||
|
@@ -528,7 +528,7 @@ public String getName() | |
/** | ||
* ShowConsole window. | ||
* | ||
* @param daemon | ||
* @param daemon {@link Daemon} | ||
* @return true yes false otherwise. | ||
*/ | ||
public boolean isShowConsoleWindow( Daemon daemon ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,10 +30,9 @@ | |
|
||
/** | ||
* @author <a href="mailto:[email protected]">Trygve Laugstøl</a> | ||
* @version $Id$ | ||
* @todo test could be improved - there are other conditions like | ||
* TODO: test could be improved - there are other conditions like | ||
* "check if extra properties can override those from template" | ||
* @todo reading POM/model should not be necessary? | ||
* TODO: reading POM/model should not be necessary? | ||
*/ | ||
public class JavaServiceWrapperDaemonGeneratorTest | ||
extends AbstractDaemonGeneratorTest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters