[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: How do I build a project?

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