On Mon, 17 Oct 2005 14:15:59 +0200, Mikael Petterson (KI/EAB) wrote:
>Since it is it is too much work to try the javascript installation I will go
for
>writing my own task.
loadfile and antfile:propertyregex wil do what you want.
and concat plus a tokenfilter will do it using only ant core, b
t;Gesendet: Montag, 17. Oktober 2005 14:16
>An: Ant Users List
>Betreff: RE: make properites of data in file
>
>Hi,
>
>Since it is it is too much work to try the javascript
>installation I will go for writing my own task.
>
>Is it possible to create and set new properti
2005 11:23
To: user@ant.apache.org
Subject: AW: make properites of data in file
The easiest way is defining the Ant properties and creating the
product.attributes.
But you can parse that file and assign properties ... using your own task.
Quick hack (without any error handling). It parses the
ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino15R3.zip
--> works!!
BSF 2.3.0 + Rhino 1.5R3.
Jan
>-Ursprüngliche Nachricht-
>Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 17. Oktober 2005 12:47
>An: Ant Users List
>Betreff: RE: make properi
with a little
google) but without a solution.
cheers,
//mikael
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: den 17 oktober 2005 12:28
To: user@ant.apache.org
Subject: AW: make properites of data in file
Dont know - have installed that long time ago and the
ontag, 17. Oktober 2005 12:17
>An: Ant Users List
>Betreff: RE: make properites of data in file
>
>Hi,
>
>which version of rhino(js) and bsf do you use?
>
>cheers,
>
>//mikael
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE
Hi,
which version of rhino(js) and bsf do you use?
cheers,
//mikael
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: den 17 oktober 2005 11:23
To: user@ant.apache.org
Subject: AW: make properites of data in file
The easiest way is defining the Ant properties
that it stores the values.
Jan
>-Ursprüngliche Nachricht-
>Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 17. Oktober 2005 10:38
>An: user@ant.apache.org
>Betreff: make properites of data in file
>
>Hi,
&g
Hi,
I have the following properties in my build.xml:
In a file called product.attribues I have the following information:
TARGET:PRODUCT_NUMBER:PRODUCT_REVISION
jvm:CXC1327714/22:R1A01
Is it possible to assign ant properties with the values in
my files?
cheers,
//mikael
---