BuildDitto.bld 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <project version='8' encrypted='1'>
  3. <steps type='0'>
  4. <step action='Set Macro'>
  5. <MacroName>LOGFILE</MacroName>
  6. <MacroValue>%workDir%\%branch%\Log.txt</MacroValue>
  7. <name>Default Log File</name>
  8. </step>
  9. <step action='Read INI'>
  10. <Filename>%projdir%\pw.ini</Filename>
  11. <Macro>sf_pw</Macro>
  12. <Section>sf</Section>
  13. <ValueName>pw</ValueName>
  14. <name>Read INI</name>
  15. </step>
  16. <step action='Group'>
  17. <name>Project steps</name>
  18. </step>
  19. <step action='Set File Attributes'>
  20. <Archive type='3'>2</Archive>
  21. <Ext>*</Ext>
  22. <Hidden type='3'>2</Hidden>
  23. <LogAttr type='11'>-1</LogAttr>
  24. <LogUnchanged type='11'>-1</LogUnchanged>
  25. <Path>%workdir%</Path>
  26. <ReadOnly type='3'>2</ReadOnly>
  27. <Recurse type='11'>-1</Recurse>
  28. <System type='3'>2</System>
  29. <buildfailsteps type='11'>0</buildfailsteps>
  30. <indent type='3'>1</indent>
  31. <name>Set File Attributes</name>
  32. </step>
  33. <step action='Delete Files'>
  34. <ContinueFail type='11'>-1</ContinueFail>
  35. <DelDirs type='11'>-1</DelDirs>
  36. <Ext>*</Ext>
  37. <Path>%workdir%</Path>
  38. <Recurse type='11'>-1</Recurse>
  39. <indent type='3'>1</indent>
  40. <name>Delete Files</name>
  41. </step>
  42. <step action='Set File Attributes'>
  43. <Archive type='3'>2</Archive>
  44. <Ext>*</Ext>
  45. <Hidden type='3'>2</Hidden>
  46. <LogAttr type='11'>-1</LogAttr>
  47. <LogUnchanged type='11'>-1</LogUnchanged>
  48. <Path>%testBuildWorkDir%</Path>
  49. <ReadOnly type='3'>2</ReadOnly>
  50. <Recurse type='11'>-1</Recurse>
  51. <System type='3'>2</System>
  52. <buildfailsteps type='11'>0</buildfailsteps>
  53. <continueonfail type='3'>1</continueonfail>
  54. <indent type='3'>1</indent>
  55. <name>Set File Attributes</name>
  56. </step>
  57. <step action='Delete Files'>
  58. <ContinueFail type='11'>-1</ContinueFail>
  59. <DelDirs type='11'>-1</DelDirs>
  60. <Ext>*</Ext>
  61. <Path>%testBuildWorkDir%</Path>
  62. <Recurse type='11'>-1</Recurse>
  63. <indent type='3'>1</indent>
  64. <name>Delete Temp Source</name>
  65. </step>
  66. <step action='Run Program'>
  67. <buildfailsteps type='11'>0</buildfailsteps>
  68. <command>C:\Program Files\Git\bin\git.exe clone git://git.code.sf.net/p/ditto-cp/ditto %workDir%</command>
  69. <indent type='3'>1</indent>
  70. <name>Run Program</name>
  71. <outputfrom type='3'>1</outputfrom>
  72. </step>
  73. <step action='Subversion'>
  74. <Files>%branch%</Files>
  75. <Host>svn.code.sf.net</Host>
  76. <LocalPath>%workDir%</LocalPath>
  77. <Password encrypted='1'>WM3ePOE8XeG4aqO46qE=</Password>
  78. <Protocol>http</Protocol>
  79. <Repository>/p/ditto-cp/code/</Repository>
  80. <SVNPath>C:\Program Files (x86)\SlikSvn\bin</SVNPath>
  81. <Subcommand>checkout</Subcommand>
  82. <Username>sabrogden</Username>
  83. <checked type='11'>0</checked>
  84. <indent type='3'>1</indent>
  85. <name>Get Latest</name>
  86. </step>
  87. <step action='Run Script'>
  88. <Language>VBScript</Language>
  89. <Script><![CDATA[' increment the build number in the global macro BUILD_NUM, creating
  90. ' the macro and initializing to 1 if it doesn't exist
  91. Const BLD_MACRO = "verBuild"
  92. ' retrieve global macros collection
  93. Set macros = Application.Macros(vbldGlobal)
  94. ' see if our macro exists
  95. Set macro = macros.Item(BLD_MACRO)
  96. If macro Is Nothing Then
  97. ' create the macro if not found
  98. macros.Add BLD_MACRO, "1"
  99. Builder.LogMessage "Created BUILD_NUM macro"
  100. Else
  101. macro.Value = CLng(macro.Value)+1
  102. Builder.LogMessage "Incremented BUILD_NUM macro to " & macro.Value
  103. End If
  104. ]]></Script>
  105. <description><![CDATA[Get the next build number
  106. ]]></description>
  107. <indent type='3'>1</indent>
  108. <name>Increment Build Number</name>
  109. </step>
  110. <step action='ZIP Files'>
  111. <Action type='3'>2</Action>
  112. <Compression>5</Compression>
  113. <Dest>%workDir%\dittosetup\output\DittoSource_%versionFileName%.zip</Dest>
  114. <ExclExt><![CDATA[*.tlog
  115. *.pch
  116. *.obj
  117. *.asm
  118. *.lastbuildstate
  119. *.pdb
  120. *.exp
  121. *.svn-base
  122. *.map
  123. *.tlh
  124. .git]]></ExclExt>
  125. <Ext>*</Ext>
  126. <Hidden type='11'>-1</Hidden>
  127. <LogDetail type='11'>-1</LogDetail>
  128. <Recurse type='11'>-1</Recurse>
  129. <Source>%workDir%</Source>
  130. <indent type='3'>1</indent>
  131. <name>ZIP Files</name>
  132. </step>
  133. <step action='Group'>
  134. <indent type='3'>1</indent>
  135. <name>Build Ditto</name>
  136. </step>
  137. <step action='Make VS 2010'>
  138. <AssemblyVer type='11'>-1</AssemblyVer>
  139. <Attr type='11'>-1</Attr>
  140. <Config>Release|x64</Config>
  141. <FileVer type='11'>-1</FileVer>
  142. <Filename>%workDir%\CP_Main_10.sln</Filename>
  143. <ProdVer type='11'>-1</ProdVer>
  144. <Version>%version%</Version>
  145. <VersionSel type='3'>2</VersionSel>
  146. <indent type='3'>2</indent>
  147. <name>Build Ditto 64</name>
  148. </step>
  149. <step action='Make VS 2010'>
  150. <AssemblyVer type='11'>-1</AssemblyVer>
  151. <Attr type='11'>-1</Attr>
  152. <Config>Release|Win32</Config>
  153. <FileVer type='11'>-1</FileVer>
  154. <Filename>%workDir%\CP_Main_10.sln</Filename>
  155. <ProdVer type='11'>-1</ProdVer>
  156. <Version>%version%</Version>
  157. <VersionSel type='3'>2</VersionSel>
  158. <indent type='3'>2</indent>
  159. <name>Build Ditto 32</name>
  160. </step>
  161. <step action='Group'>
  162. <indent type='3'>1</indent>
  163. <name>Zip Source</name>
  164. </step>
  165. <step action='UNZIP Files'>
  166. <Ansi type='11'>-1</Ansi>
  167. <Dest>%testBuildWorkDir%</Dest>
  168. <LogDetail type='11'>-1</LogDetail>
  169. <PathInfo type='11'>-1</PathInfo>
  170. <ReadOnly type='11'>-1</ReadOnly>
  171. <Recurse type='11'>-1</Recurse>
  172. <Source>%workDir%\dittosetup\output\DittoSource_%versionFileName%.zip</Source>
  173. <UNTAR type='11'>-1</UNTAR>
  174. <indent type='3'>2</indent>
  175. <name>UNZIP Files</name>
  176. </step>
  177. <step action='Make VS 2010'>
  178. <AssemblyVer type='11'>-1</AssemblyVer>
  179. <Attr type='11'>-1</Attr>
  180. <Config>Release|x64</Config>
  181. <FileVer type='11'>-1</FileVer>
  182. <Filename>%testBuildWorkDir%\CP_Main_10.sln</Filename>
  183. <ProdVer type='11'>-1</ProdVer>
  184. <Version>%version%</Version>
  185. <VersionSel type='3'>2</VersionSel>
  186. <indent type='3'>2</indent>
  187. <name>Build Ditto 64</name>
  188. </step>
  189. <step action='Make VS 2010'>
  190. <AssemblyVer type='11'>-1</AssemblyVer>
  191. <Attr type='11'>-1</Attr>
  192. <Config>Release|x64</Config>
  193. <FileVer type='11'>-1</FileVer>
  194. <Filename>%testBuildWorkDir%\CP_Main_10.sln</Filename>
  195. <ProdVer type='11'>-1</ProdVer>
  196. <Version>%version%</Version>
  197. <VersionSel type='3'>2</VersionSel>
  198. <indent type='3'>2</indent>
  199. <name>Build Ditto 32</name>
  200. </step>
  201. <step action='Run Program'>
  202. <command>"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" /F"DittoSetup_%versionFileName%" "%workDir%\DittoSetup\DittoSetup_10.iss"</command>
  203. <indent type='3'>1</indent>
  204. <name>Build Installer 32</name>
  205. <outputfrom type='3'>1</outputfrom>
  206. </step>
  207. <step action='Run Program'>
  208. <command>"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" /F"DittoSetup_64bit_%versionFileName%" "%workDir%\DittoSetup\DittoSetup_10.iss" "/dbit64=1"</command>
  209. <indent type='3'>1</indent>
  210. <name>Build Installer 64</name>
  211. <outputfrom type='3'>1</outputfrom>
  212. </step>
  213. <step action='Run Program'>
  214. <command>"%workDir%\DittoSetup\Build Portable ZIP_10.bat" "DittoPortable_%versionFileName%" bit32</command>
  215. <indent type='3'>1</indent>
  216. <name>Build Portable 32</name>
  217. <outputfrom type='3'>1</outputfrom>
  218. <startin>%workDir%\DittoSetup\</startin>
  219. </step>
  220. <step action='Run Program'>
  221. <command>"%workDir%\DittoSetup\Build Portable ZIP_10.bat" "DittoPortable_64bit_%versionFileName%" bit64</command>
  222. <indent type='3'>1</indent>
  223. <name>Build Portable 64</name>
  224. <outputfrom type='3'>1</outputfrom>
  225. <startin>%workDir%\DittoSetup\</startin>
  226. </step>
  227. <step action='7-Zip'>
  228. <Action>Update</Action>
  229. <Exe>C:\Program Files (x86)\7-Zip\7z.exe</Exe>
  230. <Filename>%workDir%\DittoSetup\output\DittoDebug_%versionFileName%.7z</Filename>
  231. <I><![CDATA[*.map
  232. *.pdb
  233. *.dll
  234. *.exe]]></I>
  235. <O>%workDir%</O>
  236. <R type='11'>-1</R>
  237. <T>7z</T>
  238. <X><![CDATA[mfc*
  239. msp*
  240. msv*
  241. u3*
  242. DittoSetup*]]></X>
  243. <Y type='11'>-1</Y>
  244. <indent type='3'>1</indent>
  245. <name>Zip Debug Files</name>
  246. </step>
  247. <step action='Group'>
  248. <buildfailsteps type='11'>0</buildfailsteps>
  249. <indent type='3'>1</indent>
  250. <name>Appx</name>
  251. </step>
  252. <step action='UNZIP Files'>
  253. <Action type='3'>2</Action>
  254. <Ansi type='11'>-1</Ansi>
  255. <Dest>%workDir%\DittoSetup\appx\</Dest>
  256. <Ext>*</Ext>
  257. <LogDetail type='11'>-1</LogDetail>
  258. <PathInfo type='11'>-1</PathInfo>
  259. <Recurse type='11'>-1</Recurse>
  260. <Source>%workDir%\DittoSetup\Output\DittoPortable_64bit_%versionFileName%.zip</Source>
  261. <UNTAR type='11'>-1</UNTAR>
  262. <buildfailsteps type='11'>0</buildfailsteps>
  263. <indent type='3'>2</indent>
  264. <name>extraxt 64bit Portable</name>
  265. </step>
  266. <step action='Write File'>
  267. <Filename>%workDir%\DittoSetup\appx\files.ini</Filename>
  268. <Text><![CDATA[[[Files]]
  269. ".\appxmanifest.xml" "AppxManifest.xml"
  270. ".\Ditto\Ditto.exe" "Ditto.exe"
  271. ".\Ditto\icudt55.dll" "icudt55.dll"
  272. ".\Ditto\icuin55.dll" "icuin55.dll"
  273. ".\Ditto\icuio55.dll" "icuio55.dll"
  274. ".\Ditto\icule55.dll" "icule55.dll"
  275. ".\Ditto\iculx55.dll" "iculx55.dll"
  276. ".\Ditto\icutu55.dll" "icutu55.dll"
  277. ".\Ditto\icuuc55.dll" "icuuc55.dll"
  278. ".\Ditto\mfc100u.dll" "mfc100u.dll"
  279. ".\Ditto\mfcm100u.dll" "mfcm100u.dll"
  280. ".\Ditto\msvcp100.dll" "msvcp100.dll"
  281. ".\Ditto\msvcr100.dll" "msvcr100.dll"
  282. ".\Ditto.png" "Ditto.png"
  283. ".\Ditto_150.png" "Ditto_150.png"
  284. ".\Ditto_44.png" "Ditto_44.png"
  285. ".\Ditto\Addins\DittoUtil.dll" "Addins\DittoUtil.dll"
  286. "C:\Temp\Ditto\Help\DittoConfig.htm" "Help\DittoConfig.htm"
  287. ".\Ditto\Help\DittoCustomKeys.htm" "Help\DittoCustomKeys.htm"
  288. ".\Ditto\Help\DittoFAQ.htm" "Help\DittoFAQ.htm"
  289. ".\Ditto\Help\DittoGettingStarted.htm" "Help\DittoGettingStarted.htm"
  290. ".\Ditto\Help\Dutch_DittoConfig.htm" "Help\Dutch_DittoConfig.htm"
  291. ".\Ditto\Help\Dutch_DittoFAQ.htm" "Help\Dutch_DittoFAQ.htm"
  292. ".\Ditto\Help\Dutch_DittoGettingStarted.htm" "Help\Dutch_DittoGettingStarted.htm"
  293. ".\Ditto\Help\Persian_DittoCustomKeys.htm" "Help\Persian_DittoCustomKeys.htm"
  294. ".\Ditto\Help\Persian_DittoGettingStarted.htm" "Help\Persian_DittoGettingStarted.htm"
  295. ".\Ditto\Help\RegCustomKeys.jpg" "Help\RegCustomKeys.jpg"
  296. ".\Ditto\Help\U3_Install.htm" "Help\U3_Install.htm"
  297. ".\Ditto\Language\Chinese.xml" "Language\Chinese.xml"
  298. ".\Ditto\Language\Chinese Traditional.xml" "Language\Chinese Traditional.xml"
  299. ".\Ditto\Language\Croatian.xml" "Language\Croatian.xml"
  300. ".\Ditto\Language\Czech.xml" "Language\Czech.xml"
  301. ".\Ditto\Language\Danish.xml" "Language\Danish.xml"
  302. ".\Ditto\Language\Deutsch.xml" "Language\Deutsch.xml"
  303. ".\Ditto\Language\Dutch.xml" "Language\Dutch.xml"
  304. ".\Ditto\Language\English.xml" "Language\English.xml"
  305. ".\Ditto\Language\French.xml" "Language\French.xml"
  306. ".\Ditto\Language\Greek.xml" "Language\Greek.xml"
  307. ".\Ditto\Language\Hebrew.xml" "Language\Hebrew.xml"
  308. ".\Ditto\Language\italiano.xml" "Language\italiano.xml"
  309. ".\Ditto\Language\Japanese.xml" "Language\Japanese.xml"
  310. ".\Ditto\Language\Korean.xml" "Language\Korean.xml"
  311. ".\Ditto\Language\Persian.xml" "Language\Persian.xml"
  312. ".\Ditto\Language\Polski.xml" "Language\Polski.xml"
  313. ".\Ditto\Language\Portuguese.xml" "Language\Portuguese.xml"
  314. ".\Ditto\Language\Romanian.xml" "Language\Romanian.xml"
  315. ".\Ditto\Language\Russian.xml" "Language\Russian.xml"
  316. ".\Ditto\Language\Slovenian.xml" "Language\Slovenian.xml"
  317. ".\Ditto\Language\Spanish.xml" "Language\Spanish.xml"
  318. ".\Ditto\Language\Swedish.xml" "Language\Swedish.xml"
  319. ".\Ditto\Language\Turkish.xml" "Language\Turkish.xml"
  320. ".\Ditto\Language\Ukrainian.xml" "Language\Ukrainian.xml"
  321. ".\Ditto\Themes\Autumn.xml" "Themes\Autumn.xml"
  322. ".\Ditto\Themes\BOCApastel.xml" "Themes\BOCApastel.xml"
  323. ".\Ditto\Themes\DarkerDitto.xml" "Themes\DarkerDitto.xml"
  324. ".\Ditto\Themes\Ditto.xml" "Themes\Ditto.xml"
  325. ".\Ditto\Themes\Nighted.xml" "Themes\Nighted.xml"
  326. ".\Ditto\Themes\OnnoG Blue.xml" "Themes\OnnoG Blue.xml"
  327. ".\Ditto\Themes\OnnoG Green.xml" "Themes\OnnoG Green.xml"]]></Text>
  328. <buildfailsteps type='11'>0</buildfailsteps>
  329. <checked type='11'>0</checked>
  330. <indent type='3'>2</indent>
  331. <name>Write files.ini</name>
  332. </step>
  333. <step action='Write File'>
  334. <Filename>%workDir%\DittoSetup\appx\appxmanifest.xml</Filename>
  335. <Text><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  336. <Package
  337. xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
  338. xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
  339. xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
  340. xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10">
  341. <Identity Name="60145ScottBrogden.ditto-cp"
  342. ProcessorArchitecture="x64"
  343. Publisher="CN=2032816C-0EBD-4FA0-8832-B8289B21D4F4"
  344. Version="%version%" />
  345. <Properties>
  346. <DisplayName>ditto-cp</DisplayName>
  347. <PublisherDisplayName>Scott Brogden</PublisherDisplayName>
  348. <Description>Ditto</Description>
  349. <Logo>Ditto.png</Logo>
  350. </Properties>
  351. <Resources>
  352. <Resource Language="en-us" />
  353. </Resources>
  354. <Dependencies>
  355. <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14316.0" MaxVersionTested="10.0.14316.0" />
  356. </Dependencies>
  357. <Capabilities>
  358. <rescap:Capability Name="runFullTrust"/>
  359. </Capabilities>
  360. <Applications>
  361. <Application Id="Ditto" Executable="Ditto.exe" EntryPoint="Windows.FullTrustApplication">
  362. <uap:VisualElements
  363. BackgroundColor="#464646"
  364. DisplayName="Ditto"
  365. Square150x150Logo="Ditto_150.png"
  366. Square44x44Logo="Ditto_44.png"
  367. Description="Ditto" />
  368. <Extensions>
  369. <desktop:Extension Category="windows.startupTask" Executable="Ditto.exe" EntryPoint="Windows.FullTrustApplication">
  370. <desktop:StartupTask TaskId="DittoStartupTask" Enabled="true" DisplayName="Ditto Service" />
  371. </desktop:Extension>
  372. </Extensions>
  373. </Application>
  374. </Applications>
  375. </Package>]]></Text>
  376. <buildfailsteps type='11'>0</buildfailsteps>
  377. <indent type='3'>2</indent>
  378. <name>Write manifest</name>
  379. </step>
  380. <step action='Run Program'>
  381. <buildfailsteps type='11'>0</buildfailsteps>
  382. <command>"c:\Program Files (x86)\Windows Kits\10\bin\x86\MakeAppx.exe" pack /f "%workDir%\DittoSetup\appx\files.ini" /p "%workDir%\DittoSetup\appx\Ditto_%versionFileName%.appx"</command>
  383. <indent type='3'>2</indent>
  384. <name>Gen appx</name>
  385. <outputfrom type='3'>1</outputfrom>
  386. <startin>%workDir%\DittoSetup\appx</startin>
  387. </step>
  388. <step action='Run Program'>
  389. <ShowCmd type='11'>-1</ShowCmd>
  390. <buildfailsteps type='11'>0</buildfailsteps>
  391. <command>"c:\Program Files (x86)\Windows Kits\10\bin\x86\signtool.exe" sign -f "%workDir%\DittoSetup\appx\my.pfx" -fd SHA256 -v "%workDir%\DittoSetup\appx\Ditto_%versionFileName%.appx</command>
  392. <indent type='3'>2</indent>
  393. <name>Sign appx</name>
  394. <outputfrom type='3'>1</outputfrom>
  395. </step>
  396. <step action='Copy Files'>
  397. <Converted type='11'>-1</Converted>
  398. <Delay>15</Delay>
  399. <DestDir>%workDir%\DittoSetup\Output</DestDir>
  400. <Ext>Ditto_%versionFileName%.appx</Ext>
  401. <Incremental type='11'>-1</Incremental>
  402. <LogCopied type='11'>-1</LogCopied>
  403. <ReadOnly type='11'>-1</ReadOnly>
  404. <Retries>10</Retries>
  405. <SourceDir>%workDir%\DittoSetup\appx\</SourceDir>
  406. <TBD type='11'>-1</TBD>
  407. <buildfailsteps type='11'>0</buildfailsteps>
  408. <indent type='3'>2</indent>
  409. <name>Copy Files</name>
  410. </step>
  411. <step action='Group'>
  412. <indent type='3'>1</indent>
  413. <name>Create Web Page</name>
  414. </step>
  415. <step action='Write File'>
  416. <Filename>%workDir%\DittoSetup\output\index.php</Filename>
  417. <Text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  418. <html xmlns="http://www.w3.org/1999/xhtml">
  419. <head>
  420. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  421. <title>Ditto clipboard manager - Beta %version%</title>
  422. <meta name="description" content="" />
  423. </head>
  424. <body>
  425. %DATETIME%
  426. <br>
  427. <br>
  428. Warning, as of version 3.21.105 I'm in the middle of updating the default looks of Ditto, so it might take a few versions to sort out.
  429. <br>
  430. <br>
  431. <b>Ditto beta, version %version%</b>
  432. <br><br>
  433. <a href="DittoSetup_%versionFileName%.exe">Ditto Setup</a><br>
  434. <a href="DittoSetup_64bit_%versionFileName%.exe">Ditto Setup 64bit</a><br>
  435. <a href="DittoPortable_%versionFileName%.zip">Ditto Portable</a><br>
  436. <a href="DittoPortable_64bit_%versionFileName%.zip">Ditto Portable 64</a><br>
  437. <a href="Ditto_%versionFileName%.appx">Ditto Windows App</a><br>
  438. <br>
  439. <a href="DittoDebug_%versionFileName%.7z">Ditto Debug Files</a><br>
  440. <a href="DittoSource_%versionFileName%.zip">Ditto Source</a><br>
  441. <br>
  442. <a href="AllFiles.php">Previous Builds</a><br>
  443. <br>
  444. <a href="changes.php">Change Log since last release 3-18-2016</a><br>
  445. <br>
  446. <?php Include("changes.php");?>
  447. <br>
  448. <br>
  449. <!-- Start of StatCounter Code -->
  450. <script type="text/javascript">
  451. var sc_project=4303469;
  452. var sc_invisible=0;
  453. var sc_partition=54;
  454. var sc_click_stat=1;
  455. var sc_security="b3f57099";
  456. </script>
  457. <script type="text/javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><div class="statcounter"><a title="site stats" href="http://www.statcounter.com/" target="_blank"><img class="statcounter" src="http://c.statcounter.com/4303469/0/b3f57099/0/" alt="site stats" ></a></div></noscript>
  458. <!-- End of StatCounter Code --><br><a href="http://my.statcounter.com/project/standard/stats.php?project_id=4303469&guest=1">View My Stats</a>
  459. </body>]]></Text>
  460. <checked type='11'>0</checked>
  461. <indent type='3'>2</indent>
  462. <name>Beta web page</name>
  463. </step>
  464. <step action='Set Macro'>
  465. <MacroName>LOGFILE</MacroName>
  466. <MacroValue>%workDir%\DittoSetup\output\changes.php</MacroValue>
  467. <indent type='3'>2</indent>
  468. <name>Log Changes to File</name>
  469. <nologging type='11'>-1</nologging>
  470. </step>
  471. <step action='Git'>
  472. <Command>log</Command>
  473. <Options>--pretty=format:"%%ad %%s" --date=short --since=2016-03-18</Options>
  474. <WorkDir>%workDir%</WorkDir>
  475. <buildfailsteps type='11'>0</buildfailsteps>
  476. <indent type='3'>2</indent>
  477. <name>Git</name>
  478. </step>
  479. <step action='Run Program'>
  480. <ShowCmd type='11'>-1</ShowCmd>
  481. <buildfailsteps type='11'>0</buildfailsteps>
  482. <checked type='11'>0</checked>
  483. <command>C:\Program Files\Git\bin\git.exe log --pretty=format:%ar %s --since=2015-11-21</command>
  484. <indent type='3'>2</indent>
  485. <name>Run Program</name>
  486. <outputfile>c:\temp\a.txt</outputfile>
  487. <outputfrom type='3'>2</outputfrom>
  488. <startin>%workDir%</startin>
  489. </step>
  490. <step action='Set Macro'>
  491. <MacroName>LOGFILE</MacroName>
  492. <MacroValue>%workDir%\Log.txt</MacroValue>
  493. <indent type='3'>2</indent>
  494. <name>Default Log File</name>
  495. <nologging type='11'>-1</nologging>
  496. </step>
  497. <step action='Replace in File'>
  498. <FileIn>%workDir%\%branch%\DittoSetup\output\changes.php</FileIn>
  499. <Find>Starting Build.*--------------------</Find>
  500. <NoModS type='11'>-1</NoModS>
  501. <checked type='11'>0</checked>
  502. <indent type='3'>2</indent>
  503. <name>Replace "Starting Build"</name>
  504. </step>
  505. <step action='Replace in File'>
  506. <FileIn>%workDir%\DittoSetup\output\changes.php</FileIn>
  507. <Find>\r\n</Find>
  508. <NoModS type='11'>-1</NoModS>
  509. <Replace><![CDATA[<br>\r\n]]></Replace>
  510. <indent type='3'>2</indent>
  511. <name><![CDATA[Replace Line Feeds with <br>]]></name>
  512. </step>
  513. <step action='FTP'>
  514. <Ext>*.*</Ext>
  515. <Filename>%workDir%\DittoSetup\output\</Filename>
  516. <Incremental type='11'>-1</Incremental>
  517. <Logging type='3'>6</Logging>
  518. <Password encrypted='1'>Nc3MPPQ8duGharq4qKHsgxD9UJW9LhmWJguHyD/uunU=</Password>
  519. <Percent>10</Percent>
  520. <Port>22</Port>
  521. <Retries>0</Retries>
  522. <Server>web.sourceforge.net</Server>
  523. <ServerPath>/home/groups/d/di/ditto-cp/htdocs/beta</ServerPath>
  524. <Timeout>30</Timeout>
  525. <TransferType type='3'>1</TransferType>
  526. <UserName>sabrogden,ditto-cp</UserName>
  527. <checked type='11'>0</checked>
  528. <indent type='3'>1</indent>
  529. <name>Copy to beta folder</name>
  530. </step></steps>
  531. <steps type='1'>
  532. <step action='Group'>
  533. <checked type='11'>0</checked>
  534. <name>Sign App Code</name>
  535. </step>
  536. <step action='Run Program'>
  537. <checked type='11'>0</checked>
  538. <command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\sab.000\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\Release64\Ditto.exe</command>
  539. <indent type='3'>1</indent>
  540. <name>Sign Ditto.exe 64</name>
  541. <outputfrom type='3'>1</outputfrom>
  542. </step>
  543. <step action='Run Program'>
  544. <checked type='11'>0</checked>
  545. <command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\sab.000\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\Release64\Addins\DittoUtil.dll</command>
  546. <indent type='3'>1</indent>
  547. <name>Sign DittoUtil.dll 64</name>
  548. <outputfrom type='3'>1</outputfrom>
  549. </step>
  550. <step action='Run Program'>
  551. <checked type='11'>0</checked>
  552. <command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\sab.000\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\Release\Ditto.exe</command>
  553. <indent type='3'>1</indent>
  554. <name>Sign Ditto.exe</name>
  555. <outputfrom type='3'>1</outputfrom>
  556. </step>
  557. <step action='Run Program'>
  558. <checked type='11'>0</checked>
  559. <command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\sab.000\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\Release\Addins\DittoUtil.dll</command>
  560. <indent type='3'>1</indent>
  561. <name>Sign DittoUtil.dll</name>
  562. <outputfrom type='3'>1</outputfrom>
  563. </step>
  564. <step action='Group'>
  565. <checked type='11'>0</checked>
  566. <indent type='3'>1</indent>
  567. <name>Sign Installers</name>
  568. </step>
  569. <step action='Run Program'>
  570. <checked type='11'>0</checked>
  571. <command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\sab.000\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\DittoSetup\Output\DittoSetup_%versionFileName%.exe</command>
  572. <indent type='3'>2</indent>
  573. <name>Sign Ditto Installer</name>
  574. <outputfrom type='3'>1</outputfrom>
  575. </step>
  576. <step action='Run Program'>
  577. <checked type='11'>0</checked>
  578. <command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\sab.000\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\DittoSetup\Output\DittoSetup_64bit_%versionFileName%.exe</command>
  579. <indent type='3'>2</indent>
  580. <name>Sign Ditto 64 Installer</name>
  581. <outputfrom type='3'>1</outputfrom>
  582. </step></steps>
  583. <macros>
  584. <macro name='branch'>
  585. <value>trunk</value>
  586. </macro>
  587. <macro name='testBuildWorkDir'>
  588. <value>%temp%\DittoTestBuild</value>
  589. </macro>
  590. <macro name='verMajor'>
  591. <value>3</value>
  592. </macro>
  593. <macro name='verMinor'>
  594. <value>21</value>
  595. </macro>
  596. <macro name='verRevision'>
  597. <value>0</value>
  598. </macro>
  599. <macro name='version'>
  600. <value>%verMajor%.%verMinor%.%verBuild%.%verRevision%</value>
  601. </macro>
  602. <macro name='versionFileName'>
  603. <value>%verMajor%_%verMinor%_%verBuild%_%verRevision%</value>
  604. </macro>
  605. <macro name='workDir'>
  606. <value>%temp%\Ditto</value>
  607. </macro></macros>
  608. </project>