| 
| Importing existing Bundles [message #33348] | Wed, 14 January 2004 19:27  |  | 
| Eclipse User  |  |  |  |  | What's the best way to import the code for an existing OSGi bundle into Eclipse so that it can be dynamically included in other plugin/bundles'
 dependencies?  The bundle already has a BundleActivator.  I've tried
 creating a new Plugin, importing the source code, then converting the
 whole thing to an OSGi bundle.  It seems to work, but I'm sure that's the
 best approach.
 
 Thanks,
 Stephen
 |  |  |  | 
|  | 
|  | 
|  | 
| 
| Re: Importing existing Bundles [message #33508 is a reply to message #33421] | Wed, 14 January 2004 20:53   |  | 
| Eclipse User  |  |  |  |  | Hmm... keeping me guessing, eh?  Actually, I haven't figured out how to start the initial eclipse workspace with the console.  I've tried running
 "eclipse -console" from cmd (windows xp) but that seems to use javaw, so
 there's no console.  Either way, I'd really like to import the bundle into
 its own project so I can continue to develop it.
 
 Thanks,
 Stephen
 
 Jeff McAffer wrote:
 
 > "Jeff McAffer" <jeff_mcaffer_REMOVE@ca.ibm.com> wrote in message
 > news:bu4qoi$78c$1@eclipse.org...
 > > You should just be able to run it as per normal.  The "detail" is how to
 > get
 > > the darn thing installed.  Two real choices
 > >
 > > 1) install using the console
 > > 2) insert a
 > > "Stephen Goldbaum" <stephen.goldbaum@lehman.com> wrote in message
 > > news:bu4mqc$3ek$1@eclipse.org...
 > > > What's the best way to import the code for an existing OSGi bundle into
 > > > Eclipse so that it can be dynamically included in other plugin/bundles'
 > > > dependencies?  The bundle already has a BundleActivator.  I've tried
 > > > creating a new Plugin, importing the source code, then converting the
 > > > whole thing to an OSGi bundle.  It seems to work, but I'm sure that's
 > the
 > > > best approach.
 > > >
 > > > Thanks,
 > > > Stephen
 > > >
 > >
 > >
 |  |  |  | 
| 
| Re: Importing existing Bundles [message #33712 is a reply to message #33508] | Thu, 15 January 2004 23:36   |  | 
| Eclipse User  |  |  |  |  | Originally posted by: jeff_mcaffer_REMOVE.ca.ibm.com 
 The eclipse.exe has not been updated to know about -console (and to then use
 java.exe). Two options:
 eclipse.exe -console -consolelog
 or
 eclipse.exe -console -vm <path to java.exe>
 
 Jeff
 
 "Stephen Goldbaum" <stephen.goldbaum@lehman.com> wrote in message
 news:bu4rr4$879$1@eclipse.org...
 > Hmm... keeping me guessing, eh?  Actually, I haven't figured out how to
 > start the initial eclipse workspace with the console.  I've tried running
 > "eclipse -console" from cmd (windows xp) but that seems to use javaw, so
 > there's no console.  Either way, I'd really like to import the bundle into
 > its own project so I can continue to develop it.
 >
 > Thanks,
 > Stephen
 >
 > Jeff McAffer wrote:
 >
 > > "Jeff McAffer" <jeff_mcaffer_REMOVE@ca.ibm.com> wrote in message
 > > news:bu4qoi$78c$1@eclipse.org...
 > > > You should just be able to run it as per normal.  The "detail" is how
 to
 > > get
 > > > the darn thing installed.  Two real choices
 > > >
 > > > 1) install using the console
 > > > 2) insert a
 > > > "Stephen Goldbaum" <stephen.goldbaum@lehman.com> wrote in message
 > > > news:bu4mqc$3ek$1@eclipse.org...
 > > > > What's the best way to import the code for an existing OSGi bundle
 into
 > > > > Eclipse so that it can be dynamically included in other
 plugin/bundles'
 > > > > dependencies?  The bundle already has a BundleActivator.  I've tried
 > > > > creating a new Plugin, importing the source code, then converting
 the
 > > > > whole thing to an OSGi bundle.  It seems to work, but I'm sure
 that's
 > > the
 > > > > best approach.
 > > > >
 > > > > Thanks,
 > > > > Stephen
 > > > >
 > > >
 > > >
 >
 >
 |  |  |  | 
| 
| Re: Importing existing Bundles [message #33912 is a reply to message #33712] | Fri, 16 January 2004 10:31  |  | 
| Eclipse User  |  |  |  |  | Thanks.  That did the trick. 
 Jeff McAffer wrote:
 
 > The eclipse.exe has not been updated to know about -console (and to then use
 > java.exe). Two options:
 >     eclipse.exe -console -consolelog
 > or
 >     eclipse.exe -console -vm <path to java.exe>
 
 > Jeff
 
 > "Stephen Goldbaum" <stephen.goldbaum@lehman.com> wrote in message
 > news:bu4rr4$879$1@eclipse.org...
 > > Hmm... keeping me guessing, eh?  Actually, I haven't figured out how to
 > > start the initial eclipse workspace with the console.  I've tried running
 > > "eclipse -console" from cmd (windows xp) but that seems to use javaw, so
 > > there's no console.  Either way, I'd really like to import the bundle into
 > > its own project so I can continue to develop it.
 > >
 > > Thanks,
 > > Stephen
 > >
 > > Jeff McAffer wrote:
 > >
 > > > "Jeff McAffer" <jeff_mcaffer_REMOVE@ca.ibm.com> wrote in message
 > > > news:bu4qoi$78c$1@eclipse.org...
 > > > > You should just be able to run it as per normal.  The "detail" is how
 > to
 > > > get
 > > > > the darn thing installed.  Two real choices
 > > > >
 > > > > 1) install using the console
 > > > > 2) insert a
 > > > > "Stephen Goldbaum" <stephen.goldbaum@lehman.com> wrote in message
 > > > > news:bu4mqc$3ek$1@eclipse.org...
 > > > > > What's the best way to import the code for an existing OSGi bundle
 > into
 > > > > > Eclipse so that it can be dynamically included in other
 > plugin/bundles'
 > > > > > dependencies?  The bundle already has a BundleActivator.  I've tried
 > > > > > creating a new Plugin, importing the source code, then converting
 > the
 > > > > > whole thing to an OSGi bundle.  It seems to work, but I'm sure
 > that's
 > > > the
 > > > > > best approach.
 > > > > >
 > > > > > Thanks,
 > > > > > Stephen
 > > > > >
 > > > >
 > > > >
 > >
 > >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.04449 seconds