wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes Using Eclipse 3.1.0 IDE, JBOSS 4.0.0 server & ANT as build tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Using Eclipse 3.1.0 IDE, JBOSS 4.0.0 server & ANT as build tool" Watch "Using Eclipse 3.1.0 IDE, JBOSS 4.0.0 server & ANT as build tool" New topic
Author

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

Isha Mackker
Greenhorn

Joined: Oct 18, 2005
Posts: 29
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

Joined: Jun 06, 2006
Posts: 161
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.


Error: Keyboard not attached. Press F1 to continue.
Manhar Puri
Ranch Hand

Joined: Aug 23, 2005
Posts: 41
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
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
Moving this thread to the "Ant, Maven and Other Build Tools" forum. Please find it there and continue the discussion.


Ping & DNS - my free Android networking tools app
 
jQuery in Action, 2nd edition
 
subject: Using Eclipse 3.1.0 IDE, JBOSS 4.0.0 server & ANT as build tool
 
Similar Threads
Issues Compiling With Javac
running a class in a jar ......
J2EE Deployment using ANT
Ant script src\src does not exist
First Ant project not compiling