Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: OSGI:

  1. #1
    Member
    Join Date
    Apr 2014
    Posts
    219
    Thanks
    8
    Thanked 2 Times in 2 Posts

    Default OSGI:

    I am learning OSGI and I bought a book from manning.com OSGI in Action to self teach myself. I am just not getting a few things and I make a few bundles myself I will start to move in the right direction.

    I have two packages at the moment, for simplicity I will call the pack1 and pack 2. pack1 has a dependency on pack2 and currently they are not working. The code worked fine when I had it in the same package no there is no syntax errors.

    Do I need to make a new project:
    In Eclipse, click on File --> New --> Project. A New Project dialog will open.
    In the New Project dialog, select Plug-in Project and click Next. The Plug-in Project dialog will open.
    In the Plug-in Project dialog, enter the following values:
    Project Name: com.javaworld.sample.HelloWorld
    Target Platform: OSGi framework --> Standard

    Something along these lines for each package?

    I hope I was clear in my question.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: OSGI:

    Is this an IDE question?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Member
    Join Date
    Apr 2014
    Posts
    219
    Thanks
    8
    Thanked 2 Times in 2 Posts

    Default Re: OSGI:

    Moved to IDE.......

  4. #4
    Member
    Join Date
    Apr 2014
    Posts
    219
    Thanks
    8
    Thanked 2 Times in 2 Posts

    Default OSGI:

    I am learning OSGI and I bought a book from manning.com OSGI in Action to self teach myself. I am just not getting a few things and I make a few bundles myself I will start to move in the right direction.

    I have two packages at the moment, for simplicity I will call the pack1 and pack 2. pack1 has a dependency on pack2 and currently they are not working. The code worked fine when I had it in the same package no there is no syntax errors.

    Do I need to make a new project:
    In Eclipse, click on File --> New --> Project. A New Project dialog will open.
    In the New Project dialog, select Plug-in Project and click Next. The Plug-in Project dialog will open.
    In the Plug-in Project dialog, enter the following values:
    Project Name: com.javaworld.sample.HelloWorld
    Target Platform: OSGi framework --> Standard

    Something along these lines for each package?

    I hope I was clear in my question.

Similar Threads

  1. OSGI - missing imported package=org.apache.commons.collections
    By rcbandit in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 17th, 2012, 11:36 AM
  2. Tutorial how to call OSGI service from EAR package
    By rcbandit2 in forum Java Theory & Questions
    Replies: 0
    Last Post: January 4th, 2012, 10:15 AM
  3. How to place JSF pages into OSGI bundle?
    By rcbandit in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: November 1st, 2011, 04:08 AM
  4. How to compile OSGI bundle as EAR file in Netbeans
    By rcbandit in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: October 26th, 2011, 01:53 AM
  5. OSGi and Swing
    By dead_devil_66 in forum AWT / Java Swing
    Replies: 0
    Last Post: February 8th, 2011, 02:40 PM