6.170 Forum
August 16, 2006, 04:58:23 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the 6.170 Forum.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: ant validate failure  (Read 183 times)
teytanna
Jr. Member
**
Posts: 20


View Profile Email
« on: April 05, 2006, 02:21:05 PM »

Hi, I know this is a bit late, but I'm having trouble running ant validate on my project.
I'm getting the following message, even though I don't see any compiler errors in eclipse, and the textUI and GraphicUI's run fine.
DOes anyone know what this means?

BUILD FAILED
/afs/athena.mit.edu/user/t/e/teytanna/6.170/psets/common.xml:115: The followingerror occurred while executing this line:
/afs/athena.mit.edu/user/t/e/teytanna/6.170/scratch/psets/common.xml:172: The following error occurred while executing this line:
/afs/athena.mit.edu/user/t/e/teytanna/6.170/scratch/psets/common.xml:159: Compile failed; see the compiler error output for details.

Thanks
Logged
teytanna
Jr. Member
**
Posts: 20


View Profile Email
« Reply #1 on: April 05, 2006, 04:54:08 PM »

I acutally I do have some compiler flags in eclipse.
The are in packages
psets/lib/junit.jar, and lib.
I also have a flag on PublicTextUITest.java.
I have never touched hte lib and j.unit.jar packages.
Thanks for any help,
Anna
Logged
widagdos
Newbie
*
Posts: 1


View Profile Email
« Reply #2 on: April 05, 2006, 06:37:48 PM »

Yeah, I am also having the same problem with the ant validate
it tells you that there is a compile error, but it does not tell
you where. very "useable"

My eclipse does not give any compile error though
Logged
teytanna
Jr. Member
**
Posts: 20


View Profile Email
« Reply #3 on: April 05, 2006, 07:42:52 PM »

I'm not sure if this is the problem with your code but I found two bugs in mine.
First - I forgot to change the required properties from InterfaceTests to SpecificationTests.
Second - I had some warnings that were showing up before these failure lines, and when I fixed those everything worked.

Hope this helps
Logged
wrightc
Newbie
*
Posts: 4

tiki97531
View Profile Email
« Reply #4 on: April 05, 2006, 10:18:46 PM »

I believe that in the region above where you copied from ant validate there will be something along the lines of "trace stored in <filename>" or test results or whatnot. Opening that file will tell you the details of the output of your failed tests.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!