*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse "plugin project" : can it depend on a standard java project?" Watch "Eclipse "plugin project" : can it depend on a standard java project?" New topic
Author

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

Sol Mayer-Orn
Ranch Hand

Joined: Nov 13, 2002
Posts: 311
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse "plugin project" : can it depend on a standard java project?
 
Similar Threads
Image doesnot get displayed in an Eclipse OSGi Project
Exporting to jar file in eclipse
load jar files created with tbc
Where to run the saved ant script of Deployable plug-ins and fragments
Eclipse 3.1 and jsp