You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by rm...@apache.org on 2015/05/27 14:22:02 UTC
flink-web git commit: Add quickstart scripts to website again
Repository: flink-web
Updated Branches:
refs/heads/asf-site e51f2ac16 -> 4859dade3
Add quickstart scripts to website again
Project: http://git-wip-us.apache.org/repos/asf/flink-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink-web/commit/4859dade
Tree: http://git-wip-us.apache.org/repos/asf/flink-web/tree/4859dade
Diff: http://git-wip-us.apache.org/repos/asf/flink-web/diff/4859dade
Branch: refs/heads/asf-site
Commit: 4859dade3fd502c5708d183f4b8e9b7cae8b22e9
Parents: e51f2ac
Author: Robert Metzger <rm...@apache.org>
Authored: Wed May 27 14:20:49 2015 +0200
Committer: Robert Metzger <rm...@apache.org>
Committed: Wed May 27 14:21:41 2015 +0200
----------------------------------------------------------------------
q/quickstart-SNAPSHOT.sh | 48 +++++++++++++++++++++++++++++++++++++
q/quickstart-scala-SNAPSHOT.sh | 48 +++++++++++++++++++++++++++++++++++++
q/quickstart-scala.sh | 47 ++++++++++++++++++++++++++++++++++++
q/quickstart.sh | 48 +++++++++++++++++++++++++++++++++++++
4 files changed, 191 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink-web/blob/4859dade/q/quickstart-SNAPSHOT.sh
----------------------------------------------------------------------
diff --git a/q/quickstart-SNAPSHOT.sh b/q/quickstart-SNAPSHOT.sh
new file mode 100755
index 0000000..9c8bad9
--- /dev/null
+++ b/q/quickstart-SNAPSHOT.sh
@@ -0,0 +1,48 @@
+#!/usr/bin/env bash
+
+################################################################################
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+################################################################################
+
+
+PACKAGE=quickstart
+
+mvn archetype:generate \
+ -DarchetypeGroupId=org.apache.flink \
+ -DarchetypeArtifactId=flink-quickstart-java \
+ -DarchetypeVersion=0.9-SNAPSHOT \
+ -DgroupId=org.myorg.quickstart \
+ -DartifactId=$PACKAGE \
+ -Dversion=0.1 \
+ -Dpackage=org.myorg.quickstart \
+ -DinteractiveMode=false \
+ -DarchetypeCatalog=https://repository.apache.org/content/repositories/snapshots/
+
+#
+# Give some guidance
+#
+echo -e "\\n\\n"
+echo -e "\\tA sample quickstart Flink Job has been created."
+echo -e "\\tSwitch into the directory using"
+echo -e "\\t\\t cd $PACKAGE"
+echo -e "\\tImport the project there using your favorite IDE (Import it as a maven project)"
+echo -e "\\tBuild a jar inside the directory using"
+echo -e "\\t\\t mvn clean package"
+echo -e "\\tYou will find the runnable jar in $PACKAGE/target"
+echo -e "\\tConsult our website if you have any troubles: http://flink.apache.org/community.html#mailing-lists"
+echo -e "\\n\\n"
+
http://git-wip-us.apache.org/repos/asf/flink-web/blob/4859dade/q/quickstart-scala-SNAPSHOT.sh
----------------------------------------------------------------------
diff --git a/q/quickstart-scala-SNAPSHOT.sh b/q/quickstart-scala-SNAPSHOT.sh
new file mode 100755
index 0000000..5f9e6eb
--- /dev/null
+++ b/q/quickstart-scala-SNAPSHOT.sh
@@ -0,0 +1,48 @@
+#!/usr/bin/env bash
+
+################################################################################
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+################################################################################
+
+
+PACKAGE=quickstart
+
+mvn archetype:generate \
+ -DarchetypeGroupId=org.apache.flink \
+ -DarchetypeArtifactId=flink-quickstart-scala \
+ -DarchetypeVersion=0.9-SNAPSHOT \
+ -DgroupId=org.myorg.quickstart \
+ -DartifactId=$PACKAGE \
+ -Dversion=0.1 \
+ -Dpackage=org.myorg.quickstart \
+ -DinteractiveMode=false \
+ -DarchetypeCatalog=https://repository.apache.org/content/repositories/snapshots/
+
+#
+# Give some guidance
+#
+echo -e "\\n\\n"
+echo -e "\\tA sample quickstart Flink Job has been created."
+echo -e "\\tSwitch into the directory using"
+echo -e "\\t\\t cd $PACKAGE"
+echo -e "\\tImport the project there using your favorite IDE (Import it as a maven project)"
+echo -e "\\tBuild a jar inside the directory using"
+echo -e "\\t\\t mvn clean package"
+echo -e "\\tYou will find the runnable jar in $PACKAGE/target"
+echo -e "\\tConsult our website if you have any troubles: http://flink.apache.org/community.html#mailing-lists"
+echo -e "\\n\\n"
+
http://git-wip-us.apache.org/repos/asf/flink-web/blob/4859dade/q/quickstart-scala.sh
----------------------------------------------------------------------
diff --git a/q/quickstart-scala.sh b/q/quickstart-scala.sh
new file mode 100755
index 0000000..2d05968
--- /dev/null
+++ b/q/quickstart-scala.sh
@@ -0,0 +1,47 @@
+#!/usr/bin/env bash
+
+################################################################################
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+################################################################################
+
+
+PACKAGE=quickstart
+
+mvn archetype:generate \
+ -DarchetypeGroupId=org.apache.flink \
+ -DarchetypeArtifactId=flink-quickstart-scala \
+ -DarchetypeVersion=0.8.1 \
+ -DgroupId=org.myorg.quickstart \
+ -DartifactId=$PACKAGE \
+ -Dversion=0.1 \
+ -Dpackage=org.myorg.quickstart \
+ -DinteractiveMode=false
+
+#
+# Give some guidance
+#
+echo -e "\\n\\n"
+echo -e "\\tA sample quickstart Flink Job has been created."
+echo -e "\\tSwitch into the directory using"
+echo -e "\\t\\t cd $PACKAGE"
+echo -e "\\tImport the project there using your favorite IDE (Import it as a maven project)"
+echo -e "\\tBuild a jar inside the directory using"
+echo -e "\\t\\t mvn clean package"
+echo -e "\\tYou will find the runnable jar in $PACKAGE/target"
+echo -e "\\tConsult our website if you have any troubles: http://flink.apache.org/community.html#mailing-lists"
+echo -e "\\n\\n"
+
http://git-wip-us.apache.org/repos/asf/flink-web/blob/4859dade/q/quickstart.sh
----------------------------------------------------------------------
diff --git a/q/quickstart.sh b/q/quickstart.sh
new file mode 100755
index 0000000..1ca8695
--- /dev/null
+++ b/q/quickstart.sh
@@ -0,0 +1,48 @@
+#!/usr/bin/env bash
+
+################################################################################
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+################################################################################
+
+
+PACKAGE=quickstart
+
+mvn archetype:generate \
+ -DarchetypeGroupId=org.apache.flink \
+ -DarchetypeArtifactId=flink-quickstart-java \
+ -DarchetypeVersion=0.8.1 \
+ -DgroupId=org.myorg.quickstart \
+ -DartifactId=$PACKAGE \
+ -Dversion=0.1 \
+ -Dpackage=org.myorg.quickstart \
+ -DinteractiveMode=false
+
+#
+# Give some guidance
+#
+echo -e "\\n\\n"
+echo -e "\\tA sample quickstart Flink Job has been created."
+echo -e "\\tSwitch into the directory using"
+echo -e "\\t\\t cd $PACKAGE"
+echo -e "\\tImport the project there using your favorite IDE (Import it as a maven project)"
+echo -e "\\tBuild a jar inside the directory using"
+echo -e "\\t\\t mvn clean package"
+echo -e "\\tYou will find the runnable jar in $PACKAGE/target"
+echo -e "\\tConsult our website if you have any troubles: http://flink.apache.org/community.html#mailing-lists"
+echo -e "\\n\\n"
+
+