wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Can I access an Eclipse Plug-in Jar from a normal Java Project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Can I access an Eclipse Plug-in Jar from a normal Java Project" Watch "Can I access an Eclipse Plug-in Jar from a normal Java Project" New topic
Author

Can I access an Eclipse Plug-in Jar from a normal Java Project

Rl Kumar
Greenhorn

Joined: Jun 28, 2009
Posts: 6
I have two applications. One is jdk 1.4 compiled and exported in a jar files. and the other is an eclipse plugin project built in jdk1.5.

I want to build an external in between application in which I want to call classes in jdk1.4 jars from the 1st application and the eclipse plugin jars from the second application.

What is the best way to go abt it?

Thanks in advance
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

You can use the jar just like any other jar, as long as all needed dependencies are present. If there are classes in that jar that don't depend on any other Eclipse plugins or OSGI framework classes, then you can just use them without caring where they came from.

But if the classes you want to use depend on the Eclipse framework itself, your only real choice is to make your application an Eclipse Rich Client Platform (RCP) application -- i.e., build the whole app in the Eclipse architecture.


[Jess in Action][AskingGoodQuestions]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38508
    
  23
Welcome to JavaRanch

I think this topic would sit better on the IDEs forum. Moving.
Rl Kumar
Greenhorn

Joined: Jun 28, 2009
Posts: 6
Thanks that was of help!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I access an Eclipse Plug-in Jar from a normal Java Project