Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Build (Install) Kura on Windows(I am having trouble building Kura under Windows)
Build (Install) Kura on Windows [message #1770066] Tue, 08 August 2017 05:49 Go to next message
David G is currently offline David GFriend
Messages: 2
Registered: August 2017
Junior Member
I am a novice Maven user and can't seem to find an easy path to "clean install" the Kura sources when developing with eclipse on Windows 10.

I used the Eclipse Installer and have git commit 4eb901522a411f17b0560b5e84a17fc64e594b94 from 1 Aug 17. I followed the instructions(???) at [1] and think I did the Eclipse Installer OK. Not terribly clear, there seem to be competing instructions over at [2]. Anyway, this installed a number of projects eg Eclipse Kura, Karaf, Target platform etc.

In the Eclipse Kura project there are sub Maven Project, eg org.eclipse.kura.core, each contains a pom.xml which can be built. There is no pom.xml in eclipse above these projects to build all the sub project. There is a pom on the disk in the parent directory. Where is this in eclipse? Will it help me???

So I went to disk. There is a build-all.sh but I am on Windows and don't have mvn installed. So I tried the ubuntu bash but this was a a dark alley.

Surely there is a simple solution. I am a novice Maven user so I am sure I missed it.

How do I "clean install" kura on Windows?

[1] https://www.eclipse.org/kura/downloads.php
[2] https://wiki.eclipse.org/Kura/Getting_Started
Re: Build (Install) Kura on Windows [message #1770220 is a reply to message #1770066] Wed, 09 August 2017 07:43 Go to previous messageGo to next message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
Hi,
I believe that the best option for you is to follow the instructions available here: https://eclipse.github.io/kura/dev/kura-setup.html
In particular, for Windows users, the best option is to use the Oomph installer (take a look at the corresponding section in the suggested page.
That will build Kura projects and allow you to develop on your Windows machine.

As stated in https://github.com/eclipse/kura/pull/1555/files , if you want to create a full build with installers, Windows is not a supported platform. You must use a Linux-based machine.

Best regards,
Matteo
Re: Build (Install) Kura on Windows [message #1770466 is a reply to message #1770066] Sat, 12 August 2017 01:46 Go to previous messageGo to next message
David G is currently offline David GFriend
Messages: 2
Registered: August 2017
Junior Member
Thanks. That worked.

It seems that the .dp in the examples is not created from the "install". The .dpp needs to be edited and "Quick Build".

Can this be done from the "install"?

[Updated on: Sat, 12 August 2017 01:50]

Report message to a moderator

Re: Build (Install) Kura on Windows [message #1771017 is a reply to message #1770466] Mon, 21 August 2017 08:17 Go to previous message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
Hi,
sure. The .dp creation can be done at the maven level. For example have a look here: https://github.com/eclipse/kura/blob/develop/kura/examples/features/org.eclipse.kura.example.camel.aggregation.feature/pom.xml

Best regards,
Matteo
Previous Topic:Device Management won't open
Next Topic:Install Kura on custom hardware
Goto Forum:
  


Current Time: Thu Apr 25 00:10:29 GMT 2024

Powered by FUDForum. Page generated in 0.03017 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top