Problem : javac ANT Task

2007-02-22 Thread Lokesh Jayaraman
Hi every body, I compiled java source files using javac ant task , my java code files have an errror. so , ant script failled to build class files for java source files. But i need to compile other java source files in srcdir . Even class files are not created for compiled java source files.I ne

Input task problems

2007-02-22 Thread Dave Brosius
I have cases where i have an input task such as and when run I get (with shown input) [input] Enter Info: Something [input]More Info: That is, i enter some value for the first input, hit enter, and ant doesn't proceed. I have to hit enter two more times, and then it proceeds, wit

Re: variable "target name"

2007-02-22 Thread Antoine Levy-Lambert
Hello, no, there is no such variable. I think other users asked for this. Regards, Antoine On Feb 22, 2007, at 9:08 AM, koellnch wrote: hi, i´m still quite new to ant. the answer is perhaps simple, but i already searched for some hours :( Is it possible to read and use the name of a target

Re: Using ant to parse text file

2007-02-22 Thread Kevin Jackson
Hi, If you don't want to write a custom task in java, you could also try and use a scripting language of your choice http://ant.apache.org/manual/OptionalTasks/scriptdef.html Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

RE: SQL file in Ant 1.7

2007-02-22 Thread Chun Ji
-Original Message- From: Karl Heinz Marbaise [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 12:02 PM To: Ant Users List Subject: Re: SQL file in Ant 1.7 Importance: Low Hello, > As far as I can see, when this target is being executed, it gives me messages > such as: > "

Re: SQL file in Ant 1.7

2007-02-22 Thread Karl Heinz Marbaise
Hello, > As far as I can see, when this target is being executed, it gives me messages > such as: > " > 100 SQL statements executed successfully > But does it mean all the SQLs also have been compiled successfully ? First the SQL file will not be compiled. Second this means the all statem

RE: Troubles with task

2007-02-22 Thread Anderson, Rob (Global Trade)
I have tried this on Win2k and WinXP, but I cannot reproduce your issue. -Rob A > -Original Message- > From: Dave Brosius [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 22, 2007 5:40 AM > To: Ant Users List > Subject: Troubles with task > > I have cases where i have an input tas

SQL file in Ant 1.7

2007-02-22 Thread Chun Ji
Here is a target I created to execute some sql files in Ant 1.7 " ". As far as I can see, when this target is being executed, it gives me messages such as: " 100 SQL statements executed successfully ... ", But d

Re: Using ant to parse text file

2007-02-22 Thread Ninju Bohra
Then I would look at writing a quick custom task (they really aren't that hard) so that you can eliminate all the details of the file structure to within the task. I would see something like: You would pass in (as attributes) the filename, the lookfor value (i.e. 'Test2'), and the name of t

RE: Using ant to parse text file

2007-02-22 Thread DHARNA, AJAY [AG/1000]
I have looked at the property task as well - but I will not be able to change the file format. I used the following target to get "Test2" ${text} Is there anyway to get back the line number where this is found - If I can get back the l

RE: fileset and filename under copy task

2007-02-22 Thread Jackson, Paul R
To all, Thanks for your help everyone. I did finally get the jar target to work the way I wanted it to, preserving the module name(top directory) in the jar files. Using... Thanks again, Paul -Original Message-

Troubles with task

2007-02-22 Thread Dave Brosius
I have cases where i have an input task such as and when run I get (with shown input) [input] Enter Info: Something [input]More Info: That is, i enter some value for the first input, hit enter, and ant doesn't proceed. I have to hit enter two more times, and then it proceeds, with

variable "target name"

2007-02-22 Thread koellnch
hi, i´m still quite new to ant. the answer is perhaps simple, but i already searched for some hours :( Is it possible to read and use the name of a target within the same target ? something like ${ant.target.name} ? (i tried this one and also some other possible names) similar to ${ant.project.n

Running “if” wit h a “parallel” ta sk instead of a “sequential” task.

2007-02-22 Thread Camer38
Hi, At this moment I run the target without the problems.

Re: How to compile jsp files with ANT

2007-02-22 Thread Steve Loughran
Jing Xue wrote: I don't see how the portability issue become a serious one. Really, what are the chances that we would upgrade to a new container version - let alone migrate to a different product - in _production_ without first thoroughly testing the application, which implies rebuilding everyth

Re: Open database connection from Ant

2007-02-22 Thread Steve Loughran
lightbulb432 wrote: Sounds interesting, but how can I do this with Ant? Beginner, remember...? :) Whcih platform are you running? Windows or Unix? Steve Loughran wrote: lightbulb432 wrote: I should have changed my question from "open a connection to a database" to "start the database ser

Re: How to compile jsp files with ANT

2007-02-22 Thread Steve Loughran
Rashmi Rubdi wrote: g to know - thanks for sharing this, I will keep it in mind for future projects. ok, you need to fast forward to chapter 12, and ignore the bit where it tells you how to use . that bit has been cut from the sequel for that very reason. Ok, I see HTTPUnit and Apache Cact

Re: How to compile jsp files with ANT

2007-02-22 Thread James Abley
The OP talked about an intended target environment of Websphere, but the discussion was indicating using (the Tomcat JSP compiler) Jasper. That is how it wouldn't be portable. Jing Xue wrote: I don't see how the portability issue become a serious one. Really, what are the chances that we would