RE: ant-1.6.5; need to add tools.jar to system classpath

2007-09-19 Thread Vladimir Egorov
gt; > will solve your problem. > > Cheers, > > Rainer > > -Ursprüngliche Nachricht- > Von: Vladimir Egorov [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 12. September 2007 17:47 > An: Ant Users List > Betreff: RE: ant-1.6.5; need to add tools.jar to system classpath &g

RE: include file in ant

2007-09-12 Thread Vladimir Egorov
Try converting your property.xml into correct Ant file by nesting your properties into tag. I believe works on projects. --Vladimir > -Original Message- > From: Mitja B. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 12, 2007 2:56 AM > To: Ant Users List > Subject: Re: include f

RE: ant-1.6.5; need to add tools.jar to system classpath

2007-09-12 Thread Vladimir Egorov
Jan, Peter, Thank you for your replies. > > Would it make sence to start Ant with a JRE and add the (different) > tools.jar via -lib? The goal is to put tools.jar on _system_ classpath. The -lib puts it on core Ant classpath. > > >Vladimir is trying to use a different tools.jar than the one tha

ant-1.6.5; need to add tools.jar to system classpath

2007-09-11 Thread Vladimir Egorov
Hi Ant Users, We are working with ant-1.6.5. As a workaround for http://bugs.sun.com/view_bug.do?bug_id=6176978 (the bug is marked fixed, but it re-appeared in jdk 1.6), we need to add tools.jar to ant system classpath. What is the recommended way of doing this? Adding it to CLASSPATH did not

RE: ant -lib seems not working on Linux RHEL 5

2007-07-09 Thread Vladimir Egorov
As Yung found out by comparison with another Linux RHEL 5 machine, the problem is related to ant-1.6.5-2jpp.2 package. Things started working properly after the package was un-installed. --Vladimir > -Original Message- > From: Yung Choi [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 05,

ant -lib seems not working on Linux RHEL 5

2007-07-03 Thread Vladimir Egorov
Hi Ant Users, The Ant -lib option does not seem working on Linux RHEL 5. I am in a directory, where I have ant-contrib-1.0b2.jar and the following t.xml. $ cat t.xml I run this using the -lib option. $ ant -lib ant-contrib-1.0.b2 -f t.xml Buildfile: t.xml [taskdef] Could not

Ant support for daemon processes

2007-06-05 Thread Vladimir Egorov
Hi Ant Users, I am interested in Ant support for daemon processes, such as servers. For example, I would like to stop an Exec or Java process on demand - this is not possible with existing Exec and Java tasks. Ant manual for parallel task has the following example that "represents a typical patte

RE: '$$' escape syntax does not work with macros?

2007-04-04 Thread Vladimir Egorov
Thank you. I added http://issues.apache.org/bugzilla/show_bug.cgi?id=42046 and updated http://issues.apache.org/bugzilla/show_bug.cgi?id=41400 --Vladimir > -Original Message- > From: Jacob Kjome [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 03, 2007 10:03 PM > To: Ant Users List > Sub

'$$' escape syntax does not work with macros?

2007-04-03 Thread Vladimir Egorov
Hi Ant Users, It looks like '$$' escape syntax does not work with macrodefs. I wrote the following test: The output is: test: [echo] ${basedir} --> as expected [echo] path/to/current/dir--> bug? Am I using this incorrectly

RE: help in junit task

2007-03-28 Thread Vladimir Egorov
I have not tried it myself, but try to hack it using zipfileset instead of fileset inside . See if any of these work: (1) (2) --Vladimir > -Original Message- > From: Ramu S [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 27, 2007 5:17 AM > To: user@ant.apache.org >

setting task attributes from properties

2007-03-28 Thread Vladimir Egorov
Hi Ant Users, I would like to change the value of a task attribute on the fly, without editing Ant xml file, by setting a runtime system property like this: junit.showoutput=true --> get junit to show test output by default java.fork=true --> fork by default etc. While this can be implemen

RE: Getting the process id of a process started by ANT

2007-03-08 Thread Vladimir Egorov
> In our system we basically have a peer server which all of the other > servers > register with by name. If you want to shut a server down you run a client > which logs on to the peer and then tells the server via the peer to shut > down. Tim, is your system generic so that it can manage any pro

RE: how to get Project' message output level

2007-03-07 Thread Vladimir Egorov
roject' message output level > > On 3/6/07, Vladimir Egorov <[EMAIL PROTECTED]> wrote: > > Project defines MSG_ERR, MSG_WARN, etc. codes. Is there a programmatic > > way to get current message output level (log level)? I suppose this > > would come from the flag (-verb

how to get Project' message output level

2007-03-06 Thread Vladimir Egorov
Hi Ant Users, Project defines MSG_ERR, MSG_WARN, etc. codes. Is there a programmatic way to get current message output level (log level)? I suppose this would come from the flag (-verbose, -debug, etc.) that user passed on command line. I am extending the AntContrib' AntServer/RemoteAnt tasks. I

RE: Ant-WebLogic problem

2006-12-06 Thread Vladimir Egorov
I filed an internal BEA Change Request for this issue. I will update this list when I get the info. --Vladimir > -Original Message- > From: Pieter Temmerman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 29, 2006 8:57 AM > To: user@ant.apache.org > Subject: Ant-WebLogic problem >

RE: Need information about using Eclipse AntRunner

2006-12-06 Thread Vladimir Egorov
This may be off, but could it be a classloader problem? Say your string extension classes are not visible to classloader that loaded junitreport classes. http://ant.apache.org/faq.html#delegating-classloader --Vladimir > -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED]

RE: a construct to ensure existence of files in collection?

2006-10-28 Thread Vladimir Egorov
ctober 27, 2006 12:53 PM > To: Ant Users List > Subject: Re: a construct to ensure existence of files in collection? > > --- Vladimir Egorov <[EMAIL PROTECTED]> wrote: > > > Hi Ant Users, > > > > I am using FileList to specify collection of files > >

RE: a construct to ensure existence of files in collection?

2006-10-27 Thread Vladimir Egorov
> -Original Message- > From: Peter Reilly [mailto:[EMAIL PROTECTED] > Sent: Friday, October 27, 2006 9:45 AM > To: Ant Users List > Subject: Re: a construct to ensure existence of files in collection? > > On 10/27/06, Vladimir Egorov <[EMAIL PROTECTED]> wrote:

a construct to ensure existence of files in collection?

2006-10-27 Thread Vladimir Egorov
Hi Ant Users, I am using FileList to specify collection of files one by one. I need to ensure that the specified files exist. According to FileList doc, "FileLists are useful for specifying files that may or may not exist". I checked some other path-like structures, but did not find a straight-fo

Ant does not read -D properties same way as Java

2006-09-15 Thread Vladimir Egorov
same happens if I try to pass param="foo;bar". I tried the same with a trivial java program, and it works as expected. Thank you, Vladimir Egorov >>Register now for BEA World 2006 --- See http://www.bea.com/beaworld<<

RE: AntUnit tests need fully-qualified names

2006-02-23 Thread Vladimir Egorov
On Wed, 22 Feb 2006, Vladimir Egorov <[EMAIL PROTECTED]> wrote: > The plainlistener that comes with AntUnit uses test target names as > results names. The plainlistener is more or less just a proof of concept. When I put it together I needed someting to quickly show to myself that

RE: question about dependencies

2006-02-22 Thread Vladimir Egorov
Ant guarantees that a dependency executes once per project, not necessarily once per run. When you use or , you start a new project with each call. This is why the init target gets executed again - once in each new project you start. Vladimir -Original Message- From: Stephen McConnell [m

AntUnit tests need fully-qualified names

2006-02-22 Thread Vladimir Egorov
Hi All, The plainlistener that comes with AntUnit uses test target names as results names. Since two or more build files can define target named testFoo, this can lead to naming conflicts. JUnit has the same issue; it solves it by using fully-qualified test method names. Although one can wr