From f80eec473ef9eb2d9e1b14722f62ba4ca5968e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=E7=93=9C=E5=93=A5?= Date: Thu, 18 Sep 2014 15:01:42 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=B0=86Bash=E8=84=9A=E6=9C=AC=E5=8A=A0?= =?UTF-8?q?=E4=B8=8A=E7=BB=9F=E4=B8=80=E7=9A=84=E5=90=8E=E7=BC=80=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=A4=E4=B8=AABash=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/quickstart/bin/{jetty => jetty.sh} | 0 examples/quickstart/bin/{package => package.sh} | 0 examples/quickstart/bin/{refresh-db => refresh-db.sh} | 0 examples/quickstart/bin/{smoke-test => smoke-test.sh} | 0 examples/showcase/bin/{bdd-test => bdd-test.sh} | 0 examples/showcase/bin/{executable-war => executable-war.sh} | 0 examples/showcase/bin/{jetty-large => jetty-large.sh} | 0 examples/showcase/bin/{jetty => jetty.sh} | 0 examples/showcase/bin/{package => package.sh} | 0 examples/showcase/bin/{refresh-db => refresh-db.sh} | 0 examples/showcase/bin/{smoke-test => smoke-test.sh} | 0 examples/showcase/bin/{tomcat => tomcat.sh} | 0 examples/showcase/bin/{wsdl2java => wsdl2java.sh} | 0 examples/showcase/bin/{yuicompressor => yuicompressor.sh} | 0 generate-project => generate-project.sh | 0 modules/core/{install => install.sh} | 0 modules/extension/{install => install.sh} | 0 modules/metrics/{install => install.sh} | 0 modules/parent/{install => install.sh} | 0 modules/redis/{install => install.sh} | 0 quick-start => quick-start.sh | 0 support/h2/h2-console.sh | 3 +++ support/maven-archetype/install.sh | 3 +++ 23 files changed, 6 insertions(+) rename examples/quickstart/bin/{jetty => jetty.sh} (100%) rename examples/quickstart/bin/{package => package.sh} (100%) rename examples/quickstart/bin/{refresh-db => refresh-db.sh} (100%) rename examples/quickstart/bin/{smoke-test => smoke-test.sh} (100%) rename examples/showcase/bin/{bdd-test => bdd-test.sh} (100%) rename examples/showcase/bin/{executable-war => executable-war.sh} (100%) rename examples/showcase/bin/{jetty-large => jetty-large.sh} (100%) rename examples/showcase/bin/{jetty => jetty.sh} (100%) rename examples/showcase/bin/{package => package.sh} (100%) rename examples/showcase/bin/{refresh-db => refresh-db.sh} (100%) rename examples/showcase/bin/{smoke-test => smoke-test.sh} (100%) rename examples/showcase/bin/{tomcat => tomcat.sh} (100%) rename examples/showcase/bin/{wsdl2java => wsdl2java.sh} (100%) rename examples/showcase/bin/{yuicompressor => yuicompressor.sh} (100%) rename generate-project => generate-project.sh (100%) mode change 100644 => 100755 rename modules/core/{install => install.sh} (100%) mode change 100644 => 100755 rename modules/extension/{install => install.sh} (100%) mode change 100644 => 100755 rename modules/metrics/{install => install.sh} (100%) mode change 100644 => 100755 rename modules/parent/{install => install.sh} (100%) mode change 100644 => 100755 rename modules/redis/{install => install.sh} (100%) mode change 100644 => 100755 rename quick-start => quick-start.sh (100%) mode change 100644 => 100755 create mode 100755 support/h2/h2-console.sh create mode 100755 support/maven-archetype/install.sh diff --git a/examples/quickstart/bin/jetty b/examples/quickstart/bin/jetty.sh similarity index 100% rename from examples/quickstart/bin/jetty rename to examples/quickstart/bin/jetty.sh diff --git a/examples/quickstart/bin/package b/examples/quickstart/bin/package.sh similarity index 100% rename from examples/quickstart/bin/package rename to examples/quickstart/bin/package.sh diff --git a/examples/quickstart/bin/refresh-db b/examples/quickstart/bin/refresh-db.sh similarity index 100% rename from examples/quickstart/bin/refresh-db rename to examples/quickstart/bin/refresh-db.sh diff --git a/examples/quickstart/bin/smoke-test b/examples/quickstart/bin/smoke-test.sh similarity index 100% rename from examples/quickstart/bin/smoke-test rename to examples/quickstart/bin/smoke-test.sh diff --git a/examples/showcase/bin/bdd-test b/examples/showcase/bin/bdd-test.sh similarity index 100% rename from examples/showcase/bin/bdd-test rename to examples/showcase/bin/bdd-test.sh diff --git a/examples/showcase/bin/executable-war b/examples/showcase/bin/executable-war.sh similarity index 100% rename from examples/showcase/bin/executable-war rename to examples/showcase/bin/executable-war.sh diff --git a/examples/showcase/bin/jetty-large b/examples/showcase/bin/jetty-large.sh similarity index 100% rename from examples/showcase/bin/jetty-large rename to examples/showcase/bin/jetty-large.sh diff --git a/examples/showcase/bin/jetty b/examples/showcase/bin/jetty.sh similarity index 100% rename from examples/showcase/bin/jetty rename to examples/showcase/bin/jetty.sh diff --git a/examples/showcase/bin/package b/examples/showcase/bin/package.sh similarity index 100% rename from examples/showcase/bin/package rename to examples/showcase/bin/package.sh diff --git a/examples/showcase/bin/refresh-db b/examples/showcase/bin/refresh-db.sh similarity index 100% rename from examples/showcase/bin/refresh-db rename to examples/showcase/bin/refresh-db.sh diff --git a/examples/showcase/bin/smoke-test b/examples/showcase/bin/smoke-test.sh similarity index 100% rename from examples/showcase/bin/smoke-test rename to examples/showcase/bin/smoke-test.sh diff --git a/examples/showcase/bin/tomcat b/examples/showcase/bin/tomcat.sh similarity index 100% rename from examples/showcase/bin/tomcat rename to examples/showcase/bin/tomcat.sh diff --git a/examples/showcase/bin/wsdl2java b/examples/showcase/bin/wsdl2java.sh similarity index 100% rename from examples/showcase/bin/wsdl2java rename to examples/showcase/bin/wsdl2java.sh diff --git a/examples/showcase/bin/yuicompressor b/examples/showcase/bin/yuicompressor.sh similarity index 100% rename from examples/showcase/bin/yuicompressor rename to examples/showcase/bin/yuicompressor.sh diff --git a/generate-project b/generate-project.sh old mode 100644 new mode 100755 similarity index 100% rename from generate-project rename to generate-project.sh diff --git a/modules/core/install b/modules/core/install.sh old mode 100644 new mode 100755 similarity index 100% rename from modules/core/install rename to modules/core/install.sh diff --git a/modules/extension/install b/modules/extension/install.sh old mode 100644 new mode 100755 similarity index 100% rename from modules/extension/install rename to modules/extension/install.sh diff --git a/modules/metrics/install b/modules/metrics/install.sh old mode 100644 new mode 100755 similarity index 100% rename from modules/metrics/install rename to modules/metrics/install.sh diff --git a/modules/parent/install b/modules/parent/install.sh old mode 100644 new mode 100755 similarity index 100% rename from modules/parent/install rename to modules/parent/install.sh diff --git a/modules/redis/install b/modules/redis/install.sh old mode 100644 new mode 100755 similarity index 100% rename from modules/redis/install rename to modules/redis/install.sh diff --git a/quick-start b/quick-start.sh old mode 100644 new mode 100755 similarity index 100% rename from quick-start rename to quick-start.sh diff --git a/support/h2/h2-console.sh b/support/h2/h2-console.sh new file mode 100755 index 000000000..159045c67 --- /dev/null +++ b/support/h2/h2-console.sh @@ -0,0 +1,3 @@ +echo "Open a H2 web console." + +mvn exec:java diff --git a/support/maven-archetype/install.sh b/support/maven-archetype/install.sh new file mode 100755 index 000000000..819b04f47 --- /dev/null +++ b/support/maven-archetype/install.sh @@ -0,0 +1,3 @@ +echo "[INFO] Install archetype to local repository." + +mvn clean install From 2efeed06c5a0e54041054d61fb948d8d748bf678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=E7=93=9C=E5=93=A5?= Date: Thu, 18 Sep 2014 15:09:01 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A2=9E=E5=8A=A0Bash=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E7=9A=84Bangsha=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- support/h2/h2-console.sh | 4 +++- support/maven-archetype/install.sh | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/support/h2/h2-console.sh b/support/h2/h2-console.sh index 159045c67..dc6f65889 100755 --- a/support/h2/h2-console.sh +++ b/support/h2/h2-console.sh @@ -1,3 +1,5 @@ -echo "Open a H2 web console." +#!/bin/bash + +echo "[INFO] Open a H2 web console." mvn exec:java diff --git a/support/maven-archetype/install.sh b/support/maven-archetype/install.sh index 819b04f47..61ee94f51 100755 --- a/support/maven-archetype/install.sh +++ b/support/maven-archetype/install.sh @@ -1,3 +1,5 @@ +#!/bin/bash + echo "[INFO] Install archetype to local repository." mvn clean install