Return-Path: X-Original-To: apmail-ace-dev-archive@www.apache.org Delivered-To: apmail-ace-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63B70EB8C for ; Mon, 18 Feb 2013 12:26:41 +0000 (UTC) Received: (qmail 32820 invoked by uid 500); 18 Feb 2013 12:26:41 -0000 Delivered-To: apmail-ace-dev-archive@ace.apache.org Received: (qmail 32645 invoked by uid 500); 18 Feb 2013 12:26:36 -0000 Mailing-List: contact dev-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 dev@ace.apache.org Received: (qmail 32615 invoked by uid 99); 18 Feb 2013 12:26:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 12:26:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [222.73.24.84] (HELO song.cn.fujitsu.com) (222.73.24.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 12:26:28 +0000 X-IronPort-AV: E=Sophos;i="4.84,687,1355068800"; d="scan'208";a="6724418" Received: from unknown (HELO tang.cn.fujitsu.com) ([10.167.250.3]) by song.cn.fujitsu.com with ESMTP; 18 Feb 2013 20:23:48 +0800 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id r1IBomqt006482; Mon, 18 Feb 2013 19:50:49 +0800 Received: from [127.0.0.1] ([10.167.157.133]) by fnstmail02.fnst.cn.fujitsu.com (Lotus Domino Release 8.5.3) with ESMTP id 2013021819501172-216390 ; Mon, 18 Feb 2013 19:50:11 +0800 Message-ID: <51221555.6040302@cn.fujitsu.com> Date: Mon, 18 Feb 2013 20:49:41 +0900 From: Tang Yong User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: dev@ace.apache.org, marcel.offermans@luminis.nl Subject: Re: Importing ace trunk into eclipse 4.2.1 with bndtools 2.0 failed References: <51203E8A.6090908@cn.fujitsu.com> <9FB46A1E-A015-4D92-A8A1-E8331AD17745@luminis.nl> <51209452.2040705@cn.fujitsu.com> <51209986.9060402@cn.fujitsu.com> <5120BC43.2030404@cn.fujitsu.com> <83B69812-9190-4BC9-B6C9-14F4A7E54475@luminis.nl> <5121F486.6050302@cn.fujitsu.com> <3A2C5F64-F32E-44D6-8816-AF70E4CC6BD0@luminis.nl> In-Reply-To: <3A2C5F64-F32E-44D6-8816-AF70E4CC6BD0@luminis.nl> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/02/18 19:50:11, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/02/18 19:50:13, Serialize complete at 2013/02/18 19:50:13 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org OK, I will try it tomorrow. Thanks. Marcel --Tang Marcel Offermans wrote: > You're welcome. It turned out to be only a small bug, introduced by the migration to Bndtools 2, or rather, by upgrading to the latest "Felix Configuration Admin" implementation. It should be fixed now. > > Greetings, Marcel > > > On Feb 18, 2013, at 10:29 , Tang Yong wrote: > >> Hi Marcel, >> >> Thanks quick confirmation! >> >>> [1] https://issues.apache.org/jira/browse/ACE-336 >> I see. >> >> Greetings, Tang >> >> Marcel Offermans wrote: >>> Hello Tang, >>> I just tested this, and I get the same error message. I've just created an issue for this [1] and I will look into it. Thanks for reporting it! >>> Greetings, Marcel >>> [1] https://issues.apache.org/jira/browse/ACE-336 >>> On Feb 17, 2013, at 12:17 , Tang Yong wrote: >>>> Hi Marcel, >>>> >>>> Now, I have ran ace server successfully , however, while running "target.bndrun" file from the "run-target" project, the following info displayed on eclipse console: >>>> >>>> ! Failed to start bundle org.apache.ace.managementagent-1.0.0, exception activator error org/osgi/service/cm/SynchronousConfigurationListener from: org.apache.felix.cm.impl.ConfigurationManager:start#228 >>>> ____________________________ >>>> Welcome to Apache Felix Gogo >>>> >>>> g! lb >>>> START LEVEL 1 >>>> ID|State |Level|Name >>>> 0|Active | 0|System Bundle (4.0.3) >>>> 1|Active | 1|Apache Felix Gogo Command (0.12.0) >>>> 2|Active | 1|Apache Felix Gogo Runtime (0.10.0) >>>> 3|Resolved | 1|org.apache.ace.managementagent (1.0.0) >>>> 4|Active | 1|Apache Felix Gogo Shell (0.10.0) >>>> >>>> And, in web ui's target column, the target did not show up. According to [1], "After a few seconds, the target should show up in the Web UI.", whether there are something wrong with me or not? >>>> >>>> [1]: http://ace.apache.org/user-doc/getting-started.html >>>> >>>> Thanks >>>> --Tang >>>> >>>> Tang Yong wrote: >>>>> Hi Marcel, >>>>> Thanks your reply and I see. >>>>> Tang >>>>> Marcel Offermans wrote: >>>>>> Hello Tang, >>>>>> >>>>>> I had a few problems with Java 7, which have to do with the way the OSGi alliance relied on compiling generics back to 1.4 compatible code. This is a common OSGi problem and can be rectified by using the latest core and compendium. However, as part of ACE-335 I wanted to just do the steps to migrate to Bndtools 2. We have a separate issue to make the code Java 7 compatible. >>>>>> >>>>>> So, Java 6 will work. Java 7 might, but you might have to fix some things yourself for now. It's on the roadmap to commit those fixes, I just have not had time to do it yet. >>>>>> >>>>>> Greetings, Marcel >>>>>> >>>>>> On Feb 17, 2013, at 9:26 , Tang Yong wrote: >>>>>> >>>>>>> Hi Marcel, >>>>>>> >>>>>>> Thanks your reply very much! and useful! >>>>>>> >>>>>>> I will install testng, sorry. >>>>>>> >>>>>>> In addition, I used jdk 7 and should be no problem? >>>>>>> >>>>>>> Thanks >>>>>>> --Tang >>>>>>> >>>>>>> Marcel Offermans wrote: >>>>>>>> Hello Tang, >>>>>>>> On Feb 17, 2013, at 3:20 AM, Tang Yong wrote: >>>>>>>>> I have tried to import ace trunk into eclipse 4.2.1 with bndtools >>>>>>>>> 2.0,but failed, deeply, while switching into Bndtools perspective, the >>>>>>>>> whole ace ws's building failed. Needing to saying that my env is behind >>>>>>>>> a proxy server. >>>>>>>> It's a bit difficult to guess without some more specific error messages, but could you please check a couple of things: >>>>>>>> 1) Did you install the TestNG Eclipse plugin as well? Without it (and Bndtools 2) the build does not work in Eclipse. >>>>>>>> 2) Make sure for now to select Java 6, and also make sure you set the compiler to produce 1.6 code. If you set these for the whole workspace, all projects should use these settings. >>>>>>>> Greetings, Marcel >>>>>>> >>>>>> >>>> >>>> >> >> > > >