Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dshitzu1
Post subject: [Closed] Build/Compile not working for imported projects  PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Nov 18, 2006 - 02:56 PM
Moderator
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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
dshitzu1
Post subject:   PostPosted: 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!
 
 View user's profile Send private message  
Reply with quote Back to top
dshitzu1
Post subject:   PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits