Return-Path: X-Original-To: apmail-ace-commits-archive@www.apache.org Delivered-To: apmail-ace-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 88390D29E for ; Mon, 27 May 2013 07:40:52 +0000 (UTC) Received: (qmail 31093 invoked by uid 500); 27 May 2013 07:40:52 -0000 Delivered-To: apmail-ace-commits-archive@ace.apache.org Received: (qmail 31038 invoked by uid 500); 27 May 2013 07:40:50 -0000 Mailing-List: contact commits-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ace.apache.org Delivered-To: mailing list commits@ace.apache.org Received: (qmail 31025 invoked by uid 99); 27 May 2013 07:40:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 May 2013 07:40:50 +0000 Date: Mon, 27 May 2013 07:40:50 +0000 (UTC) From: "Bram de Kruijff (JIRA)" To: commits@ace.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (ACE-56) Cross IDE debugging solution 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/ACE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bram de Kruijff reopened ACE-56: -------------------------------- > Cross IDE debugging solution > ---------------------------- > > Key: ACE-56 > URL: https://issues.apache.org/jira/browse/ACE-56 > Project: ACE > Issue Type: Improvement > Reporter: Toni Menzel > Attachments: ACE-56-2.patch > > > Ace is a complex system where short buid/test cycles are important. > I have a small "instantlauncher" part that makes it possible to use dev-targets directly IDE. Because they are standalone Main Class, they can be started right away in any IDE. > Benefits: > - short dev cycle because it uses core/conf// and its configuration information directly via inspection. > So, for example a complete dev-server-webui launcher looks like this > {code} > public class DevServerWebUI > { > public static void main( String[] args ) > throws Exception > { > new DevelopmentLauncher().launch( new AceReactor( new TargetDescriptor() > { > public String targetName() > { > return "dev-server-webui"; > } > public String[] settingsOverwrite() > { > return new String[]{ > "org.apache.ace.configurator.CONFIG_DIR=core/conf/" + targetName() > }; > } > } > ) > ); > } > } > {code} > Because it uses bundles from core/deploy/bundles directly, redeploy cycle is minimal. > Question: Is this of general use in ace or should i keep it for myself. > The solution builds on top of the FrameworkFactory API from OSGI Core R4.2. So it does not contain any framework relevant compile references. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira