개정판 b6c25f7a
issue #000: add ConvertService.wxs
Change-Id: I3b3d8147a22f267972433b5c4fc41713491f2dab
ConvertService.wxs | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
|
3 |
<Product Id="*" Name="ConvertService" Language="1033" Version="1.0.0.0" Manufacturer="DOFTECH(C)" UpgradeCode="4E7427BB-6120-45EB-852E-5AE6190AA8F8"> |
|
4 |
<Package Platform="x64" InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> |
|
5 |
|
|
6 |
<MajorUpgrade Schedule="afterInstallInitialize" DowngradeErrorMessage="A newer version of [ProductName] is already installed. Setup will now exit." AllowSameVersionUpgrades="yes"/> |
|
7 |
<MediaTemplate EmbedCab="yes"/> |
|
8 |
|
|
9 |
<WixVariable Id="WixUIBannerBmp" Value="DOFTECH_LOGO.bmp" /> |
|
10 |
|
|
11 |
<Feature Id="ProductFeature" Title="ConvertService" Level="1"> |
|
12 |
<ComponentGroupRef Id="ConvertService" /> |
|
13 |
</Feature> |
|
14 |
</Product> |
|
15 |
|
|
16 |
<Fragment> |
|
17 |
<Directory Id="TARGETDIR" Name="SourceDir"> |
|
18 |
<Directory Id="DesktopFolder" Name="Desktop"> |
|
19 |
<Component Id="DesktopShortcut" Guid="051FBDC5-775B-42D5-A484-A9E6D3546F2E" Feature="ProductFeature"> |
|
20 |
<RegistryValue Root="HKCU" Key="Software\DOFTECH\MARKUS\ConvertService" Name="installed" Type="integer" Value="1" KeyPath="yes"/> |
|
21 |
<Shortcut Id="DesktopShortcut" |
|
22 |
Directory="DesktopFolder" |
|
23 |
Name="ConvertService" |
|
24 |
Description="ConvertService" |
|
25 |
Target="[INSTALLFOLDER]Markus.Service.Station.exe" |
|
26 |
WorkingDirectory="INSTALLFOLDER" /> |
|
27 |
<RemoveFolder Id="DesktopFolder" On="uninstall"/> |
|
28 |
</Component> |
|
29 |
</Directory> |
|
30 |
|
|
31 |
<Directory Id="ProgramFiles64Folder"> |
|
32 |
<Directory Id="COMPANYFOLDER" Name="DOFTECH"> |
|
33 |
<Directory Id="PRODUCTFOLDER" Name="MARKUS"> |
|
34 |
<Directory Id="INSTALLFOLDER" Name="ConvertService" /> |
|
35 |
</Directory> |
|
36 |
</Directory> |
|
37 |
</Directory> |
|
38 |
</Directory> |
|
39 |
|
|
40 |
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" /> |
|
41 |
<UI> |
|
42 |
<UIRef Id="WixUI_InstallDir"/> |
|
43 |
<Publish Dialog="WelcomeDlg" |
|
44 |
Control="Next" |
|
45 |
Event="NewDialog" |
|
46 |
Value="InstallDirDlg" |
|
47 |
Order="2">1</Publish> |
|
48 |
<Publish Dialog="InstallDirDlg" |
|
49 |
Control="Back" |
|
50 |
Event="NewDialog" |
|
51 |
Value="WelcomeDlg" |
|
52 |
Order="2">1</Publish> |
|
53 |
<Publish Dialog="ExitDialog" |
|
54 |
Control="Finish" |
|
55 |
Event="DoAction" |
|
56 |
Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed |
|
57 |
</Publish> |
|
58 |
</UI> |
|
59 |
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch ConvertService" /> |
|
60 |
<Property Id="WixShellExecTarget" Value="[INSTALLFOLDER]Markus.Service.Station.exe" /> |
|
61 |
<CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" /> |
|
62 |
</Fragment> |
|
63 |
|
|
64 |
<Fragment> |
|
65 |
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> |
|
66 |
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. --> |
|
67 |
<!-- <Component Id="ProductComponent"> --> |
|
68 |
<!-- TODO: Insert files, registry keys, and other resources here. --> |
|
69 |
<!-- </Component> --> |
|
70 |
</ComponentGroup> |
|
71 |
</Fragment> |
|
72 |
|
|
73 |
<Fragment> |
|
74 |
<DirectoryRef Id="INSTALLFOLDER"> |
|
75 |
<Directory Id="CommonAppDataFolder"> |
|
76 |
<Directory Id="MyAppDataFolder" Name="MARKUS" > |
|
77 |
<Component Id="CreateMyAppDataFolder" Guid="C010C456-730A-40F8-BBFC-B7CE1713F923" Win64='yes'> |
|
78 |
<CreateFolder /> |
|
79 |
</Component> |
|
80 |
</Directory> |
|
81 |
</Directory> |
|
82 |
</DirectoryRef> |
|
83 |
|
|
84 |
<DirectoryRef Id="TARGETDIR"> |
|
85 |
<Component Id="RegistryEntries" Guid="A3390364-AD35-4F89-ADAF-F6527CA8D519"> |
|
86 |
<RegistryKey Root="HKLM" |
|
87 |
Key="Software\DOFTECH\MARKUS\ConvertService" |
|
88 |
Action="createAndRemoveOnUninstall"> |
|
89 |
<RegistryValue Type="string" Name="Path" Value="[INSTALLFOLDER]"/> |
|
90 |
</RegistryKey> |
|
91 |
</Component> |
|
92 |
</DirectoryRef> |
|
93 |
</Fragment> |
|
94 |
|
|
95 |
<Fragment> |
|
96 |
<ComponentGroup Id="ConvertService"> |
|
97 |
<ComponentRef Id="CreateMyAppDataFolder" /> |
|
98 |
<ComponentRef Id="RegistryEntries" /> |
|
99 |
|
|
100 |
<Component Id="cmpE5B102FA5798C87322EB9A5F1791B419" Directory="INSTALLFOLDER" Guid="3C786461-FAD0-4917-B66E-918921521B4B"> |
|
101 |
<File Id="fil6C46219B8985F6C8BEA03BA8155A40C7" KeyPath="yes" Source=".\Setup\ConvertService\ConfigParser.dll" /> |
|
102 |
</Component> |
|
103 |
<Component Id="cmp0BFABD100B4065787B40AA6B05938DF7" Directory="INSTALLFOLDER" Guid="AA90E610-B36E-4F4F-8FC6-5FA1328DD968"> |
|
104 |
<File Id="fil1D38723F4A034EDE78B6A3B94EFB99F2" KeyPath="yes" Source=".\Setup\ConvertService\EntityFramework.dll" /> |
|
105 |
</Component> |
|
106 |
<Component Id="cmpB8E7B130B6B78399B39307530A3D65B2" Directory="INSTALLFOLDER" Guid="2469F212-AF1A-4AA4-AFC0-923D484B4DAD"> |
|
107 |
<File Id="fil55247FAD2E00E96001D9F9C3E501E9FA" KeyPath="yes" Source=".\Setup\ConvertService\EntityFramework.SqlServer.dll" /> |
|
108 |
</Component> |
|
109 |
<Component Id="cmp7EE89B380F7C8EC18AABE62FC78AC9AB" Directory="INSTALLFOLDER" Guid="2FAB1107-1AC3-427F-84DC-C2BFD2489081"> |
|
110 |
<File Id="fil54D1D9F81A7598FA61D2D90AFB5F5D01" KeyPath="yes" Source=".\Setup\ConvertService\Log.config" /> |
|
111 |
</Component> |
|
112 |
<Component Id="cmp13D58469BCB864EB53214ED46E622188" Directory="INSTALLFOLDER" Guid="569AE1C4-9AC5-466B-87D4-C4855537200D"> |
|
113 |
<File Id="fil28F7A9478894C77C5F6C2A95DAA4B459" KeyPath="yes" Source=".\Setup\ConvertService\log4net.dll" /> |
|
114 |
</Component> |
|
115 |
<Component Id="cmp742785C9A7B88BE6B2E81C2322E3D2EE" Directory="INSTALLFOLDER" Guid="E026695A-EBB4-4C58-9AA1-BFFB982D7C9D"> |
|
116 |
<File Id="filA307C00D897BECB908C510DE71A3AD29" KeyPath="yes" Source=".\Setup\ConvertService\log4net.xml" /> |
|
117 |
</Component> |
|
118 |
<Component Id="cmpE6B261D353EBAF7475E6FD27AB239525" Directory="INSTALLFOLDER" Guid="9C5481DE-CDC8-44B5-84C7-FC03CFA209EA"> |
|
119 |
<File Id="fil54A9004D73D1406DDFD2353A8ABD4B6F" KeyPath="yes" Source=".\Setup\ConvertService\Markus.LibraryInstaller.dll" /> |
|
120 |
</Component> |
|
121 |
<Component Id="cmpFD4EDF2D57DF8729C368DE5269DE73EE" Directory="INSTALLFOLDER" Guid="C8B1376D-9C33-47F6-93D9-C775374D2317"> |
|
122 |
<File Id="filC000414FAAA7B47AB5A6A7440C40C2B9" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Message.dll" /> |
|
123 |
</Component> |
|
124 |
<Component Id="cmp5CC7826A8FAE63A5D68EC5C066ED3F09" Directory="INSTALLFOLDER" Guid="088F25D6-2FE6-477F-9477-892B61D10D3A"> |
|
125 |
<File Id="fil85662EC86AB2EA663F53A980A0A1DC48" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.Convert.dll.config" /> |
|
126 |
</Component> |
|
127 |
<Component Id="cmpF0A672D47EC9040EF22050FEA1C32689" Directory="INSTALLFOLDER" Guid="96FA61A2-5026-45BE-AF8E-670635551430"> |
|
128 |
<File Id="fil8D88F5C1AAFDF5BD5712F12B305F80F0" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.ConvertProcess.exe.config" /> |
|
129 |
</Component> |
|
130 |
<Component Id="cmp6CB65174E007700721D1700E2FD321BF" Directory="INSTALLFOLDER" Guid="C6475419-3773-4A18-A07C-9C059C3F168E"> |
|
131 |
<File Id="fil5DD642F7AB0D20FA4EF3431302115B81" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.DataBase.dll.config" /> |
|
132 |
</Component> |
|
133 |
<Component Id="cmpE3BD678E13772C47C141B2DE266B331E" Directory="INSTALLFOLDER" Guid="EFB632F3-EBC5-4ADE-BC83-0AF38C02CCAF"> |
|
134 |
<File Id="filE3503714175539DE4DEF06E112AAA8E2" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.Interface.dll" /> |
|
135 |
</Component> |
|
136 |
<Component Id="cmp5FD92E2C3B206FE95E855BAF12B40B1D" Directory="INSTALLFOLDER" Guid="99F64F39-B67D-44D6-B370-99178771442E"> |
|
137 |
<File Id="fil8AB2C6915BD35C045F44E38D2B1CD17F" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.IWcfService.dll" /> |
|
138 |
</Component> |
|
139 |
<Component Id="cmp2FAAC73FD02E22C73B243176AEBCBC35" Directory="INSTALLFOLDER" Guid="D759BCE9-6258-4DBE-BF02-889B09F32932"> |
|
140 |
<File Id="filFFC0522802E614CE5807DC09F26EE359" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.IWcfService.dll.config" /> |
|
141 |
</Component> |
|
142 |
<Component Id="cmpB87287F5227E64CA16D04044EE3A9FD3" Directory="INSTALLFOLDER" Guid="1C1BE84A-AA5D-4ECC-971E-E27790F43203"> |
|
143 |
<File Id="filFAFF699E467B29D8095C01EB272388CF" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.Station.exe" /> |
|
144 |
</Component> |
|
145 |
<Component Id="cmp1A10D588DACCD00808281F6CB5528CD5" Directory="INSTALLFOLDER" Guid="892B7D88-0177-456D-BD1D-40D524AFE2C6"> |
|
146 |
<File Id="fil54F71DF2D8138098731E4004A6404234" KeyPath="yes" Source=".\Setup\ConvertService\Markus.Service.Station.exe.config" /> |
|
147 |
</Component> |
|
148 |
<Component Id="cmpA056D807B555EB9DF7C114BF337F9528" Directory="INSTALLFOLDER" Guid="852F227E-0346-47BC-A010-852093500A96"> |
|
149 |
<File Id="fil7ECB74CDDEFEF0F3ED3AA28E1C76A24B" KeyPath="yes" Source=".\Setup\ConvertService\MarkusPDF.dll" /> |
|
150 |
</Component> |
|
151 |
<Component Id="cmpBC4FC00A26E7D32479D42D3411317FC5" Directory="INSTALLFOLDER" Guid="627133DD-0E84-4A63-A860-43407649D4D3"> |
|
152 |
<File Id="fil90A8AAD9FC612906D405476D61CEA3F4" KeyPath="yes" Source=".\Setup\ConvertService\Newtonsoft.Json.dll" /> |
|
153 |
</Component> |
|
154 |
<Component Id="cmp125C379E185231EFADA4CB4301BD0A9E" Directory="INSTALLFOLDER" Guid="4C9C540B-37CF-4080-A760-FCF4C102B246"> |
|
155 |
<File Id="fil3A2F44A7730E98D18E0948B3261DFABD" KeyPath="yes" Source=".\Setup\ConvertService\Newtonsoft.Json.xml" /> |
|
156 |
</Component> |
|
157 |
<Component Id="cmp457D07D7B195DF70C5151CB37BA04021" Directory="INSTALLFOLDER" Guid="E95712E1-30CF-4FB2-B359-0D1E929B6B35"> |
|
158 |
<File Id="fil93E77D65AABE961F248549D738F3DD1E" KeyPath="yes" Source=".\Setup\ConvertService\obfuscar.xml" /> |
|
159 |
</Component> |
|
160 |
<Component Id="cmp02F71C7C6D367B824AE93BC8AAAC6D24" Directory="INSTALLFOLDER" Guid="2AAC661A-CA19-4475-8B20-47009B586A05"> |
|
161 |
<File Id="filC967D57279D73C6402DD23D49F90D943" KeyPath="yes" Source=".\Setup\ConvertService\ServiceStation.ini" /> |
|
162 |
</Component> |
|
163 |
<Component Id="cmp07569CB5AB9CC837FA4C24F07D3CB63A" Directory="dirF11A32C1D9800180BB1B466CB65F5579" Guid="B400C4BB-F602-499A-883F-AA1359D251B3"> |
|
164 |
<File Id="fil7F346CE65A7EBB6702C6F00D0F80D9D6" KeyPath="yes" Source=".\Setup\ConvertService\Obfuscator_Output\Mapping.txt" /> |
|
165 |
</Component> |
|
166 |
<Component Id="cmp14B25B17FA12AE332F05C39618810A70" Directory="dirF11A32C1D9800180BB1B466CB65F5579" Guid="A0B2571A-28EF-4BFE-8AFB-39FAF4DB9A74"> |
|
167 |
<File Id="fil56AD76521C6DEEDCC3721D35F9400254" KeyPath="yes" Source=".\Setup\ConvertService\Obfuscator_Output\Markus.Service.Convert.dll" /> |
|
168 |
</Component> |
|
169 |
<Component Id="cmp24B565AA62C79F3CEEF4268CB2055EA8" Directory="dirF11A32C1D9800180BB1B466CB65F5579" Guid="C83764B3-8264-4DAC-AF9E-8A8DD7B54C5E"> |
|
170 |
<File Id="fil129A9EA2C17C3549B885476A6BB4F348" KeyPath="yes" Source=".\Setup\ConvertService\Obfuscator_Output\Markus.Service.ConvertProcess.exe" /> |
|
171 |
</Component> |
|
172 |
<Component Id="cmp5BB6007326E8B1F4A2C42E05089D5C15" Directory="dirF11A32C1D9800180BB1B466CB65F5579" Guid="90AD6C84-568D-4FE9-9AF6-2B765D9C3FF9"> |
|
173 |
<File Id="fil1F49AB955049D80A125F48E696AD3020" KeyPath="yes" Source=".\Setup\ConvertService\Obfuscator_Output\Markus.Service.DataBase.dll" /> |
|
174 |
</Component> |
|
175 |
<Component Id="cmpC6AB2AAEF4C2BEC7379C467385749226" Directory="dirF11A32C1D9800180BB1B466CB65F5579" Guid="8C0435EA-3451-4492-96F8-88FF70423F66"> |
|
176 |
<File Id="fil6A27D8889BD153603E061268C9CD2706" KeyPath="yes" Source=".\Setup\ConvertService\Obfuscator_Output\Markus.Service.Extensions.dll" /> |
|
177 |
</Component> |
|
178 |
<Component Id="cmp849A10A719DD371EC1AFE17D50B96F99" Directory="dirF11A32C1D9800180BB1B466CB65F5579" Guid="174D57E7-65C9-46D3-8D0F-7AFBDF52343B"> |
|
179 |
<File Id="fil3F50B5E5FA46EF0C97DE6101AFA9DEB8" KeyPath="yes" Source=".\Setup\ConvertService\Obfuscator_Output\Markus.Service.Station.exe" /> |
|
180 |
<ServiceInstall Id="ServiceInstaller" |
|
181 |
Type="ownProcess" |
|
182 |
Name="ConvertService" |
|
183 |
DisplayName="MARKUS ConvertService" |
|
184 |
Description="convert pdf file to MARKUS format" |
|
185 |
Start="auto" |
|
186 |
ErrorControl="normal" /> |
|
187 |
<!-- Tell WiX to start the Service --> |
|
188 |
<ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="ConvertService" Wait="yes" /> |
|
189 |
</Component> |
|
190 |
</ComponentGroup> |
|
191 |
</Fragment> |
|
192 |
</Wix> |
GzipTest/App.xaml | ||
---|---|---|
1 |
<Application x:Class="GzipTest.App" |
|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
4 |
xmlns:local="clr-namespace:GzipTest" |
|
5 |
StartupUri="MainWindow.xaml"> |
|
6 |
<Application.Resources> |
|
7 |
|
|
8 |
</Application.Resources> |
|
9 |
</Application> |
GzipTest/App.xaml.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.Configuration; |
|
4 |
using System.Data; |
|
5 |
using System.Linq; |
|
6 |
using System.Windows; |
|
7 |
|
|
8 |
namespace GzipTest |
|
9 |
{ |
|
10 |
/// <summary> |
|
11 |
/// Interaction logic for App.xaml |
|
12 |
/// </summary> |
|
13 |
public partial class App : Application |
|
14 |
{ |
|
15 |
} |
|
16 |
} |
GzipTest/GzipTest.csproj | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|
3 |
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
|
4 |
<PropertyGroup> |
|
5 |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|
6 |
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|
7 |
<ProjectGuid>{3DB6F5C1-B95F-4A91-8E9C-6FDFF90EF309}</ProjectGuid> |
|
8 |
<OutputType>WinExe</OutputType> |
|
9 |
<RootNamespace>GzipTest</RootNamespace> |
|
10 |
<AssemblyName>GzipTest</AssemblyName> |
|
11 |
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
|
12 |
<FileAlignment>512</FileAlignment> |
|
13 |
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> |
|
14 |
<WarningLevel>4</WarningLevel> |
|
15 |
</PropertyGroup> |
|
16 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
|
17 |
<PlatformTarget>AnyCPU</PlatformTarget> |
|
18 |
<DebugSymbols>true</DebugSymbols> |
|
19 |
<DebugType>full</DebugType> |
|
20 |
<Optimize>false</Optimize> |
|
21 |
<OutputPath>bin\Debug\</OutputPath> |
|
22 |
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
23 |
<ErrorReport>prompt</ErrorReport> |
|
24 |
<WarningLevel>4</WarningLevel> |
|
25 |
</PropertyGroup> |
|
26 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
|
27 |
<PlatformTarget>AnyCPU</PlatformTarget> |
|
28 |
<DebugType>pdbonly</DebugType> |
|
29 |
<Optimize>true</Optimize> |
|
30 |
<OutputPath>bin\Release\</OutputPath> |
|
31 |
<DefineConstants>TRACE</DefineConstants> |
|
32 |
<ErrorReport>prompt</ErrorReport> |
|
33 |
<WarningLevel>4</WarningLevel> |
|
34 |
</PropertyGroup> |
|
35 |
<ItemGroup> |
|
36 |
<Reference Include="ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL"> |
|
37 |
<HintPath>..\packages\SharpZipLib.0.86.0\lib\20\ICSharpCode.SharpZipLib.dll</HintPath> |
|
38 |
</Reference> |
|
39 |
<Reference Include="System" /> |
|
40 |
<Reference Include="System.Data" /> |
|
41 |
<Reference Include="System.Xml" /> |
|
42 |
<Reference Include="Microsoft.CSharp" /> |
|
43 |
<Reference Include="System.Core" /> |
|
44 |
<Reference Include="System.Xml.Linq" /> |
|
45 |
<Reference Include="System.Data.DataSetExtensions" /> |
|
46 |
<Reference Include="System.Xaml"> |
|
47 |
<RequiredTargetFramework>4.0</RequiredTargetFramework> |
|
48 |
</Reference> |
|
49 |
<Reference Include="Telerik.Windows.Zip, Version=2017.3.907.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" /> |
|
50 |
<Reference Include="Telerik.Windows.Zip.Extensions, Version=2017.3.907.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" /> |
|
51 |
<Reference Include="WindowsBase" /> |
|
52 |
<Reference Include="PresentationCore" /> |
|
53 |
<Reference Include="PresentationFramework" /> |
|
54 |
</ItemGroup> |
|
55 |
<ItemGroup> |
|
56 |
<ApplicationDefinition Include="App.xaml"> |
|
57 |
<Generator>MSBuild:Compile</Generator> |
|
58 |
<SubType>Designer</SubType> |
|
59 |
</ApplicationDefinition> |
|
60 |
<Page Include="MainWindow.xaml"> |
|
61 |
<Generator>MSBuild:Compile</Generator> |
|
62 |
<SubType>Designer</SubType> |
|
63 |
</Page> |
|
64 |
<Compile Include="App.xaml.cs"> |
|
65 |
<DependentUpon>App.xaml</DependentUpon> |
|
66 |
<SubType>Code</SubType> |
|
67 |
</Compile> |
|
68 |
<Compile Include="MainWindow.xaml.cs"> |
|
69 |
<DependentUpon>MainWindow.xaml</DependentUpon> |
|
70 |
<SubType>Code</SubType> |
|
71 |
</Compile> |
|
72 |
</ItemGroup> |
|
73 |
<ItemGroup> |
|
74 |
<Compile Include="Properties\AssemblyInfo.cs"> |
|
75 |
<SubType>Code</SubType> |
|
76 |
</Compile> |
|
77 |
<Compile Include="Properties\Resources.Designer.cs"> |
|
78 |
<AutoGen>True</AutoGen> |
|
79 |
<DesignTime>True</DesignTime> |
|
80 |
<DependentUpon>Resources.resx</DependentUpon> |
|
81 |
</Compile> |
|
82 |
<Compile Include="Properties\Settings.Designer.cs"> |
|
83 |
<AutoGen>True</AutoGen> |
|
84 |
<DependentUpon>Settings.settings</DependentUpon> |
|
85 |
<DesignTimeSharedInput>True</DesignTimeSharedInput> |
|
86 |
</Compile> |
|
87 |
<EmbeddedResource Include="Properties\Resources.resx"> |
|
88 |
<Generator>ResXFileCodeGenerator</Generator> |
|
89 |
<LastGenOutput>Resources.Designer.cs</LastGenOutput> |
|
90 |
</EmbeddedResource> |
|
91 |
<None Include="packages.config" /> |
|
92 |
<None Include="Properties\Settings.settings"> |
|
93 |
<Generator>SettingsSingleFileGenerator</Generator> |
|
94 |
<LastGenOutput>Settings.Designer.cs</LastGenOutput> |
|
95 |
</None> |
|
96 |
</ItemGroup> |
|
97 |
<ItemGroup> |
|
98 |
<Resource Include="json.txt"> |
|
99 |
<CopyToOutputDirectory>Always</CopyToOutputDirectory> |
|
100 |
</Resource> |
|
101 |
</ItemGroup> |
|
102 |
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
|
103 |
</Project> |
GzipTest/MainWindow.xaml | ||
---|---|---|
1 |
<Window x:Class="GzipTest.MainWindow" |
|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
4 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
5 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
6 |
xmlns:local="clr-namespace:GzipTest" |
|
7 |
mc:Ignorable="d" |
|
8 |
Title="MainWindow" Height="350" Width="525"> |
|
9 |
<Grid> |
|
10 |
|
|
11 |
</Grid> |
|
12 |
</Window> |
GzipTest/MainWindow.xaml.cs | ||
---|---|---|
1 |
using ICSharpCode.SharpZipLib.Zip; |
|
2 |
using System; |
|
3 |
using System.Collections.Generic; |
|
4 |
using System.IO; |
|
5 |
using System.IO.Compression; |
|
6 |
using System.Linq; |
|
7 |
using System.Text; |
|
8 |
using System.Windows; |
|
9 |
using System.Windows.Controls; |
|
10 |
using System.Windows.Data; |
|
11 |
using System.Windows.Documents; |
|
12 |
using System.Windows.Input; |
|
13 |
using System.Windows.Media; |
|
14 |
using System.Windows.Media.Imaging; |
|
15 |
using System.Windows.Navigation; |
|
16 |
using System.Windows.Shapes; |
|
17 |
|
|
18 |
namespace GzipTest |
|
19 |
{ |
|
20 |
/// <summary> |
|
21 |
/// Interaction logic for MainWindow.xaml |
|
22 |
/// </summary> |
|
23 |
public partial class MainWindow : Window |
|
24 |
{ |
|
25 |
public MainWindow() |
|
26 |
{ |
|
27 |
InitializeComponent(); |
|
28 |
this.Loaded += MainWindow_Loaded; |
|
29 |
} |
|
30 |
|
|
31 |
private void MainWindow_Loaded(object sender, RoutedEventArgs e) |
|
32 |
{ |
|
33 |
string text = System.IO.File.ReadAllText(@"F:\Project_POC\KCOM\GzipTest\json.txt"); |
|
34 |
//var result = compress(text); |
|
35 |
|
|
36 |
var result = compress(text); |
|
37 |
|
|
38 |
var result2 = decompress(result); |
|
39 |
} |
|
40 |
|
|
41 |
public static string compress(string str) |
|
42 |
{ |
|
43 |
using (MemoryStream outStream = new MemoryStream()) |
|
44 |
{ |
|
45 |
using (GZipStream gzipStream = new GZipStream(outStream, CompressionMode.Compress)) |
|
46 |
using (MemoryStream srcStream = new MemoryStream(System.Text.Encoding.UTF8.GetBytes(str))) |
|
47 |
srcStream.CopyTo(gzipStream); |
|
48 |
|
|
49 |
return Convert.ToBase64String(outStream.ToArray()); |
|
50 |
//return outStream.ToArray(); |
|
51 |
} |
|
52 |
} |
|
53 |
public static string decompress(string data) |
|
54 |
{ |
|
55 |
|
|
56 |
byte[] compressed = Convert.FromBase64String(data); |
|
57 |
using (MemoryStream inStream = new MemoryStream(compressed)) |
|
58 |
using (GZipStream gzipStream = new GZipStream(inStream, CompressionMode.Decompress)) |
|
59 |
using (MemoryStream outStream = new MemoryStream()) |
|
60 |
{ |
|
61 |
gzipStream.CopyTo(outStream); |
|
62 |
return Encoding.ASCII.GetString(outStream.ToArray()); |
|
63 |
} |
|
64 |
} |
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
private String compress_NEW2(byte[] data) |
|
69 |
{ |
|
70 |
String result = ""; |
|
71 |
|
|
72 |
MemoryStream bos = new MemoryStream(); |
|
73 |
ZipOutputStream zos = new ZipOutputStream(bos); |
|
74 |
//GZIPOutputStream zos = null; |
|
75 |
//try |
|
76 |
//{ |
|
77 |
// zos = new GZIPOutputStream(bos); |
|
78 |
//} |
|
79 |
//catch (IOException e) |
|
80 |
//{ |
|
81 |
// e.printStackTrace(); |
|
82 |
//} |
|
83 |
ZipEntry entry = new ZipEntry("test"); |
|
84 |
zos.SetLevel(9); //0-9, 9 being the highest level of compression |
|
85 |
zos.PutNextEntry(entry); |
|
86 |
byte[] buffer = new byte[4096]; |
|
87 |
zos.Write(data, 0, data.Length); |
|
88 |
zos.Finish(); |
|
89 |
zos.Close(); |
|
90 |
|
|
91 |
return Convert.ToBase64String(bos.ToArray()); |
|
92 |
} |
|
93 |
|
|
94 |
private string decompress_NEW2(string data) |
|
95 |
{ |
|
96 |
MemoryStream memoryStream = new MemoryStream(Convert.FromBase64String(data)); |
|
97 |
ZipInputStream input = new ZipInputStream(memoryStream); |
|
98 |
ZipEntry zipEntry = input.GetNextEntry(); |
|
99 |
while (zipEntry != null) |
|
100 |
{ |
|
101 |
String entryFileName = zipEntry.Name; |
|
102 |
// to remove the folder from the entry:- entryFileName = Path.GetFileName(entryFileName); |
|
103 |
// Optionally match entrynames against a selection list here to skip as desired. |
|
104 |
// The unpacked length is available in the zipEntry.Size property. |
|
105 |
|
|
106 |
byte[] buffer = new byte[4096]; // 4K is optimum |
|
107 |
StreamReader reader = new StreamReader(input); |
|
108 |
|
|
109 |
return reader.ReadToEnd(); |
|
110 |
} |
|
111 |
|
|
112 |
return null; |
|
113 |
} |
|
114 |
|
|
115 |
|
|
116 |
} |
|
117 |
} |
GzipTest/Properties/AssemblyInfo.cs | ||
---|---|---|
1 |
using System.Reflection; |
|
2 |
using System.Resources; |
|
3 |
using System.Runtime.CompilerServices; |
|
4 |
using System.Runtime.InteropServices; |
|
5 |
using System.Windows; |
|
6 |
|
|
7 |
// General Information about an assembly is controlled through the following |
|
8 |
// set of attributes. Change these attribute values to modify the information |
|
9 |
// associated with an assembly. |
|
10 |
[assembly: AssemblyTitle("GzipTest")] |
|
11 |
[assembly: AssemblyDescription("")] |
|
12 |
[assembly: AssemblyConfiguration("")] |
|
13 |
[assembly: AssemblyCompany("")] |
|
14 |
[assembly: AssemblyProduct("GzipTest")] |
|
15 |
[assembly: AssemblyCopyright("Copyright © 2017")] |
|
16 |
[assembly: AssemblyTrademark("")] |
|
17 |
[assembly: AssemblyCulture("")] |
|
18 |
|
|
19 |
// Setting ComVisible to false makes the types in this assembly not visible |
|
20 |
// to COM components. If you need to access a type in this assembly from |
|
21 |
// COM, set the ComVisible attribute to true on that type. |
|
22 |
[assembly: ComVisible(false)] |
|
23 |
|
|
24 |
//In order to begin building localizable applications, set |
|
25 |
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file |
|
26 |
//inside a <PropertyGroup>. For example, if you are using US english |
|
27 |
//in your source files, set the <UICulture> to en-US. Then uncomment |
|
28 |
//the NeutralResourceLanguage attribute below. Update the "en-US" in |
|
29 |
//the line below to match the UICulture setting in the project file. |
|
30 |
|
|
31 |
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] |
|
32 |
|
|
33 |
|
|
34 |
[assembly: ThemeInfo( |
|
35 |
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located |
|
36 |
//(used if a resource is not found in the page, |
|
37 |
// or application resource dictionaries) |
|
38 |
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located |
|
39 |
//(used if a resource is not found in the page, |
|
40 |
// app, or any theme specific resource dictionaries) |
|
41 |
)] |
|
42 |
|
|
43 |
|
|
44 |
// Version information for an assembly consists of the following four values: |
|
45 |
// |
|
46 |
// Major Version |
|
47 |
// Minor Version |
|
48 |
// Build Number |
|
49 |
// Revision |
|
50 |
// |
|
51 |
// You can specify all the values or you can default the Build and Revision Numbers |
|
52 |
// by using the '*' as shown below: |
|
53 |
// [assembly: AssemblyVersion("1.0.*")] |
|
54 |
[assembly: AssemblyVersion("1.0.0.0")] |
|
55 |
[assembly: AssemblyFileVersion("1.0.0.0")] |
GzipTest/Properties/Resources.Designer.cs | ||
---|---|---|
1 |
//------------------------------------------------------------------------------ |
|
2 |
// <auto-generated> |
|
3 |
// This code was generated by a tool. |
|
4 |
// Runtime Version:4.0.30319.42000 |
|
5 |
// |
|
6 |
// Changes to this file may cause incorrect behavior and will be lost if |
|
7 |
// the code is regenerated. |
|
8 |
// </auto-generated> |
|
9 |
//------------------------------------------------------------------------------ |
|
10 |
|
|
11 |
namespace GzipTest.Properties |
|
12 |
{ |
|
13 |
|
|
14 |
|
|
15 |
/// <summary> |
|
16 |
/// A strongly-typed resource class, for looking up localized strings, etc. |
|
17 |
/// </summary> |
|
18 |
// This class was auto-generated by the StronglyTypedResourceBuilder |
|
19 |
// class via a tool like ResGen or Visual Studio. |
|
20 |
// To add or remove a member, edit your .ResX file then rerun ResGen |
|
21 |
// with the /str option, or rebuild your VS project. |
|
22 |
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] |
|
23 |
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
24 |
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
|
25 |
internal class Resources |
|
26 |
{ |
|
27 |
|
|
28 |
private static global::System.Resources.ResourceManager resourceMan; |
|
29 |
|
|
30 |
private static global::System.Globalization.CultureInfo resourceCulture; |
|
31 |
|
|
32 |
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] |
|
33 |
internal Resources() |
|
34 |
{ |
|
35 |
} |
|
36 |
|
|
37 |
/// <summary> |
|
38 |
/// Returns the cached ResourceManager instance used by this class. |
|
39 |
/// </summary> |
|
40 |
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
|
41 |
internal static global::System.Resources.ResourceManager ResourceManager |
|
42 |
{ |
|
43 |
get |
|
44 |
{ |
|
45 |
if ((resourceMan == null)) |
|
46 |
{ |
|
47 |
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GzipTest.Properties.Resources", typeof(Resources).Assembly); |
|
48 |
resourceMan = temp; |
|
49 |
} |
|
50 |
return resourceMan; |
|
51 |
} |
|
52 |
} |
|
53 |
|
|
54 |
/// <summary> |
|
55 |
/// Overrides the current thread's CurrentUICulture property for all |
|
56 |
/// resource lookups using this strongly typed resource class. |
|
57 |
/// </summary> |
|
58 |
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
|
59 |
internal static global::System.Globalization.CultureInfo Culture |
|
60 |
{ |
|
61 |
get |
|
62 |
{ |
|
63 |
return resourceCulture; |
|
64 |
} |
|
65 |
set |
|
66 |
{ |
|
67 |
resourceCulture = value; |
|
68 |
} |
|
69 |
} |
|
70 |
} |
|
71 |
} |
GzipTest/Properties/Resources.resx | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<root> |
|
3 |
<!-- |
|
4 |
Microsoft ResX Schema |
|
5 |
|
|
6 |
Version 2.0 |
|
7 |
|
|
8 |
The primary goals of this format is to allow a simple XML format |
|
9 |
that is mostly human readable. The generation and parsing of the |
|
10 |
various data types are done through the TypeConverter classes |
|
11 |
associated with the data types. |
|
12 |
|
|
13 |
Example: |
|
14 |
|
|
15 |
... ado.net/XML headers & schema ... |
|
16 |
<resheader name="resmimetype">text/microsoft-resx</resheader> |
|
17 |
<resheader name="version">2.0</resheader> |
|
18 |
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
|
19 |
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
|
20 |
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
|
21 |
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
|
22 |
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
|
23 |
<value>[base64 mime encoded serialized .NET Framework object]</value> |
|
24 |
</data> |
|
25 |
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|
26 |
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
|
27 |
<comment>This is a comment</comment> |
|
28 |
</data> |
|
29 |
|
|
30 |
There are any number of "resheader" rows that contain simple |
|
31 |
name/value pairs. |
|
32 |
|
|
33 |
Each data row contains a name, and value. The row also contains a |
|
34 |
type or mimetype. Type corresponds to a .NET class that support |
|
35 |
text/value conversion through the TypeConverter architecture. |
|
36 |
Classes that don't support this are serialized and stored with the |
|
37 |
mimetype set. |
|
38 |
|
|
39 |
The mimetype is used for serialized objects, and tells the |
|
40 |
ResXResourceReader how to depersist the object. This is currently not |
|
41 |
extensible. For a given mimetype the value must be set accordingly: |
|
42 |
|
|
43 |
Note - application/x-microsoft.net.object.binary.base64 is the format |
|
44 |
that the ResXResourceWriter will generate, however the reader can |
|
45 |
read any of the formats listed below. |
|
46 |
|
|
47 |
mimetype: application/x-microsoft.net.object.binary.base64 |
|
48 |
value : The object must be serialized with |
|
49 |
: System.Serialization.Formatters.Binary.BinaryFormatter |
|
50 |
: and then encoded with base64 encoding. |
|
51 |
|
|
52 |
mimetype: application/x-microsoft.net.object.soap.base64 |
|
53 |
value : The object must be serialized with |
|
54 |
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
|
55 |
: and then encoded with base64 encoding. |
|
56 |
|
|
57 |
mimetype: application/x-microsoft.net.object.bytearray.base64 |
|
58 |
value : The object must be serialized into a byte array |
|
59 |
: using a System.ComponentModel.TypeConverter |
|
60 |
: and then encoded with base64 encoding. |
|
61 |
--> |
|
62 |
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
|
63 |
<xsd:element name="root" msdata:IsDataSet="true"> |
|
64 |
<xsd:complexType> |
|
65 |
<xsd:choice maxOccurs="unbounded"> |
|
66 |
<xsd:element name="metadata"> |
|
67 |
<xsd:complexType> |
|
68 |
<xsd:sequence> |
|
69 |
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
|
70 |
</xsd:sequence> |
|
71 |
<xsd:attribute name="name" type="xsd:string" /> |
|
72 |
<xsd:attribute name="type" type="xsd:string" /> |
|
73 |
<xsd:attribute name="mimetype" type="xsd:string" /> |
|
74 |
</xsd:complexType> |
|
75 |
</xsd:element> |
|
76 |
<xsd:element name="assembly"> |
|
77 |
<xsd:complexType> |
|
78 |
<xsd:attribute name="alias" type="xsd:string" /> |
|
79 |
<xsd:attribute name="name" type="xsd:string" /> |
|
80 |
</xsd:complexType> |
|
81 |
</xsd:element> |
|
82 |
<xsd:element name="data"> |
|
83 |
<xsd:complexType> |
|
84 |
<xsd:sequence> |
|
85 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
86 |
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
|
87 |
</xsd:sequence> |
|
88 |
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> |
|
89 |
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
|
90 |
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
|
91 |
</xsd:complexType> |
|
92 |
</xsd:element> |
|
93 |
<xsd:element name="resheader"> |
|
94 |
<xsd:complexType> |
|
95 |
<xsd:sequence> |
|
96 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
97 |
</xsd:sequence> |
|
98 |
<xsd:attribute name="name" type="xsd:string" use="required" /> |
|
99 |
</xsd:complexType> |
|
100 |
</xsd:element> |
|
101 |
</xsd:choice> |
|
102 |
</xsd:complexType> |
|
103 |
</xsd:element> |
|
104 |
</xsd:schema> |
|
105 |
<resheader name="resmimetype"> |
|
106 |
<value>text/microsoft-resx</value> |
|
107 |
</resheader> |
|
108 |
<resheader name="version"> |
|
109 |
<value>2.0</value> |
|
110 |
</resheader> |
|
111 |
<resheader name="reader"> |
|
112 |
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
113 |
</resheader> |
|
114 |
<resheader name="writer"> |
|
115 |
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
116 |
</resheader> |
|
117 |
</root> |
GzipTest/Properties/Settings.Designer.cs | ||
---|---|---|
1 |
//------------------------------------------------------------------------------ |
|
2 |
// <auto-generated> |
|
3 |
// This code was generated by a tool. |
|
4 |
// Runtime Version:4.0.30319.42000 |
|
5 |
// |
|
6 |
// Changes to this file may cause incorrect behavior and will be lost if |
|
7 |
// the code is regenerated. |
|
8 |
// </auto-generated> |
|
9 |
//------------------------------------------------------------------------------ |
|
10 |
|
|
11 |
namespace GzipTest.Properties |
|
12 |
{ |
|
13 |
|
|
14 |
|
|
15 |
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
|
16 |
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] |
|
17 |
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase |
|
18 |
{ |
|
19 |
|
|
20 |
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); |
|
21 |
|
|
22 |
public static Settings Default |
|
23 |
{ |
|
24 |
get |
|
25 |
{ |
|
26 |
return defaultInstance; |
|
27 |
} |
|
28 |
} |
|
29 |
} |
|
30 |
} |
GzipTest/Properties/Settings.settings | ||
---|---|---|
1 |
<?xml version='1.0' encoding='utf-8'?> |
|
2 |
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)"> |
|
3 |
<Profiles> |
|
4 |
<Profile Name="(Default)" /> |
|
5 |
</Profiles> |
|
6 |
<Settings /> |
|
7 |
</SettingsFile> |
GzipTest/json.txt | ||
---|---|---|
1 |
{"Angle":0,"EndPoint":{"_x":902.13414634146341,"_y":467.30182926829269},"Name":"RectangleControl","Opac":1,"PointSet":null,"StartPoint":{"_x":655.640243902439,"_y":306.32621951219511},"TransformPoint":"0|0","UserID":"","DashSize":null,"FillColor":null,"LB":{"_x":655.640243902439,"_y":467.30182926829269},"PaintState":0,"SizeSet":"2","StrokeColor":"#FFFF0000","TR":{"_x":902.13414634146341,"_y":306.32621951219511}} |
GzipTest/packages.config | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<packages> |
|
3 |
<package id="SharpZipLib" version="0.86.0" targetFramework="net40" /> |
|
4 |
</packages> |
KCOM_Report.htm | ||
---|---|---|
1 |
|
|
2 |
|
|
3 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 |
|
|
5 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
6 |
<head> |
|
7 |
<title>Telerik UI for WPF Upgrade Wizard Log</title> |
|
8 |
<style type="text/css"> |
|
9 |
body { |
|
10 |
margin: 0; |
|
11 |
padding: 0; |
|
12 |
top: 0; |
|
13 |
left: 0; |
|
14 |
width: 100%; |
|
15 |
background-color: #fff; |
|
16 |
font: normal 12px Arial, sans-serif; |
|
17 |
line-height: 1.5; |
|
18 |
} |
|
19 |
#header { |
|
20 |
display: block; |
|
21 |
margin: 0; |
|
22 |
padding: 20px; |
|
23 |
height: 60px; |
|
24 |
min-width: 600px; |
|
25 |
background: url('file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Logo.png') no-repeat right 30px top 30px; |
|
26 |
background-color: #0e0e0e; |
|
27 |
color: #909090; |
|
28 |
font: normal 10px Arial, sans-serif; |
|
29 |
} |
|
30 |
#header span { |
|
31 |
display: block; |
|
32 |
color: #fff; |
|
33 |
font: normal 22px Arial, sans-serif; |
|
34 |
} |
|
35 |
#legend { |
|
36 |
display: block; |
|
37 |
height: 20px; |
|
38 |
margin: 0; |
|
39 |
padding: 0; |
|
40 |
background-color: #0e0e0e; |
|
41 |
font: normal 12px Arial, sans-serif; |
|
42 |
} |
|
43 |
#legend span { |
|
44 |
display: block; |
|
45 |
float: left; |
|
46 |
height: 18px; |
|
47 |
margin: 0; |
|
48 |
padding: 2px 10px 0 10px; |
|
49 |
background-color: #8e8e8e; |
|
50 |
font: normal 12px Arial, sans-serif; |
|
51 |
} |
|
52 |
table#logTable { |
|
53 |
border: 1px solid #999; |
|
54 |
border-collapse: collapse; |
|
55 |
} |
|
56 |
table#logTable th, table#logTable td { |
|
57 |
border: 1px solid #999; |
|
58 |
padding: 5px 10px; |
|
59 |
text-align: left; |
|
60 |
} |
|
61 |
table#logTable th { |
|
62 |
border: 0; |
|
63 |
padding: 5px 10px; |
|
64 |
background-color: #8e8e8e; |
|
65 |
height: 20px; |
|
66 |
font: bold 14px Arial, sans-serif; |
|
67 |
color: #fff; |
|
68 |
} |
|
69 |
</style> |
|
70 |
</head> |
|
71 |
|
|
72 |
<body> |
|
73 |
<div> |
|
74 |
<table id="logTable" cellpadding="0px" cellspacing="0px"> |
|
75 |
<tbody> |
|
76 |
<tr> |
|
77 |
<td colspan="5" style="padding: 0;"> |
|
78 |
<div id="header"> |
|
79 |
Telerik UI for WPF <span>Upgrade Wizard Log</span> |
|
80 |
</div> |
|
81 |
<div id="legend"> |
|
82 |
<span style="background-color: #0e0e0e; color: #fff;">Processed: 17</span> |
|
83 |
<span style="background-color: green; color: #fff;">Succeeded: 16</span> |
|
84 |
<span style="background-color: blue; color: #fff;">Info: 1</span> |
|
85 |
<span style="background-color: gold; color: #fff;">Warnings: 0</span> |
|
86 |
<span style="background-color: red; color: #fff;">Failed: 0</span> |
|
87 |
</div> |
|
88 |
</td> |
|
89 |
</tr> |
|
90 |
<tr> |
|
91 |
<th> </th> |
|
92 |
<th>Project</th> |
|
93 |
<th>Title</th> |
|
94 |
<th>Details</th> |
|
95 |
<th>Result</th> |
|
96 |
</tr> |
|
97 |
<tr> |
|
98 |
<tr> |
|
99 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
100 |
<td>MarkupToPDF</td> |
|
101 |
<td>Backup</td> |
|
102 |
<td>Create backup E:\MARKUS_GERRIT\MarkupToPDF_Backup_2019.04.18_09.04.53.</td> |
|
103 |
<td>Success</td> |
|
104 |
</tr> |
|
105 |
<tr> |
|
106 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
107 |
<td>KCOM</td> |
|
108 |
<td>Backup</td> |
|
109 |
<td>Create backup E:\MARKUS_GERRIT\KCOM_Backup_2019.04.18_09.04.55.</td> |
|
110 |
<td>Success</td> |
|
111 |
</tr> |
|
112 |
<tr> |
|
113 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
114 |
<td>Solution Setup</td> |
|
115 |
<td>Copied referenced assemblies to solution</td> |
|
116 |
<td>C:\Program Files (x86)\Progress\Telerik UI for WPF R1 2019\Binaries\WPF40</td> |
|
117 |
<td>Success</td> |
|
118 |
</tr> |
|
119 |
<tr> |
|
120 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
121 |
<td>MarkupToPDF</td> |
|
122 |
<td>Assembly Reference</td> |
|
123 |
<td>E:\MARKUS_GERRIT\lib\RCWPF\2019.1.220.40\Telerik.Windows.Controls.dll</td> |
|
124 |
<td>Success</td> |
|
125 |
</tr> |
|
126 |
<tr> |
|
127 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
128 |
<td>MarkupToPDF</td> |
|
129 |
<td>Assembly Reference</td> |
|
130 |
<td>E:\MARKUS_GERRIT\lib\RCWPF\2019.1.220.40\Telerik.Windows.Controls.Input.dll</td> |
|
131 |
<td>Success</td> |
|
132 |
</tr> |
|
133 |
<tr> |
|
134 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
135 |
<td>MarkupToPDF</td> |
|
136 |
<td>Assembly Reference</td> |
|
137 |
<td>E:\MARKUS_GERRIT\lib\RCWPF\2019.1.220.40\Telerik.Windows.Controls.Navigation.dll</td> |
|
138 |
<td>Success</td> |
|
139 |
</tr> |
|
140 |
<tr> |
|
141 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
142 |
<td>MarkupToPDF</td> |
|
143 |
<td>Assembly Reference</td> |
|
144 |
<td>E:\MARKUS_GERRIT\lib\RCWPF\2019.1.220.40\Telerik.Windows.Data.dll</td> |
|
145 |
<td>Success</td> |
|
146 |
</tr> |
|
147 |
<tr> |
|
148 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
149 |
<td>MarkupToPDF</td> |
|
150 |
<td>Assembly Reference</td> |
|
151 |
<td>E:\MARKUS_GERRIT\lib\RCWPF\2019.1.220.40\Telerik.Windows.Zip.dll</td> |
|
152 |
<td>Success</td> |
|
153 |
</tr> |
|
154 |
<tr> |
|
155 |
<td><img alt="Info" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Info.gif" /></td> |
|
156 |
<td>Solution Setup</td> |
|
157 |
<td>Removed unused distribution</td> |
|
158 |
<td>2018.1.122.40</td> |
|
159 |
<td>Info</td> |
|
160 |
</tr> |
|
161 |
<tr> |
|
162 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
163 |
<td>Solution Setup</td> |
|
164 |
<td>Copied referenced assemblies to solution</td> |
|
165 |
<td>C:\Program Files (x86)\Progress\Telerik UI for WPF R1 2019\Binaries\WPF45</td> |
|
166 |
<td>Success</td> |
|
167 |
</tr> |
|
168 |
<tr> |
|
169 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
170 |
<td>KCOM</td> |
|
171 |
<td>Assembly Reference</td> |
|
172 |
<td>E:\MARKUS_GERRIT\lib\RCWPF\2019.1.220.45\Telerik.Windows.Controls.dll</td> |
|
173 |
<td>Success</td> |
|
174 |
</tr> |
|
175 |
<tr> |
|
176 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
177 |
<td>KCOM</td> |
|
178 |
<td>Assembly Reference</td> |
|
179 |
<td>E:\MARKUS_GERRIT\lib\RCWPF\2019.1.220.45\Telerik.Windows.Controls.Docking.dll</td> |
|
180 |
<td>Success</td> |
|
181 |
</tr> |
|
182 |
<tr> |
|
183 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
184 |
<td>KCOM</td> |
|
185 |
<td>Assembly Reference</td> |
|
186 |
<td>E:\MARKUS_GERRIT\lib\RCWPF\2019.1.220.45\Telerik.Windows.Controls.GridView.dll</td> |
|
187 |
<td>Success</td> |
|
188 |
</tr> |
|
189 |
<tr> |
|
190 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
191 |
<td>KCOM</td> |
|
192 |
<td>Assembly Reference</td> |
|
193 |
<td>E:\MARKUS_GERRIT\lib\RCWPF\2019.1.220.45\Telerik.Windows.Controls.Input.dll</td> |
|
194 |
<td>Success</td> |
|
195 |
</tr> |
|
196 |
<tr> |
|
197 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
198 |
<td>KCOM</td> |
|
199 |
<td>Assembly Reference</td> |
|
200 |
<td>E:\MARKUS_GERRIT\lib\RCWPF\2019.1.220.45\Telerik.Windows.Controls.Navigation.dll</td> |
|
201 |
<td>Success</td> |
|
202 |
</tr> |
|
203 |
<tr> |
|
204 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
205 |
<td>KCOM</td> |
|
206 |
<td>Assembly Reference</td> |
|
207 |
<td>E:\MARKUS_GERRIT\lib\RCWPF\2019.1.220.45\Telerik.Windows.Controls.RibbonView.dll</td> |
|
208 |
<td>Success</td> |
|
209 |
</tr> |
|
210 |
<tr> |
|
211 |
<td><img alt="Success" src="file:///c:/users/lee/appdata/local/microsoft/visualstudio/15.0_57c2d2f3/extensions/1mdwgrds.3uq/Resources/T4Templates/UpgradeLog/Success.gif" /></td> |
|
212 |
<td>KCOM</td> |
|
213 |
<td>Assembly Reference</td> |
|
214 |
<td>E:\MARKUS_GERRIT\lib\RCWPF\2019.1.220.45\Telerik.Windows.Data.dll</td> |
|
215 |
<td>Success</td> |
|
216 |
</tr> |
|
217 |
</tr> |
|
218 |
</tbody> |
|
219 |
</table> |
|
220 |
</div> |
|
221 |
</body> |
|
222 |
</html> |
MARKUS_html.template | ||
---|---|---|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
2 |
<html> |
|
3 |
<head> |
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
5 |
<STYLE type="text/css"> |
|
6 |
BODY, TABLE, TD, TH, P { |
|
7 |
font-family: Calibri, Verdana, Helvetica, sans serif; |
|
8 |
font-size: 12px; |
|
9 |
color: black; |
|
10 |
} |
|
11 |
.console { |
|
12 |
font-family: Courier New; |
|
13 |
} |
|
14 |
.filesChanged { |
|
15 |
width: 10%; |
|
16 |
padding-left: 10px; |
|
17 |
} |
|
18 |
.section { |
|
19 |
width: 100%; |
|
20 |
border: thin black dotted; |
|
21 |
} |
|
22 |
.td-title-main { |
|
23 |
color: white; |
|
24 |
font-size: 200%; |
|
25 |
padding-left: 5px; |
|
26 |
font-weight: bold; |
|
27 |
} |
|
28 |
.td-title { |
|
29 |
color: white; |
|
30 |
font-size: 120%; |
|
31 |
font-weight: bold; |
|
32 |
padding-left: 5px; |
|
33 |
text-transform: uppercase; |
|
34 |
} |
|
35 |
.td-title-tests { |
|
36 |
font-weight: bold; |
|
37 |
font-size: 120%; |
|
38 |
} |
|
39 |
.td-header-maven-module { |
|
40 |
font-weight: bold; |
|
41 |
font-size: 120%; |
|
42 |
} |
|
43 |
.td-maven-artifact { |
|
44 |
padding-left: 5px; |
|
45 |
} |
|
46 |
.tr-title { |
|
47 |
background-color: <%= (build.result == null || build.result.toString() == 'SUCCESS') ? '#27AE60' : build.result.toString() == 'FAILURE' ? '#E74C3C' : '#f4e242' %>; |
|
48 |
} |
|
49 |
.test { |
|
50 |
padding-left: 20px; |
|
51 |
} |
|
52 |
.test-fixed { |
|
53 |
color: #27AE60; |
|
54 |
} |
|
55 |
.test-failed { |
|
56 |
color: #E74C3C; |
|
57 |
} |
|
58 |
</STYLE> |
|
59 |
</head> |
|
60 |
<BODY> |
|
61 |
<!-- BUILD RESULT --> |
|
62 |
<table width=100% style="border:1px dotted"> |
|
63 |
<tr bgcolor=<%= (build.result == null || build.result.toString() == 'SUCCESS') ? '#27AE60' : build.result.toString() == 'FAILURE' ? '#E74C3C' : '#f4e242' %> > |
|
64 |
<td style="padding-left: 5px; font-weight: bold;" colspan=2> |
|
65 |
<font color="white" size="5"> BUILD ${build.result ?: 'COMPLETED'} </font> |
|
66 |
</td> |
|
67 |
</tr> |
|
68 |
<tr> |
|
69 |
<td>URL:</td> |
|
70 |
<td><A href="${rooturl}${build.url}">${rooturl}${build.url}</A></td> |
|
71 |
</tr> |
|
72 |
<tr> |
|
73 |
<td>Project:</td> |
|
74 |
<td>${project.name}</td> |
|
75 |
</tr> |
|
76 |
<tr> |
|
77 |
<td>Date:</td> |
|
78 |
<td>${it.timestampString}</td> |
|
79 |
</tr> |
|
80 |
<tr> |
|
81 |
<td>Duration:</td> |
|
82 |
<td>${build.durationString}</td> |
|
83 |
</tr> |
|
84 |
<tr> |
|
85 |
<td>Cause:</td> |
|
86 |
<td><% build.causes.each() { cause -> %> ${cause.shortDescription} <% } %></td> |
|
87 |
</tr> |
|
88 |
</table> |
|
89 |
<br/> |
|
90 |
|
|
91 |
<!-- CHANGE SET --> |
|
92 |
<% |
|
93 |
def changeSets = build.changeSets |
|
94 |
if(changeSets != null) { |
|
95 |
def hadChanges = false %> |
|
96 |
<table width=100% style="border:1px dotted"> |
|
97 |
<tr bgcolor=<%= (build.result == null || build.result.toString() == 'SUCCESS') ? '#27AE60' : build.result.toString() == 'FAILURE' ? '#E74C3C' : '#f4e242' %> > |
|
98 |
<td style="padding-left: 5px; font-weight: bold;" colspan="2"><font color="white" size="3">CHANGES</font></td> |
|
99 |
</tr> |
|
100 |
<% changeSets.each() { |
|
101 |
cs_list -> cs_list.each() { |
|
102 |
cs -> hadChanges = true %> |
|
103 |
<tr> |
|
104 |
<td> |
|
105 |
Revision |
|
106 |
<%= cs.metaClass.hasProperty('commitId') ? cs.commitId : cs.metaClass.hasProperty('revision') ? cs.revision : cs.metaClass.hasProperty('changeNumber') ? cs.changeNumber : "" %> |
|
107 |
by <B><%= cs.author %></B> |
|
108 |
</td> |
|
109 |
<td>${cs.msgAnnotated}</td> |
|
110 |
</tr> |
|
111 |
<% cs.affectedFiles.each() { |
|
112 |
p -> %> |
|
113 |
<tr> |
|
114 |
<td class="filesChanged">${p.editType.name}</td> |
|
115 |
<td>${p.path}</td> |
|
116 |
</tr> |
|
117 |
<% } |
|
118 |
} |
|
119 |
} |
|
120 |
if ( !hadChanges ) { %> |
|
121 |
<tr> |
|
122 |
<td colspan="2">No Changes</td> |
|
123 |
</tr> |
|
124 |
<% } %> |
|
125 |
</table> |
|
126 |
<br/> |
|
127 |
<% } %> |
|
128 |
|
|
129 |
<!-- ARTIFACTS --> |
|
130 |
<% |
|
131 |
if ( build.result != hudson.model.Result.FAILURE ) { %> |
|
132 |
<table width=100% style="border:1px dotted"> |
|
133 |
<tr bgcolor=<%= (build.result == null || build.result.toString() == 'SUCCESS') ? '#27AE60' : build.result.toString() == 'FAILURE' ? '#E74C3C' : '#f4e242' %> > |
|
134 |
<td style="padding-left: 5px; font-weight: bold;"><font color="white" size="3">ARTIFACTS</font></td> |
|
135 |
</tr> |
|
136 |
<tr> |
|
137 |
<td>PROGRAM</td> |
|
138 |
</tr> |
|
139 |
<tr> |
|
140 |
<td><a href="http://www.devdoftech.co.kr:9081/artifactory/${project.name}/Setup/${project.name}-<%= build.getEnvVars()["BUILD_NAME"] %>.msi">${project.name}-<%= build.getEnvVars()["BUILD_NAME"] %>.msi </a></td> |
|
141 |
</tr> |
|
142 |
<tr> |
|
143 |
<td><a href="http://www.devdoftech.co.kr:9081/artifactory/${project.name}/Setup/FinalService/FinalService-<%= build.getEnvVars()["BUILD_NAME"] %>.msi">FinalService-<%= build.getEnvVars()["BUILD_NAME"] %>.msi </a></td> |
|
144 |
</tr> |
|
145 |
<td><a href="http://www.devdoftech.co.kr:9081/artifactory/${project.name}/Setup/ConvertService/ConvertService-<%= build.getEnvVars()["BUILD_NAME"] %>.msi">ConvertService-<%= build.getEnvVars()["BUILD_NAME"] %>.msi </a></td> |
|
146 |
</tr> |
|
147 |
<tr> |
|
148 |
<td>DAELIM</td> |
|
149 |
</tr> |
|
150 |
<tr> |
|
151 |
<td><a href="http://www.devdoftech.co.kr:9081/artifactory/${project.name}/Setup/${project.name}-Daelim-<%= build.getEnvVars()["BUILD_NAME"] %>.msi">${project.name}-Daelim-<%= build.getEnvVars()["BUILD_NAME"] %>.msi </a></td> |
|
152 |
</tr> |
|
153 |
<tr> |
|
154 |
<td><a href="http://www.devdoftech.co.kr:9081/artifactory/${project.name}/Setup/${project.name}-DaelimTest-<%= build.getEnvVars()["BUILD_NAME"] %>.msi">${project.name}-DaelimTest-<%= build.getEnvVars()["BUILD_NAME"] %>.msi </a></td> |
|
155 |
</tr> |
|
156 |
<tr> |
|
157 |
<td><a href="http://www.devdoftech.co.kr:9081/artifactory/${project.name}/Setup/FinalService/FinalService-Daelim-<%= build.getEnvVars()["BUILD_NAME"] %>.msi">FinalService-Daelim-<%= build.getEnvVars()["BUILD_NAME"] %>.msi </a></td> |
|
158 |
</tr> |
|
159 |
</table> |
|
160 |
<% } %> |
|
161 |
|
|
162 |
<% |
|
163 |
def artifacts = build.artifacts |
|
164 |
if ( artifacts != null && artifacts.size() > 0 ) { %> |
|
165 |
<table class="section"> |
|
166 |
<tr class="tr-title"> |
|
167 |
<td class="td-title">BUILD ARTIFACTS</td> |
|
168 |
</tr> |
|
169 |
<% artifacts.each() { |
|
170 |
f -> %> |
|
171 |
<tr> |
|
172 |
<td> |
|
173 |
<a href="${rooturl}${build.url}artifact/${f}">${f}</a> |
|
174 |
</td> |
|
175 |
</tr> |
|
176 |
<% } %> |
|
177 |
</table> |
|
178 |
<br/> |
|
179 |
<% } %> |
|
180 |
|
|
181 |
<!-- MAVEN ARTIFACTS --> |
|
182 |
<% |
|
183 |
try { |
|
184 |
def mbuilds = build.moduleBuilds |
|
185 |
if ( mbuilds != null ) { %> |
|
186 |
<table class="section"> |
|
187 |
<tr class="tr-title"> |
|
188 |
<td class="td-title">BUILD ARTIFACTS</td> |
|
189 |
</tr> |
|
190 |
<% |
|
191 |
try { |
|
192 |
mbuilds.each() { |
|
193 |
m -> %> |
|
194 |
<tr> |
|
195 |
<td class="td-header-maven-module">${m.key.displayName}</td> |
|
196 |
</tr> |
|
197 |
<% |
|
198 |
m.value.each() { |
|
199 |
mvnbld -> def artifactz = mvnbld.artifacts |
|
200 |
if ( artifactz != null && artifactz.size() > 0) { %> |
|
201 |
<tr> |
|
202 |
<td class="td-maven-artifact"> |
|
203 |
<% artifactz.each() { |
|
204 |
f -> %> |
|
205 |
<a href="${rooturl}${mvnbld.url}artifact/${f}">${f}</a><br/> |
|
206 |
<% } %> |
|
207 |
</td> |
|
208 |
</tr> |
|
209 |
<% } |
|
210 |
} |
|
211 |
} |
|
212 |
} catch(e) { |
|
213 |
// we don't do anything |
|
214 |
} %> |
|
215 |
</table> |
|
216 |
<br/> |
|
217 |
<% } |
|
218 |
} catch(e) { |
|
219 |
// we don't do anything |
|
220 |
} %> |
|
221 |
|
|
222 |
<!-- JUnit TEMPLATE --> |
|
223 |
|
|
224 |
<% |
|
225 |
def junitResultList = it.JUnitTestResult |
|
226 |
try { |
|
227 |
def cucumberTestResultAction = it.getAction("org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultAction") |
|
228 |
junitResultList.add( cucumberTestResultAction.getResult() ) |
|
229 |
} catch(e) { |
|
230 |
//cucumberTestResultAction not exist in this build |
|
231 |
} |
|
232 |
if ( junitResultList.size() > 0 ) { %> |
|
233 |
<table class="section"> |
|
234 |
<tr class="tr-title"> |
|
235 |
<td class="td-title" colspan="5">${junitResultList.first().displayName}</td> |
|
236 |
</tr> |
|
237 |
<tr> |
|
238 |
<td class="td-title-tests">Name</td> |
|
239 |
<td class="td-title-tests">Failed</td> |
|
240 |
<td class="td-title-tests">Passed</td> |
|
241 |
<td class="td-title-tests">Skipped</td> |
|
242 |
<td class="td-title-tests">Total</td> |
|
243 |
</tr> |
|
244 |
<% junitResultList.each { |
|
245 |
junitResult -> junitResult.getChildren().each { |
|
246 |
packageResult -> %> |
|
247 |
<tr> |
|
248 |
<td>${packageResult.getName()}</td> |
|
249 |
<td>${packageResult.getFailCount()}</td> |
|
250 |
<td>${packageResult.getPassCount()}</td> |
|
251 |
<td>${packageResult.getSkipCount()}</td> |
|
252 |
<td>${packageResult.getPassCount() + packageResult.getFailCount() + packageResult.getSkipCount()}</td> |
|
253 |
</tr> |
|
254 |
<% packageResult.getPassedTests().findAll({it.getStatus().toString() == "FIXED";}).each{ |
|
255 |
test -> %> |
|
256 |
<tr> |
|
257 |
<td class="test test-fixed" colspan="5"> |
|
258 |
${test.getFullName()} ${test.getStatus()} |
|
259 |
</td> |
|
260 |
</tr> |
|
261 |
<% } %> |
|
262 |
<% packageResult.getFailedTests().sort({a,b -> a.getAge() <=> b.getAge()}).each{ |
|
263 |
failed_test -> %> |
|
264 |
<tr> |
|
265 |
<td class="test test-failed" colspan="5"> |
|
266 |
${failed_test.getFullName()} (Age: ${failed_test.getAge()}) |
|
267 |
</td> |
|
268 |
</tr> |
|
269 |
<% } |
|
270 |
} |
|
271 |
} %> |
|
272 |
</table> |
|
273 |
<br/> |
|
274 |
<% } %> |
|
275 |
|
|
276 |
<!-- CONSOLE OUTPUT --> |
|
277 |
<% |
|
278 |
if ( build.result == hudson.model.Result.FAILURE ) { %> |
|
279 |
<table width=100% style="border:1px dotted" cellpadding="0" cellspacing="0"> |
|
280 |
<tr bgcolor=<%= (build.result == null || build.result.toString() == 'SUCCESS') ? '#27AE60' : build.result.toString() == 'FAILURE' ? '#E74C3C' : '#f4e242' %> > |
|
281 |
<td style="padding-left: 5px; font-weight: bold;"><font color="white" size="3">CONSOLE OUTPUT</font></td> |
|
282 |
</tr> |
|
283 |
<% build.getLog(100).each() { |
|
284 |
line -> %> |
|
285 |
<tr> |
|
286 |
<td style="font-family:Courier New">${org.apache.commons.lang.StringEscapeUtils.escapeHtml(line)}</td> |
|
287 |
</tr> |
|
288 |
<% } %> |
|
289 |
</table> |
|
290 |
<br/> |
|
291 |
<% } %> |
|
292 |
</BODY> |
|
293 |
</html> |
MarkupToPDF/bin/Debug/EntityFramework.xml | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
<doc> |
|
3 |
<assembly> |
|
4 |
<name>EntityFramework</name> |
|
5 |
</assembly> |
|
6 |
<members> |
|
7 |
<member name="T:System.Data.Entity.Edm.EdmDataModelType"> |
|
8 |
<summary> |
|
9 |
The base for all all Entity Data Model (EDM) types that represent a type from the EDM type system. |
|
10 |
</summary> |
|
11 |
</member> |
|
12 |
<member name="T:System.Data.Entity.Edm.EdmNamespaceItem"> |
|
13 |
<summary> |
|
14 |
Represents an item in an Entity Data Model (EDM) <see cref="T:System.Data.Entity.Edm.EdmNamespace"/> . |
|
15 |
</summary> |
|
16 |
</member> |
|
17 |
<member name="T:System.Data.Entity.Edm.EdmQualifiedNameMetadataItem"> |
|
18 |
<summary> |
|
19 |
The base for all all Entity Data Model (EDM) item types that with a Name property that represents a qualified (can be dotted) name. |
|
20 |
</summary> |
|
21 |
</member> |
|
22 |
<member name="T:System.Data.Entity.Edm.EdmNamedMetadataItem"> |
|
23 |
<summary> |
|
24 |
The base for all all Entity Data Model (EDM) item types that with a <see cref="P:System.Data.Entity.Edm.EdmNamedMetadataItem.Name"/> property. |
|
25 |
</summary> |
|
26 |
</member> |
|
27 |
<member name="T:System.Data.Entity.Edm.EdmMetadataItem"> |
|
28 |
<summary> |
|
29 |
The base for all all Entity Data Model (EDM) types that support annotation using <see cref="T:System.Data.Entity.Edm.Common.DataModelAnnotation"/> . |
|
30 |
</summary> |
|
31 |
</member> |
|
32 |
<member name="T:System.Data.Entity.Edm.EdmDataModelItem"> |
|
33 |
<summary> |
|
34 |
EdmDataModelItem is the base for all types in the Entity Data Model (EDM) metadata construction and modification API. |
|
35 |
</summary> |
|
36 |
</member> |
|
37 |
<member name="T:System.Data.Entity.Edm.Common.DataModelItem"> |
|
38 |
<summary> |
|
39 |
DataModelItem is the base for all types in the EDM metadata reflection, construction and modification API. |
|
40 |
</summary> |
|
41 |
</member> |
|
42 |
<member name="P:System.Data.Entity.Edm.EdmDataModelItem.ItemKind"> |
|
43 |
<summary> |
|
44 |
Gets an <see cref="T:System.Data.Entity.Edm.EdmItemKind"/> value indicating which Entity Data Model (EDM) concept is represented by this item. |
|
45 |
</summary> |
|
46 |
</member> |
|
47 |
<member name="T:System.Data.Entity.Edm.Common.IAnnotatedDataModelItem"> |
|
48 |
<summary> |
|
49 |
IAnnotatedDataModelItem is implemented by model-specific base types for all types with an <see cref="P:System.Data.Entity.Edm.Common.IAnnotatedDataModelItem.Annotations"/> property. <seealso cref="T:System.Data.Entity.Edm.EdmDataModelItem"/> |
|
50 |
</summary> |
|
51 |
</member> |
|
52 |
<member name="P:System.Data.Entity.Edm.Common.IAnnotatedDataModelItem.Annotations"> |
|
53 |
<summary> |
|
54 |
Gets or sets the currently assigned annotations. |
|
55 |
</summary> |
|
56 |
</member> |
|
57 |
<member name="P:System.Data.Entity.Edm.EdmMetadataItem.Annotations"> |
|
58 |
<summary> |
|
59 |
Gets or sets the currently assigned annotations. |
|
60 |
</summary> |
|
61 |
</member> |
|
62 |
<member name="P:System.Data.Entity.Edm.EdmMetadataItem.ChildItems"> |
|
63 |
<summary> |
|
64 |
Returns all EdmItem children directly contained by this EdmItem. |
|
65 |
</summary> |
|
66 |
</member> |
|
67 |
<member name="T:System.Data.Entity.Edm.Common.INamedDataModelItem"> |
|
68 |
<summary> |
|
69 |
INamedDataModelItem is implemented by model-specific base types for all types with a <see cref="P:System.Data.Entity.Edm.Common.INamedDataModelItem.Name"/> property. <seealso cref="T:System.Data.Entity.Edm.EdmNamedMetadataItem"/> |
|
70 |
</summary> |
|
71 |
</member> |
|
72 |
<member name="P:System.Data.Entity.Edm.Common.INamedDataModelItem.Name"> |
|
73 |
<summary> |
|
74 |
Gets or sets the currently assigned name. |
|
75 |
</summary> |
|
76 |
</member> |
|
77 |
<member name="P:System.Data.Entity.Edm.EdmNamedMetadataItem.Name"> |
|
78 |
<summary> |
|
79 |
Gets or sets the currently assigned name. |
|
80 |
</summary> |
|
81 |
</member> |
|
82 |
<member name="P:System.Data.Entity.Edm.EdmDataModelType.IsAbstract"> |
|
83 |
<summary> |
|
84 |
Gets a value indicating whether this type is abstract. |
|
85 |
</summary> |
|
86 |
</member> |
|
87 |
<member name="P:System.Data.Entity.Edm.EdmDataModelType.BaseType"> |
|
88 |
<summary> |
|
89 |
Gets the optional base type of this type. |
|
90 |
</summary> |
|
91 |
</member> |
|
92 |
<member name="T:System.Data.Entity.Edm.EdmStructuralMember"> |
|
93 |
<summary> |
|
94 |
EdmStructuralMember is the base for all types that represent members of structural items in the Entity Data Model (EDM) metadata construction and modification API. |
|
95 |
</summary> |
|
96 |
</member> |
|
97 |
<member name="T:System.Data.Entity.Infrastructure.DbConnectionInfo"> |
|
98 |
<summary> |
|
99 |
Represents information about a database connection. |
|
100 |
</summary> |
|
101 |
</member> |
|
102 |
<member name="M:System.Data.Entity.Infrastructure.DbConnectionInfo.#ctor(System.String)"> |
|
103 |
<summary> |
|
104 |
Creates a new instance of DbConnectionInfo representing a connection that is specified in the application configuration file. |
|
105 |
</summary> |
|
106 |
<param name = "connectionName">The name of the connection string in the application configuration.</param> |
|
107 |
</member> |
|
108 |
<member name="M:System.Data.Entity.Infrastructure.DbConnectionInfo.#ctor(System.String,System.String)"> |
|
109 |
<summary> |
|
110 |
Creates a new instance of DbConnectionInfo based on a connection string. |
|
111 |
</summary> |
|
112 |
<param name = "connectionString">The connection string to use for the connection.</param> |
|
113 |
<param name = "providerInvariantName">The name of the provider to use for the connection. Use 'System.Data.SqlClient' for SQL Server.</param> |
|
114 |
</member> |
|
115 |
<member name="M:System.Data.Entity.Infrastructure.DbConnectionInfo.GetConnectionString(System.Data.Entity.Internal.AppConfig)"> |
|
116 |
<summary> |
|
117 |
Gets the connection information represented by this instance. |
|
118 |
</summary> |
|
119 |
<param name = "config">Configuration to use if connection comes from the configuration file.</param> |
|
120 |
</member> |
|
121 |
<member name="T:System.Data.Entity.Infrastructure.LocalDbConnectionFactory"> |
|
122 |
<summary> |
|
123 |
Instances of this class are used to create DbConnection objects for |
|
124 |
SQL Server LocalDb based on a given database name or connection string. |
|
125 |
</summary> |
|
126 |
<remarks> |
|
127 |
An instance of this class can be set on the <see cref="T:System.Data.Entity.Database"/> class or in the |
|
128 |
app.config/web.config for the application to cause all DbContexts created with no |
|
129 |
connection information or just a database name to use SQL Server LocalDb by default. |
|
130 |
This class is immutable since multiple threads may access instances simultaneously |
|
131 |
when creating connections. |
|
132 |
</remarks> |
|
133 |
</member> |
|
134 |
<member name="T:System.Data.Entity.Infrastructure.IDbConnectionFactory"> |
|
135 |
<summary> |
|
136 |
Implementations of this interface are used to create DbConnection objects for |
|
137 |
a type of database server based on a given database name. |
|
138 |
An Instance is set on the <see cref="T:System.Data.Entity.Database"/> class to |
내보내기 Unified diff