|
|
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 |
P Y 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 |
|
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.
|
|
|
|
Powered by
FUDForum. Page generated in 0.09105 seconds