How do I build a project? [message #73826] |
Sun, 05 June 2005 02:57  |
Eclipse User |
|
|
|
Originally posted by: javaman.miegel.org
I have been using Eclipse for some time to develop plug-ins and Eclipse has
always compiled my java source files automatically. Indeed, I have
sucessfully built an RCP application with Eclipse automatically compiling by
java files.
I now want to build some plug-ins from a CVS repository (dev.eclipse.org,
tptp top-level project, to be precise). I checkout the files using
'Checkout projects from CVS'. The files download fine. However, I just
cannot get Eclipse to compile them. I have spent a day and a half on this,
and it should have been a simple task that takes a few minutes. How do I
make Eclipse compile something? Why is it not compiling the files
automatically? There are plenty of java files there, but Eclipse is clearly
just ignoring them because even if I type garbage into the file, no error
markers appears or anything.
They compile fine if I create a project myself and copy the files into it,
but it would take me hours to do that for the entire project and I am sure
is not necessary.
I cannot be the first person to try checking out an existing project from
CVS, so I am mystified that I am having so much trouble with this.
I am using Eclipse 3.1 M7. I used to be able to go to the properties and
click on the src folder, but only Info, Builders, CVS, and Project
References are listed as properties for the project.
Any idea of what is going wrong would be helpful. Just an assurance that
someone else has suceeded in getting Eclipse to build a project that was
checked out of CVS would at least give me confidence that there is a way,
even if I cannot find it.
Nigel
|
|
|
Re: How do I build a project? [message #74467 is a reply to message #73826] |
Mon, 06 June 2005 12:08  |
Eclipse User |
|
|
|
Originally posted by: eclipse.rizzoweb.com
Nigel Westbury wrote:
> I have been using Eclipse for some time to develop plug-ins and Eclipse has
> always compiled my java source files automatically. Indeed, I have
> sucessfully built an RCP application with Eclipse automatically compiling by
> java files.
>
> I now want to build some plug-ins from a CVS repository (dev.eclipse.org,
> tptp top-level project, to be precise). I checkout the files using
> 'Checkout projects from CVS'. The files download fine. However, I just
> cannot get Eclipse to compile them. I have spent a day and a half on this,
> and it should have been a simple task that takes a few minutes. How do I
> make Eclipse compile something? Why is it not compiling the files
> automatically? There are plenty of java files there, but Eclipse is clearly
> just ignoring them because even if I type garbage into the file, no error
> markers appears or anything.
It sounds like the project that was created when you checked out from
CVS is not a Java project.
You may or may not be aware that a Project in Eclipse can be of many
different types. It must have the Java "nature" in order to have the
Java tools (Java editor, compiler, etc) applied to it.
How did you do the checkout from CVS? If you choose "Check Out" it will
create a "default" project (not a Java project). If you choose "Check
out as..." instead, it will allow you to configure the project as you wish.
HTH,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.08467 seconds