mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 10:47:59 -05:00
Generate Jsmooth wrapper at build time and switch to new autodownload wrapper
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@64 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
e97a92545c
commit
81ddfe21be
13
build.xml
13
build.xml
@ -1,5 +1,5 @@
|
||||
<project name="DavMail" default="dist" basedir=".">
|
||||
<property name="version" value="1.0.3"/>
|
||||
<property name="version" value="1.0.4"/>
|
||||
|
||||
<path id="classpath">
|
||||
<pathelement location="classes"/>
|
||||
@ -43,13 +43,14 @@
|
||||
<fileset dir="lib">
|
||||
<include name="*.jar"/>
|
||||
<exclude name="nsisant*.jar"/>
|
||||
<exclude name="jsmoothgen-ant.jar"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="dist">
|
||||
<fileset dir="src/jsmooth">
|
||||
<include name="*.exe"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<taskdef name="jsmoothgen"
|
||||
classname="net.charabia.jsmoothgen.ant.JSmoothGen"
|
||||
classpathref="classpath"/>
|
||||
<jsmoothgen project="davmail.jsmooth" skeletonroot="src/jsmooth/skeletons"/>
|
||||
<jsmoothgen project="davmailconsole.jsmooth" skeletonroot="src/jsmooth/skeletons"/>
|
||||
<zip file="dist/davmail-${version}.zip">
|
||||
<fileset dir="dist">
|
||||
<include name="lib/*.jar"/>
|
||||
|
@ -7,19 +7,19 @@
|
||||
<JVMSearchPath>exepath</JVMSearchPath>
|
||||
<JVMSearchPath>jview</JVMSearchPath>
|
||||
<arguments></arguments>
|
||||
<classPath>src\jsmooth\davmail.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\activation-1.0.2.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\commons-httpclient-2.0.2.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\commons-logging-1.0.4.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\jaxen-1.0-FCS-full.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\jdom-1.0.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\jtidy-4aug2000r7-dev.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\log4j-1.2.8.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\mail-1.3.2.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\saxpath-1.0-FCS.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\slide-webdavlib-2.1.jar</classPath>
|
||||
<classPath>dist\lib\activation-1.0.2.jar</classPath>
|
||||
<classPath>dist\lib\commons-httpclient-2.0.2.jar</classPath>
|
||||
<classPath>dist\lib\commons-logging-1.0.4.jar</classPath>
|
||||
<classPath>dist\lib\jaxen-1.0-FCS-full.jar</classPath>
|
||||
<classPath>dist\lib\jdom-1.0.jar</classPath>
|
||||
<classPath>dist\lib\jtidy-4aug2000r7-dev.jar</classPath>
|
||||
<classPath>dist\lib\log4j-1.2.8.jar</classPath>
|
||||
<classPath>dist\lib\mail-1.3.2.jar</classPath>
|
||||
<classPath>dist\lib\saxpath-1.0-FCS.jar</classPath>
|
||||
<classPath>dist\lib\slide-webdavlib-2.1.jar</classPath>
|
||||
<classPath>dist\davmail.jar</classPath>
|
||||
<embeddedJar>false</embeddedJar>
|
||||
<executableName>src\jsmooth\davmail.exe</executableName>
|
||||
<executableName>dist\davmail.exe</executableName>
|
||||
<iconLocation>src\java\tray.png</iconLocation>
|
||||
<initialMemoryHeap>-1</initialMemoryHeap>
|
||||
<javaProperties>
|
||||
@ -30,14 +30,14 @@
|
||||
<maximumMemoryHeap>268435456</maximumMemoryHeap>
|
||||
<maximumVersion></maximumVersion>
|
||||
<minimumVersion>1.6</minimumVersion>
|
||||
<skeletonName>Windowed Wrapper</skeletonName>
|
||||
<skeletonName>Autodownload Wrapper</skeletonName>
|
||||
<skeletonProperties>
|
||||
<key>Message</key>
|
||||
<value>Java has not been found on your computer. Do you want to download it?</value>
|
||||
</skeletonProperties>
|
||||
<skeletonProperties>
|
||||
<key>URL</key>
|
||||
<value>http://www.java.com</value>
|
||||
<key>DownloadURL</key>
|
||||
<value>http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab</value>
|
||||
</skeletonProperties>
|
||||
<skeletonProperties>
|
||||
<key>SingleProcess</key>
|
||||
|
@ -7,19 +7,19 @@
|
||||
<JVMSearchPath>exepath</JVMSearchPath>
|
||||
<JVMSearchPath>jview</JVMSearchPath>
|
||||
<arguments></arguments>
|
||||
<classPath>src\jsmooth\davmail.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\activation-1.0.2.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\commons-httpclient-2.0.2.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\commons-logging-1.0.4.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\jaxen-1.0-FCS-full.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\jdom-1.0.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\jtidy-4aug2000r7-dev.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\log4j-1.2.8.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\mail-1.3.2.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\saxpath-1.0-FCS.jar</classPath>
|
||||
<classPath>src\jsmooth\lib\slide-webdavlib-2.1.jar</classPath>
|
||||
<classPath>dist\lib\activation-1.0.2.jar</classPath>
|
||||
<classPath>dist\lib\commons-httpclient-2.0.2.jar</classPath>
|
||||
<classPath>dist\lib\commons-logging-1.0.4.jar</classPath>
|
||||
<classPath>dist\lib\jaxen-1.0-FCS-full.jar</classPath>
|
||||
<classPath>dist\lib\jdom-1.0.jar</classPath>
|
||||
<classPath>dist\lib\jtidy-4aug2000r7-dev.jar</classPath>
|
||||
<classPath>dist\lib\log4j-1.2.8.jar</classPath>
|
||||
<classPath>dist\lib\mail-1.3.2.jar</classPath>
|
||||
<classPath>dist\lib\saxpath-1.0-FCS.jar</classPath>
|
||||
<classPath>dist\lib\slide-webdavlib-2.1.jar</classPath>
|
||||
<classPath>dist\davmail.jar</classPath>
|
||||
<embeddedJar>false</embeddedJar>
|
||||
<executableName>src\jsmooth\davmailconsole.exe</executableName>
|
||||
<executableName>dist\davmailconsole.exe</executableName>
|
||||
<iconLocation>src\java\tray.png</iconLocation>
|
||||
<initialMemoryHeap>-1</initialMemoryHeap>
|
||||
<javaProperties>
|
||||
|
BIN
lib/jsmoothgen-ant.jar
Normal file
BIN
lib/jsmoothgen-ant.jar
Normal file
Binary file not shown.
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
||||
<groupId>davmail</groupId>
|
||||
<artifactId>davmail</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0.3</version>
|
||||
<version>1.0.4</version>
|
||||
<name>davmail</name>
|
||||
<url>http://www.sourceforge.net/projects/davmail</url>
|
||||
<description>
|
||||
|
Binary file not shown.
Binary file not shown.
BIN
src/jsmooth/skeletons/autodownload-wrapper/autodownload.exe
Normal file
BIN
src/jsmooth/skeletons/autodownload-wrapper/autodownload.exe
Normal file
Binary file not shown.
38
src/jsmooth/skeletons/autodownload-wrapper/autodownload.skel
Normal file
38
src/jsmooth/skeletons/autodownload-wrapper/autodownload.skel
Normal file
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<jsmoothskeleton>
|
||||
<debug>false</debug>
|
||||
<description>SKEL_AUTODOWNLOAD_PROPERTY_DESCRIPTION</description>
|
||||
<executableName>autodownload.exe</executableName>
|
||||
<resourceCategory>JAVA</resourceCategory>
|
||||
<resourceJarId>102</resourceJarId>
|
||||
<resourcePropsId>103</resourcePropsId>
|
||||
<shortName>Autodownload Wrapper</shortName>
|
||||
<skeletonProperties>
|
||||
<description>SKEL_AUTODOWNLOAD_PROPERTY_MESSAGE_DESCRIPTION</description>
|
||||
<idName>Message</idName>
|
||||
<label>SKEL_AUTODOWNLOAD_PROPERTY_MESSAGE_LABEL</label>
|
||||
<type>textarea</type>
|
||||
<value>Java has not been found on your computer. Do you want to download it?</value>
|
||||
</skeletonProperties>
|
||||
<skeletonProperties>
|
||||
<description>SKEL_AUTODOWNLOAD_PROPERTY_DLURL_DESCRIPTION</description>
|
||||
<idName>DownloadURL</idName>
|
||||
<label>SKEL_AUTODOWNLOAD_PROPERTY_DLURL_LABEL</label>
|
||||
<type>autodownloadurl</type>
|
||||
<value>http://java.sun.com/update/1.5.0/jinstall-1_5_0_11-windows-i586.cab</value>
|
||||
</skeletonProperties>
|
||||
<skeletonProperties>
|
||||
<description>SKEL_GENERIC_PROPERTY_SINGLEPROCESS_DESCRIPTION</description>
|
||||
<idName>SingleProcess</idName>
|
||||
<label>SKEL_GENERIC_PROPERTY_SINGLEPROCESS_LABEL</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>
|
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<jsmoothskeleton>
|
||||
<debug>false</debug>
|
||||
<description>SKEL_CUSTOMDOWNLOAD_DESCRIPTION</description>
|
||||
<executableName>autodownload.exe</executableName>
|
||||
<resourceCategory>JAVA</resourceCategory>
|
||||
<resourceJarId>102</resourceJarId>
|
||||
<resourcePropsId>103</resourcePropsId>
|
||||
<shortName>Custom Web Download Wrapper</shortName>
|
||||
<skeletonProperties>
|
||||
<description>SKEL_CUSTOMDOWNLOAD_PROPERTY_MESSAGE_DESCRIPTION</description>
|
||||
<idName>Message</idName>
|
||||
<label>SKEL_CUSTOMDOWNLOAD_PROPERTY_MESSAGE_LABEL</label>
|
||||
<type>textarea</type>
|
||||
<value>Java has not been found on your computer. Do you want to download it?</value>
|
||||
</skeletonProperties>
|
||||
<skeletonProperties>
|
||||
<description>SKEL_CUSTOMDOWNLOAD_PROPERTY_URL_DESCRIPTION</description>
|
||||
<idName>DownloadURL</idName>
|
||||
<label>SKEL_CUSTOMDOWNLOAD_PROPERTY_URL_LABEL</label>
|
||||
<type>string</type>
|
||||
<value>http://</value>
|
||||
</skeletonProperties>
|
||||
<skeletonProperties>
|
||||
<description>SKEL_GENERIC_PROPERTY_SINGLEPROCESS_DESCRIPTION</description>
|
||||
<idName>SingleProcess</idName>
|
||||
<label>SKEL_GENERIC_PROPERTY_SINGLEPROCESS_LABEL</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>
|
BIN
src/jsmooth/skeletons/console-wrapper/consolewrapper.exe
Normal file
BIN
src/jsmooth/skeletons/console-wrapper/consolewrapper.exe
Normal file
Binary file not shown.
32
src/jsmooth/skeletons/console-wrapper/description.skel
Normal file
32
src/jsmooth/skeletons/console-wrapper/description.skel
Normal file
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<jsmoothskeleton>
|
||||
<debug>false</debug>
|
||||
<description>SKEL_CONSOLEWRAPPER_DESCRIPTION</description>
|
||||
<executableName>consolewrapper.exe</executableName>
|
||||
<resourceCategory>JAVA</resourceCategory>
|
||||
<resourceJarId>102</resourceJarId>
|
||||
<resourcePropsId>103</resourcePropsId>
|
||||
<shortName>Console Wrapper</shortName>
|
||||
<skeletonProperties>
|
||||
<description>SKEL_CUSTOMWRAPPER_PROPERTY_MESSAGE_DESCRIPTION</description>
|
||||
<idName>Message</idName>
|
||||
<label>SKEL_CUSTOMWRAPPER_PROPERTY_MESSAGE_LABEL</label>
|
||||
<type>textarea</type>
|
||||
<value>This program needs Java to run.
|
||||
Please download it at http://www.java.com</value>
|
||||
</skeletonProperties>
|
||||
<skeletonProperties>
|
||||
<description>SKEL_CUSTOMWRAPPER_PROPERTY_KEYPRESS_DESCRIPTION</description>
|
||||
<idName>PressKey</idName>
|
||||
<label>SKEL_CUSTOMWRAPPER_PROPERTY_KEYPRESS_LABEL</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>
|
Loading…
Reference in New Issue
Block a user