RE: scp auth cancel error

2006-04-06 Thread Brian McCallion
Hi Carton, Does it work if you try to do the scp from the command line? From a very cursory look at the error it seems like your getting some kind authentication error. Without knowing a lot about your environment I'd first do a sanity check on the ssh configuration. I'm wondering if the ssh

RE: mail task getting Unknown SMTP host

2006-04-06 Thread Brian McCallion
Hi Daniel, Can you telnet to the host on port 25? If so do you get an smtp session with the host? Thanks, Brian Brian McCallion President WebSphere Automation Solutions Bronze Drum Consulting, Inc. 230 Park Avenue New York, NY 10169 T (646) 283-0534 F (646) 201-9596 http://www.bronzedrum.com

can i use ant under windows xp?

2006-04-06 Thread saoussen belhassen
Hi, can I use ant with windows XP. if yes, what is the necessary features that i need to install it? Saoussen Belhassen ___ Nouveau : téléphonez moins cher avec Yahoo! Messenger !

Re: can i use ant under windows xp?

2006-04-06 Thread Jakob Fix
On 4/6/06, saoussen belhassen [EMAIL PROTECTED] wrote: can I use ant with windows XP. if yes, what is the necessary features that i need to install it? http://ant.apache.org/manual/install.html#sysrequirements HTH, -- cheers, Jakob.

Re: Parallel vs Sequential

2006-04-06 Thread Shree
Hi Conor, You had said that parallel was not intended as a performance enhancer, but the ant manual says Parallel tasks have a number of uses in an Ant build file including: * Taking advantage of available processing resources to reduce build time Following example was also cited

Re: Parallel vs Sequential

2006-04-06 Thread Dominique Devienne
Like already mentioned, parallel will *only* and *potentially* give you a boost if you have a multi-CPUs machine, and/or a multi-disks machine, and/or independent tasks, etc... Don't expect much from parallel on a single CPU PC... Like Conor already told you, it enables use cases impossible to do

Dynamically increase the number of arguments to EXEC task based on the number and name of the file(s) in a directory.

2006-04-06 Thread Guttula, Mohan
Hello All, Requirement: Dynamically increase the number of arguments to EXEC task based on the number and name of the file in a directory. For example a sample directory contains the following files with extension *.rod (Number of rod files in the src directory dynamically change):

Re: Dynamically increase the number of arguments to EXEC task based on the number and name of the file(s) in a directory.

2006-04-06 Thread Jeffrey E Care
Use the apply task. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS Pyxis Lead Release Engineer Guttula, Mohan [EMAIL PROTECTED] wrote on

Re: Parallel vs Sequential

2006-04-06 Thread Jeffrey E Care
Just think about it logically: if you have a multi-proc machine with good disks then yes, you can see performance improvements by building things in parallel. If you have a single-proc machine with a rinky-dink 5400 RPM drive then no, chances are that you won't see any performance benefit (and

RE: Dynamically increase the number of arguments to EXEC task based on the number and name of the file(s) in a directory.

2006-04-06 Thread Brian McCallion
Hi Mohan, I don't know if this will solve your immediate problem, but when I need dynamic behavior in a build I use an xslt stylesheet and an xml file to create my build script. I see ANT as just a processor and the build file as just data. So I try to generate the data for the build in advance

Deriving something from srcfile/ from within apply

2006-04-06 Thread b
I'm trying to code up an APPLY in ANT. I need to run a utility which takes 2 parameters, 1) a source file name (srcfile/), and 2) something derived from the source file name (arg value=...). The output of this program is a file, whose name is derived from the source file name (targetfile/,

Re: Deriving something from srcfile/ from within apply

2006-04-06 Thread Matt Benson
So your utility requires, for the file foo.in, e.g.: utility foo.in blahfoo.in but the target file is determined automatically? (mapper w/o targetfile) In this case I might have to recommend antcontrib's for. Even if we added the ability to duplicate srcfile and/or targetfile, foo.in would

Re: Deriving something from srcfile/ from within apply

2006-04-06 Thread b
Matt, You did correctly understand the problem I am trying to solve. I will look into the for that you mentioned. However, my problem could be easily solved if I could access the value of the current srcfile/ via a property. That is, if whatever srcfile/ resolves to during an iteration of

AW: Dynamically increase the number of arguments to EXEC task based on the number and name of the file(s) in a directory.

2006-04-06 Thread Jan.Materne
Also pathconvert helps Jan Von: Jeffrey E Care [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 6. April 2006 15:56 An: Ant Users List Betreff: Re: Dynamically increase the number of arguments to EXEC task based on the

Re: Dynamically increase the number of arguments to EXEC task based on the number and name of the file(s) in a directory.

2006-04-06 Thread Heikki Qvist
Hi, I have similar issue. A lot of list files which are used to generate real filenames. How to do extending these (eg. src,doc,bin,testsuite) to Linux_BUILDNUMBER_src.zip etc without hardcoding lits items? Their amount may differ in different branches also naming convention how final

RE: Parallel vs Sequential

2006-04-06 Thread Dick, Brian E.
I have used parallel to speed up a bunch of database server operations. The work was really being done remotely and the client was just waiting for status. -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 9:37 AM To: Ant Users List

Looping through a file contents and dynamically add transaction for each line in the file to SQL task

2006-04-06 Thread Guttula, Mohan
Hello All, I have a sample.sql file (this file contents change dynamically) that contains the following lines: -- release\Country.sql release\State.sql release\City.sql --- target name=sql-oracle sql driver=oracle.jdbc.driver.OracleDriver

Re: Deriving something from srcfile/ from within apply

2006-04-06 Thread Michael Giroux
If you do not wish to change the utility, you might consider using a script to achieve the transformation. The APPLY task would specify a shell script as the executable, and the script would invoke the target utility. The script itself would be self contained within the build.xml. Something

Weird compilation problems

2006-04-06 Thread Milen Dzhumerov
Hi there, I've been trying to compile a few simple classes with Ant and everything is fine except that it produces a class twice with the name: SqlErrorCond$1.class SqlErrorCond.class The files have different sizes. Here's the ant file: ?xml version=1.0? project name=SWT Desk default=compile

Re: Weird compilation problems

2006-04-06 Thread Robert Clark
On Thursday April 6, 2006 17:18, Milen Dzhumerov [EMAIL PROTECTED] wrote: I've been trying to compile a few simple classes with Ant and everything is fine except that it produces a class twice with the name: SqlErrorCond$1.class SqlErrorCond.class The files have different sizes. Those are

Re: Weird compilation problems

2006-04-06 Thread Alexey N. Solofnenko
It is not ANT problem - you have an anonymous inner class. Look for new AAA() { somewhere in your code. - Alexey. Milen Dzhumerov wrote: Hi there, I've been trying to compile a few simple classes with Ant and everything is fine except that it produces a class twice with the name:

Re: Weird compilation problems

2006-04-06 Thread Milen Dzhumerov
Robert Clark wrote: On Thursday April 6, 2006 17:18, Milen Dzhumerov [EMAIL PROTECTED] wrote: I've been trying to compile a few simple classes with Ant and everything is fine except that it produces a class twice with the name: SqlErrorCond$1.class SqlErrorCond.class The files have different

Property problem in 1.6.5

2006-04-06 Thread Greg Irvine
Hi all. I'm having a problem with property values not existing outside of the target they're created/set in. For example (see below), I have a jar target that calls an update target. The update calls svn status to populate a property with the current svn version number and then I echo the

RE: Property problem in 1.6.5

2006-04-06 Thread Greg Irvine
Ok. I've progressed slightly on this. It seems a property set in one target isn't returned to the calling target, however, if I call the targets separately, it works. e.g. ant update jar, rather than ant jar and have jar call update. Hmm... -Original Message- From: Greg Irvine

RE: Property problem in 1.6.5

2006-04-06 Thread bill/wilandra
Why don't you use the ant way and make jar depend on update? If you use the antcall then a new scope is created and the properties in the new scope are not seen in the calling scope. If you make jar depend on update then you can just run ant jar and the update target will be fired then the jar

Re: Property problem in 1.6.5

2006-04-06 Thread Jeffrey E Care
This is working as designed; ant, antcall subant create new contexts and property values set in the context ARE NOT propegated back to the calling context. Jeffrey E. (Jeff) Care [EMAIL PROTECTED]