wood burning stoves 2.0*
The moose likes Web Services and the fly likes build not found 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 » Java » Web Services
Bookmark "build not found" Watch "build not found" New topic
Author

build not found

ahsan mir
Ranch Hand

Joined: Jul 17, 2006
Posts: 42
Hello,
I am using the Sun J2ee application server and the tutorial for trying out web services.
When i try to 'asant'(compile)a simple web service , i get an error of 'build' not found, even though its ther.
***************************************************************
C:\javaeetutorial5\examples\jaxws\helloservice>asant build
Buildfile: build.xml

BUILD FAILED
Target `build' does not exist in this project.

Total time: 0 seconds

C:\javaeetutorial5\examples\jaxws\helloservice>dir

Directory of C:\javaeetutorial5\examples\jaxws\helloservice

11/05/2006 11:00 <DIR> .
11/05/2006 11:00 <DIR> ..
11/05/2006 11:00 1,142 build.xml
11/05/2006 11:00 <DIR> nbproject
11/05/2006 11:00 <DIR> src
11/05/2006 10:59 <DIR> web

*************************************************************************
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
That is the error you get from ANT when build.xml does not have an entry

Perhaps you should be trying to build from another directory where the build.xml does have a "build" target?
Bill
ahsan mir
Ranch Hand

Joined: Jul 17, 2006
Posts: 42
hello,
could you please elaborate a lil bit. I have done exactly what the turorial says.

PATH=c:\Sun\AppServer\bin

My environmental variables are:
javaee.home=c:\Sun\AppServer
javaee.tutorial.home=c:\javaeetutorial5

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: build not found
 
Similar Threads
Error while deploying the war file using command "asant deploy"
passwordfile.txt not found!!!
error in depolyment
Issue while deploying web service jwstutorial example CLI171
@WebMethod not found