Re: AW: AW: Copy a single file to directories

2007-02-13 Thread Camer38
Hi, Gents - hats off Your solution is great - I like it a lot, thank you very much. A tiny correction: <-- I use ** because I need to copy everywhere--> -- View this message in context: http://www.nabble.com/Copy-a-single-fi

AW: DTD or XSD for build files

2007-02-13 Thread Jan.Materne
I dont think that it's "really" possible ... ... How you would define a DTD or XSD _before_ writing the buildfile? Jan >-Ursprüngliche Nachricht- >Von: lightbulb432 [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 13. Februar 2007

Ant frequently changed classes- CVS

2007-02-13 Thread kumartnj
Hi, How i write the code in ant to know the Frequently changing classes in SVN (like version control system) which are updated classes. My doubt, 1) Is it any separate api for that task in ant..? 2) else, Is there any samples if any...? Regards , kumar -- View this message in context:

DTD or XSD for build files

2007-02-13 Thread lightbulb432
Is DTD or XSD validation of the Ant build files possible from within an IDE? It seems to be possible, but I'm wondering how that happens. The taskdef element's name attribute defines the element used later in the Ant build files. It seems different from the standard way of defining element names i

RE: Load tokens from a file into list

2007-02-13 Thread Marcel Stör
[EMAIL PROTECTED] wrote: > Mmmh just a quick shot > > Have you tried a combination of copy, filterchain and linetokenizers? > Maybe you have luck there ... No, I haven't. Didn't even think of it. I have a feeling that this will be awefully complex... -- Marcel Stör, http://www.frighta

RE: AW: AW: Copy a single file to directories

2007-02-13 Thread Sam Hendley
I think there is a way to do what he is looking for with the built in copy operation and the mappers. I haven't figured it out exactly but he should be able to do something like:

Re: AW: AW: Copy a single file to directories

2007-02-13 Thread Peter Reilly
An example: rm -rf dirs mkdir -p dirs/a/org/simple mkdir -p dirs/b/org/simple mkdir -p dirs/d/org/simple mkdir -p dirs/c/org/simple Peter On 2/13/07, Camer38 <[EMAIL PROTECTED]> wrote

Re: AW: AW: Copy a single file to directories

2007-02-13 Thread Camer38
Ok, let me take a deep look... Jan.Materne wrote: > >>Thanks for a quick answer. >>Could you be more elaborative and deliver more complex example, please. >>At this moment I have a very brief idea how to use antcontrib > > > Not without more information. Have you played with that code? > >

AW: AW: Copy a single file to directories

2007-02-13 Thread Jan.Materne
>Thanks for a quick answer. >Could you be more elaborative and deliver more complex example, please. >At this moment I have a very brief idea how to use antcontrib Not without more information. Have you played with that code? Jan > >Thanks in advance - I relay appreciate you help. > >Marcin >

Re: AW: Copy a single file to directories

2007-02-13 Thread Camer38
Thanks for a quick answer. Could you be more elaborative and deliver more complex example, please. At this moment I have a very brief idea how to use antcontrib Thanks in advance - I relay appreciate you help. Marcin Jan.Materne wrote: > > Quickshot ... > > > > > > >

AW: Copy a single file to directories

2007-02-13 Thread Jan.Materne
Quickshot ... AFAIK there is no build-in way, so you have to iterate for your own. Jan >-Ursprüngliche Nachricht- >Von: Camer38 [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 13. Februar 2007 17:30 >An: user@ant.apa

Copy a single file to directories

2007-02-13 Thread Camer38
Hi, I would like to copy a single file to multiply directories. Every time the structure of folders may vary. One file has to be copy into every catalog under ./test/components Any idea? Thanks in advance Marcin -- View this message in context: http://www.nabble.com/Copy-a-single-file-to-dire

Re: Eclipse, and and

2007-02-13 Thread Dominique Devienne
they resolve other imports relative to their own location, but all other files are relative to whatever imported them. Its because is different that things break. Doesn't that contradicts what you say below? Import does not resolve relative to its "own location" (i.e. the location of the build

AW: Load tokens from a file into list

2007-02-13 Thread Jan.Materne
Mmmh just a quick shot Have you tried a combination of copy, filterchain and linetokenizers? Maybe you have luck there ... Jan >-Ursprüngliche Nachricht- >Von: Marcel Stör [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 13. Februar 2007 16:11 >An: user@ant.apache.org >Betreff:

Re: Eclipse, and and

2007-02-13 Thread Steve Loughran
Dominique Devienne wrote: > The simple fix is to use ${basedir} explicitly in the , no? breaks chaining though, doesnt it? Well, sure, but only because the basedir needs to be explicit since the build file was moved. And don't get me started on the fact the imported-builds resolve their own i

Re: Eclipse, and and

2007-02-13 Thread Dominique Devienne
> The simple fix is to use ${basedir} explicitly in the , no? breaks chaining though, doesnt it? Well, sure, but only because the basedir needs to be explicit since the build file was moved. And don't get me started on the fact the imported-builds resolve their own imports (or all file locatio

Load tokens from a file into list

2007-02-13 Thread Marcel Stör
I'd like to do some text substitution/translation in an XML file. Source: [...] [...] Target: [...] My title My description Mein Titel Meine Beschreibung [...] On the file system I'd have resource files such as resources_en.properties, resources_de.propert

Re: how do i use propertyfile on windows?

2007-02-13 Thread Steve Loughran
teknokrat wrote: Antoine Levy-Lambert wrote: Hello teknokrat, the fact that c:/ is written as c\:/ in a property file belongs to the spec of properties in Java. The : character is always escaped in property files. Do you use the property file that you generate using also with a Java progr

AW: Re: how do i use propertyfile on windows?

2007-02-13 Thread Jan.Materne
You could use a or a between file generation and consumption ... Jan >>> When ever I use the propertyfile task to add a filepath on >>> windows it escapes the colon in front of the drive e.g. c:/ >>> turns to c\:/ which completely messes up the path. How do I >>> make it stop escaping chara

Re: how do i use propertyfile on windows?

2007-02-13 Thread teknokrat
Anderson, Rob (Global Trade) wrote: -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of teknokrat Sent: Monday, February 12, 2007 12:05 PM To: user@ant.apache.org Subject: how do i use propertyfile on windows? When ever I use the propertyfile task to add a filepath on w

Re: how do i use propertyfile on windows?

2007-02-13 Thread teknokrat
Antoine Levy-Lambert wrote: Hello teknokrat, the fact that c:/ is written as c\:/ in a property file belongs to the spec of properties in Java. The : character is always escaped in property files. Do you use the property file that you generate using also with a Java program, or is it consume

Re: FTP for Japanese file names

2007-02-13 Thread Sann Maung
Hi, Kanji characters are not included in build.xml. Only there are some file names with kanji characters are included in some directory. rgds, Sann Maung --- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > Hello Sann, > > > On Feb 9, 2007, at 10:54 PM, Sann Maung wrote: > > I am using FTP

Copy and Sync Tasks successful but sometimes result in blank dest file

2007-02-13 Thread Daffin, Miles (IT)
Folks, I have had this happen twice this week using sync or copy to do recursive copies across the network: no errors are reported but one destination file is blank. This is discovered when I do a binary diff of the source and dest dirs afterwards. Has anyone else seen this problem? (I am tryi