java - How to integrate Fabric8 with Eclipse? -


I am using fabric8-karaf-1.1.0.CR5 in a single installation And it works fine.

Now I wanted to embed it in Eclipse Kepler SR2

I basically followed. However, instead of adding bin / felix.jar to 8th position in the way of the construction of the project, instead of adding all the jars of lib And its subdirectories bin and approved ( too many only errors from lib / karaf.jar ) .

There are still three problems:

  1. The following system. Printed on:

      28 July 2014 12:12:24 AM org.apache.karaf.main.SimpleFileLock lock information: locking  

    this error (?) Message tries to notify me? Is a file named lock created in the root directory of the project? Thanks, but why?

  2. The following system is printed in. Err:

      Error in initial script: \ shell.init.script (system file not specified  

    A fileNotFoundException extension is the Windows version of the message etc \ shell.init.script is present and for that directory I have not mentioned, it has not been copied to the root folder of the project.

  3. I have to comment on the following bundles in etc. \ config.properties :

      # org / apache / Sshd / sshd-core / 0.9.0 / sshd -core-0.9.0.js = 30 # org / apache / karaf / shell / org.apache.karaf.shell.ssh / 2.3.0.redhat-610379 / org Apache.karaf.shell.ssh-2.3.0 .redhat-610379.jar = 30 # io / fabric8 / cloth-jacket / 1.1.0.CR5 / cloth-jacket--1.1.0 .cr5.jar = 39 # io / Fabric8 / fabric-api / 1.1.0.CR5 /fabric-api-1.1.0.CR5.jar=40 # io / fabric8 / cloth-agent / 1.1.0.CR5 / cloth-agent-1.0.1.0 CR5. Jar = 40 # io / fabric8 / cloth-core /1.1.0.CR5/fabric-core-1.1.0.CR5.jar=45 # io / fabric8 / fabric-boot-commands / 1.1.0.CR5 / fabric- Boot-commands-1.1.0.CR5.jar = 45 # io / fabric8 / fabric-commands / 1.1.0.CR5 / fabric-commands-1.1.0.CR5.jar = 50 # io / fabr Ic8 / fabric-configadmin / 1.1.0.CR5 / cloth-configadmin-1.1.0.CR5.jar = 50  

    ... To get rid of the form's errors:

    Error: bundle

    ... but Disabled Fabric8 with these bundles immediately stops.

    That's fine, all the missing bundles that I've checked are my local. M2 is not in the repository. But Meven works well with all other projects outside and out of Eclipse. Go to Fabric 8, download them!

What am I missing?


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -