[SOLVED]RE: return Substring from java file

2006-04-17 Thread Uma Maheswar
Hi Ben, I have solved the problem. I have changed this line and it works. Thanks for your help. Regards, Uma -Original Message- From: Burgess, Benjamin [mailto:[EMAIL PROTECTED] Sent: Monday, April 17, 2006 6:59 PM To: Ant Users List Subject: RE: return Substring from java file Firs

RE: return Substring from java file

2006-04-17 Thread Uma Maheswar
Hi Ben, This is what I was exactly looking for, but can you tell me how do I use the "warName" to generate the war file name in this code Thank you, Regards, Uma -Original Message- From: Burgess, Benjamin [mailto:[

Re: junit report problem

2006-04-17 Thread Oliver
That fixed it. what a silly mistake on my part. Thanks a lot, Ivan. Oliver On 4/17/06, Ivan Rambius Ivanov <[EMAIL PROTECTED]> wrote: > Hello > > --- Oliver <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > Please, try with the the following snip

Re: perculiar war task issue

2006-04-17 Thread Antoine Levy-Lambert
Stan Ou wrote: thanks for your reply. But the list of directories is about 20 to 25 folders long and can grow. maintaining that list in the war task is probably the last thing I would do if all others fail. I want something a bit more maintaince-friendly. --- Antoine Levy-Lambert <[EMAIL P

Re: perculiar war task issue

2006-04-17 Thread Stan Ou
thanks for your reply. But the list of directories is about 20 to 25 folders long and can grow. maintaining that list in the war task is probably the last thing I would do if all others fail. I want something a bit more maintaince-friendly. --- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:

Re: Multiple JVM

2006-04-17 Thread Antoine Levy-Lambert
Bandaru, Jaysheel wrote: Antoine - I do not use the ant command to execute my task but I do the following %JAVA_HOME%\bin\java -ms4m -mx100m -Dant.home=%ANT_HOME%org.apache.tools.ant.Main -buildfile .\myBuild.xml %PARAMS% Actually I used verbose option with the java command. Is there a way

Re: perculiar war task issue

2006-04-17 Thread Antoine Levy-Lambert
Hello Stan, Stan Ou wrote: Hi all, because of stupid legacy reasons, my current application has the following structure in the web portion: c:\dev\apps\qaz\myhtml\xyz_html\aaa.jsp c:\dev\apps\wsx\myhtml\abc_html\aaa.jsp c:\dev\apps\rfv\myhtml\ddd_html\aaa.jsp I'm creating the first ant script

Re: with HTTPS

2006-04-17 Thread Steve Loughran
Dominique Devienne wrote: I have tried downloading this keystore file, and setting the javax.net.ssl.trustStore system property to refer to this file using -D at the command line when starting ant. For example > ant -Djavax.net.ssl.trustStore=/path/to/source.tmorris.net.jks What may happen is

perculiar war task issue

2006-04-17 Thread Stan Ou
Hi all, because of stupid legacy reasons, my current application has the following structure in the web portion: c:\dev\apps\qaz\myhtml\xyz_html\aaa.jsp c:\dev\apps\wsx\myhtml\abc_html\aaa.jsp c:\dev\apps\rfv\myhtml\ddd_html\aaa.jsp I'm creating the first ant script for this team. in my build wa

Re: Create a file that contains files in directory

2006-04-17 Thread Ivan \"Rambius\" Ivanov
Hello, Here is a sample script that does this: ${all.files} Note that allfiles.txt will contain the absolute locations of the files. If you need relative ones you may want to use mappers: Regards Ivan --- "Guttula, Mohan" <[EMAIL PROTECTED]> wr

Re: Print file to a console task

2006-04-17 Thread Dominique Devienne
with no 'destfile' should work, according to the manual. --DD On 4/17/06, Dale Anson <[EMAIL PROTECTED]> wrote: > followed by should do it. > > > On Mon, 17 Apr 2006, Roman Gavrilov wrote: > > > > > Is there a task for printing an ASCII file to a console? > > > > Regards, > > Roman > > > >

Re: Print file to a console task

2006-04-17 Thread Dale Anson
followed by should do it. On Mon, 17 Apr 2006, Roman Gavrilov wrote: Is there a task for printing an ASCII file to a console? Regards, Roman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Print file to a console task

2006-04-17 Thread Roman Gavrilov
Is there a task for printing an ASCII file to a console? Regards, Roman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Multiple JVM

2006-04-17 Thread Bandaru, Jaysheel
Antoine - I do not use the ant command to execute my task but I do the following %JAVA_HOME%\bin\java -ms4m -mx100m -Dant.home=%ANT_HOME%org.apache.tools.ant.Main -buildfile .\myBuild.xml %PARAMS% Actually I used verbose option with the java command. Is there a way I can take the verbose of an

Re: Project Build Strategy Question:

2006-04-17 Thread Res Pons
Thank you so much for the thorough response. I'm currently using Anthill-OS for automation simply because it's so simple to use and learn. I read about CruiseControl and Maven a while back and decided to go with Anthill. I figured out CC but found Maven to have a much higher learning curve an

Re: Create a file that contains files in directory

2006-04-17 Thread Matt Benson
and ? -Matt --- "Guttula, Mohan" <[EMAIL PROTECTED]> wrote: > Hello All, > > > > I need to generate a file that contains list of > files from a directory > (that will contain subdirectories). > > Something similar to copying the output of "ls" or > "dir" to a file. > > > > For example

Create a file that contains files in directory

2006-04-17 Thread Guttula, Mohan
Hello All, I need to generate a file that contains list of files from a directory (that will contain subdirectories). Something similar to copying the output of "ls" or "dir" to a file. For example: Folder "temp" contains folders "temp1", "temp2", and a file "temp.tab" Folder "temp1" c

Re: with HTTPS

2006-04-17 Thread Dominique Devienne
> I have tried downloading this keystore file, and setting the > javax.net.ssl.trustStore system property to refer to this file using -D > at the command line when starting ant. For example > > ant -Djavax.net.ssl.trustStore=/path/to/source.tmorris.net.jks What may happen is that this -Dkey=value

RE: return Substring from java file

2006-04-17 Thread Burgess, Benjamin
Firstly, this seems best suited in a macrodef that can set a property rather than in a custom task. Secondly, doesn't this already do what you want? : Ben -Original Message- From: Uma Maheswar [mailto:[EMAIL PROTECTED] Sent: Monday, April 17, 2006 9:14 AM To: user@ant.apache.org Subje

return Substring from java file

2006-04-17 Thread Uma Maheswar
Hi, I wanted to do "substring" and get the resultant string in the build.xml file. This is my java code import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Task; import java.io.File; public class AntHelper extends Task { private String message; public void execute(

with HTTPS

2006-04-17 Thread Tony Morris
Hello everyone, I am having an issue with the task to a HTTPS address that I can't seem to reproduce using my own Java code. I have attached below my build.xml which contains the minimum that is required to observe the behaviour that I am observing - specifically, the get task fails because it

Re: Ant 1.7 - resources, unzip and copy

2006-04-17 Thread Stefan Bodewig
On Fri, 14 Apr 2006, Patrick Martin <[EMAIL PROTECTED]> wrote: > Thank you for this super-fast answer. > So still has its importance. Even if it didn't, we'd still keep it around for backwards compatibility and may still be easier to read and more convenient to write than I'd stick with u