Home » Newcomers » Newcomers » how to specify a build path?
how to specify a build path? [message #156620] |
Tue, 13 June 2006 11:59  |
Eclipse User |
|
|
|
I am taking over a java project from someone else. The original project was
developed using emacs, but i want to further it using Eclipse because it is
100 times better than a plain text editor. However, Eclipse can't do a lot
of things because it doesn't have the build path specified (in other words,
eclipse doesn't recognize the folder 'src/java/org/...' as a source folder.
So how can I specify that? thanks.
|
|
| |
Re: how to specify a build path? [message #156662 is a reply to message #156646] |
Tue, 13 June 2006 16:26   |
Eclipse User |
|
|
|
Thanks Eric. But actually I have been to the tutorial, and could only find
the following excerpt on java build path:
Viewing and editing a project's Java build path
A project's Java build path can either be defined when creating the project
with the New Wizard or later in the project's property dialog. The Java
build path settings dialog is the same in both cases. To view and edit a
project's Java build path, follow these steps:
1.. Select the project you want to view or edit
2.. From the project's pop-up menu, select Properties
3.. Select the Java Build Path page ...
My problem is that I could not find that "Java Build Path" page. In my
project properties dialog, i only see four things: Info, Builders, CVS,
and Project References.
I also attempted to add a source folder... but it kept telling me the
project was not a java project and would not allow me to add the source
folder...
that's why I asked this question to the newsgroup, hoping someone can point
me right to the spot.
-- Jim
"Eric Rizzo" <eclipse4@rizzoweb.com> wrote in message
news:e6mu5n$tiq$1@utils.eclipse.org...
> Jim Bear wrote:
>> I am taking over a java project from someone else. The original project
>> was developed using emacs, but i want to further it using Eclipse because
>> it is 100 times better than a plain text editor. However, Eclipse can't
>> do a lot of things because it doesn't have the build path specified (in
>> other words, eclipse doesn't recognize the folder 'src/java/org/...' as a
>> source folder. So how can I specify that? thanks.
>
> Open the Eclipse Help Contents and look at the "Java Development Users
> Guide" | "Getting Started". There you will find a Project Configuration
> Tutorial that will help you understand how to set up projects in Eclipse.
> I also strongly recommend going through the other tutorials in the various
> sections - you'll be glad you spent the time.
>
> Hope this helps,
> Eric
|
|
|
Re: how to specify a build path? [message #156686 is a reply to message #156662] |
Tue, 13 June 2006 19:00   |
Eclipse User |
|
|
|
Originally posted by: wegener.cboenospam.com
Jim Bear wrote:
> Thanks Eric. But actually I have been to the tutorial, and could only find
> the following excerpt on java build path:
> Viewing and editing a project's Java build path
> A project's Java build path can either be defined when creating the project
> with the New Wizard or later in the project's property dialog. The Java
> build path settings dialog is the same in both cases. To view and edit a
> project's Java build path, follow these steps:
>
> 1.. Select the project you want to view or edit
> 2.. From the project's pop-up menu, select Properties
> 3.. Select the Java Build Path page ...
> My problem is that I could not find that "Java Build Path" page. In my
> project properties dialog, i only see four things: Info, Builders, CVS,
> and Project References.
>
> I also attempted to add a source folder... but it kept telling me the
> project was not a java project and would not allow me to add the source
> folder...
>
> that's why I asked this question to the newsgroup, hoping someone can point
> me right to the spot.
>
> -- Jim
>
>
>
> "Eric Rizzo" <eclipse4@rizzoweb.com> wrote in message
> news:e6mu5n$tiq$1@utils.eclipse.org...
>> Jim Bear wrote:
>>> I am taking over a java project from someone else. The original project
>>> was developed using emacs, but i want to further it using Eclipse because
>>> it is 100 times better than a plain text editor. However, Eclipse can't
>>> do a lot of things because it doesn't have the build path specified (in
>>> other words, eclipse doesn't recognize the folder 'src/java/org/...' as a
>>> source folder. So how can I specify that? thanks.
>> Open the Eclipse Help Contents and look at the "Java Development Users
>> Guide" | "Getting Started". There you will find a Project Configuration
>> Tutorial that will help you understand how to set up projects in Eclipse.
>> I also strongly recommend going through the other tutorials in the various
>> sections - you'll be glad you spent the time.
>>
>> Hope this helps,
>> Eric
>
>
You need to create a Java project. It sounds like you created a simple
project.
|
|
|
Re: how to specify a build path? [message #156754 is a reply to message #156686] |
Wed, 14 June 2006 09:07   |
Eclipse User |
|
|
|
Originally posted by: cburgess.progressrail.com
David Wegener wrote:
> Jim Bear wrote:
>> Thanks Eric. But actually I have been to the tutorial, and could only
>> find the following excerpt on java build path:
>> Viewing and editing a project's Java build path
>> A project's Java build path can either be defined when creating the
>> project with the New Wizard or later in the project's property dialog.
>> The Java build path settings dialog is the same in both cases. To view
>> and edit a project's Java build path, follow these steps:
>>
>> 1.. Select the project you want to view or edit
>> 2.. From the project's pop-up menu, select Properties
>> 3.. Select the Java Build Path page ...
>> My problem is that I could not find that "Java Build Path" page. In my
>> project properties dialog, i only see four things: Info, Builders,
>> CVS, and Project References.
>>
>> I also attempted to add a source folder... but it kept telling me the
>> project was not a java project and would not allow me to add the
>> source folder...
>>
>> that's why I asked this question to the newsgroup, hoping someone can
>> point me right to the spot.
>>
>> -- Jim
>>
>>
>>
>> "Eric Rizzo" <eclipse4@rizzoweb.com> wrote in message
>> news:e6mu5n$tiq$1@utils.eclipse.org...
>>> Jim Bear wrote:
>>>> I am taking over a java project from someone else. The original
>>>> project was developed using emacs, but i want to further it using
>>>> Eclipse because it is 100 times better than a plain text editor.
>>>> However, Eclipse can't do a lot of things because it doesn't have
>>>> the build path specified (in other words, eclipse doesn't recognize
>>>> the folder 'src/java/org/...' as a source folder. So how can I
>>>> specify that? thanks.
>>> Open the Eclipse Help Contents and look at the "Java Development
>>> Users Guide" | "Getting Started". There you will find a Project
>>> Configuration Tutorial that will help you understand how to set up
>>> projects in Eclipse.
>>> I also strongly recommend going through the other tutorials in the
>>> various sections - you'll be glad you spent the time.
>>>
>>> Hope this helps,
>>> Eric
>>
>>
> You need to create a Java project. It sounds like you created a simple
> project.
I agree with David. You'll probably need to create a new, _empty_ Java
project, and then copy/import your files into that project. It sounds
like its the project settings that are not allowing the Build Path
dialogue to be visible.
I've had this trouble before, most notably when someone added their
..project file to the CVS module that I got the source code from... that
really messes me up, when others really just use Eclipse as a text
editor (i.e. Simple project), their .project file reflects that, and
they inadvertently include the .project file when they commit their code
to CVS. Uh, I think I'm ranting now... ;)
|
|
|
Re: how to specify a build path? [message #156803 is a reply to message #156754] |
Wed, 14 June 2006 11:00  |
Eclipse User |
|
|
|
Thank you, Chuck and David. And that is exactly what happened - I checked
out the project from our CVS repository and eclipse won't recognize it as a
Java project. Now I know what to do. You guys have been great help.
"Chuck Burgess" <cburgess@progressrail.com> wrote in message
news:e6p1mh$omq$1@utils.eclipse.org...
> David Wegener wrote:
>> Jim Bear wrote:
>>> Thanks Eric. But actually I have been to the tutorial, and could only
>>> find the following excerpt on java build path:
>>> Viewing and editing a project's Java build path
>>> A project's Java build path can either be defined when creating the
>>> project with the New Wizard or later in the project's property dialog.
>>> The Java build path settings dialog is the same in both cases. To view
>>> and edit a project's Java build path, follow these steps:
>>>
>>> 1.. Select the project you want to view or edit
>>> 2.. From the project's pop-up menu, select Properties
>>> 3.. Select the Java Build Path page ...
>>> My problem is that I could not find that "Java Build Path" page. In my
>>> project properties dialog, i only see four things: Info, Builders,
>>> CVS, and Project References.
>>>
>>> I also attempted to add a source folder... but it kept telling me the
>>> project was not a java project and would not allow me to add the source
>>> folder...
>>>
>>> that's why I asked this question to the newsgroup, hoping someone can
>>> point me right to the spot.
>>>
>>> -- Jim
>>>
>>>
>>>
>>> "Eric Rizzo" <eclipse4@rizzoweb.com> wrote in message
>>> news:e6mu5n$tiq$1@utils.eclipse.org...
>>>> Jim Bear wrote:
>>>>> I am taking over a java project from someone else. The original
>>>>> project was developed using emacs, but i want to further it using
>>>>> Eclipse because it is 100 times better than a plain text editor.
>>>>> However, Eclipse can't do a lot of things because it doesn't have the
>>>>> build path specified (in other words, eclipse doesn't recognize the
>>>>> folder 'src/java/org/...' as a source folder. So how can I specify
>>>>> that? thanks.
>>>> Open the Eclipse Help Contents and look at the "Java Development Users
>>>> Guide" | "Getting Started". There you will find a Project Configuration
>>>> Tutorial that will help you understand how to set up projects in
>>>> Eclipse.
>>>> I also strongly recommend going through the other tutorials in the
>>>> various sections - you'll be glad you spent the time.
>>>>
>>>> Hope this helps,
>>>> Eric
>>>
>>>
>> You need to create a Java project. It sounds like you created a simple
>> project.
>
>
> I agree with David. You'll probably need to create a new, _empty_ Java
> project, and then copy/import your files into that project. It sounds
> like its the project settings that are not allowing the Build Path
> dialogue to be visible.
>
> I've had this trouble before, most notably when someone added their
> .project file to the CVS module that I got the source code from... that
> really messes me up, when others really just use Eclipse as a text editor
> (i.e. Simple project), their .project file reflects that, and they
> inadvertently include the .project file when they commit their code to
> CVS. Uh, I think I'm ranting now... ;)
|
|
|
Goto Forum:
Current Time: Tue Jul 01 10:01:39 EDT 2025
Powered by FUDForum. Page generated in 0.13776 seconds
|