WarAngelos
asked on
Build Failed: ant Remove, ant Install
Hi I am a bit new to this so I know really the very basic things.
My CI2260 folder is in a H Folder in my Home Directory.
This is what happens
Right when type ant clean in the CI2260 folder
-------------------------- ---------- ---------- ---------- ---------- ------
linux-phax:/home/rudu/H/CI 2260 # ant clean
Buildfile: build.xml
clean:
BUILD SUCCESSFUL
Total time: 0 seconds
-------------------------- ---------- ---------- ---------- ---------- ------
ant remove
-------------------------- ---------- ---------- ---------- ---------- ------
linux-phax:/home/rudu/H/CI 2260 # ant remove
Buildfile: build.xml
remove:
[undeploy] FAIL - No context exists for path /CI2260
BUILD FAILED
/home/rudu/H/CI2260/build. xml:453: FAIL - No context exists for path /CI2260
Total time: 0 seconds
-------------------------- ---------- ---------- ---------- ---------- ------
ant install
-------------------------- ---------- ---------- ---------- ---------- ------
linux-phax:/home/rudu/H/CI 2260 # ant install
Buildfile: build.xml
prepare:
[mkdir] Created dir: /root/tomcat
[mkdir] Created dir: /root/tomcat/WEB-INF
[mkdir] Created dir: /root/tomcat/WEB-INF/class es
[copy] Copying 21 files to /root/tomcat
compile:
[javac] Compiling 11 source files to /root/tomcat/WEB-INF/class es
BUILD FAILED
/home/rudu/H/CI2260/build. xml:255: /usr/share/tomcat6/endorse d not found.
Total time: 0 seconds
.... I have attached my Build.xml and Build Properties
------------------------[S OMETHINGS YOU SHOULD KNOW]--------------------- ----
-----> Also you should know is that the Build and Build Properties and files from my university so I have not made them
----> I have Apache2 Installed and Tomcat6
----> I followed the instructions of my tutor http://www.ubiubi.org/wrk/notes/SETUPS/ToolChainOpenSuse11.html
in which I found where he says :
To configure Tomcat and Ant
in /etc/ant.d create (as superuser) a file called catalina-ant5
in this file enter the text /tomcat/catalina-ant
check /etc/tomcat6/tomcat-users. xml looks like this and IS NOT COMMENTED OUT:
/tomcat/catalina-ant
"ant clean" did not work... but then I changed it to /tomcat6/catalina-ant
then ant clean did work...
----> type sudo /etc/init.d/tomcat restart to restart the server also i had to change it to: sudo /etc/init.d/tomcat6 restart to make this command work.
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
I hope i have give you enough information...
could you please explain and tell me what those errors and and a solution for it thank you.
If any more information is needed please ask thank you. v.much
build.properties.txt
build.xml.txt
My CI2260 folder is in a H Folder in my Home Directory.
This is what happens
Right when type ant clean in the CI2260 folder
--------------------------
linux-phax:/home/rudu/H/CI
Buildfile: build.xml
clean:
BUILD SUCCESSFUL
Total time: 0 seconds
--------------------------
ant remove
--------------------------
linux-phax:/home/rudu/H/CI
Buildfile: build.xml
remove:
[undeploy] FAIL - No context exists for path /CI2260
BUILD FAILED
/home/rudu/H/CI2260/build.
Total time: 0 seconds
--------------------------
ant install
--------------------------
linux-phax:/home/rudu/H/CI
Buildfile: build.xml
prepare:
[mkdir] Created dir: /root/tomcat
[mkdir] Created dir: /root/tomcat/WEB-INF
[mkdir] Created dir: /root/tomcat/WEB-INF/class
[copy] Copying 21 files to /root/tomcat
compile:
[javac] Compiling 11 source files to /root/tomcat/WEB-INF/class
BUILD FAILED
/home/rudu/H/CI2260/build.
Total time: 0 seconds
.... I have attached my Build.xml and Build Properties
------------------------[S
-----> Also you should know is that the Build and Build Properties and files from my university so I have not made them
----> I have Apache2 Installed and Tomcat6
----> I followed the instructions of my tutor http://www.ubiubi.org/wrk/notes/SETUPS/ToolChainOpenSuse11.html
in which I found where he says :
To configure Tomcat and Ant
in /etc/ant.d create (as superuser) a file called catalina-ant5
in this file enter the text /tomcat/catalina-ant
check /etc/tomcat6/tomcat-users.
/tomcat/catalina-ant
"ant clean" did not work... but then I changed it to /tomcat6/catalina-ant
then ant clean did work...
----> type sudo /etc/init.d/tomcat restart to restart the server also i had to change it to: sudo /etc/init.d/tomcat6 restart to make this command work.
--------------------------
I hope i have give you enough information...
could you please explain and tell me what those errors and and a solution for it thank you.
If any more information is needed please ask thank you. v.much
build.properties.txt
build.xml.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.