ECLIPSE: Build not running at all?

Dear Eclipse Experts:

In one of my Eclipse projects, the build is failing to run at all.  It's not that I'm getting errors: just nothing at all is happening.  Nothing shows up in the console at all.  I've tried "clean" also, and I've tried building a working set.  For that project, though, nothing is doing anything.

One other clue is that although I know there are many syntax errors within this project, none show up in the package view.  (I don't see the red x's).

One thing I did just before this happened was to (manually, outside of Eclipse) consolidate what had been two folders into one.  One of the folders had been using the "default" package.    I moved the source to the "packaged" folder, and added the appropriate package statements within the source.

Other projects within Eclipse are building just fine.  I've tried rebooting.  No luck...

I've only been working with Eclipse for about a month, so maybe I'm missing something obvious.  

Any ideas?

Thanks,
BrianMc1958

BrianMc1958Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BrianMc1958Author Commented:
Actually, at the Project level, I am seeing one red "x".  But none of the classes themselves show a red "x".
0
sciuriwareCommented:
Right click the project and choose:     refresh

;JOOP!
0
sciuriwareCommented:
And then:

MENU:  Window->Show View->Problems   double click on the Problems-TAB.

;JOOP!
0
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

ellandrdCommented:
or start a new project and copy your src folder over to new project and try building again....
0
fargoCommented:
>>Actually, at the Project level, I am seeing one red "x".  But none of the classes themselves show a red "x".
the project may be missing some libraries in the build path.

Right Click on project >> properties >> Java Build Path >> Libraries...and check if anything is missing.


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
radarshCommented:
If all of them fail, make sure you haven't back-dated your system for some reason.
Eclipse will not build if your system is in the past ;-)

________
radarsh
0
Mayank SAssociate Director - Product EngineeringCommented:
>> One thing I did just before this happened was to (manually, outside of Eclipse) consolidate what had been two folders into one

Do you have a separate output folder? Or are the class-files in the same folder as the Java-files? Try closing Eclipse, deleting the output directory (if it is separate) or deleting the class-files (if it is not separate). BTW, you should not have manually merged the directories. You can move classes between packges quite easily in Eclipse itself and it will handle the code-correction, package renaming, etc for you. If you are not able to delete the classes directory even after Eclipse has been closed, then see if some process is still running which might be using the classes and stop it (e.g., rmiregistry in case you use RMI).
0
BrianMc1958Author Commented:
To Fargo:  You were right.  A jar was missing.  Any way I can get Eclipse to tell me when a jar is missing?  It seems unfriendly that it would just do nothing.  (Nothing showed up under "problems", etc...).  

Will award points to Fargo in a few hours...

Thanks to everybody again,
BrianMc1958
0
sciuriwareCommented:
Utility MAVEN can tell what you're missing and even automatically retrieve it from the internet.

;JOOP!
0
Mayank SAssociate Director - Product EngineeringCommented:
>> A jar was missing.

Which one? Was it some class being used in your code? In that case, there should have been compilation errors shown....
0
BrianMc1958Author Commented:
Yes.  It was a class being used in my code.  (It was a jar that I create and move into another path.  I had failed to move into that path yet.)   I agree there should have been compilation errors.  Any more ideas on that?

Thanks again,
BrianMc1958
0
Mayank SAssociate Director - Product EngineeringCommented:
>> I agree there should have been compilation errors.

Surprises me that there weren't any.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.