📄 sphwm5.xml.save
字号:
<replacefilter token="SPH_USER_AGENT" value="${sph-user-agent}"/>
</replace>
<echo message="Inserting files directry in name in .inf file"/>
<replace file="${dir.build}/setup-sph-2003.inf" summary="true">
<replacefilter token="SPH_FILES" value="${sph-files2003}"/>
</replace>
<echo message="Inserting plug-in version in .inf file"/>
<replace file="${dir.build}/setup-sph-2003.inf" summary="true">
<replacefilter token="SPH_VERSION" value="v.${sph-version-2003}"/>
</replace>
<echo message="Inserting plug-in version in .inf file"/>
<replace file="${dir.build}/setup-sph-2003.inf" summary="true">
<replacefilter token="SPH_UNINSTALL" value="${sph-version-2003}"/>
</replace>
<copy file="${dir.build}/setup-sph-2003.inf" tofile="${dir.output}/setup-sph-2003.inf"/>
<move file="${dir.build}/tmpSetup.inf" tofile="${dir.build}/setup-sph-2003.inf"/>
<echo message="Creating cab Lib..."/>
<exec dir="${dir.output}" executable="${wm.cabwiz}">
<arg line="setup-sph-2003.inf"/>
</exec>
</target>
<target name="create-installer-wm5" depends="buildwm5">
<!-- create exe installer for ppc-pim. Require NSIS program (http://nsis.sourceforge.net) -->
<exec dir="${dir.build}" executable="${scpim.nsi}/makensis.exe">
<arg line=" /DVERSION_NUMBER=${release.major}.${release.minor}.${build.number} /DCABS=${dir.output.nsis}\setup-sph-wm5.CAB
/DINIS=${dir.build.nsis}\setup-sph-wm5.ini /DFILEINI=setup-sph-wm5.ini /DDIR_OUTPUT=${dir.output.nsis} ${scpim.scriptnsi} "/>
</exec>
<move file="${dir.output}/fileNameToRename.exe" tofile="${dir.output}/${package.name}.exe"/>
<move file="${dir.output}/setup-sph-wm5.CAB" tofile="${dir.output}/${package.name}.cab"/>
</target>
<target name="cleansphwm5" >
<delete includeEmptyDirs="true" dir="${dir.output}" failonerror="true" />
<delete includeEmptyDirs="true" dir="${dir.files}" failonerror="true" />
<delete includeEmptyDirs="true" dir="${dir.sphwm5}" failonerror="true" />
</target>
<!--
========================================================================
COMPILE-NO-CHEKOUT - RELEASE -
========================================================================
-->
<target name="compile-no-checkout-release-wm5" depends="initwm5">
<echo message="${wm.sln.wmplugin}"/>
<echo message="Build target is: ${wm.targetbuildsphwm5-release}"/>
<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-release}" />
</exec>
</target>
<!--
========================================================================
FORGE-NO-CHECKOUT - RELEASE -
========================================================================
-->
<!--target name="forge" depends="init"-->
<target name="forge-no-checkout-release-wm5" depends="buildwm5">
<!--
Copy all stuffs.
-->
<echo message="Forging Smartphone WM5 release"/>
<copy todir="${dir.files}" verbose="on">
<fileset dir="../../clientdll/build/mainclientdll/${wm.targetsphwm5}/${wm.configuration-release}/">
<include name="mainclientdll.dll"/>
</fileset>
</copy>
<copy todir="${dir.files}" verbose="on">
<fileset dir="../../mail/setup/${wm.targetsphwm5}/${wm.configuration-release}/">
<include name="funsetup.dll"/>
</fileset>
</copy>
<copy todir="${dir.files}" verbose="on">
<fileset dir="../../mail/syncmltransport/${wm.targetsphwm5}/${wm.configuration-release}/">
<include name="syncmltransport.dll"/>
</fileset>
</copy>
<copy todir="${dir.files}" verbose="on">
<fileset dir="../../notlstnr/build/${wm.targetsphwm5}/${wm.configuration-release}/">
<include name="notlstnr.dll"/>
</fileset>
</copy>
<copy todir="${dir.files}" verbose="true">
<fileset dir="../../startsync/build/${wm.targetsphwm5}/${wm.configuration-release}/">
<include name="startsync.exe"/>
</fileset>
</copy>
<copy todir="${dir.files}" verbose="true">
<fileset dir="../../mail/handleservice/${wm.targetsphwm5}/${wm.configuration-release}/">
<include name="handleservice.exe"/>
</fileset>
</copy>
<copy todir="${dir.files}" verbose="true">
<fileset dir="../../UI/build/${wm.targetsphwm5}/${wm.configuration-release}/">
<include name="Funambol.exe"/>
</fileset>
</copy>
<copy todir="${dir.files}" verbose="true">
<fileset dir="${dir.presetup}/">
<include name="COPYING"/>
</fileset>
</copy>
<copy todir="${dir.files}" verbose="true">
<fileset dir="${dir.presetup}/">
<include name="newmessage.wav"/>
</fileset>
</copy>
<copy todir="${dir.files}" verbose="true">
<fileset dir="${basedir}/build/">
<include name="release.properties"/>
</fileset>
</copy>
<echo message="Copy setup-sph-wm5.inf file to tmpSetup.inf"/>
<copy file="${dir.build}/setup-sph-wm5.inf" tofile="${dir.build}/tmpSetup.inf"/>
<echo message="Inserting UserAgent in name in .inf file"/>
<replace file="${dir.build}/setup-sph-wm5.inf" summary="true">
<replacefilter token="SPH_USER_AGENT" value="${sph-user-agent}"/>
</replace>
<echo message="Inserting files directry in name in .inf file"/>
<replace file="${dir.build}/setup-sph-wm5.inf" summary="true">
<replacefilter token="SPH_FILES" value="${sph-fileswm5}"/>
</replace>
<echo message="Inserting plug-in version in .inf file"/>
<replace file="${dir.build}/setup-sph-wm5.inf" summary="true">
<replacefilter token="SPH_VERSION" value="v.${sph-version-wm5}"/>
</replace>
<echo message="Inserting plug-in version in .inf file"/>
<replace file="${dir.build}/setup-sph-wm5.inf" summary="true">
<replacefilter token="SPH_UNINSTALL" value="${sph-version-wm5}"/>
</replace>
<copy file="${dir.build}/setup-sph-wm5.inf" tofile="${dir.output}/setup-sph-wm5.inf"/>
<move file="${dir.build}/tmpSetup.inf" tofile="${dir.build}/setup-sph-wm5.inf"/>
</target>
<target name="create-lib-wm5" depends="buildwm5">
<echo message="Creating cab Lib..."/>
<exec dir="${dir.output}" executable="${wm.cabwiz}">
<arg line="setup-sph-wm5.inf"/>
</exec>
</target>
<target name="clean-release-wm5" depends="buildwm5" >
<delete includeEmptyDirs="true" dir="../../clientdll/build/mainclientdll/${wm.targetsphwm5}/${wm.configuration-release}/" />
<delete includeEmptyDirs="true" dir="../../mail/setup/${wm.targetsphwm5}/${wm.configuration-release}/" failonerror="true" />
<delete includeEmptyDirs="true" dir="../../mail/syncmltransport/${wm.targetsphwm5}/${wm.configuration-release}/" failonerror="true" />
<delete includeEmptyDirs="true" dir="../../notlstnr/build/${wm.targetsphwm5}/${wm.configuration-release}/" failonerror="true" />
<delete includeEmptyDirs="true" dir="../../startsync/build/${wm.targetsphwm5}/${wm.configuration-release}/" failonerror="true" />
<delete includeEmptyDirs="true" dir="../../mail/handleservice/${wm.targetsphwm5}/${wm.configuration-release}/" failonerror="true" />
<delete includeEmptyDirs="true" dir="../../UI/build/${wm.targetsphwm5}/${wm.configuration-release}/" failonerror="true" />
<delete includeEmptyDirs="true" dir="./sphwm5/" failonerror="true" />
</target>
</project>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -