 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: [Closed] Build/Compile not working for imported projects
Posted: Nov 17, 2006 - 04:40 PM
|
|

Joined: Nov 15, 2006
Posts: 8
|
|
Hi,
I've imported 2 projects into MyEclipse 5. There are no class files, only java files. I cannot get the projects to compile using any of the build options. I run 'build' or 'build all' and noting is output. What am I missing here? Other projects compile automatically but not these. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 18, 2006 - 02:56 PM
|
|
Moderator


Joined: May 06, 2003
Posts: 6578
|
|
| From the sounds of it, the likely cause is that the project is not configured to know where the java source files are. You can set that by right-clicking on the java source folder in the project in the Package Explorer view and selecting Build Path > Use as Java source folder. That should get everything registered properly and allow the build to succeed. |
_________________ --Scott
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 20, 2006 - 03:20 PM
|
|

Joined: Nov 15, 2006
Posts: 8
|
|
| support-scott wrote: | | From the sounds of it, the likely cause is that the project is not configured to know where the java source files are. You can set that by right-clicking on the java source folder in the project in the Package Explorer view and selecting Build Path > Use as Java source folder. That should get everything registered properly and allow the build to succeed. | Scott,
Thanks for the reply. The src directory was set in the project as the source folder. Note that the projects were pulled from CVS but all of the CVS information has been removed (the hidden CVS irectories). I've added and removed the 'src' from the Build Path. I also created a new Java file and rebuilt the project and there was still no compilation. Any other ideas?
Thanks! |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 20, 2006 - 04:05 PM
|
|

Joined: Nov 15, 2006
Posts: 8
|
|
| Never mind - I got it. I had to recreate the project and reimport everything. |
|
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |