Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Automatically adding JRE System Library in new IJavaProjects
Automatically adding JRE System Library in new IJavaProjects [message #156763] Sun, 25 April 2004 07:58
Eclipse UserFriend
Originally posted by: stoyle0905.hotmail.com

Hi.

I have a plugin which generates new IJavaProjects for output files. I would
very much like to add the "JRE System Library" classpath container (defined
by JDT) to my new project, but I am having serious problems finding out how
to do so.

I have managed to import the jars from the JRE, but they turn up in the
workbenk as individual jars and not as a single container entry as I would
like to. This is only a "cosmetic" problem since, it obviously works. I
would just very much like the newly generated IJavaProject to look exactly
like it would if it were created by hand through the JavaProjectWizard
(org.eclipse.jdt.internal.ui.wizards.JavaProjectWizard).

I've tried almost everything I can think of with JavaCore, but nothing gives
the results I would like. Shouldn't there be a convenience method for
getting these libraries which obviously is important in JDT?

Anyways. Help would is very much appreciated.

Kind regards
Alf Kristian St
Previous Topic:Exported libraries imports to runtime-workspace plugins.
Next Topic:the java programs are not compiled using javac, right?
Goto Forum:
  


Current Time: Sun Dec 22 01:09:25 GMT 2024

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

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

Back to the top