Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Referencing Java Projects
Referencing Java Projects [message #14444] Sat, 26 July 2008 03:52 Go to next message
Eclipse UserFriend
Originally posted by: birt.lewold.at

Hello Together,

Our team develops a quite big application, which is separated into
several "plain" java projects.

Now we have to implement a plugin project (concrete an ODA plugin) in
order to create Birt Reports using our legacy data.

The idea is, that the ODA plugin uses the classes held in one of our
"plain" java projects.

I found no easy way to add a java project to the plugin classpath. The
only way I found was to export the java project as JAR file and to put
the JAR into the plugin project and reference it there.

Is this the way to go? Is there an alternative?
This technique would "kill" several handy eclipse features (like
incremental compile etc.).


Thanks in advance for your help (and please bear with me, I'm quite new
to PDE).


Chris
Re: Referencing Java Projects - Clarification [message #14474 is a reply to message #14444] Sat, 26 July 2008 04:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: birt.lewold.at

Just a clarification to my original question.

I know I can add "plain" java projects to the plugin project classpath
using properties - java build path.

My problem is, that those classes are not found at runtime when testing
the plugin.

Chris
Re: Referencing Java Projects - Clarification [message #14534 is a reply to message #14474] Mon, 28 July 2008 06:54 Go to previous messageGo to next message
Eclipse UserFriend
Chris pisze:
> Just a clarification to my original question.
>
> I know I can add "plain" java projects to the plugin project classpath
> using properties - java build path.
>
> My problem is, that those classes are not found at runtime when testing
> the plugin.
>
> Chris
Hi,

Could you convert these "plain" java projects into the plug-in projects
and add them as dependencies?

--
kind regards,
Jakub

http://eclipser-blog.blogspot.com/
http://eclipse-po-polsku.blogspot.com/
Re: Referencing Java Projects - Clarification [message #14562 is a reply to message #14534] Mon, 28 July 2008 07:26 Go to previous message
Eclipse UserFriend
Originally posted by: birt.lewold.at

Hello Jakub,

I'm not the owner of this concrete project, so actually "I don't know -
I would have to discuss that with my collegue".

Some questions according this:

a) The project is referenced by several other "plain java projects".
Would those be affected by such a change, or could they reference this
project as before?

b) If we decide not to do this change - is there an alternative ?


Thanks,
Chris
Re: Referencing Java Projects - Clarification [message #574472 is a reply to message #14444] Sat, 26 July 2008 04:24 Go to previous message
Eclipse UserFriend
Just a clarification to my original question.

I know I can add "plain" java projects to the plugin project classpath
using properties - java build path.

My problem is, that those classes are not found at runtime when testing
the plugin.

Chris
Re: Referencing Java Projects - Clarification [message #574519 is a reply to message #14474] Mon, 28 July 2008 06:54 Go to previous message
Eclipse UserFriend
Chris pisze:
> Just a clarification to my original question.
>
> I know I can add "plain" java projects to the plugin project classpath
> using properties - java build path.
>
> My problem is, that those classes are not found at runtime when testing
> the plugin.
>
> Chris
Hi,

Could you convert these "plain" java projects into the plug-in projects
and add them as dependencies?

--
kind regards,
Jakub

http://eclipser-blog.blogspot.com/
http://eclipse-po-polsku.blogspot.com/
Re: Referencing Java Projects - Clarification [message #574569 is a reply to message #14534] Mon, 28 July 2008 07:26 Go to previous message
Eclipse UserFriend
Hello Jakub,

I'm not the owner of this concrete project, so actually "I don't know -
I would have to discuss that with my collegue".

Some questions according this:

a) The project is referenced by several other "plain java projects".
Would those be affected by such a change, or could they reference this
project as before?

b) If we decide not to do this change - is there an alternative ?


Thanks,
Chris
Previous Topic:Export Deployable plugins and fragments error: File specified more then once
Next Topic:Obtain Information from the JavaEditor
Goto Forum:
  


Current Time: Sat Jul 05 07:16:06 EDT 2025

Powered by FUDForum. Page generated in 0.10802 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top