|
|
|
|
Re: Maven build failing for green house project checked out from Github [message #1702048 is a reply to message #1701931] |
Fri, 17 July 2015 20:50 |
Krishna Murthy Mirajkar Messages: 38 Registered: July 2009 |
Member |
|
|
Hi Dave/Benjamin,
I am having a hard time to get the code green house right and make eclipse recognize them as proper projects (src not recognized etc)
So, now here is what I did after giving up on windows-
1. Created Ubuntu 15 on my laptop using Oracle VM box.
2. With jdk 8 and maven latest set up on it.
3. I pulled kura code and green house demo code.
4. Followed the kura wiki page to get the kura built. Got it successfully built.
5. And did the other builds as suggested in the wiki. They also went successful.
6. Now, coming back the build green house code I ran this mvn clean install and got this build log as attached.
The second problem is when I import either kura code or green house demo code as existing maven project prior to or after the steps build steps carried out, they simply don't appear as expected. They are useless in eclipse as they show up as normal m2 projects without recognizing the src or build path. Worse, I can't even set the build path as that option appears disabled. I have tried using both luna and mars 64 bit with 64 bit JDK1.8. It simply does not work. Associating the project with facet(Java facet), starts making them get recognized as Java stuff. But, I don't think that is the right thing to do as I feel it to be an unnecessary tweak to the pulled code. But, say, if that tweak is done, they have tons of errors reported in the Problems! I have set the target that comes along with kura as suggested in the wiki. Outside on the mvn command it was all built successfully. Here in eclipse things are not at all rosy.
These mvn commands are not generating .project and .classpath files for all the projects. Most of them are left with pom.xml as is. Not sure why??
mvn -f manifest_pom.xml eclipse:clean && mvn -f manifest_pom.xml eclipse:eclipse
mvn -f pom_pom.xml eclipse:clean && mvn -f pom_pom.xml eclipse:eclipse
Now I am really frustrated with it. I have followed the steps and have done it *so many times* that I am on the brink of giving up hope on taking this forward. Have had enough sleepless nights getting it right.
Please help.
regards,
Krishna
-
Attachment: build.log
(Size: 40.13KB, Downloaded 219 times) -
Attachment: build-details.log
(Size: 246.23KB, Downloaded 234 times) -
Attachment: image.png
(Size: 58.14KB, Downloaded 2161 times)
[Updated on: Sat, 18 July 2015 12:31] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04363 seconds