Re: Scripting engine in ANT core?

2005-05-04 Thread Alexey N. Solofnenko
] -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: uptodate using .xml to .java but not 1 to 1

2005-05-04 Thread Alexey N. Solofnenko
] -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: property environment=env doesn't work everywhere

2005-05-04 Thread Alexey N. Solofnenko
;-) --DD -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Convert a path

2005-05-03 Thread Alexey N. Solofnenko
] -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: defaultexcludes not understood on solaris

2005-05-03 Thread Alexey N. Solofnenko
] -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can I use ant for this

2005-04-29 Thread Alexey N. Solofnenko
] -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to retrieve Java runtime directory

2005-04-25 Thread Alexey N. Solofnenko
! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- / Alexey N. Solofnenko MDL Information Systems, Inc. work: 510-357-x1726 home

Re: Running ANT as a Windows Service

2005-03-25 Thread Alexey N. Solofnenko
. Later, Ninju Bohra -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: JUnit, ANT, log4j, System.out issue

2005-03-25 Thread Alexey N. Solofnenko
] -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Question about using mapper to change filename case

2005-03-24 Thread Alexey N. Solofnenko
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail

Re: Possibly OT: ant target to verify that all files version controlled by svn

2005-03-24 Thread Alexey N. Solofnenko
It is. - Alexey. Ninju Bohra wrote: Is the ANT user group working... -- / Alexey N. Solofnenko MDL Information Systems, Inc. work: 510-357-x1726 home: http://trelony.cjb.net

I need something for distributed builds.

2005-03-14 Thread Alexey N. Solofnenko
can use? - Alexey. -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: SCP support in ANT 1.5

2005-03-03 Thread Alexey N. Solofnenko
] -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Bad syntax or unknown instruction

2005-03-02 Thread Alexey N. Solofnenko
I think somebody tried to two lists one on another and chose a wrong email address in one of them. - Alexey. [EMAIL PROTECTED] wrote: Can someone stop the spam from this thing? -- / Alexey N. Solofnenko home: http

Re: Problem Manipulating a Jar File -- P.S.

2005-03-01 Thread Alexey N. Solofnenko
some.jar.sig from it, so I checked the permissions on the file and made sure I had read and write permissions on the file. Any light that can be shed on the problem would be appreciated. Thanks, D Sledge -- / Alexey N

Re: setLevel on echo task in JavaScript

2005-03-01 Thread Alexey N. Solofnenko
] -- / Alexey N. Solofnenko MDL Information Systems, Inc. work: 510-357-x1726 home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: ant property

2005-02-25 Thread Alexey N. Solofnenko
, once the changes are integrated into tools.jar, I will be able to use java/. -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e

Re: AW: Two targets with the same depends-target

2005-02-14 Thread Alexey N. Solofnenko
antcall - Alexey. Kasparek, Bernadette wrote: I need the following behavivor: Ant all -- common, one, common, two What can I do? Bernadette -- / Alexey N. Solofnenko home: http://trelony.cjb.net

Re: Compiler problems

2005-02-04 Thread Alexey N. Solofnenko
, -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: debug ANT

2005-02-03 Thread Alexey N. Solofnenko
. Hi, I intend to debug ant targets (junits test / java application) from eclipse. is there anyway to start Ant in debug mode from eclipse and attach to the process to debug it ? Thanks Raj -- / Alexey N

Re: Simple problem with ANT

2005-01-29 Thread Alexey N. Solofnenko
PROTECTED] -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: How can I execute Ant targets from within a Java program?

2005-01-23 Thread Alexey N. Solofnenko
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Java task executing embedded jython fails to find scripting module

2005-01-19 Thread Alexey N. Solofnenko
-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- / Alexey N. Solofnenko home: http://trelony.cjb.net/ / - To unsubscribe, e-mail

Re: java.io.IOException: exectable not found

2005-01-19 Thread Alexey N. Solofnenko
] -- / Alexey N. Solofnenko MDL Information Systems, Inc. work: 510-357-x1726 home: http://trelony.cjb.net/ / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Adding file into the specified directory of existing archive

2005-01-14 Thread Alexey N. Solofnenko
You need to something like that: jar destfile=myarchive.jar update=true fileset dir=${ejb-compiled) includes=META-INF/jboss.xml/ /jar - Alexey. Juleni wrote: Hello, I have a problem to add some file to the specified directory of existing archive. Is there possibility to do this? I

Re: Ant Users List (should be: JUnit test suggestions)

2005-01-12 Thread Alexey N. Solofnenko
There is -keep-going option that will ask ANT to execute as many targets as possible (only targets that depend only on successfully executed targets will be executed) and then fail if there was at least one failure. - Alexey. Robert Lin wrote: Sorry, the subject should have been JUnit Test

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Alexey N. Solofnenko
Borland does the same - development JDK and tool host JDK do not have to be the same. - Alexey. Conelly, Luis (GE Energy, Non GE, GENE) wrote: Hi, Chris, Is really necessary to use JDK 1.5?? I believe most of the developments out there are being done in Java 1.4.x and prior (yes,

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Alexey N. Solofnenko
SAX parsers are created to work with big files. I think the problem is with what it does during parsing. - Alexey. Chris Clohosy wrote: Thanks for trying it Alexey, especially on a large build file as I haven't got any to test it on. If my thinking is right, I think it choked because I'm using

Re: Me Too! Re: Ant and CCC-harvest

2004-12-15 Thread Alexey N. Solofnenko
We used to have version control commands in our build script, but eventually it became apparent that it was wrong. It is much better to handle all VCS stuff outside of the build by another script (for example, by Maven). In any case, exec or scriptdef can cover anything, so why wait for

Re: fileset fails when base dir is missing

2004-12-06 Thread Alexey N. Solofnenko
I usually execute mkdir in this situation - an empty directory does not affect anything else and makes some commands happy. - Alexey. [EMAIL PROTECTED] wrote: I am constructing a classpath that includes a fileset. Sometimes, the base directory for that fileset does not exist. I would like Ant

Re: Spam

2004-11-23 Thread Alexey N. Solofnenko
Nothing special here - there are several web caches for mailing lists that do not hide email addresses (or maybe spammer crawlers are now smart enough to decipher them). It is an usual problem with lists that require you to use a real email address. - Alexey. Jeff Davidson wrote: Just a quick

Re: Fwd: Problem with exec Windows XP

2004-11-14 Thread Alexey N. Solofnenko
To launch batch files you need to execute cmd.exe with correct parameters (/c and startup.bat). You cannot execute the batch files themselves. - Alexey. Peter Neu wrote: Hello everybody, I'm having difficulties using exec with Windows XP. When I'm trying to run an Ant Script with a command like

Re: Echo a file to another file

2004-11-10 Thread Alexey N. Solofnenko
Why this would not work: loadfile srcfile=a.txt property=content-a/ loadfile srcfile=b.txt property=content-b/ echo file=b.txt message=${content-a}${content-b}/ The only problem I see is that each time b.txt will be updated. It is better not to update files in place or have a valid condition to

Re: AW: Echo a file to another file

2004-11-10 Thread Alexey N. Solofnenko
I would use get task to get the report (you will need to construct a URL for the report). - Alexey. Ivan Ivanov wrote: Jan and Alexey, thank you for your answers, loadfile + echo trick does the job and I will also try the other two possibilites. I asked this question in the following context: we

Re: immutable property

2004-11-03 Thread Alexey N. Solofnenko
It is incorrect. Properties exist only within a scope of the current project (ant, antcall, and others create new subprojects). - Alexey. Kris Read wrote: Properties only exist within the scope of the parent tag (in this case in the target you declared it in). You have to explicitly pass it to

Re: immutable property

2004-11-03 Thread Alexey N. Solofnenko
I think you execute the targets in the opposite order. Please add dependency on prepare in CopyBRBuildArtifacts target. - Alexey. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How do I execute a sudo ssh command?

2004-11-03 Thread Alexey N. Solofnenko
There are also other ways: * set setuid bit on executable you want to execute under different credentials; * execute ssh [EMAIL PROTECTED] and copy authorized keys from your account into that user account - in that case ssh will not ask for a password. - Alexey. Colin Harris wrote:

How to replace a token with a multiline string with property substritution?

2004-10-21 Thread Alexey N. Solofnenko
It looks like I can use replace value=, but it does not allow new lines or replacevalue, but it does not seem to expand properties. What am I doing wrong? - Alexey. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: winning the case for ANT

2004-10-18 Thread Alexey N. Solofnenko
This leaves us make. Make was designed (hacked and mutated? ;-) in a Unix environment for building compiled languages, such as Pascal and C. It is very good at that. So for any project that used a fully compiled language, like C, then I would strongly consider using make. Even with C

Re: winning the case for ANT

2004-10-18 Thread Alexey N. Solofnenko
This is also true. Each component make have a better tool to be built with. Even with C/C++ projects the answer is not clear. Some IDEs already provide you a solution, for example, by managing or generating make files. I would not fight the easiest solution, but I do prefer to use ANT in

Re: winning the case for ANT

2004-10-15 Thread Alexey N. Solofnenko
What do they propose? What type of projects are you going to build? Even though I am using ANT everywhere, other people successfully use VisualStudio to build their projects. Maybe your coworkers' ideas have merits. Long time ago we tried to use Make to build our projects and soon we hit a

Re: ANT capabilities question

2004-09-28 Thread Alexey N. Solofnenko
I am using ANT to build also C++ and .Net components. ANT is universal. - Alexey. Peter Savage wrote: Hello, Everything I've read about Ant is Java specific. Is it only for building Java projects? Thanks, Peter - To unsubscribe,

Re: if

2004-07-05 Thread Alexey N. Solofnenko
Please try it without namespace. It works on my system. There were few emails saying that namespace processing is broken. I still do not understand how it works in ANT, so I never use it. - Alexey. Jeffrey Bacon wrote: Am I missing something stupid here? I can use my own condition but when I

Re: How to set environment via batch script

2004-06-30 Thread Alexey N. Solofnenko
? thanks, Barry -Original Message- From: Alexey N. Solofnenko [EMAIL PROTECTED] Sent: Jun 29, 2004 11:23 PM To: Ant Users List [EMAIL PROTECTED] Subject: Re: How to set environment via batch script When you start a new process only that process get new environment - it is not propagated

Re: Help with a deletion...

2004-06-25 Thread Alexey N. Solofnenko
With include name=... you need to specify one file at a time. includes attribute accepts a list of patterns, but not include node. - Alexey. Sunil Mishra wrote: Hi, I'm trying to figure out what I might be doing wrong in executing the following delete. The syntax, so far as I can tell, is

Re: stupid copy question

2004-06-25 Thread Alexey N. Solofnenko
I think you defined fromDir as following: property name=fromDir location=xxx/ In that case fromDir becomes a full path. If this is true, please use the following: property name=fromDir value=xxx/ - Alexey. Jeffrey Bacon wrote: ok, so I have directory with 'src' and 'res' subdirectories. I want

Re: problem running ant [2]

2004-06-04 Thread Alexey N. Solofnenko
Most likely you have an empty line before ?xml...? - Alexey. alinokase fer wrote: Here's how my build.xml looks: ?xml version=1.0 standalone=yes? project default=hello target name=hello echo message=Hello, World/ /target /project Here's the error message: ~\build.xml:1: Content is not

Re: distributed build target

2003-08-25 Thread Alexey N. Solofnenko
/ } Alexey N. Solofnenko Pleasant Hill, CA (GMT-8 usually) NF wrote: hi, recently I had to some very big xslt compilations. in order to speed them up I've made a distributed build via telnet. now I'm looking to write this in more cluster-of-workstations way. has anyone been dealing with distributed

Re: distributed build target

2003-08-25 Thread Alexey N. Solofnenko
/ } Alexey N. Solofnenko Pleasant Hill, CA (GMT-8 usually) NF wrote: hi, recently I had to some very big xslt compilations. in order to speed them up I've made a distributed build via telnet. now I'm looking to write this in more cluster-of-workstations way. has anyone been dealing with distributed

<    1   2