RE: Open and read file with ant and then copy

2007-09-10 Thread Rebhan, Gilbert
Hi, -Original Message- From: Mitja B. [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 2:53 PM To: Ant Users List Subject: RE: Open and read file with ant and then copy /* This idea is also very good but i have problem. java.lang.NoClassDefFoundError: org/apache/bsf

AW: AW: AW: Open and read file with ant and then copy

2007-09-10 Thread Jan.Materne
>my mistake, works like a charm, forgot to add = in .txt file >Thx again for good explanation of each line You're welcome. But please keep on the list - other people could also help and are interested in the problem/solution ;) Jan ---

AW: Open and read file with ant and then copy

2007-09-10 Thread Jan.Materne
Ant Users List >To: Ant Users List >Subject: RE: Open and read file with ant and then copy >Date: 10/09/07 14:44 > >> >> >> Hi, >> >> -Original Message- >> From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] >> Sent: Monday, September

AW: AW: Open and read file with ant and then copy

2007-09-10 Thread Jan.Materne
>BUILD FAILE: >c:\projekti\test\build.xml:19: The following error occurred while executing >this line: C:\projekti\test\build.xml:23: Warning: could not find file c:\Projekti\test\${from} to copy > > > = add ac-task > = ${allfiles} contains the whole file > = iterate over each line (implizit

RE: Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
then copy Date: 10/09/07 14:44 > > > Hi, > > -Original Message- > From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Sent: Monday, September 10, 2007 12:49 PM > To: Ant Users List > Subject: RE: Open and read file with ant and then copy > > Oops, use = &g

RE: Open and read file with ant and then copy

2007-09-10 Thread Rebhan, Gilbert
Hi, -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 12:49 PM To: Ant Users List Subject: RE: Open and read file with ant and then copy Oops, use = <![CDATA[ require 'fileutils' File.open('C:\WKS\

Re: AW: Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
; > <ac:propertyregex property="to" input="@{file}" regexp="(.*)=(.*)" select="2" override="true"/> > <copy file="${from}" tofile="${to}"/> > </> > </> &g

RE: Open and read file with ant and then copy

2007-09-10 Thread Rebhan, Gilbert
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 11:53 AM To: user@ant.apache.org Subject: AW: Open and read file with ant and then copy /* Just an idea and not tested. Use '=' for separating source from target

Re: AW: Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
Thx you for your help, i will work on your solution. It is verry good idea. Thx again regards -- L.P. Mitja B. - Original Message From: Ant Users List To: user@ant.apache.org Subject: AW: Open and read file with ant and then copy Date: 10/09/07 11:53 > Just an idea and

AW: Open and read file with ant and then copy

2007-09-10 Thread Jan.Materne
CTED] >Gesendet: Montag, 10. September 2007 10:32 >An: Materne, Jan (RZF) >Betreff: Re: AW: Open and read file with ant and then copy > >We have few different customers which all have uniq files to >copy. We want >that if is possible ant read project.txt file and in it are &

RE: Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
Thx for so quick answer, i will lok for filterchain and try to solve my problem. regards - Original Message From: Ant Users List To: Ant Users List , Mitja B. <[EMAIL PROTECTED]> Subject: RE: Open and read file with ant and then copy Date: 10/09/07 09:50 &g

RE: Open and read file with ant and then copy

2007-09-10 Thread Rebhan, Gilbert
Hi, -Original Message- From: Mitja B. [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 9:45 AM To: user@ant.apache.org Subject: Open and read file with ant and then copy /* I have big problem. I search but can not find and solution. We want to open some file, for example

AW: Open and read file with ant and then copy

2007-09-10 Thread Jan.Materne
What is the use case for using this project.txt? Usually you copy a bunch of files with Jan >-Ursprüngliche Nachricht- >Von: Mitja B. [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 10. September 2007 09:29 >An: user@ant.apache.org >Betreff: Open and read file with an

Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
I have big problem. I search but can not find and solution. We want to open some file, for example project.txt in it we will have content like this inst\mm\connection.xml proj\rtu\connection.xml we want now that ant read this file and copy connectiion.xml from inst\mm directory to proj\rtu dire

Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
I have big problem. I search but can not find and solution. We want to open some file, for example project.txt in it we will have content like this inst\mm\connection.xml proj\rtu\connection.xml we want now that ant read this file and copy connectiion.xml from inst\mm directory to proj\rtu dire