compile in ant

2009-09-21 Thread veena pandit
I have the following directory structure WORKSPACE | |__src | |__com.test.test1 | |__program1.java | |tests

Re: converting ant from a make file

2009-09-18 Thread veena pandit
pts > before proceeding... > > Met een vriendelijke groet, > > > Ernst de Haan > PensioenPage B.V. > www.pensioenpage.com > > tel. (026) 364 56 34 > > Op 18 sep 2009 om 18:53 heeft veena pandit het > volgende geschreven:\ > > > So how would I write it in the

Re: converting ant from a make file

2009-09-18 Thread veena pandit
; > > Ernst de Haan > PensioenPage B.V. > www.pensioenpage.com > > tel. (026) 364 56 34 > > Op 18 sep 2009 om 17:12 heeft veena pandit het > volgende geschreven:\ > > > Do you mind posting a small example of the exec command with the script: >> for c in A B

Re: converting ant from a make file

2009-09-18 Thread veena pandit
Do you mind posting a small example of the exec command with the script: for c in A B C D E; do? Thanks, Veena On Fri, Sep 18, 2009 at 10:38 AM, John Shott wrote: > Veena: > > for c in A B C D E; do >> perl ... >> perl ... >> perl... >> - mkdir Backup >> mv *bak Backup >>

Re: converting ant from a make file

2009-09-18 Thread veena pandit
Great Thanks! Next I have a some kind of a script: for c in A B C D E; do perl ... perl ... perl... - mkdir Backup mv *bak Backup How do I move this script over to ant build.xml. Thanks, Veena On Fri, Sep 18, 2009 at 9:24 AM, Ernst de Haan wrote: > Based on what y

Re: converting ant from a make file

2009-09-18 Thread veena pandit
Based on what you said, I am looking to eliminate the OS-differenes. But this is what I have. In the makefile.linux: LOCAL = /usr/local/project_name In the makefile.Windows_NT LOCAL = C:/Project_name. How do I avoid this? If I removed the differences what would the universal LOCAL look like?

converting ant from a make file

2009-09-18 Thread veena pandit
the first line of the makefile is makefile.${OSTYPE}${OS} How does the operating system know when to execute makefile.linux and makefile.Windows_NT. How do I do this in ant? Thanks, Veena

Re: path problems in build.xml

2009-09-09 Thread veena pandit
Anybody want to take a shot at my problem? When I do ant compile.service on the command line, I get an error saying that it cant find the import. Thanks, Sonia On Wed, Sep 9, 2009 at 5:19 PM, Greg Roodt wrote: > Hi > > I think you've answered your own question. Its looking for a JDK, but your

Re: path problems in build.xml

2009-09-09 Thread veena pandit
the javac > task, needs to be defined prior to using it. > > Cheers > Avlesh > > On Wed, Sep 9, 2009 at 9:34 PM, veena pandit wrote: > > > I have the following in my build.xml, but it complains about an import: > > * > > > > import* org.apache.ax

path problems in build.xml

2009-09-09 Thread veena pandit
I have the following in my build.xml, but it complains about an import: * import* org.apache.axis2.util.OptionsParser; I thought this class is part of the axis 2 package. Can anyone help me fix this? Thanks, Sonia

Re: Yet another basic question about Ant

2009-09-04 Thread veena pandit
Hi Chris, FYI, I mailed you the Make files today. Thanks, Veena On Tue, Sep 1, 2009 at 3:07 PM, Chris Green wrote: > Send me your make file plus any extras. I'll have a look 4 you. > > chris.green...@gmail.com > > -Original Message- > From: veena pandit >

Re: Yet another basic question about Ant

2009-09-01 Thread veena pandit
les. > > If the build is for C/C++, you should really keep using Make and forget > about using Ant. > > > On Tue, Sep 1, 2009 at 11:20 AM, veena pandit wrote: > > > Hi, > > > > I have been given the task of converting Make files to Ant. I don't know &g

Yet another basic question about Ant

2009-09-01 Thread veena pandit
Hi, I have been given the task of converting Make files to Ant. I don't know Make and I don't know Ant. But I am going to try. There are 3 make files in the project. The first one includes another make file like so: include makefile.${OSTYPE}${OS} the other Make files are makefile.linux and ma

Re: Basic question about ant

2009-09-01 Thread veena pandit
b...@huk-coburg.de> wrote: > > > -Original Message- > From: veena pandit [mailto:v.kri...@gmail.com] > Sent: Tuesday, September 01, 2009 12:47 AM > To: Ant Users List > Subject: Re: Basic question about ant > > /* > Since wsgen is in a jar file, I put the complete

Re: Basic question about ant

2009-08-31 Thread veena pandit
Since wsgen is in a jar file, I put the complete path of the jar file in the exec. So if anttasks.jar was in C:/eclipse/plugins/anttasks.jar then my exec looks like this: On Mon, Aug 31, 2009 at 1:01 PM, Gilbert Rebhan wrote: > veena pandit schrieb: > > Hi, > > > >

Re: Basic question about ant

2009-08-31 Thread veena pandit
Hi, I was able to fix the environment variable and run ant from the command line. I tried the things you listed below but from eclipse it still gives me an error saying it does not recognize the program wsgen. Thanks, Veena On Fri, Aug 28, 2009 at 5:12 PM, Gilbert Rebhan wrote: > ve

Re: Basic question about ant

2009-08-28 Thread veena pandit
Well, I wonder why I cant run ant from the command line. Even though the path is set. Do I have to set classpath as well? On Fri, Aug 28, 2009 at 3:32 PM, Dominique Devienne wrote: > On Fri, Aug 28, 2009 at 2:00 PM, veena pandit wrote: > > I added it to the environment variable of

Re: Basic question about ant

2009-08-28 Thread veena pandit
:53 PM, veena pandit wrote: > > > >the > > path specified. > > This means wsgen in not in your path. If you can't run it at the command > line, > you can't run it inside Ant. > > Note that it's also best to use and rather > than &

Basic question about ant

2009-08-28 Thread veena pandit
Hi, I am a newbie to Ant. I got the following from a tutorial and tried to add it to my existing project: