This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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
Posts: 18303
56
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic