* CallTarget.cs: Copy all items from target to TargetOutputs.
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks / GenerateBootstrapper.cs
1 //
2 // GenerateBootstrapper.cs
3 //
4 // Author:
5 //   Marek Sieradzki (marek.sieradzki@gmail.com)
6 //
7 // (C) 2006 Marek Sieradzki
8 //
9 // Permission is hereby granted, free of charge, to any person obtaining
10 // a copy of this software and associated documentation files (the
11 // "Software"), to deal in the Software without restriction, including
12 // without limitation the rights to use, copy, modify, merge, publish,
13 // distribute, sublicense, and/or sell copies of the Software, and to
14 // permit persons to whom the Software is furnished to do so, subject to
15 // the following conditions:
16 //
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
19 //
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27
28 #if NET_2_0
29
30 using System;
31 using Microsoft.Build.Framework;
32
33 namespace Microsoft.Build.Tasks {
34         public sealed class GenerateBootstrapper : TaskExtension {
35         
36                 string          applicationFile;
37                 string          applicationName;
38                 string          applicationUrl;
39                 string[]        bootstrapperComponentFiles;
40                 ITaskItem[]     bootstrapperItems;
41                 string          bootstrapperKeyFile;
42                 string          componentsLocation;
43                 string          componentsUrl;
44                 bool            copyComponents;
45                 string          culture;
46                 string          fallbackCulture;
47                 string          outputPath;
48                 string          path;
49                 string          supportUrl;
50                 bool            validate;
51         
52                 public GenerateBootstrapper ()
53                 {
54                 }
55
56                 public override bool Execute ()
57                 {
58                         return false;
59                 }
60                 
61                 public string ApplicationFile {
62                         get { return applicationFile; }
63                         set { applicationFile = value; }
64                 }
65                 
66                 public string ApplicationName {
67                         get { return applicationName; }
68                         set { applicationName = value; }
69                 }
70                 
71                 public string ApplicationUrl {
72                         get { return applicationUrl; }
73                         set { applicationUrl = value; }
74                 }
75                 
76                 [Output]
77                 public string[] BootstrapperComponentFiles {
78                         get { return bootstrapperComponentFiles; }
79                         set { bootstrapperComponentFiles = value; }
80                 }
81                 
82                 public ITaskItem[] BootstrapperItems {
83                         get { return bootstrapperItems; }
84                         set { bootstrapperItems = value; }
85                 }
86                 
87                 [Output]
88                 public string BootstrapperKeyFile {
89                         get { return bootstrapperKeyFile; }
90                         set { bootstrapperKeyFile = value; }
91                 }
92                 
93                 public string ComponentsLocation {
94                         get { return componentsLocation; }
95                         set { componentsLocation = value; }
96                 }
97                 
98                 public string ComponentsUrl {
99                         get { return componentsUrl; }
100                         set { componentsUrl = value; }
101                 }
102                 
103                 public bool CopyComponents {
104                         get { return copyComponents; }
105                         set { copyComponents = value; }
106                 }
107                 
108                 public string Culture {
109                         get { return culture; }
110                         set { culture = value; }
111                 }
112                 
113                 public string FallbackCulture {
114                         get { return fallbackCulture; }
115                         set { fallbackCulture = value; }
116                 }
117                 
118                 public string OutputPath {
119                         get { return outputPath; }
120                         set { outputPath = value; }
121                 }
122                 
123                 public string Path {
124                         get { return path; }
125                         set { path = value; }
126                 }
127                 
128                 public string SupportUrl {
129                         get { return supportUrl; }
130                         set { supportUrl = value; }
131                 }
132                 
133                 public bool Validate {
134                         get { return validate; }
135                         set { validate = value; }
136                 }
137         }
138 }
139
140 #endif