RE: Ant tasks problem

2003-11-05 Thread Shapira, Yoav

Howdy,
How about rm -rf $CATALINA_HOME/webapps/ROOT ;)

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, November 05, 2003 1:12 PM
>To: [EMAIL PROTECTED]
>Subject: Ant tasks problem
>
>Hello allI have a problem that i'm not sure how to go about
it..
>
>I want to use ant to help with developement and deployment.I plan
to
>use
>install and deploy tasksWhen i try to use the "install" task...i
get an
>error:
>
>BUILD FAILED
>file:C:/DEV_WORK/russellpitre.com/build.xml:94: FAIL - Encountered
>exception
>java.io.IOException: java.lang.IllegalState
>Exception: Context path  is already in use:
>
>I want to have my website install with this context "/"  but the
default
>/ROOT is already using this contexthow can I remove this context?
>Below
>are printouts of my ant list and install results
>
>==
>Ant List:
>=
>C:\DEV_WORK\russellpitre.com>ant list
>Buildfile: build.xml
>list:
> [echo] Listing Installed and Deployed Web Applications ...
> [list] OK - Listed applications for virtual host localhost
> [list] /admin:running:0:../server/webapps/admin
> [list] /webdav:running:0:C:\Program Files\Apache Group\Tomcat
>4.1\webapps\webdav
> [list] /examples:running:0:examples
> [list] /tomcat-docs:running:0:C:\Program Files\Apache Group\Tomcat
>4.1\webapps\tomcat-docs
> **[list] /:running:1:C:\Program Files\Apache Group\Tomcat
4.1\webapps\ROOT
> [list] /manager:running:0:../server/webapps/manager
>
>BUILD SUCCESSFUL
>Total time: 1 second
>
>
>
>Ant Install error:
>
>C:\DEV_WORK\russellpitre.com>ant install
>Buildfile: build.xml
>init:
>prepare:
> [echo] Creating russellpitre's war directory ...
>build:
> [echo] Building russellpitre ...
>package:
> [echo] Packaging russellpitre's web archive file ...
>  [jar] Building jar: C:\DEV_WORK\russellpitre.com\russellpitre.war
>install:
> [echo] Installing russellpitre ...
>  [install] FAIL - Encountered exception java.io.IOException:
>java.lang.IllegalStateException: Context path  is already
>in use
>
>BUILD FAILED
>file:C:/DEV_WORK/russellpitre.com/build.xml:94: FAIL - Encountered
>exception
>java.io.IOException: java.lang.IllegalState
>Exception: Context path  is already in use
>Total time: 2 seconds
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Ant tasks problem

2003-11-05 Thread RPITRE
Hello allI have a problem that i'm not sure how to go about it..
 
I want to use ant to help with developement and deployment.I plan to use
install and deploy tasksWhen i try to use the "install" task...i get an
error:
 
BUILD FAILED
file:C:/DEV_WORK/russellpitre.com/build.xml:94: FAIL - Encountered exception
java.io.IOException: java.lang.IllegalState
Exception: Context path  is already in use:
 
I want to have my website install with this context "/"  but the default
/ROOT is already using this contexthow can I remove this context?  Below
are printouts of my ant list and install results
 
==
Ant List:
=
C:\DEV_WORK\russellpitre.com>ant list
Buildfile: build.xml
list:
 [echo] Listing Installed and Deployed Web Applications ...
 [list] OK - Listed applications for virtual host localhost
 [list] /admin:running:0:../server/webapps/admin
 [list] /webdav:running:0:C:\Program Files\Apache Group\Tomcat
4.1\webapps\webdav
 [list] /examples:running:0:examples
 [list] /tomcat-docs:running:0:C:\Program Files\Apache Group\Tomcat
4.1\webapps\tomcat-docs
 **[list] /:running:1:C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT
 [list] /manager:running:0:../server/webapps/manager

BUILD SUCCESSFUL
Total time: 1 second
 
 

Ant Install error:

C:\DEV_WORK\russellpitre.com>ant install
Buildfile: build.xml
init:
prepare:
 [echo] Creating russellpitre's war directory ...
build:
 [echo] Building russellpitre ...
package:
 [echo] Packaging russellpitre's web archive file ...
  [jar] Building jar: C:\DEV_WORK\russellpitre.com\russellpitre.war
install:
 [echo] Installing russellpitre ...
  [install] FAIL - Encountered exception java.io.IOException:
java.lang.IllegalStateException: Context path  is already
in use

BUILD FAILED
file:C:/DEV_WORK/russellpitre.com/build.xml:94: FAIL - Encountered exception
java.io.IOException: java.lang.IllegalState
Exception: Context path  is already in use
Total time: 2 seconds

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]