Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-dev] Headless build of ICE

Ram,


You've got the steps mostly right, but did you set the build-headless-product Maven profile in the Build ICE run configuration?


Jay


Jay Jay Billings
Team Lead, Scientific Software Development
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings

From: ice-dev-bounces@xxxxxxxxxxx <ice-dev-bounces@xxxxxxxxxxx> on behalf of Ramachandran K. Narayanan <knarayanan@xxxxxxxxxxxxx>
Sent: Thursday, April 06, 2017 12:51 PM
To: ice developer discussions
Subject: Re: [ice-dev] Headless build of ICE
 
Hi Jay,

I was just trying the headless build and I am not sure if I am doing this right and just had a few questions.

1) To build the headless product, I right clicked on o.e.i.aggregator and set the Run Config for Build ICE to use the Profile (maven_profile.png). Is this the correct way to build?

2) When I choose 'Build ICE', it doesn't complete successfully although Headless Product does seem to Pass (headless_console.png). Maybe this is related to the Tycho version?

3) I go to the target folder (headless_product.png) and when I run the 'eclipse' binary, I get some startup error messages (which you had already mentioned) and then an OSGi console. So is this the correct way to start it? Could I also equally start it using the o.e.i.headless.product's product file?

4) I place a breakpoint in the o.e.i.core.internal.Core.start function and I tried launching the headless build via the product file (chose to run as Debug config), bu the breakpoint is never encountered. Does this mean the Core service is not started?

Thanks,
Ram

On Thu, Mar 30, 2017 at 2:44 PM Jay Jay Billings <jayjaybillings@xxxxxxxxx> wrote:
Everyone,

I have (re-)enabled a headless build of ICE in the core-extraction branch of the repository to support RNET and our push to the web. You can test this build by running the build with the build-headless-product maven profile enabled. Once it builds, the headless build will be available in the org.eclipse.ice.headless.product/target directory and you can execute like you would normally execute ICE.

In addition to supporting a headless build, this version also moves the build for all of workbench products into a build-products profile to decrease the total build time from 45min to an hour. I will update the build documentation in due course and I expect this build to be the default for ICE 2.2.

This build isn't really headless... it just doesn't draw the workbench. If you run the ss command from the OSGI console when you start it, you will see that all of the regular bundles from ICE are present. This is not ideal because it requires way to many resources, posts tons of error messages, and takes a lot of time to launch, but it is a start. We will not be able to remove everything until we do at least the following things:
1) Move both ICE and EAVP to the January version of Forms because their current scheme of using split versions of those packages causes problems.
2) Refactor our Items and the Core so that some service interfaces are not in bundles that also require the UI or bundles that also require it.
3) Update ICE and maybe PTP so that we don't require PTP UI bundles and can interact completely headlessly with PTP.
4) Remove all Core-level and lower dependencies on CDT, JDT, etc.

This work is tracked by bug #354.

Jay

--
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings
_______________________________________________
ice-dev mailing list
ice-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-dev
--
Ramachandran K. Narayanan
(Ram)
Software Engineer
RNET Technologies Inc.
240 W.Elmwood Drive, Suite 2010
Dayton, OH 45459-4248

Back to the top