This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse won't show the errors...

 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I opened a project in eclipse... I have the following code...





And then I tried inserting some random statements so the compiler would generate an error... For example... I tried typing


"asdasdwqdasdcdasd"


somewhere in my code... This should generate an error of some sort... But when i tried to build all/project... No error is showing up... Any ideas? Thanks!
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18092
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Timothy Sam:
I opened a project in eclipse... I have the following code...


.....

And then I tried inserting some random statements so the compiler would generate an error... For example... I tried typing


"asdasdwqdasdcdasd"


somewhere in my code... This should generate an error of some sort... But when i tried to build all/project... No error is showing up... Any ideas? Thanks!


Not without further info. Although it doesn't look like the hot-compile feature is working. Do you have a designated target for the compiled class files? By default, it would be "bin".
 
Franck Smith
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try to check that :
- you are in the java view.
- your project has the javanature in you .project (that you can see in ressource view)
- your source path is referenced as "kind=src" (if your source are in src/java) in the .classpath that you can see in the ressource view.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic