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

Hi Jay,

I enabled Debug Output and have attached the console message from the failed build. I am trying to find the log file that the error refers to. I don't see any log file in the o.e.i.product or in the target/ folder. There are no build errors in ICE's '.metadata/.log' file too.

Regards,
Ram

On Thu, Apr 6, 2017 at 1:42 PM Billings, Jay Jay <billingsjj@xxxxxxxx> wrote:

Ram,


Oh, I always make the same mistake and clear the console too. All the time. If you do that in the future, I believe you can get it from a log file in the target directory for the failed bundle.


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 1:35 PM

To: ice developer discussions
Subject: Re: [ice-dev] Headless build of ICE
Hi Jay,

Sure, I will send it over once the build has finished (I should have saved the last one).


On Thu, Apr 6, 2017 at 1:16 PM Billings, Jay Jay <billingsjj@xxxxxxxx> wrote:

Ram,


Okay, everything looks right. Can you send me the text of the failure message please?


Starting it with the product file won't work. The way I tested it was to run the binary and then go to localhost:8081/ice after typing ss in the console.


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 1:06 PM

To: ice developer discussions
Subject: Re: [ice-dev] Headless build of ICE
Hi Jay,

Yes, I did set the profile in the Build ICE run configuration. I had attached a maven_profile.png screenshot (also attached here). Does that look right?

Thanks,
Ram

On Thu, Apr 6, 2017 at 1:03 PM Billings, Jay Jay <billingsjj@xxxxxxxx> wrote:

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


--
Ramachandran K. Narayanan
(Ram)
Software Engineer
RNET Technologies Inc.
240 W.Elmwood Drive, Suite 2010
Dayton, OH 45459-4248
_______________________________________________
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
_______________________________________________
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
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:1.0.0:publish-products (default-publish-products) on project org.eclipse.ice.product: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:1.0.0:publish-products failed: Cannot resolve dependencies of product test_linux.product. See log for details. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:1.0.0:publish-products (default-publish-products) on project org.eclipse.ice.product: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:1.0.0:publish-products failed: Cannot resolve dependencies of product test_linux.product. See log for details.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:1.0.0:publish-products failed: Cannot resolve dependencies of product test_linux.product. See log for details.
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
Caused by: org.eclipse.tycho.artifacts.DependencyResolutionException: Cannot resolve dependencies of product test_linux.product. See log for details.
	at org.eclipse.tycho.p2.tools.publisher.ProductVersionExpansionRun.reportErrors(ProductVersionExpansionRun.java:83)
	at org.eclipse.tycho.p2.tools.publisher.ExpandedProduct.expandVersions(ExpandedProduct.java:117)
	at org.eclipse.tycho.p2.tools.publisher.ExpandedProduct.<init>(ExpandedProduct.java:56)
	at org.eclipse.tycho.p2.tools.publisher.PublishProductToolImpl.publishProduct(PublishProductToolImpl.java:73)
	at org.eclipse.tycho.plugins.p2.publisher.PublishProductMojo.publishContent(PublishProductMojo.java:97)
	at org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:35)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	... 21 more

Back to the top