Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

messages should have been provided

 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the error i got when i ran ant:

"Error: messages should have been provided"

Ant used the jikes compiler. I dont know if the error was caused by ant or jikes or the code itself, but i am stumped. Is it because some part of the code did not compile ? Has any one experienced this ? If there was an error, what file do i need to look at to see the errors ?
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone ?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Messages should have been provided" means that Ant ran something (jikes, here) and that something exited with an error status, but beyond that, Ant has no idea what went wrong; therefore, Ant is hoping that jikes "provided some messages" directly to you.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well thats what i thought. Jikes seems to have either found an error in the code or something else has happened. Do you know how i can look at the jikes output log ?

Thanks
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It should just go to the screen along with the rest of the Ant output. You can try the "verbose" attribute to the javac tag to tell the compiler to produce more output.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forgot to mention that i tried the -v option too and it threw the same error message. Thanks for the replies Ernest. Is there any other output i can look at ?, like say a log file ?
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by John Meyers:
Anyone ?


As an aside, you typically get better replies by providing a very specific subject (for example mentioning Ant) and posting in the most specific forum you can think of.

Moving this to the Build Tools forum...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic