facebook

[Closed] Build/Compile not working for imported projects

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #262161 Reply

    dshitzu1
    Member

    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.

    #262225 Reply

    Scott Anderson
    Participant

    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.

    #262267 Reply

    dshitzu1
    Member

    @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!

    #262275 Reply

    dshitzu1
    Member

    Never mind – I got it. I had to recreate the project and reimport everything.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] Build/Compile not working for imported projects

You must be logged in to post in the forum log in