Re: How can ant detect it is running on a 64 bit machine?

2005-10-17 Thread Robert Clark
On Monday October 17, 2005 01:26 pm, "Marion, Patrick" <[EMAIL PROTECTED]> wrote: > Thank you all for your suggestions. Indeed I cannot rely on the > JVM currently running to tell me whether the machine architecture > itself is 64bit, since a 32bit JVM can run on a 64Bit machine. Ahhh, I was mis

RE: How can ant detect it is running on a 64 bit machine?

2005-10-17 Thread Marion, Patrick
Thank you all for your suggestions. Indeed I cannot rely on the JVM currently running to tell me whether the machine architecture itself is 64bit, since a 32bit JVM can run on a 64Bit machine. All I really need (I think) is a property (such as sun.arch.data.model) set on _all_ platforms that woul

AW: More default behavior expected

2005-10-17 Thread Jan.Materne
>When I create a task, the 'verbosity' level of the log is a >bit weird IMHO. >Namely, I find it weird that the fact that I set the switch >'-v' when I run the ant task is not kick up the verbosity >level of the task. A task doesnt have a log level. The log level is set for Ants logging facili

Re: More default behavior expected

2005-10-17 Thread Jeffrey E Care
-v is for VERBOSE mode -d is for DEBUG mode -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) <[EMAIL PROTECTED]> 10/17/2005 09:14 AM Please respond to "Ant Users List" To Ant Users cc Subject More default behavior expected

More default behavior expected

2005-10-17 Thread duvelbier-tsmets
When I create a task, the 'verbosity' level of the log is a bit weird IMHO. Namely, I find it weird that the fact that I set the switch '-v' when I run the ant task is not kick up the verbosity level of the task. I would have found it nice that '-v' would have made all log statement in DEBUG mo

multithread calling proccesses in different jvms

2005-10-17 Thread Taner Diler
Hi, Is it possible multithread calling proccesses in different jvms? Taner Diler [EMAIL PROTECTED] wrote: sure ... the javascript implementation is written against Ants Java API :-) Take the code, add some imports, type declarations ... Quick translation - add imports etc...: public class

AW: make properites of data in file

2005-10-17 Thread Jan.Materne
sure ... the javascript implementation is written against Ants Java API :-) Take the code, add some imports, type declarations ... Quick translation - add imports etc...: public class GetProductInfosTask extends Task { public static final String splitChar = ":"; private String prefix; /

RE: make properites of data in file

2005-10-17 Thread Mikael Petterson (KI/EAB)
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 properties within the new task? cheers, //mikael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: den 17 oktober 2

AW: make properites of data in file

2005-10-17 Thread Jan.Materne
Retest... BSF 2.3.0 from http://cvs.apache.org/dist/jakarta/bsf/v2.3.0rc1/bin/bsf-bin-2.3.0.zip Rhino 1.5R4 from ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino15R4.zip Ant 1.6.5 Java 1.5.0-b64 bsf.jar + js.jar in %USERPROFILE%\.ant\lib --> same problem change rhino to 1.6R2 ftp://ftp.mozilla

RE: make properites of data in file

2005-10-17 Thread Mikael Petterson (KI/EAB)
Hi, I have already tried to install that from lib-dependency in Ant manual. I get: BUILD FAILED java.lang.NoSuchMethodError: org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine; Seems to be a common error for a lot of javascript users ( check with

AW: make properites of data in file

2005-10-17 Thread Jan.Materne
Dont know - have installed that long time ago and the jars havent any version info inside. But just install the versions described in the lib-dependency in the Ant manual. Jan >-Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 17. Okt

RE: make properites of data in file

2005-10-17 Thread Mikael Petterson (KI/EAB)
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

AW: make properites of data in file

2005-10-17 Thread Jan.Materne
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 first line to get the meta data and parses the second line for the data. After tha

make properites of data in file

2005-10-17 Thread Mikael Petterson (KI/EAB)
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 ---

Re: XSLT

2005-10-17 Thread duvelbier-tsmets
Hoo ho ... I never know what these SYSTEM or PUBLIC stuff meant and did not dare to change that. 'will try \T, --- Gisbert Amm <[EMAIL PROTECTED]> wrote: > Sorry for the double post, I had problems with my mailclient or IMAP > server or whatever. > > Gisbert > > Gisbert Amm wrote: > > I gues

Re: invoking the logger in the constructor

2005-10-17 Thread duvelbier-tsmets
When I define only the following constructor : /** * */ public MyTask() { log("Test"); } The trace I have is the following : BUILD FAILED C:\MyProject\spike\SpecialLibraries\XLtoCSV\SpecialBuild.xml:21: Could not create type XL

AW: invoking the logger in the constructor

2005-10-17 Thread Jan.Materne
>The reason seem to be (but I haven't been able to confirm as I >have been busy in other matters) that the Task has a default >constructor (that I use). To use the 'log()' method, I'd need >to invoke a constructor with the node name I want to use. Task [1] is an abstract class not providing a c

Re: XSLT

2005-10-17 Thread Gisbert Amm
Sorry for the double post, I had problems with my mailclient or IMAP server or whatever. Gisbert Gisbert Amm wrote: I guess in your xslt task you need a nested xmlcatalog element like so: http://cobertura.sourceforge.net/xml/coverage-02.dtd"; location="/path/on/your/harddisk/coverag

Re: XSLT

2005-10-17 Thread Gisbert Amm
I guess in your xslt task you need a nested xmlcatalog element like so: http://cobertura.sourceforge.net/xml/coverage-02.dtd"; location="/path/on/your/harddisk/coverage-02.dtd"/> In your doctype declaration you probably have to replace "SYSTEM" by "PUBLIC" (I'm not quite sure, if thi

Re: XSLT

2005-10-17 Thread Gisbert Amm
I guess in your xslt task you need a nested xmlcatalog element like so: http://cobertura.sourceforge.net/xml/coverage-02.dtd"; location="/path/on/your/harddisk/coverage-02.dtd"/> In your doctype declaration you probably have to replace "SYSTEM" by "PUBLIC" (I'm not quite sure, if thi