Re: Unable to run simple java file using Ant

2009-10-10 Thread srinivas2828
thanks for your help and in this site shows deployment for application servers like "weblogic,Jonas" but what about Tomcat? cuberoot wrote: > > Yes, you can place the source somewhere else, but Im not going to tell you > how. I think it would be best for you to learn how to do this yourself. > S

Re: Unable to run simple java file using Ant

2009-10-10 Thread Greg Roodt
Yes, you can place the source somewhere else, but Im not going to tell you how. I think it would be best for you to learn how to do this yourself. Study what your existing build.xml is doing by looking at the task references here: http://ant.apache.org/manual/tasksoverview.html It would be a very s

Re: Unable to run simple java file using Ant

2009-10-10 Thread srinivas2828
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 by using ant? cuberoot wrote: > > Your build.xml is trying to compile Java source code in ./src. You > therefore > need to plac

Re: Unable to run simple java file using Ant

2009-10-10 Thread Greg Roodt
Your build.xml is trying to compile Java source code in ./src. You therefore 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 ca

Re: Unable to run simple java file using Ant

2009-10-10 Thread srinivas2828
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 called Roseindia.java and here is the source file http://www.nabble.com/file/p25835392/Roseindia.java Roseindia.java cuberoot wrote: > > Looks like nothing is being

Re: Unable to run simple java file using Ant

2009-10-10 Thread Greg Roodt
Looks like nothing is 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: > > thanks for your reply > Exactly, only Ma

Re: Unable to run simple java file using Ant

2009-10-10 Thread srinivas2828
thanks for your reply Exactly, only Manifest file and there is no class file in classes directory also why is it so? cuberoot wrote: > > Looks like your jar is only created with the manifest and no compiled > Class > files. Can you confirm if there are any Class files in the jar? Does the > co

Re: Unable to run simple java file using Ant

2009-10-10 Thread Greg Roodt
Looks like your jar is only created with the manifest and no compiled Class files. Can you confirm if there are any Class files in the jar? 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 r

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

archive tasks make output in different size

2009-10-10 Thread özgür yıldız
hi all,I use Apache Ant version 1.7.0. And I use ant archive tasks to get ABC.ear. I need to compare size of output archives(ABC.ear) with older one in order to realize any of changes. When I run the build.xml one after another(the same build.xml), Although there is no file is edited or added or