1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 03:02:22 -05:00

Windows: create windows service exe

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@736 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-09-21 23:23:02 +00:00
parent 6164b00290
commit 73a1dc98da
3 changed files with 67 additions and 0 deletions

View File

@ -192,6 +192,7 @@
classpathref="classpath"/>
<jsmoothgen project="davmail.jsmooth" skeletonroot="src/jsmooth/skeletons"/>
<jsmoothgen project="davmailconsole.jsmooth" skeletonroot="src/jsmooth/skeletons"/>
<jsmoothgen project="davmailservice.jsmooth" skeletonroot="src/jsmooth/skeletons"/>
<zip file="dist/davmail-${release}.zip">
<fileset dir="dist">
<include name="lib/*.jar"/>

View File

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<jsmoothskeleton>
<debug>false</debug>
<description>SKEL_WINSERVICE_DESCRIPTION</description>
<executableName>winservice.exe</executableName>
<resourceCategory>JAVA</resourceCategory>
<resourceJarId>102</resourceJarId>
<resourcePropsId>103</resourcePropsId>
<shortName>WinService Wrapper</shortName>
<skeletonProperties>
<description>SKEL_WINSERVICE_NAME_DESCRIPTION</description>
<idName>ServiceName</idName>
<label>SKEL_WINSERVICE_NAME_LABEL</label>
<type>string</type>
<value>myservice</value>
</skeletonProperties>
<skeletonProperties>
<description>SKEL_WINSERVICE_DISPLAYNAME_DESCRIPTION</description>
<idName>ServiceDisplayName</idName>
<label>SKEL_WINSERVICE_DISPLAYNAME_LABEL</label>
<type>string</type>
<value>My Service</value>
</skeletonProperties>
<skeletonProperties>
<description>SKEL_WINSERVICE_PROPERTY_MESSAGE_DESCRIPTION</description>
<idName>Message</idName>
<label>SKEL_WINSERVICE_PROPERTY_MESSAGE_LABEL</label>
<type>textarea</type>
<value>This program needs Java to run. Please download it at http://www.java.comf</value>
</skeletonProperties>
<skeletonProperties>
<description>SKEL_WINSERVICE_AUTOSTART_DESCRIPTION</description>
<idName>Autostart</idName>
<label>SKEL_WINSERVICE_AUTOSTART_LABEL</label>
<type>boolean</type>
<value>1</value>
</skeletonProperties>
<skeletonProperties>
<description>SKEL_WINSERVICE_LOGFILE_DESCRIPTION</description>
<idName>Logfile</idName>
<label>SKEL_WINSERVICE_LOGFILE_LABEL</label>
<type>string</type>
<value>service.log</value>
</skeletonProperties>
<skeletonProperties>
<description>SKEL_WINSERVICE_INTERACTIVE_DESCRIPTION</description>
<idName>Interactive</idName>
<label>SKEL_WINSERVICE_INTERACTIVE_LABEL</label>
<type>boolean</type>
<value>0</value>
</skeletonProperties>
<skeletonProperties>
<description>SKEL_GENERIC_JNISMOOTH_DESCRIPTION</description>
<idName>JniSmooth</idName>
<label>SKEL_GENERIC_JNISMOOTH</label>
<type>boolean</type>
<value>0</value>
</skeletonProperties>
<skeletonProperties>
<description>SKEL_GENERIC_PROPERTY_DEBUG_DESCRIPTION</description>
<idName>Debug</idName>
<label>SKEL_GENERIC_PROPERTY_DEBUG_LABEL</label>
<type>boolean</type>
<value>0</value>
</skeletonProperties>
</jsmoothskeleton>