• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Eclipse 3.1.0 IDE, JBOSS 4.0.0 server & ANT as build tool

 
Isha Mackker
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am facing the following problem for a failed build in my project:

BUILD FAILED
C:\javaprojects\CourseCafe\build.xml:237: C:\javaprojects\CourseCafe\build\src\com\ists\jsserver\locator not found.

I have checked all the classpaths and the properties file, nothing is wrong anywhere. And the build folder is being created at 2 places, 1 inside the project folder and another inside the src folder. can anybody plz help me why this is happening and what can be a probable solution?

Thanks and Regards,
Isha.
 
Travis Hein
Ranch Hand
Posts: 161
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found some funny things when I used eclipse and ant.
When I had eclipse generate classes automatically on resource modification, like it does by default, and I also was using an ant file for building.
I can't put the finger on what it was, but I changed eclipse to generate its compiles classes to a different build output folder than ant would use and the demons went away.
so my ant build script would output to c:\.....build\classes
and the eclipse auto-build classes would go to c:\......build\eclipse-classes.
The eclipse generated classes would not be used by ant when created jar file, that was the build\classes for that.
 
Manhar Puri
Ranch Hand
Posts: 41
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does this folder exist

C:\javaprojects\CourseCafe\build\src\com\ists\jsserver\locator

Also if you could put line 237 of your build script it will be helpful.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this thread to the "Ant, Maven and Other Build Tools" forum. Please find it there and continue the discussion.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic