File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes javac in Ant errors without detail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "javac in Ant errors without detail" Watch "javac in Ant errors without detail" New topic
Author

javac in Ant errors without detail

Agador Paloi
Ranch Hand

Joined: Jan 24, 2006
Posts: 118
Hello jolly ranchers -

I am trying to compile some java programs with ant and I am getting errors without any detail .

I have tried using -v on the ant command as well as verbose="yes" on the target without much help.


this is part of the output - its too big for the entire thing:



any clues would be appreciated
Agad
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

It would appear that you have errors in your source code, but those errors are not being displayed. Try not forking the java compiler (let the JVM running the Ant build script do the compiling), that should result in the errors being listed.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javac in Ant errors without detail