Re: Order of files inside a fileset

2008-11-05 Thread Krzysieq
I don't really care much about id, as I only need the fileset as a nested element inside a task. The good question now is can I use ... wherever I would normally use ... What about elements that have a nested element that inherits from fileset? Like for instance the jmeter task, which takes a

Order of files inside a fileset

2008-11-04 Thread Krzysieq
Hi, I read the ant docs regarding filesets, but haven't found what I'm looking for. Is there any way telling, what is the order of files inside a fileset? Is there any way in which this can be affected? For instance, let's have a folder /foo, with files bar1.txt, bar2.txt, ... bar5.txt. Fileset1:

Re: multiple ${values} not extracting the actual value

2008-09-17 Thread Krzysieq
Hi, May be quite a silly idea, but is it not possible, that somewhere down the road You define version as empty string? If it weren't defined at all, You would see ${version} in the filename, and You say it disappears. Maybe it's accidentaly defined as empty before propfile is read? Cheers, Chris

Re: Ant-jmeter task problem

2008-08-01 Thread Krzysieq
Great many thanks! It helped :) Cheers, Chris 2008/8/1 Steve Loughran <[EMAIL PROTECTED]> > Krzysieq wrote: > >> Hi, >> >> Has anyone here used the ant-jmeter task from programmerplanet.org? I >> have >> the latest version and am experiencing difficult

Ant-jmeter task problem

2008-08-01 Thread Krzysieq
Hi, Has anyone here used the ant-jmeter task from programmerplanet.org? I have the latest version and am experiencing difficulty trying to pass some parameters to the jmeter commandline. Here's my code: It looks as if the last two nested elements - jmeterarg - are ignore

Re: Error returned using task

2008-07-25 Thread Krzysieq
d in this message. If you are not > the intended recipient, you are hereby notified that any disclosure, > copying, distribution or reliance upon the contents of this email is > strictly prohibited. If you receive this email in error, please notify the > sender immediately. > > &

Re: Error returned using task

2008-07-25 Thread Krzysieq
The code pieces You pasted are quite lenghty, and most of my experience comes from unix boxes, but I guess there might be a similarity. > This has no right to do whatever it is You want it to - at least on linux it wouldn't. There's an explanation on the ant website some

Re: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-25 Thread Krzysieq
Forgot to close the double quote at the end of arg line... 2008/7/25 Krzysieq <[EMAIL PROTECTED]> > Not sure, but maybe this will help You: > > > http://www.nabble.com/sshexec-%28running-remote-commands-with-sudo%29-forced-psuedo-tty-allocation-tp18592216p18641500.html &g

Re: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-25 Thread Krzysieq
Not sure, but maybe this will help You: http://www.nabble.com/sshexec-%28running-remote-commands-with-sudo%29-forced-psuedo-tty-allocation-tp18592216p18641500.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > ---

How to get jruby scripts working?

2008-04-08 Thread Krzysieq
Hi all, I have a bit of a problem here. Trying to get a ruby script task working, I get this message: java.lang.NoSuchMethodError: org.jruby.Ruby.parse(Ljava/lang/String;Ljava/lang/String;Lorg/jruby/runtime/DynamicScope;I)Lorg/jruby/ast/Node; I put the bsf jars (3.0 beta, works fine with javascr

Re: sudo permissions with scp

2008-04-02 Thread Krzysieq
I've played around with sudo in something more or less similar. You might want to execute something like bash -c "sudo your_stuff" rather than the command itself. Don't want to discourage You, but in the end I dropped the scp task and started doing a simple exec with an ssh command in it. Don't kn

Re: How does Ant accept 2 input files such that xsl could differentiate them ?

2008-03-25 Thread Krzysieq
Hi, Can You show some of the bigger picture? From what I read, the only thing that comes to my mind is that the xslt task, being a file-based task, accepts nested fileset elements. In those, You can specify exactly which files to treat with which xsl stylesheet. Am I even close to understanding wh