6.170 Forum
August 16, 2006, 04:58:23 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Welcome to the 6.170 Forum.
Home
Help
Search
Login
Register
6.170 Forum
>
Problem Sets
>
Problem Set 6
>
ant validate failure
Pages: [
1
]
« previous
next »
Print
Author
Topic: ant validate failure (Read 183 times)
teytanna
Jr. Member
Posts: 20
ant validate failure
«
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
Re: ant validate failure
«
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
Re: ant validate failure
«
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
Re: ant validate failure
«
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
Re: ant validate failure
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> Lectures and Recitations
-----------------------------
Java Questions
-----------------------------
=> Java in General
=> Eclipse
=> emacs
=> Java Generics
-----------------------------
Final Projects
-----------------------------
=> General Discussion
=> Team Building
=> Antichess
=> Gizmoball
-----------------------------
Problem Sets
-----------------------------
=> Problem Set 0
=> Problem Set 1
=> Problem Set 2
=> Problem Set 3
=> Problem Set 4
=> Problem Set 5
=> Problem Set 6