This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes messages should have been provided Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "messages should have been provided" Watch "messages should have been provided" New topic
Author

messages should have been provided

Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

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 ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

Anyone ?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

"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.


[Jess in Action][AskingGoodQuestions]
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

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

Joined: Jul 08, 2003
Posts: 24187
    
  34

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

Joined: Feb 24, 2006
Posts: 6662
    
    5

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

Joined: Jul 11, 2001
Posts: 14112
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...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: messages should have been provided