Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » creating packages from folders
creating packages from folders [message #201041] Tue, 24 February 2004 14:43 Go to next message
Eclipse UserFriend
Originally posted by: mmassy.untie.ws.com

I am writing a plug-in that creates projects from folders already existing
on the local drive. I want the project to have packages set up inside of
it from the folders inside of the top folder. I have the ability to get
all the paths of the fodlers and the names of them also. I would like the
packages to have names that correspond to the path of these folders.
Unfortunately, I am having a lot of trouble creating these packages. I
was wodnering is someone could tell me the best way to create these
packages. Any code would be helpful.

Mark Massy
Re: creating packages from folders [message #201192 is a reply to message #201041] Tue, 24 February 2004 18:54 Go to previous message
Eclipse UserFriend
Hi Mark,

> I am writing a plug-in that creates projects from folders already existing
> on the local drive. I want the project to have packages set up inside of
> it from the folders inside of the top folder. I have the ability to get
> all the paths of the fodlers and the names of them also. I would like the
> packages to have names that correspond to the path of these folders.
> Unfortunately, I am having a lot of trouble creating these packages. I
> was wodnering is someone could tell me the best way to create these
> packages. Any code would be helpful.
This is a jdt question. (eclipse.tools.jdt newsgroup).

Well as far as I know - I am not an jdt expert :) - the folders become
packages by adding the root folder to the source path of the
project. Therfore there is no way to convert a folder in a package.

Remember I only have some basic knowledge. Maybe there are additional
ways to create packages. I dont know.


Bye,

Martin (Kersten)
Previous Topic:Getting IContainer from ISelection
Next Topic:Plugins created in M7 do not load in M7
Goto Forum:
  


Current Time: Sat May 31 14:00:45 EDT 2025

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

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

Back to the top