📄 sphwm5.xml.save
字号:
<!--
/*
* Copyright (C) 2003-2007 Funambol
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-->
<?html version="1.0" enconding="UTF-8"?>
<!-- $Id: sphwm5.xml,v 1.3 2007/03/05 12:46:35 magi Exp $
===================================================================================================
Forge file for Funambol Smartphone
====================================================================================================
-->
<project basedir=".." default="init" name="Funambol Windows Mobile Smartphone Plug-in wm5">
<!--
========================================================================
Setting variable
========================================================================
-->
<target name="initwm5">
<property environment="ENV"/>
<!--property file="build/release.properties"/-->
<property name="dir.output" value="${basedir}/sphwm5/output"/>
<property name="dir.output.nsis" value="${basedir}\sphwm5\output"/>
<property name="dir.sphwm5" value="${basedir}/sphwm5"/>
<property name="dir.files" value="${basedir}/sphwm5/files"/>
<property name="dir.presetup" value="${basedir}/presetup"/>
<property name="dir.build" value="${basedir}/build"/>
<property name="dir.build.nsis" value="${basedir}\build"/>
<property file="build/smartphone.properties"/>
</target>
<!--
========================================================================
BUILD
========================================================================
-->
<target name="buildwm5" depends="initwm5">
<propertyfile file = "build/release.properties"
comment = "Funambol Windows Mobile Smartphone Plug-in" >
<entry key="build.date" type="date" value="now" pattern="yyyyMMdd"/>
<!--entry key="build.number" type="int" operation = "+" default="1" /-->
</propertyfile>
<!-- Load release.propeties -->
<property file="build/release.properties"/>
<echo message="Build release: ${release.major}.${release.minor}.${build.number}" />
<property name="package.name" value="funambol-smartphone-wm5-plugin-${release.major}.${release.minor}.${build.number}"/>
<property name="sph-plugin-version" value="Windows Mobile Smartphone Plug in ${release.major}.${release.minor}.${build.number}"/>
<property name="sph-user-agent" value="Funambol Smartphone Plug-in ${release.major}.${release.minor}.${build.number}"/>
<property name="sph-fileswm5" value="..\files"/> <!-- used to get the dir in which there are the files -->
<property name="sph-version-wm5" value="${release.major}.${release.minor}.${build.number}"/> <!-- used to get the dir in which there are the files -->
<property name="dir.forge.zip" value="${dir.output}/${package.name.src}"/>
<property name="dir.forge.exe" value="${dir.output}/${package.name}"/>
</target>
<!--
========================================================================
========================================================================
========================================================================
Smartphone 2003
========================================================================
========================================================================
========================================================================
-->
<!--
========================================================================
COMPILE-NO-CHEKOUT - DEBUG -
========================================================================
-->
<target name="compile-no-checkout-debug-wm5" depends="initwm5">
<echo message="${wm.sln.wmplugin}"/>
<echo message="Build target is: ${wm.targetbuildsphwm5-debug}"/>
<delete dir="dir.output" failonerror="false"/>
<echo message="Compiling WMPlugin vs2005..."/>
<exec dir="../../WMPlugin/" executable="${wm.vs2005}/devenv">
<arg line="${wm.sln.wmplugin} /OUT build.log /build ${wm.targetbuildsphwm5-debug}" />
</exec>
</target>
<!--
========================================================================
FORGE-NO-CHECKOUT - DEBUG -
========================================================================
-->
<!--target name="forge" depends="init"-->
<target name="forge-no-checkout-debug" depends="build">
<!--
Copy all stuffs.
Note that only public include files are released.
-->
<copy todir="${dir.files}">
<fileset dir="../../clientdll/build/mainclientdll/${wm.targetsph2003}/${wm.configuration-debug}/">
<include name="mainclientdll.dll"/>
</fileset>
</copy>
<copy todir="${dir.files}">
<fileset dir="../../mail/setup/${wm.targetsph2003}/${wm.configuration-debug}/"> <!-- the same because it is evc4 -->
<include name="funsetup.dll"/>
</fileset>
</copy>
<copy todir="${dir.files}">
<fileset dir="../../mail/syncmltransport/${wm.targetsph2003}/${wm.configuration-debug}/">
<include name="syncmltransport.dll"/>
</fileset>
</copy>
<copy todir="${dir.files}">
<fileset dir="../../notlstnr/build/${wm.targetsph2003}/${wm.configuration-debug}/">
<include name="notlstnr.dll"/>
</fileset>
</copy>
<copy todir="${dir.files}">
<fileset dir="../../startsync/build/${wm.targetsph2003}/${wm.configuration-debug}/">
<include name="startsync.exe"/>
</fileset>
</copy>
<copy todir="${dir.files}">
<fileset dir="../../mail/handleservice/${wm.targetsph2003}/${wm.configuration-debug}/">
<include name="handleservice.exe"/>
</fileset>
</copy>
<!--copy todir="${dir.files}">
<fileset dir="../../mail/account/build/${wm.targetsph2003}/${wm.configuration-debug}/">
<include name="account.exe"/>
</fileset>
</copy-->
<copy todir="${dir.files}">
<fileset dir="../../UI/build/${wm.targetsph2003}/${wm.configuration-debug}/">
<include name="Funambol.exe"/>
</fileset>
</copy>
<copy todir="${dir.files}">
<fileset dir="${dir.presetup}/">
<include name="COPYING"/>
</fileset>
</copy>
<!--copy todir="${dir.files}">
<fileset dir="${dir.presetup}/" includes="*"/>
</copy-->
<copy todir="${dir.files}">
<fileset dir="${basedir}/build/">
<include name="release.properties"/>
</fileset>
</copy>
<echo message="Copy setup-sph-2003.inf file to tmpSetup.inf"/>
<copy file="${dir.build}/setup-sph-2003.inf" tofile="${dir.build}/tmpSetup.inf"/>
<echo message="Inserting UserAgent in name in .inf file"/>
<replace file="${dir.build}/setup-sph-2003.inf" summary="true">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -