help when i ant with hello2 in javaee tutorial5 examples

in\javaeetutorial5\examples\web\hello2

when i ant show below :

uild\web\WEB-INF\classes

BUILD FAILED

D:\javaeetutorial5\examples\bp-project\command-line-ant-tasks.xml:92: c:\Sun\App

Server not found.

Total time: 2 seconds

D:\javaeetutorial5\examples\web\hello2>

why this ?

[330 byte] By [guagaua] at [2007-11-26 18:53:18]
# 1

guagau,

No replies?

That's coz you simply haven't posted enough information for anyone to offer even an opinion on where you might be going wrong.

If you're still stuck read [url=http://forum.java.sun.com/help.jspa?sec=formatting]this[/url] and [url=http://www.catb.org/~esr/faqs/smart-questions.html]this[/url], and repost your question.

keith.

corlettka at 2007-7-9 6:27:19 > top of Java-index,Java Essentials,New To Java...
# 2

keith.

i think it is a basic question ,just i have install the j2ee with tools bundle

then i go to read the tutorial .there have examples in javaeetutorial5,

then i go to the javaeetutorial5\examples\web\hello2>

use asant to build.

then has that result why

have that message

"D:\javaeetutorial5\examples\bp-project\command-line-ant-tasks.xml:92: c:\Sun\App

Server not found."

if i have not installed j2ee jdk ?

guagaua at 2007-7-9 6:27:19 > top of Java-index,Java Essentials,New To Java...
# 3

dunno.... ummmmm.... probably coz ant can't find your JDK.

you really really do need to read [url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url] before posting again.

It's your problem, not mine... and frankly I find your helplessness less than endearing.

keith.

corlettka at 2007-7-9 6:27:19 > top of Java-index,Java Essentials,New To Java...
# 4
your eagerness is much more than it
guagaua at 2007-7-9 6:27:19 > top of Java-index,Java Essentials,New To Java...
# 5
can any one help me ?
guagaua at 2007-7-9 6:27:19 > top of Java-index,Java Essentials,New To Java...
# 6

SO are you saying you have installed Sun J2EE App server to the default directory of C:/Sun/App Server? if so, I don't know what your problem is, if not, either install it there, or edit the ant build file to change the path c:\Sun\App Server to point to the install location of the app server

~Tim

SomeoneElsea at 2007-7-9 6:27:19 > top of Java-index,Java Essentials,New To Java...
# 7

I'm gonna bring this thread back to life since I'm having the same problem. I'm trying to build a JAXB example and I'm also getting the reference to examples/bp-project/command-line-ant-tasks.xml:92: /..../javaeetutorial5/examples/jaxb/modify-marshal/c:/Sun/AppServer not found.

I'm running on an Intel Mac and I installed the appropriate version of glassfish. This reference must be hardcoded somewhere, but I've been unable to find it.

brettfavrea at 2007-7-9 6:27:19 > top of Java-index,Java Essentials,New To Java...
# 8
Try using spotlight to find "c:/Sun/AppServer" in files.
macrules2a at 2007-7-9 6:27:19 > top of Java-index,Java Essentials,New To Java...
# 9
No dice. This is pretty frustrating....
brettfavrea at 2007-7-9 6:27:19 > top of Java-index,Java Essentials,New To Java...