introduce pack runner initial UI
[teamcity/dotNetPackagesSupport.git] / nuget-server / resources / pack / editPack.jsp
1 <%--\r
2   ~ Copyright 2000-2011 JetBrains s.r.o.\r
3   ~\r
4   ~ Licensed under the Apache License, Version 2.0 (the "License");\r
5   ~ you may not use this file except in compliance with the License.\r
6   ~ You may obtain a copy of the License at\r
7   ~\r
8   ~ http://www.apache.org/licenses/LICENSE-2.0\r
9   ~\r
10   ~ Unless required by applicable law or agreed to in writing, software\r
11   ~ distributed under the License is distributed on an "AS IS" BASIS,\r
12   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13   ~ See the License for the specific language governing permissions and\r
14   ~ limitations under the License.\r
15   --%>\r
16 <%@ taglib prefix="forms" tagdir="/WEB-INF/tags/forms" %>\r
17 <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %>\r
18 <%@ taglib prefix="l" tagdir="/WEB-INF/tags/layout" %>\r
19 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>\r
20 <jsp:useBean id="ib" class="jetbrains.buildServer.nuget.server.pack.PackBean" scope="request"/>\r
21 \r
22 <l:settingsGroup title="NuGet settings">\r
23   <tr>\r
24     <th>NuGet.exe<l:star/></th>\r
25     <td>\r
26       <jsp:include page="../tool/runnerSettings.html?name=${ib.nuGetPathKey}&class=longField"/>\r
27     </td>\r
28   </tr>\r
29 </l:settingsGroup>\r
30 \r
31 <l:settingsGroup title="Package parameters">\r
32   <tr>\r
33     <th><label for="${ib.packSpecFile}">Specification file</label><l:star/>:</th>\r
34     <td>\r
35       <props:textProperty name="${ib.packSpecFile}" className="longField"/>\r
36       <span class="smallNote">Specify path to project of .nuspec file</span>\r
37       <span id="error_${ib.packSpecFile}" class="error"></span>\r
38     </td>\r
39   </tr>\r
40 \r
41   <tr>\r
42     <th><label for="${ib.packVersion}">Version</label><l:star/>:</th>\r
43     <td>\r
44       <props:textProperty name="${ib.packVersion}" className="longField"/>\r
45       <span class="smallNote">Specify version for package to create</span>\r
46       <span id="error_${ib.packVersion}" class="error"></span>\r
47     </td>\r
48   </tr>\r
49 \r
50   <tr>\r
51     <th><label for="${ib.packBaseDirectory}">Base Directory</label>:</th>\r
52     <td>\r
53       <props:textProperty name="${ib.packBaseDirectory}" className="longField"/>\r
54       <span class="smallNote">Base directory for packing. Leave blank to use build checkout directory</span>\r
55       <span id="error_${ib.packBaseDirectory}" class="error"></span>\r
56     </td>\r
57   </tr>\r
58 \r
59 </l:settingsGroup>\r
60 \r
61 <l:settingsGroup title="Output">\r
62   <tr>\r
63     <th><label for="${ib.packOutputDirectory}">Output Directory</label><l:star/>:</th>\r
64     <td>\r
65       <props:textProperty name="${ib.packOutputDirectory}" className="longField"/>\r
66       <span class="smallNote">Specify path to put generated NuGet package</span>\r
67       <span id="error_${ib.packOutputDirectory}" class="error"></span>\r
68     </td>\r
69   </tr>\r
70 \r
71 </l:settingsGroup>\r
72 \r
73 <l:settingsGroup title="Additionals parameters">\r
74 \r
75   <tr>\r
76     <th><label for="${ib.packExcludePatterns}">Exclude files: </label></th>\r
77     <td>\r
78       <props:multilineProperty name="${ib.packExcludePatterns}" linkTitle="Exclude files" cols="60" rows="5" />\r
79       <span class="smallNote">Exclude files when creating a package. Equavalent to NuGet.exe -Exclude argument</span>\r
80       <span id="error_${ib.packExcludePatterns}" class="error"></span>\r
81     </td>\r
82   </tr>\r
83 \r
84   <tr>\r
85     <th><label for="${ib.packProperties}">Properties:</label></th>\r
86     <td>\r
87       <props:multilineProperty name="${ib.packProperties}" linkTitle="Properties" cols="60" rows="5" />\r
88       <span class="smallNote">Semicolon or new line separated list of properties of package creation.</span>\r
89       <span id="error_${ib.packProperties}" class="error"></span>\r
90     </td>\r
91   </tr>\r
92 \r
93   <tr>\r
94     <th rowspan="2">Options:</th>\r
95     <td>\r
96       <props:checkboxProperty name="${ib.packAsTool}"/>\r
97       <label for="${ib.packAsTool}">Create <strong>tool</strong> package</label>\r
98     </td>\r
99   </tr>\r
100   <tr>\r
101     <td>\r
102       <props:checkboxProperty name="${ib.packSources}"/>\r
103       <label for="${ib.packSources}">Include sources and symbols</label>\r
104     </td>\r
105   </tr>\r
106 \r
107   <tr>\r
108     <th><label for="${ib.packCustomCommandline}">Additional commandline arguments:</label></th>\r
109     <td>\r
110       <props:multilineProperty name="${ib.packCustomCommandline}" linkTitle="Commandline" cols="60" rows="5" />\r
111       <span class="smallNote">Additional commandline parameters to add to calling NuGet.exe</span>\r
112       <span id="error_${ib.packCustomCommandline}" class="error"></span>\r
113     </td>\r
114   </tr>\r
115 \r
116 </l:settingsGroup>\r
117 \r