mirror of
https://github.com/moparisthebest/davmail
synced 2024-11-04 08:25:04 -05:00
Add search page and change default package name for default svn builds
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@886 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
1b54134f85
commit
70e9d49b5b
34
build.xml
34
build.xml
@ -41,6 +41,8 @@
|
|||||||
<svn svnkit="true">
|
<svn svnkit="true">
|
||||||
<wcversion path="."/>
|
<wcversion path="."/>
|
||||||
</svn>
|
</svn>
|
||||||
|
<!-- failover value for revision -->
|
||||||
|
<property name="revision.max" value=""/>
|
||||||
<property name="release" value="${version}-${revision.max}"/>
|
<property name="release" value="${version}-${revision.max}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
@ -171,6 +173,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="dist" depends="compile">
|
<target name="dist" depends="compile">
|
||||||
|
<property name="release-name" value="${release}-trunk"/>
|
||||||
<delete dir="dist"/>
|
<delete dir="dist"/>
|
||||||
<mkdir dir="dist"/>
|
<mkdir dir="dist"/>
|
||||||
<echo file="dist/version.txt" message="${release}"/>
|
<echo file="dist/version.txt" message="${release}"/>
|
||||||
@ -178,7 +181,7 @@
|
|||||||
<manifest>
|
<manifest>
|
||||||
<section name="davmail/">
|
<section name="davmail/">
|
||||||
<attribute name="Implementation-Title" value="DavMail Gateway"/>
|
<attribute name="Implementation-Title" value="DavMail Gateway"/>
|
||||||
<attribute name="Implementation-Version" value="${release}"/>
|
<attribute name="Implementation-Version" value="${release-name}"/>
|
||||||
<attribute name="Implementation-Vendor" value="Mickael Guessant"/>
|
<attribute name="Implementation-Vendor" value="Mickael Guessant"/>
|
||||||
</section>
|
</section>
|
||||||
</manifest>
|
</manifest>
|
||||||
@ -201,7 +204,7 @@
|
|||||||
<jsmoothgen project="davmail.jsmooth" skeletonroot="src/jsmooth/skeletons"/>
|
<jsmoothgen project="davmail.jsmooth" skeletonroot="src/jsmooth/skeletons"/>
|
||||||
<jsmoothgen project="davmailconsole.jsmooth" skeletonroot="src/jsmooth/skeletons"/>
|
<jsmoothgen project="davmailconsole.jsmooth" skeletonroot="src/jsmooth/skeletons"/>
|
||||||
<jsmoothgen project="davmailservice.jsmooth" skeletonroot="src/jsmooth/skeletons"/>
|
<jsmoothgen project="davmailservice.jsmooth" skeletonroot="src/jsmooth/skeletons"/>
|
||||||
<zip file="dist/davmail-${release}.zip">
|
<zip file="dist/davmail-${release-name}.zip">
|
||||||
<fileset dir="dist">
|
<fileset dir="dist">
|
||||||
<include name="lib/*.jar"/>
|
<include name="lib/*.jar"/>
|
||||||
<include name="*.jar"/>
|
<include name="*.jar"/>
|
||||||
@ -225,10 +228,10 @@
|
|||||||
<exclude name="swt*.jar"/>
|
<exclude name="swt*.jar"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
<jar destfile="dist/davmail-${release}.war">
|
<jar destfile="dist/davmail-${release-name}.war">
|
||||||
<fileset dir="dist/web"/>
|
<fileset dir="dist/web"/>
|
||||||
</jar>
|
</jar>
|
||||||
<tar tarfile="dist/davmail-linux-x86-${release}.tgz" compression="gzip">
|
<tar tarfile="dist/davmail-linux-x86-${release-name}.tgz" compression="gzip">
|
||||||
<tarfileset prefix="davmail-linux-x86-${release}" dir="dist" filemode="755">
|
<tarfileset prefix="davmail-linux-x86-${release}" dir="dist" filemode="755">
|
||||||
<include name="davmail.sh"/>
|
<include name="davmail.sh"/>
|
||||||
</tarfileset>
|
</tarfileset>
|
||||||
@ -242,7 +245,7 @@
|
|||||||
<exclude name="lib/swt-*-win32-x86.jar"/>
|
<exclude name="lib/swt-*-win32-x86.jar"/>
|
||||||
</tarfileset>
|
</tarfileset>
|
||||||
</tar>
|
</tar>
|
||||||
<tar tarfile="dist/davmail-linux-x86_64-${release}.tgz" compression="gzip">
|
<tar tarfile="dist/davmail-linux-x86_64-${release-name}.tgz" compression="gzip">
|
||||||
<tarfileset prefix="davmail-linux-x86_64-${release}" dir="dist" filemode="755">
|
<tarfileset prefix="davmail-linux-x86_64-${release}" dir="dist" filemode="755">
|
||||||
<include name="davmail.sh"/>
|
<include name="davmail.sh"/>
|
||||||
</tarfileset>
|
</tarfileset>
|
||||||
@ -260,8 +263,8 @@
|
|||||||
<antcall target="dist-deb"/>
|
<antcall target="dist-deb"/>
|
||||||
<antcall target="dist-osx"/>
|
<antcall target="dist-osx"/>
|
||||||
<!-- source package -->
|
<!-- source package -->
|
||||||
<tar tarfile="dist/davmail-src-${release}.tgz" compression="gzip" longfile="gnu">
|
<tar tarfile="dist/davmail-src-${release-name}.tgz" compression="gzip" longfile="gnu">
|
||||||
<tarfileset prefix="davmail-src-${release}" dir=".">
|
<tarfileset prefix="davmail-src-${release-name}" dir=".">
|
||||||
<include name="**/*"/>
|
<include name="**/*"/>
|
||||||
<exclude name="build.log"/>
|
<exclude name="build.log"/>
|
||||||
<exclude name="dist/**"/>
|
<exclude name="dist/**"/>
|
||||||
@ -277,7 +280,18 @@
|
|||||||
replace="">
|
replace="">
|
||||||
<fileset dir="target/site"/>
|
<fileset dir="target/site"/>
|
||||||
</replaceregexp>
|
</replaceregexp>
|
||||||
|
<replaceregexp match="<a href="http://sourceforge.net/projects/davmail" id="bannerRight">"
|
||||||
|
replace="<script type="text/javascript"><!-- ${line.separator}google_ad_client = "pub-2649801308753286"; ${line.separator}google_ad_slot = "9322588211"; ${line.separator}google_ad_width = 468; ${line.separator}google_ad_height = 60; ${line.separator}//--></script>${line.separator}<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>${line.separator}<a href="http://sourceforge.net/projects/davmail" id="bannerRight">">
|
||||||
|
<fileset dir="target/site"/>
|
||||||
|
</replaceregexp>
|
||||||
|
<replaceregexp match="<h5>Quick Links</h5>"
|
||||||
|
replace="<h5 style="margin-bottom: 5px">Search</h5><form action="http://davmail.sourceforge.net/search.html" id="cse-search-box"><div><input type="hidden" name="cx" value="partner-pub-2649801308753286:4hjiaq-dcw4" /><input type="hidden" name="cof" value="FORID:10" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="15"/><input type="image" src="images/search.png" style="margin-left: 5px;vertical-align: middle" /></div></form><script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=fr"></script><h5>Quick Links</h5>">
|
||||||
|
<fileset dir="target/site"/>
|
||||||
|
</replaceregexp>
|
||||||
|
<replaceregexp match="<h2>Search<a name="Search"></a></h2>"
|
||||||
|
replace="<div id="cse-search-results"/><script type="text/javascript">var googleSearchIframeName = "cse-search-results";var googleSearchFormName = "cse-search-box";var googleSearchFrameWidth = 800;var googleSearchDomain = "www.google.com";var googleSearchPath = "/cse";</script><script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"/>">
|
||||||
|
<fileset dir="target/site"/>
|
||||||
|
</replaceregexp>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name='upload-site' depends="fix-site">
|
<target name='upload-site' depends="fix-site">
|
||||||
@ -303,4 +317,8 @@
|
|||||||
</scp>
|
</scp>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="release">
|
||||||
|
<property name="release-name" value="${release}"/>
|
||||||
|
<antcall taskname="dist"/>
|
||||||
|
</target>
|
||||||
</project>
|
</project>
|
||||||
|
17
src/site/xdoc/search.xml
Normal file
17
src/site/xdoc/search.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<document xmlns="http://maven.apache.org/XDOC/2.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<title>DavMail POP/IMAP/SMTP/CalDav/LDAP Exchange Gateway - Search</title>
|
||||||
|
<author email="mguessan@free.fr">Mickael Guessant</author>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<section name="Search">
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</document>
|
Loading…
Reference in New Issue
Block a user