Skip to content

Commit

Permalink
mojohaus#42: wrapper.conf creation - mainClass
Browse files Browse the repository at this point in the history
  • Loading branch information
sparsick committed Nov 1, 2019
1 parent b3f3ca0 commit 2620913
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ private void writeWrapperConfFile(File outputDirectory, Daemon daemon) throws Da
IOUtil.close( in );
}

confFile.setProperty("wrapper.java.app.mainclass", daemon.getMainClass());

if( daemon.getJvmSettings() != null)
{
confFile.setProperty("wrapper.java.initmemory", daemon.getJvmSettings().getInitialMemorySize());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ wrapper.tmp.path=${jna_tmpdir}
#********************************************************************

# Java Application main class
wrapper.java.app.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
wrapper.java.app.mainclass=com.westerngeco.example.App

# or jar file
#wrapper.java.app.jar=
Expand Down

0 comments on commit 2620913

Please sign in to comment.