ant in eclipse+got error[/root/workspace/myapp/build.xml:372: java.net.UnknownHostException: root

2009-10-14 Thread srinivas2828
Hi friends i am deploying webapplication into tomcat using ant with eclipse environment..got the script some where and changed necessary modifications to ant script,then targets like clean,all,compile,dist,javadoc are worked fine and when i try to deploy application using deploy taget got the err

Re: how to write simple build file to deploy servlet into tomcat using eclipse

2009-10-14 Thread srinivas2828
aregoing to happen with in eclipse onlyI hope you got something ray.harper wrote: > > Hi, > > Not sure what you are trying to do exactly, but here is something you may > want to look at: > > http://www.eclipsezone.com/eclipse/forums/t65486.html > > > >

how to write simple build file to deploy servlet into tomcat using eclipse

2009-10-14 Thread srinivas2828
Hi friends I have integrated eclipse with tomcat and what i am doing is i want to write a ant script using eclipse Galelio and which will create war file and deply the web-application into tomcat using tomcat-manager,so the problem is that when i create new project in eclipse it will comeup w

Unable to run simple ant build file in Eclipse-Galelio

2009-10-13 Thread srinivas2828
Hi I am unable to run simple ant file in eclipse and when i ran the file it came up with message which says "An internal error occurred during: "Launching SRINIVAS HelloWorld.xml". java.lang.NullPointerException" so idea -- View this message in context: http://www.nabble.com/Unable-to-run-simp

Filenot found Exception +deploying webapplication with manager ant ant

2009-10-11 Thread srinivas2828
I am trying to deploy webapplication using ant with tomcat manager when i ran ant install got the message which says Message r...@vaio:/home/miriyala/Desktop/myapp# ant install Buildfile: build.xml prepare: compile: install: BUILD FAILED java.io.FileNotFoundException: http://localhost:8080/man

Re: Unable to run simple java file using Ant

2009-10-10 Thread srinivas2828
t; > > > On Sat, Oct 10, 2009 at 4:53 PM, srinivas2828 > wrote: > >> >> thats Great and thanks a lot and can we able to place source file inot >> src >> directory using ant build script? and can you tell me how can i deploy >> servlets into tomcat b

Re: Unable to run simple java file using Ant

2009-10-10 Thread srinivas2828
> need to place your Java source code in that directory. > > > On Sat, Oct 10, 2009 at 4:44 PM, srinivas2828 > wrote: > >> >> No Roeseindia not in ubder src folder and should i need to place or >> using >> ant means build.xml file we can? and source file is

Re: Unable to run simple java file using Ant

2009-10-10 Thread srinivas2828
being compiled. > > Is your Java source code under ./src? Is your Java file called > Roseindia.java? Does Roseindia have no package and does it have a > correctly > defined main method? > > > On Sat, Oct 10, 2009 at 4:33 PM, srinivas2828 > wrote: > >>

Re: Unable to run simple java file using Ant

2009-10-10 Thread srinivas2828
ar? Does the > code compile successfully into ./build/classes? > > > On Sat, Oct 10, 2009 at 4:23 PM, srinivas2828 > wrote: > >> >> Hi I am trying to use ant to compile and run a simple java file got the >> following error >> Buildfile: build.xml >>

Unable to run simple java file using Ant

2009-10-10 Thread srinivas2828
Hi I am trying to use ant to compile and run a simple java file got the following error Buildfile: build.xml clean: [delete] Deleting directory /home/miriyala/Desktop/Roseindia/build/classes [delete] Deleting directory /home/miriyala/Desktop/Roseindia/build/jar [delete] Deleting director

Re: build failed+ant

2009-10-09 Thread srinivas2828
typing url wrong? can you make sure with this build.xml file and i am sending web.xml file also and here it is http://www.nabble.com/file/p25821146/web.xml web.xml waiting for your replies... srinivas2828 wrote: > > thats great and got one more problem got this message > BUILD FAILE

Re: build failed+ant

2009-10-09 Thread srinivas2828
thats great and got one more problem got this message BUILD FAILED /home/miriyala/Desktop/myapp/build.xml:380: The content of elements must consist of well-formed character data or markup. Francis Galiegue-4 wrote: > > On Fri, Oct 9, 2009 at 14:40, srinivas2828 wrote: >> >&

Re: build failed+ant

2009-10-09 Thread srinivas2828
tomcat path is /opt/apache-tomcat-5.5.27 only Whatty wrote: > > What is the path of your tomcat, is it really > > /op/apache-tomcat-5.5.27/common/endorsed > > or is it > > /opt/apache-tomcat-5.5.27/common/endorsed > > > > > srinivas2828 wrote: &g

Re: build failed+ant

2009-10-09 Thread srinivas2828
;t" on the folder name "op" > > /op/apache-tomcat-5.5.27/common/endorsed > > > srinivas2828 wrote: >> >> I am trying to buld webapplication when i typed "ant" command in terminal >> got message which says >> miriy...@vaio:~/De

build failed+ant

2009-10-09 Thread srinivas2828
I am trying to buld webapplication when i typed "ant" command in terminal got message which says miriy...@vaio:~/Desktop/myapp$ ant Buildfile: build.xml prepare: compile: [javac] Compiling 1 source file to /home/miriyala/Desktop/myapp/build/WEB-INF/classes BUILD FAILED /home/miriyala/Deskt