RE: stupid question

2001-10-19 Thread sandeep singh
Title: stupid question this line is not working in my machine...! It is saying "The name specified is not recognise as an external or internal command"   sandeep     -Original Message-From: Dineshram [mailto:[EMAIL PROTECTED]]Sent: Saturday, October 20, 2001 1:04 AMTo: [EMAIL

Re: ant from command line == java from command line

2001-10-19 Thread Tony John
You need to look into your ant folder and see if their a ant batch file or something and see what's happening in there and try and type and commands as you see in it to see why its behaving like that. >From: [EMAIL PROTECTED] >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: ant fr

Re: ant from command line == java from command line

2001-10-19 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: > When I type ant at the command line, I get the same response as if I had > typed java at the command line.. I get an error message detailing how to > use the java command. This is on the latest release on 2000. Any ideas? Edit %ANT_HOME%\bin\ant.bat to turn echoing

RE: Has anybody...

2001-10-19 Thread Bible, Paul
We use the standard ant task like below, which allows to turn obfuscation on/off: -Original Message- From: Gavin Terrill [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 12:11 PM T

ant from command line == java from command line

2001-10-19 Thread PrattCM
When I type ant at the command line, I get the same response as if I had typed java at the command line.. I get an error message detailing how to use the java command. This is on the latest release on 2000. Any ideas?

Re: Please Help me!!!

2001-10-19 Thread Diane Holt
Your 's in your task look like they're probably wrong. You have: > > > which would have it looking for: ${PATH_ArqEJBReg}/util/util/MappingValue.class which probably isn't what you want. That's true for all your 's. You should either not include that final subdir in the

Re: Suggestions for documentation & exec

2001-10-19 Thread Steve Loughran
- Original Message - From: "Yyy Xxx" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 10:48 Subject: Re: Suggestions for documentation & exec > Thank you, Phil, for your outputproperty example. But > I'm actually looking for an "rcproperty" attribute. > I'd li

Re: file expansion for ???

2001-10-19 Thread Erik Hatcher
Don, Have you tried the task? Its made to launch a command-line program for each item in a fileset, but it might not be quite what you need given that your example is for a passing a list of files to a Java program. It seems that the best solution is for you to write a wrapper Task that accept

file expansion for ???

2001-10-19 Thread Don Ledford
I finally bit the bullet and I'm switching from make to ant for my Java projects. And I've pretty much got everything figured out, BUT this one item: How to I get file name expansion for tasks which use the element to define command line arguments? Specifically I'd like to run a Java applicati

Re: Suggestions for documentation & exec

2001-10-19 Thread Yyy Xxx
Thank you, Phil, for your outputproperty example. But I'm actually looking for an "rcproperty" attribute. I'd like to have the return code of the exec made visible to ant. For instance, suppose I exec a program and want to take action if the program fails. I could use the failonerror attribute

RE: Has anybody...

2001-10-19 Thread Gavin Terrill
Title: Message We use the standard java task to do this:      "dasho.present" is set in our initialize target       -Original Message-From: Michael Laccetti [mailto:[EMAIL PROTECTED]]Sent: Friday, October 19, 2001 12:58 PMTo: Ant ListSubject: Has anyb

Re: Please Help me!!!

2001-10-19 Thread Vincent Croft
Hi Diane, Thank you to have the time to help me... Well the first thing you are mentioning about, why I didn't use de ejbc bside the java, it was because when I first take a look to Ant, I didn't undestand many things about it, I've never worked with a deploy before, so I asked to all the l

Re: Building and using tasks in the same build file

2001-10-19 Thread Diane Holt
--- Mackay Paul <[EMAIL PROTECTED]> wrote: > Is it possible to build a task and then use it in the > same build.xml file? Yes. Put the inside a . Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!? Make a great connection at Yahoo! Personals. ht

Re: Please Help me!!!

2001-10-19 Thread Diane Holt
Hi Vincent, There's a couple of things I'm not sure I understand. One is why you're using the task to run ejbc -- have you looked at the task that's available as an optional task? The other is what you'd expect including a classpath for the task to do. All the task does is jar up whatever fi

RE: stupid question

2001-10-19 Thread Dineshram
Title: stupid question I could see the following line to pause for 10 seconds in one of our batch file   Choice /c:~ /t:~,10 /n >nul   Will you give a try.   Dinesh -Original Message-From: Barry Jia [mailto:[EMAIL PROTECTED]]Sent: Friday, October 19, 2001 10:40 AMTo: '[EMAIL

Please Help me!!!

2001-10-19 Thread Vincent Croft
Hi list members... I've been looking through the mail list, searching for something related to the jar task and Classpath but nothing was found there. Also the documentation related to the jar task wasn't good enough... I've been having troubles using the java task when using the weblogi

RE: Has anybody...

2001-10-19 Thread Michael Laccetti
Yep, I guess that's one easy way of doing it... JMS sucks my brain dry, the obvious becomes hazy... Thanks! -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 13:14 To: [EMAIL PROTECTED] Subject: Re: Has anybody... --- Michael Laccetti <[EMA

Re: Has anybody...

2001-10-19 Thread Diane Holt
--- Michael Laccetti <[EMAIL PROTECTED]> wrote: > Ever invoked DashO from Ant? I'd like to compile, then obfuscate the > code... > > Sound at all possible? Can't you just run it with the task? Diane = ([EMAIL PROTECTED]) __ Do You Yahoo

Has anybody...

2001-10-19 Thread Michael Laccetti
Title: Message Ever invoked DashO from Ant?  I'd like to compile, then obfuscate the code...   Sound at all possible?   -Michael LaccettiDeveloper, Eldan Software[EMAIL PROTECTED]  

RE: retrieve env vars thru ant

2001-10-19 Thread Li, Jerry
I am working on Windows 2000. Below is my implementation to get an system env from ant. jerry -Original Message---

Using a classpath property in a Jar Task

2001-10-19 Thread Vincent Croft
Note: forwarded message attached. = _ "Puedes sentirte desilusionado si fallas, pero estás condenado si no lo intentas." "You can get disappointed if you fail down, but you are doomed if you do not try it." ICQ # 22338121

RE: stupid question

2001-10-19 Thread sandeep singh
Title: stupid question F:\pctools\cygnus\cygwin-b20\H-i586-cygwin32\bin   this is included in my path and I am able to use every unix commands in Dos   You need the download the cygnus and then put this in your path...you will be able to use sleep command...and all other unix commands also

RE: stupid question

2001-10-19 Thread SimonRichardson2
Have you tried cygwin? there's a sleep command with that you can use on NT. http://www.cygwin.com/ -Original Message- From: Barry Jia [mailto:[EMAIL PROTECTED]] Sent: 19 October 2001 16:55 To: '[EMAIL PROTECTED]' Subject: RE: stupid question Not necessary

RE: stupid question

2001-10-19 Thread Li, Jerry
Title: stupid question In windows world, there is no working sleep batch function, However, you could use a loop.   Jerry -Original Message-From: Barry Jia [mailto:[EMAIL PROTECTED]]Sent: Friday, October 19, 2001 8:40 AMTo: '[EMAIL PROTECTED]'Subject: stupid question I ha

help needed (FTP)

2001-10-19 Thread sandeep singh
hi I am trying to use optional task FTP in ANT. I am trying to ftp to a server and trying to delete a file. The build file is saying "build successful" when I am running it through ANT but actually file is not deleted. Can you tell me what is wrong with this code? The code is:

RE: stupid question

2001-10-19 Thread Barry Jia
Title: stupid question Not necessary so complicated,  I just want to loop run a command every 10 seconds in NT with a batch file.I do not know how to let it sleep 10s. Thanks B. -Original Message-From: Stephane Bailliez [mailto:[EMAIL PROTECTED]]Sent: Friday, October 19, 2001

RE: stupid question

2001-10-19 Thread Stephane Bailliez
Title: stupid question Why don't you use the sleep task in Ant ? See the manual for details.     Otherwise: http://www.fpschultze.de/b19.htm   --  Stéphane Bailliez  Software Engineer, Paris - France  iMediation - http://www.imediation.com  Disclaimer: All the opinions expressed above are min

stupid question

2001-10-19 Thread Barry Jia
Title: stupid question I have a stupid question, how to pause inside of Windows  batch file, like "sleep 10" in UNIX. I can not find the dos command for sleep. Thanks in advance. B.

Building and using tasks in the same build file

2001-10-19 Thread Mackay Paul
Hi there, Is it possible to build a task and then use it in the same build.xml file? I have not been able to do this, because listing the taskdef means that it needs to find the task on startup. But I have both tasks and other code that relies on those tasks, and both are evolving. It would be gr

Re: Extract text from Path element?

2001-10-19 Thread Diane Holt
--- "Jack J. Woehr" <[EMAIL PROTECTED]> wrote: > Please, how can I get the path of a Path element back as a string? > > I'd like to define a Path and then print it out in Echo. Assign it to a property (using the "refid" attribute), then reference the property in your task. Diane = ([EMAIL

Re: Replace a file in a jar

2001-10-19 Thread Jan Sorensen
> > I have been trying to use the jar task to replace a file in a > > jar, but with > > not success. It seems that if the jar file exists the jar > > task don't do anything. > > > > My solution so far is to unjar and then jar again with the > > new file. Is there a better solution? > > Use the "up

Re: Extract text from Path element?

2001-10-19 Thread Erik Hatcher
Will the answer presented here do the trick? http://www.jguru.com/faq/view.jsp?EID=471917 - Original Message - From: "Jack J. Woehr" <[EMAIL PROTECTED]> To: "ANT User Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, October 18, 2001 7:13 PM Subject: Extract text from Path element?

RE: Replace a file in a jar

2001-10-19 Thread Jon Skeet
> I have been trying to use the jar task to replace a file in a > jar, but with > not success. It seems that if the jar file exists the jar > task don't do anything. > > My solution so far is to unjar and then jar again with the > new file. Is there a better solution? Use the "update" paramete

Re: Extract text from Path element?

2001-10-19 Thread Stefan Bodewig
On Thu, 18 Oct 2001, Jack J. Woehr <[EMAIL PROTECTED]> wrote: > how can I get the path of a Path element back as a string? ... Stefan

Re: Replace a file in a jar

2001-10-19 Thread Stefan Bodewig
On Thu, 18 Oct 2001, Jan Sorensen <[EMAIL PROTECTED]> wrote: > I have been trying to use the jar task to replace a file in a jar, > but with not success. It seems that if the jar file exists the jar > task don't do anything. I the jar file newer than the file you want to put into it? If yes, t

Extract text from Path element?

2001-10-19 Thread Jack J. Woehr
Please, how can I get the path of a Path element back as a string? I'd like to define a Path and then print it out in Echo. --  Jack J. Woehr  # For it's Tommy this an' Tommy that, Senior Consultant  #   an' "Chuck him out, the brute!"  Purematrix, Inc.   # But it's "Saviour of 'is country" w

Replace a file in a jar

2001-10-19 Thread Jan Sorensen
I have been trying to use the jar task to replace a file in a jar, but with not success. It seems that if the jar file exists the jar task don't do anything. My solution so far is to unjar and then jar again with the new file. Is there a better solution? -- Jan Sorensen

Re: JUnit task and System.out

2001-10-19 Thread Stefano Mancarella
From: "Stefan Bodewig" <[EMAIL PROTECTED]> > > Where does it go? > swallowed by the formatters. > > Here's the relevant part of my build.xml: > > > make that > Doh! I should have checked the docs more carefully. Thanks Stefan.

Re: how to export data

2001-10-19 Thread Dhirendra Kulkarni
Ok Thanks, I am tring task - Original Message - From: Erik Hatcher <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 4:08 PM Subject: Re: how to export data > is for executing SQL statements. 'exp' is a command-line utility not > a SQL statement. Use the ta

Re: how to export data

2001-10-19 Thread Erik Hatcher
is for executing SQL statements. 'exp' is a command-line utility not a SQL statement. Use the task to execute command-line utilities. Erik - Original Message - From: "Dhirendra Kulkarni" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 1:48 AM Subject:

Re: how to export data

2001-10-19 Thread Kapil_Pawar
Hi Dhirendra, As far as I understand "export" is an executable not an SQL statement, so one shouldn't expect it to work anyways. I suggest that you use use the "exec" task in place of the "sql" task for the same. Regards _ Kapil Singh Pawar Consultant - Integr

RE: MyVeryOwnTask

2001-10-19 Thread SimonRichardson2
T. > Christine, > > I'll email you directly a task i wrote on accepting a FileSet object. > I'll just remove all the other code first. Can I have a copy of this task? Please? -- Halifax plc, Registered in England No.

Re: how to export data

2001-10-19 Thread Dhirendra Kulkarni
I just posted in normal way of posting mail. I did not understand what u mean by html mail. - Original Message - From: Will Dyke <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 3:53 PM Subject: RE: how to export data > Dhirendra, > Please don't post html mail

RE: how to export data

2001-10-19 Thread Will Dyke
Dhirendra, Please don't post html mail to the list. The fact that sqlplus says that the statement is invalid means that this is an oracle question, rather than an ant question. I suggest that you ask the question in a more appropriate forum. Will -Original Message- From: Dhirendra

how to export data

2001-10-19 Thread Dhirendra Kulkarni
Hi all,   Iam trying to export data from oracle database for particular user through Ant. my build.xml is         driver="oracle.jdbc.driver.OracleDriver"  url="jdbc:oracle:thin:@armada:1521:wind"  userid="wtadmin"  password="wtadmin"  src=""  print="yes"    /> 

depends for JSPs

2001-10-19 Thread Jamie . Echlin
Hi, I would like to compile only out of date JSP files, the problem is, unlike java sources, there doesn't seem to a method for determining what files depend on others, through include directives. However, I notice that the jsp compiler (we use JRun, not sure if it's specific to JRun) puts a

Re: JUnit task and System.out

2001-10-19 Thread Stefan Bodewig
On Fri, 19 Oct 2001, Stefano Mancarella <[EMAIL PROTECTED]> wrote: > Where does it go? swallowed by the formatters. > Here's the relevant part of my build.xml: > > make that Stefan

JUnit task and System.out

2001-10-19 Thread Stefano Mancarella
I have some JUnit tests which print informations to System.out. If I run them through the task they run fine but I don't see the output anywhere. Where does it go? Here's the relevant part of my build.xml:

RE: Editing file

2001-10-19 Thread Les Hughes
Look at filtersets and filters in the manual - everything you need is there. http://jakarta.apache.org/ant/manual/index.html Also, could you keep you mails to the ant-user list. I don't mind answering questions directly but then only you benefit, not the rest of the user community. Thanks. L