Google Groups Home
Help | Sign in
Ant Deploy- Build Failed
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
pranav  
View profile
 More options Jun 22, 10:02 am
From: pranav <pranav.m...@gmail.com>
Date: Sun, 22 Jun 2008 07:02:30 -0700 (PDT)
Local: Sun, Jun 22 2008 10:02 am
Subject: Ant Deploy- Build Failed
hi everyone,

i have run into an error while trying to run the first example in
Chapter 3.
I followed all the steps-
1. Installing java ee 5
2. installing and configuring Maven
3. installing and configuring Ant.
4. running mvn install in the <book-code> directory to load pom.xml
into the repository.

The mvn install step in <book-code>/chap03/rest-get/client-http
returns successfully with -'Build Successfull'.
but it throws an error on running  the following step - 'ant deploy'
with -Build Failed'.

I must admit that i have little understanding of what was going on,
and was just following the steps.

This is the complete error message given by the command- 'ant
deploy' :

/*
Buildfile: build.xml

deploy-glassfish:
     [echo] deploying C:\examples\chap03\rest-get\endpoint-servlet/
target/chap03
-restget-endpoint-servlet-1.0.war

BUILD FAILED
C:\examples\common-build.xml:54: Execute failed: java.io.IOException:
CreateProc
ess: ${C:\Sun\SDK}\bin\asadmin.bat deploy --host localhost --port 4848
--user ad
min --passwordfile c:/examples/glassfish.password C:\examples
\chap03\rest-get\en
dpoint-servlet/target/chap03-restget-endpoint-servlet-1.0.war error=2

Total time: 1 second

*/

Can someone please tell me what the problem might be?

Thanks,

Pranav


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google