Return-Path: X-Original-To: apmail-trafodion-commits-archive@www.apache.org Delivered-To: apmail-trafodion-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1ADF19373 for ; Tue, 1 Mar 2016 22:35:51 +0000 (UTC) Received: (qmail 28206 invoked by uid 500); 1 Mar 2016 22:35:51 -0000 Delivered-To: apmail-trafodion-commits-archive@trafodion.apache.org Received: (qmail 28138 invoked by uid 500); 1 Mar 2016 22:35:51 -0000 Mailing-List: contact commits-help@trafodion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commits@trafodion.apache.org Delivered-To: mailing list commits@trafodion.apache.org Received: (qmail 28122 invoked by uid 99); 1 Mar 2016 22:35:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2016 22:35:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 68C9B1A0624 for ; Tue, 1 Mar 2016 22:35:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.549 X-Spam-Level: X-Spam-Status: No, score=-3.549 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.329] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id c6y9wM7wOVUA for ; Tue, 1 Mar 2016 22:35:49 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id DDC765FBC9 for ; Tue, 1 Mar 2016 22:35:48 +0000 (UTC) Received: (qmail 27420 invoked by uid 99); 1 Mar 2016 22:35:48 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2016 22:35:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0344AE78BB; Tue, 1 Mar 2016 22:35:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hzeller@apache.org To: commits@trafodion.incubator.apache.org Date: Tue, 01 Mar 2016 22:36:07 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [21/37] incubator-trafodion git commit: Add Vproc and main class Add Vproc and main class Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/7a41338c Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/7a41338c Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/7a41338c Branch: refs/heads/master Commit: 7a41338c46a153464a2b04d52fe0a3c387baba9e Parents: eb9bf5a Author: Kevin Xu Authored: Tue Jan 12 10:29:51 2016 +0800 Committer: Kevin Xu Committed: Tue Jan 12 10:29:51 2016 +0800 ---------------------------------------------------------------------- core/sql/lib_mgmt/.gitignore | 2 + core/sql/lib_mgmt/pom.xml | 40 ++++++++++++++++++++ .../java/org/trafodion/libmgmt/Vproc.java.tmpl | 35 +++++++++++++++++ 3 files changed, 77 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a41338c/core/sql/lib_mgmt/.gitignore ---------------------------------------------------------------------- diff --git a/core/sql/lib_mgmt/.gitignore b/core/sql/lib_mgmt/.gitignore index c541155..fcb79a9 100644 --- a/core/sql/lib_mgmt/.gitignore +++ b/core/sql/lib_mgmt/.gitignore @@ -2,3 +2,5 @@ /bin/ /.classpath /.project +/src/main/java/org/trafodion/libmgmt/Vproc.java +/antrun/ http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a41338c/core/sql/lib_mgmt/pom.xml ---------------------------------------------------------------------- diff --git a/core/sql/lib_mgmt/pom.xml b/core/sql/lib_mgmt/pom.xml index 8b08de4..41ffcff 100644 --- a/core/sql/lib_mgmt/pom.xml +++ b/core/sql/lib_mgmt/pom.xml @@ -22,6 +22,7 @@ * * @@@ END COPYRIGHT @@@ --> + 4.0.0 org.trafodion lib_mgmt @@ -34,10 +35,42 @@ provided + + 1.6 + + maven-antrun-plugin + ${maven.antrun.plugin.version} + + + generate + generate-sources + + + + + + + + + + + + + + + run + + + + + org.apache.maven.plugins maven-assembly-plugin 2.3 @@ -46,6 +79,13 @@ jar-with-dependencies + + + false + lib/ + org.trafodion.libmgmt.Vproc + + http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7a41338c/core/sql/lib_mgmt/src/main/java/org/trafodion/libmgmt/Vproc.java.tmpl ---------------------------------------------------------------------- diff --git a/core/sql/lib_mgmt/src/main/java/org/trafodion/libmgmt/Vproc.java.tmpl b/core/sql/lib_mgmt/src/main/java/org/trafodion/libmgmt/Vproc.java.tmpl new file mode 100644 index 0000000..4dd2415 --- /dev/null +++ b/core/sql/lib_mgmt/src/main/java/org/trafodion/libmgmt/Vproc.java.tmpl @@ -0,0 +1,35 @@ +/** +* @@@ START COPYRIGHT @@@ +* +* 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. +* +* @@@ END COPYRIGHT @@@ + */ +package org.trafodion.libmgmt; + +class Vproc { + private static final String vprocStr = "@@@VPROC@@@"; + + public static void main(String[] args) { + System.out.println(vprocStr); + } + + static String getVproc() { + return vprocStr; + } +}