Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Adding file to project
Adding file to project [message #179653] Sun, 12 November 2006 12:08 Go to next message
Eclipse UserFriend
Originally posted by: adrian.hang10systems.co.uk

This is probably a very silly question to ask but how do you add a new
file (that already exists on hard disc) to a new project? I have installed
the ruby plugin and it is not obvious how to do this, do you import the
file? How do you add this to a run configuration? Are there any documents
that I should be looking at to do this? I am running the 3.2 Eclipse with
the 0.81 ruby plugin. Thanks for any help.

Adrian
Re: Adding file to project [message #179717 is a reply to message #179653] Sun, 12 November 2006 22:05 Go to previous messageGo to next message
Paul A. Rubin is currently offline Paul A. RubinFriend
Messages: 188
Registered: July 2009
Senior Member
Adrian Roskrow wrote:
> This is probably a very silly question to ask but how do you add a new
> file (that already exists on hard disc) to a new project? I have
> installed the ruby plugin and it is not obvious how to do this, do you
> import the file? How do you add this to a run configuration? Are there
> any documents that I should be looking at to do this? I am running the
> 3.2 Eclipse with the 0.81 ruby plugin. Thanks for any help.
>

In the package explorer, right click the project, or if the project has
subfolders right click the folder in which you want to put the file.
(With Java, you would right click the package in which you wanted to put
it. I don't know how Ruby projects are organized.) Select Import... ->
General -> File System and click Next. Browse to the location of the
file(s), select the source folder, then select the file(s) and click
Finish. They should be copied to the Eclipse project directory.

/Paul
Re: Adding file to project [message #179749 is a reply to message #179653] Mon, 13 November 2006 01:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wayne.beaton._NOSPAM_eclipse.org

Adrian Roskrow wrote:
> This is probably a very silly question to ask but how do you add a new
> file (that already exists on hard disc) to a new project? I have
> installed the ruby plugin and it is not obvious how to do this, do you
> import the file? How do you add this to a run configuration? Are there
> any documents that I should be looking at to do this? I am running the
> 3.2 Eclipse with the 0.81 ruby plugin. Thanks for any help.
>
> Adrian
>
The first thing that you need is a project. You can create one using the
"File > New > Project..." menu. I assume that "Ruby Project" will be one
of the options.

After you have a project, you can just drag and drop files onto your
project and it's folders. Or you can use the "File > Import..." menu option.

Wayne
Re: Adding file to project [message #179757 is a reply to message #179717] Mon, 13 November 2006 01:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adrian.hang10systems.co.uk

Thankyou Paul this seems to work ok.
Adrian
Re: Adding file to project [message #179765 is a reply to message #179749] Mon, 13 November 2006 01:31 Go to previous message
Eclipse UserFriend
Originally posted by: adrian.hang10systems.co.uk

Thank you for answering, used import and this seemed to work well.

Adrian
Previous Topic:AutoRefreshCallbacks
Next Topic:Problems!
Goto Forum:
  


Current Time: Fri Apr 19 11:17:45 GMT 2024

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

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

Back to the top