diff --git a/core/pom.xml b/core/pom.xml index 3dc52aa536..1d75df339d 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -345,8 +345,17 @@ THE SOFTWARE. commons-jexl commons-jexl + + org.kohsuke.stapler + json-lib + + + org.kohsuke.stapler + json-lib + 2.1-rev2 + args4j args4j @@ -371,7 +380,7 @@ THE SOFTWARE. org.jvnet.hudson xstream - 1.3.1-hudson-1 + 1.3.1-hudson-2 jfree @@ -702,6 +711,11 @@ THE SOFTWARE. jinterop-wmi 1.0 + + org.jvnet.hudson + htmlunit + 2.2-hudson-9 + + + + + ${it.generateFragment()} + diff --git a/core/src/main/resources/hudson/model/Hudson/configure.jelly b/core/src/main/resources/hudson/model/Hudson/configure.jelly index 6ce4d9badc..7220bbe364 100644 --- a/core/src/main/resources/hudson/model/Hudson/configure.jelly +++ b/core/src/main/resources/hudson/model/Hudson/configure.jelly @@ -100,28 +100,9 @@ THE SOFTWARE. - - - - - - - - - - - - - - -
- -
-
-
+ + +
diff --git a/core/src/main/resources/hudson/model/JDK/config.jelly b/core/src/main/resources/hudson/model/JDK/config.jelly new file mode 100644 index 0000000000..119939ae18 --- /dev/null +++ b/core/src/main/resources/hudson/model/JDK/config.jelly @@ -0,0 +1,43 @@ + + + + + + + + + + + + + +
+ +
+
+
+
\ No newline at end of file diff --git a/core/src/main/resources/hudson/model/JDK/config_de.properties b/core/src/main/resources/hudson/model/JDK/config_de.properties new file mode 100644 index 0000000000..0a3e0c11fb --- /dev/null +++ b/core/src/main/resources/hudson/model/JDK/config_de.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Simon Wiest +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + +name=Name diff --git a/core/src/main/resources/hudson/model/JDK/config_fr.properties b/core/src/main/resources/hudson/model/JDK/config_fr.properties new file mode 100644 index 0000000000..2178370fbb --- /dev/null +++ b/core/src/main/resources/hudson/model/JDK/config_fr.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Eric Lefevre-Ardant +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + +name=Nom diff --git a/core/src/main/resources/hudson/model/JDK/config_ja.properties b/core/src/main/resources/hudson/model/JDK/config_ja.properties new file mode 100644 index 0000000000..0c94b38d7e --- /dev/null +++ b/core/src/main/resources/hudson/model/JDK/config_ja.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + +name=\u540D\u524D diff --git a/core/src/main/resources/hudson/model/JDK/config_nl.properties b/core/src/main/resources/hudson/model/JDK/config_nl.properties new file mode 100644 index 0000000000..1b4bba5221 --- /dev/null +++ b/core/src/main/resources/hudson/model/JDK/config_nl.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:sorokh +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + +name=Naam diff --git a/core/src/main/resources/hudson/model/JDK/config_pt_BR.properties b/core/src/main/resources/hudson/model/JDK/config_pt_BR.properties new file mode 100644 index 0000000000..502f2afb64 --- /dev/null +++ b/core/src/main/resources/hudson/model/JDK/config_pt_BR.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Reginaldo L. Russinholi +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + +name=nome diff --git a/core/src/main/resources/hudson/model/JDK/config_tr.properties b/core/src/main/resources/hudson/model/JDK/config_tr.properties new file mode 100644 index 0000000000..607cb98b95 --- /dev/null +++ b/core/src/main/resources/hudson/model/JDK/config_tr.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Oguz Dag +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + +name=isim diff --git a/core/src/main/resources/hudson/tools/CommandInstaller/config.jelly b/core/src/main/resources/hudson/tools/CommandInstaller/config.jelly new file mode 100644 index 0000000000..f44b0bc72b --- /dev/null +++ b/core/src/main/resources/hudson/tools/CommandInstaller/config.jelly @@ -0,0 +1,29 @@ + + + + + + + diff --git a/core/src/main/resources/hudson/tools/CommandInstaller/help-command.html b/core/src/main/resources/hudson/tools/CommandInstaller/help-command.html new file mode 100644 index 0000000000..a313706d70 --- /dev/null +++ b/core/src/main/resources/hudson/tools/CommandInstaller/help-command.html @@ -0,0 +1,4 @@ +
+ Command to run on the slave node to install the tool. + The command will always be run, so it should be a quick no-op if the tool is already installed. +
diff --git a/core/src/main/resources/hudson/tools/CommandInstaller/help.html b/core/src/main/resources/hudson/tools/CommandInstaller/help.html new file mode 100644 index 0000000000..ac353c0d69 --- /dev/null +++ b/core/src/main/resources/hudson/tools/CommandInstaller/help.html @@ -0,0 +1,21 @@ +

+ Runs a shell command of your choice to install the tool. Ubuntu example, + assuming the Hudson user is in /etc/sudoers: +

+
sudo apt-get --yes install openjdk-6-jdk
+

+ (In this case specify /usr/lib/jvm/java-6-openjdk as the home directory.) +

+

+ As another example, to install Sun JDK 6 for (x86) Linux, + you can use DLJ: +

+
bin=jdk-6u13-dlj-linux-i586.bin
+if [ \! -f $bin ]
+then
+    wget --no-verbose http://download.java.net/dlj/binaries/$bin
+    sh $bin --unpack --accept-license
+fi
+

+ (In this case specify jdk1.6.0_13 as the home directory.) +

diff --git a/core/src/main/resources/hudson/tools/InstallSourceProperty/config.jelly b/core/src/main/resources/hudson/tools/InstallSourceProperty/config.jelly new file mode 100644 index 0000000000..192fafcf1b --- /dev/null +++ b/core/src/main/resources/hudson/tools/InstallSourceProperty/config.jelly @@ -0,0 +1,31 @@ + + + + + + + + + diff --git a/core/src/main/resources/hudson/tools/InstallSourceProperty/help.html b/core/src/main/resources/hudson/tools/InstallSourceProperty/help.html new file mode 100644 index 0000000000..d9dbf3c399 --- /dev/null +++ b/core/src/main/resources/hudson/tools/InstallSourceProperty/help.html @@ -0,0 +1,15 @@ +
+ Choose this option to let Hudson install this tool for you on demand, + to the location you configured above. + +

+ If you check this option, you'll then be asked to configure a series + of "installer"s for this tool, where each installer defines how + Hudson will try to install this tool. + +

+ For a platform-independent tool (such as Ant), configuring multiple installers + for a single tool makes not much sense, but for a platform dependent tool, + multiple installer configurations allow you to run a different set up script + depending on the slave environment. +

\ No newline at end of file diff --git a/core/src/main/resources/hudson/tools/JDKInstaller/config.jelly b/core/src/main/resources/hudson/tools/JDKInstaller/config.jelly new file mode 100644 index 0000000000..c6dd7f31a0 --- /dev/null +++ b/core/src/main/resources/hudson/tools/JDKInstaller/config.jelly @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/core/src/main/resources/hudson/tools/Messages.properties b/core/src/main/resources/hudson/tools/Messages.properties index e6dead5f21..bf37c06d4d 100644 --- a/core/src/main/resources/hudson/tools/Messages.properties +++ b/core/src/main/resources/hudson/tools/Messages.properties @@ -21,3 +21,10 @@ # THE SOFTWARE. ToolLocationNodeProperty.DisplayName=Tool Locations +CommandInstaller.DescriptorImpl.displayName=Run Command +CommandInstaller.no_command=Must provide a command to run. +CommandInstaller.no_toolHome=Must provide a tool home directory. +ZipExtractionInstaller.DescriptorImpl.displayName=Extract *.zip/*.tar.gz +ZipExtractionInstaller.bad_connection=Server rejected connection. +ZipExtractionInstaller.malformed_url=Malformed URL. +ZipExtractionInstaller.could_not_connect=Could not connect to URL. diff --git a/core/src/main/resources/hudson/tools/ZipExtractionInstaller/config.jelly b/core/src/main/resources/hudson/tools/ZipExtractionInstaller/config.jelly new file mode 100644 index 0000000000..1242f8173d --- /dev/null +++ b/core/src/main/resources/hudson/tools/ZipExtractionInstaller/config.jelly @@ -0,0 +1,32 @@ + + + + + + + + + + diff --git a/core/src/main/resources/hudson/tools/ZipExtractionInstaller/help-subdir.html b/core/src/main/resources/hudson/tools/ZipExtractionInstaller/help-subdir.html new file mode 100644 index 0000000000..6806da2621 --- /dev/null +++ b/core/src/main/resources/hudson/tools/ZipExtractionInstaller/help-subdir.html @@ -0,0 +1,3 @@ +
+ Optional subdirectory of the downloaded and unpacked archive to use as the tool's home directory. +
diff --git a/core/src/main/resources/hudson/tools/ZipExtractionInstaller/help-url.html b/core/src/main/resources/hudson/tools/ZipExtractionInstaller/help-url.html new file mode 100644 index 0000000000..5ec03bb608 --- /dev/null +++ b/core/src/main/resources/hudson/tools/ZipExtractionInstaller/help-url.html @@ -0,0 +1,7 @@ +
+ URL from which to download the tool in binary form. + Should be either a ZIP or a GZip-compressed TAR file. + The timestamp on the server will be compared to the local version (if any) + so you can publish updates easily. + The URL must be accessible from the Hudson master but need not be accessible from slaves. +
diff --git a/core/src/main/resources/hudson/tools/ZipExtractionInstaller/help.html b/core/src/main/resources/hudson/tools/ZipExtractionInstaller/help.html new file mode 100644 index 0000000000..0f9148c1b8 --- /dev/null +++ b/core/src/main/resources/hudson/tools/ZipExtractionInstaller/help.html @@ -0,0 +1,6 @@ +
+ Downloads a tool archive and installs it within Hudson's working directory. + Example: http://apache.promopeddler.com/ant/binaries/apache-ant-1.7.1-bin.zip + (or whatever mirror is closest to your server) + and specify a subdir of apache-ant-1.7.1. +
diff --git a/core/src/main/resources/hudson/tools/label.jelly b/core/src/main/resources/hudson/tools/label.jelly new file mode 100644 index 0000000000..d82417033f --- /dev/null +++ b/core/src/main/resources/hudson/tools/label.jelly @@ -0,0 +1,33 @@ + + + + Puts the input field for allowing an user to limit this installer to a certain label. + Meant to be used from config.jelly of ToolInstaller subypes. + + + + + + diff --git a/core/src/main/resources/hudson/tools/taglib b/core/src/main/resources/hudson/tools/taglib new file mode 100644 index 0000000000..e69de29bb2 diff --git a/core/src/main/resources/lib/form/checkbox.jelly b/core/src/main/resources/lib/form/checkbox.jelly index 12f42ba358..e8f95a7a4c 100644 --- a/core/src/main/resources/lib/form/checkbox.jelly +++ b/core/src/main/resources/lib/form/checkbox.jelly @@ -44,6 +44,7 @@ THE SOFTWARE. \ No newline at end of file diff --git a/core/src/main/resources/lib/form/descriptorList.jelly b/core/src/main/resources/lib/form/descriptorList.jelly index 2f0445223d..49a57f0ca3 100644 --- a/core/src/main/resources/lib/form/descriptorList.jelly +++ b/core/src/main/resources/lib/form/descriptorList.jelly @@ -53,7 +53,7 @@ THE SOFTWARE. - + diff --git a/core/src/main/resources/lib/form/hetero-list.jelly b/core/src/main/resources/lib/form/hetero-list.jelly index d6ae9ceecf..8df6f558ca 100644 --- a/core/src/main/resources/lib/form/hetero-list.jelly +++ b/core/src/main/resources/lib/form/hetero-list.jelly @@ -66,6 +66,7 @@ THE SOFTWARE.
+
@@ -86,7 +87,7 @@ THE SOFTWARE.
-