• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Eclipse "plugin project" : can it depend on a standard java project?

 
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm writing my first "Eclipse Plug-in Project" (on Eclipse 3.4, such a project is created through File->New->Project->Plugin Project). In my case, it's an OSGi bundle.
My question is: my "Eclipse Plugin Project" needs to use(import) some utility code from an old standard Java project (created through File->New->Project->Java Project).
Now, I know I could manually package the "Standard Java" project into a jar, and add the jar to the "Plugin Project"... but can I get Eclipse to do it for me, instead? I tried defining a project dependency in eclipse (through project Properties->java build path->Projects), but it acts weird: the code complies, but crashes when I run it, complaining it can't find the class.

Thanks
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic