Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to load a java folder with .project in it?
How to load a java folder with .project in it? [message #1402975] Sat, 19 July 2014 04:14 Go to next message
P Y is currently offline P YFriend
Messages: 5
Registered: August 2012
Junior Member
I downloaded a directory with a number of java files. The directory has a file `.project`, which I guess is generated by eclipse. Does anybody know how to use this file?
Re: How to load a java folder with .project in it? [message #1402978 is a reply to message #1402975] Sat, 19 July 2014 05:51 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 19/07/2014 06:14, P Y wrote:
> I downloaded a directory with a number of java files. The directory has
> a file `.project`, which I guess is generated by eclipse. Does anybody
> know how to use this file?

You open eclipse, then select File->Import->Existing Projects into
Workspace... Then pick the folder with the .project in it.

Felix
Re: How to load a java folder with .project in it? [message #1403001 is a reply to message #1402978] Sat, 19 July 2014 16:24 Go to previous messageGo to next message
P Y is currently offline P YFriend
Messages: 5
Registered: August 2012
Junior Member
Quote:
On 19/07/2014 06:14, P Y wrote:
> I downloaded a directory with a number of java files. The directory has
> a file `.project`, which I guess is generated by eclipse. Does anybody
> know how to use this file?

You open eclipse, then select File->Import->Existing Projects into
Workspace... Then pick the folder with the .project in it.

Felix



I have successfully imported the package. But I have no clue how to compile it. Do you know? (I have tried to check for a number of tutorial, but it does not seem to solve my problem.) BTW, my eclipse is Luna.

http://sb.cs.cmu.edu/sdrem/files/sdrem_v1.2.zip

[Updated on: Sat, 19 July 2014 16:24]

Report message to a moderator

Re: How to load a java folder with .project in it? [message #1403004 is a reply to message #1403001] Sat, 19 July 2014 16:42 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 07/19/2014 10:24 AM, P Y wrote:
> Quote:
>> On 19/07/2014 06:14, P Y wrote:
>> > I downloaded a directory with a number of java files. The directory has
>> > a file `.project`, which I guess is generated by eclipse. Does anybody
>> > know how to use this file?
>>
>> You open eclipse, then select File->Import->Existing Projects into
>> Workspace... Then pick the folder with the .project in it.
>>
>> Felix
>
>
>
> I have successfully imported the package. But I have no clue how to
> compile it. Do you know? (I have tried to check for a number of
> tutorial, but it does not seem to solve my problem.) BTW, my eclipse is
> Luna.
>
> sb.cs.cmu.edu/sdrem/files/sdrem_v1.2.zip

Once you have a proper Java project in Eclipse, it's already compiled
(and it's maintained in that state as you make changes) unless you turn
off this feature (via menu Project -> Build Automatically).

The next thing you're going to ask is how to run it.

This depends on what sort of project it is. If it's a simple Java
project with a main() method in one or more of the Java files, you just
choose the file you want, right-click it, then choose Run As... (or
Debug As...).

Best of luck.
Re: How to load a java folder with .project in it? [message #1403005 is a reply to message #1403001] Sat, 19 July 2014 16:53 Go to previous message
makkar campus is currently offline makkar campusFriend
Messages: 1
Registered: July 2014
Junior Member
its work
[quote title=P Y wrote on Sat, 19 July 2014 16:24]Quote:
On 19/07/2014 06:14, P Y wrote:
> I downloaded a directory with a number of java files. The directory has
> a file `.project`, which I guess is generated by eclipse. Does anybody
> know how to use this file?

You open eclipse, then select File->Import->Existing Projects into
Workspace... Then pick the folder with the .project in it.

Felix



I have successfully imported the package. But I have no clue how to compile it. Do you know? (I have tried to check for a number of tutorial, but it does not seem to solve my problem.) BTW, my eclipse is Luna.


Previous Topic:cannot install the testNG plugin on eclipse helios
Next Topic:background color of program parts
Goto Forum:
  


Current Time: Mon Oct 21 22:59:02 GMT 2019

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

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

Back to the top