Return-Path: X-Original-To: apmail-tomee-commits-archive@www.apache.org Delivered-To: apmail-tomee-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 6568518832 for ; Thu, 5 Nov 2015 15:52:28 +0000 (UTC) Received: (qmail 52436 invoked by uid 500); 5 Nov 2015 15:52:28 -0000 Delivered-To: apmail-tomee-commits-archive@tomee.apache.org Received: (qmail 52410 invoked by uid 500); 5 Nov 2015 15:52:28 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 52202 invoked by uid 500); 5 Nov 2015 15:52:28 -0000 Delivered-To: apmail-openejb-commits@openejb.apache.org Received: (qmail 52149 invoked by uid 99); 5 Nov 2015 15:52:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2015 15:52:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CAD302C1F65 for ; Thu, 5 Nov 2015 15:52:27 +0000 (UTC) Date: Thu, 5 Nov 2015 15:52:27 +0000 (UTC) From: "Romain Manni-Bucau (JIRA)" To: commits@openejb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (TOMEE-1653) add hooks in tomee:exec runner MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TOMEE-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Romain Manni-Bucau resolved TOMEE-1653. --------------------------------------- Resolution: Fixed > add hooks in tomee:exec runner > ------------------------------ > > Key: TOMEE-1653 > URL: https://issues.apache.org/jira/browse/TOMEE-1653 > Project: TomEE > Issue Type: New Feature > Reporter: Romain Manni-Bucau > Assignee: Romain Manni-Bucau > Fix For: 7.0.0-M2 > > > adds: > - waitFor boolean configuration to wait or not the process (= you need to kill the server if false but no watchdog) > - additionalClasses, preTasks, postTasks configuration. This is qualified name classes added to the runner. pre/post tasks are executed before/after the server execution (post only supported if waitFor = true). Tasks are Runnable which can optionally take a Map as constructor parameter to share a state. > Note: a reserved key in the map is "jvmArgs" to add custom system props -- This message was sent by Atlassian JIRA (v6.3.4#6332)