Re: How to use keepoing the directory structure?

2008-04-11 Thread icet
Hi there, this is just an example actually, this is not a code not working properly. It's a non-supported ant feature that I would like to emulate. In the copy task you have something like directoryScanner.getIncludedFiles(), wich returns a list of Strings that are Relative filenames. My source

Re: How to use keepoing the directory structure?

2008-04-11 Thread Garrett Smith
did you define - destiny - ? what about a basedir? On Fri, Apr 11, 2008 at 11:35 AM, icet <[EMAIL PROTECTED]> wrote: > > This is my target > > > > >

How to use keepoing the directory structure?

2008-04-11 Thread icet
This is my target My source files source: C:\folder1\folder2\source\file1a.txt C:\folder1\folder2\source\file1b.txt I want the result ot be something like destiny: C:\folder1\folder2\destiny\fol

How to use keepoing the directory structure?

2008-04-11 Thread icet
This is my target My source files source: source/test1a/folder1/file1.txt source/test1b/folder1b/file1b.txt I want the result ot be something like destiny: destiny/test1a/folder1a/file1a.txt

Re: taskdef not receiving the classpath properly?

2008-04-11 Thread supareno
Kathryn Rivard a écrit : Turns out upgrading to Ant 1.7.0 (and clearing out all the crud in Fedora 7 that makes you use the rpm version) fixed the problem -- no taskdef classpath, no CLASSPATH environment variable necessary, it works exactly how I want it to. Katie Great ! i forgot to say th

RE: arg and jvmarg

2008-04-11 Thread Rick Genter
> From: Dave Pawson [mailto:[EMAIL PROTECTED] > Sent: Friday, April 11, 2008 9:50 AM > To: Ant Users List > Subject: Re: arg and jvmarg > > Saxon XSLT processor. > -o filename is the parameter. I'd always thought of it as one param. > Name (-o) > value (filename) > Ant seems to view it differentl

Re: arg and jvmarg

2008-04-11 Thread Dave Pawson
On 11/04/2008, Rick Genter <[EMAIL PROTECTED]> wrote: > > I seem to have found just the opposite? > > line="-o filename" works fine, but as was pointed out, > > if I want to use value I have to use two arg elements? > > > Your example has 2 arguments: '-o' and 'filename'. I recommend reading >

Re: taskdef not receiving the classpath properly?

2008-04-11 Thread Kathryn Rivard
Turns out upgrading to Ant 1.7.0 (and clearing out all the crud in Fedora 7 that makes you use the rpm version) fixed the problem -- no taskdef classpath, no CLASSPATH environment variable necessary, it works exactly how I want it to. Katie On Fri, Apr 11, 2008 at 12:09 PM, Kathryn Rivard <[EMAI

Re: iterating over directories

2008-04-11 Thread Scot P. Floess
Ant contrib has a nice for loop... http://ant-contrib.sourceforge.net/tasks/tasks/index.html Check out the for and for-each feh wrote: Hi folks. I know very little about ant; I work with it every few months, so each time I need to do something it's like starting from scratch again. Could som

iterating over directories

2008-04-11 Thread feh
Hi folks. I know very little about ant; I work with it every few months, so each time I need to do something it's like starting from scratch again. Could somebody please point me to doc that would show me how to iterate over a list of directories, creating a jar file in each of them? Thanks! --

Re: taskdef not receiving the classpath properly?

2008-04-11 Thread Kathryn Rivard
On Fri, Apr 11, 2008 at 11:59 AM, supareno <[EMAIL PROTECTED]> wrote: > my question is: if you use 'ant deploy' in a terminal, do you always have > the exception?? > I always build from a terminal (and not from eclipse). I think by "deploy" you mean whatever our main build target is, right? If

Re: taskdef not receiving the classpath properly?

2008-04-11 Thread supareno
Katie, sorry, i did not read all the thread :-) are you doing the deploiement with and editor (eclipse for example???) the thing is if you can see *catalina-ant.jar* with the command line 'ant -diagnostics', so if you type 'ant deploy', NORMALLY, it will not throw an exception because *catalin

Re: taskdef not receiving the classpath properly?

2008-04-11 Thread Kathryn Rivard
On Fri, Apr 11, 2008 at 10:24 AM, supareno <[EMAIL PROTECTED]> wrote: > Kathryn Rivard a écrit : > > > I'm having bizarre problems getting ant to find the class referenced > > in a taskdef (specifically with tomcat, if it matters). The jar shows > > up in the classpath reported by -diagnostics*,

RE: arg and jvmarg

2008-04-11 Thread Rick Genter
> From: Dave Pawson [mailto:[EMAIL PROTECTED] > Sent: Friday, April 11, 2008 7:35 AM > To: Ant Users List > Subject: Re: arg and jvmarg > > On 11/04/2008, Rick Genter <[EMAIL PROTECTED]> wrote: > > > From: Dave Pawson [mailto:[EMAIL PROTECTED] > > > Sent: Friday, April 11, 2008 1:02 AM > > > To

Re: arg and jvmarg

2008-04-11 Thread Dave Pawson
On 11/04/2008, Rick Genter <[EMAIL PROTECTED]> wrote: > > From: Dave Pawson [mailto:[EMAIL PROTECTED] > > Sent: Friday, April 11, 2008 1:02 AM > > To: Ant Users List > > Subject: Re: arg and jvmarg > > > > > Thanks Joe. I can see the logic, although 'line=' seems to > > make more sense from >

Re: taskdef not receiving the classpath properly?

2008-04-11 Thread supareno
Kathryn Rivard a écrit : I'm having bizarre problems getting ant to find the class referenced in a taskdef (specifically with tomcat, if it matters). The jar shows up in the classpath reported by -diagnostics*, but ant can't find the class during a build unless I explicitly set the classpath in

Re: Problem with verbose attribute of axis-wsdl2java tag

2008-04-11 Thread supareno
Luiz Barbosa a écrit : Hi Supareno, Thank you for your answer! Yes, that's the problem. I put axis-ant.jar and axis.jar, but now I have another problem. One of the operations in my WSDL is the following: And, when the script cross through the line of verbose (that s

RE: arg and jvmarg

2008-04-11 Thread Rick Genter
> From: Dave Pawson [mailto:[EMAIL PROTECTED] > Sent: Friday, April 11, 2008 1:02 AM > To: Ant Users List > Subject: Re: arg and jvmarg > > Thanks Joe. I can see the logic, although 'line=' seems to > make more sense from > a user view? "-o filename" 'line=' doesn't work if any of your argument

taskdef not receiving the classpath properly?

2008-04-11 Thread Kathryn Rivard
I'm having bizarre problems getting ant to find the class referenced in a taskdef (specifically with tomcat, if it matters). The jar shows up in the classpath reported by -diagnostics*, but ant can't find the class during a build unless I explicitly set the classpath in the taskdef tag**, or put i

Re: Problem with verbose attribute of axis-wsdl2java tag

2008-04-11 Thread Luiz Barbosa
Hi Supareno, Thank you for your answer! Yes, that's the problem. I put axis-ant.jar and axis.jar, but now I have another problem. One of the operations in my WSDL is the following: And, when the script cross through the line of verbose (that same previous discussed li

Re: sshexec ant task command not found

2008-04-11 Thread Peter Reilly
dir mkdir etc are not (as far as i know) exe es in windows they are built-in to cmd.exe you may need to do something like: command ="cmd /c dir E:\Share". Peter On Fri, Apr 11, 2008 at 11:39 AM, neitcouq <[EMAIL PROTECTED]> wrote: > > > I have a target in build.xml like that: > > >

sshexec ant task command not found

2008-04-11 Thread neitcouq
I have a target in build.xml like that: When I run this target, the result out put : deployment: [sshexec] Connecting to tamnguyen0908:22 [sshexec] dir: not found BUILD SUCCESSFUL My scenario: Run in : Linux Ubuntu SSh : open ssh Ant1,7; jsch-0.1.37.jar (for using sshexec and scp

sshexec ant task command not found

2008-04-11 Thread neitcouq
I have a target in build.xml like that: When I run this target, the result out put : deployment: [sshexec] Connecting to tamnguyen0908:22 [sshexec] dir: not found BUILD SUCCESSFUL My scenario: Run in : Linux Ubuntu SSh : open ssh Ant1,7; jsch-0.1.37.jar (for using sshexec and scp

Re: Issues with install and iBiblio

2008-04-11 Thread Xavier Hanin
On Thu, Apr 10, 2008 at 11:33 AM, ar92 <[EMAIL PROTECTED]> wrote: > > The cleancache fixed the problem I had with log4j dependencies, but as you > said there are jars missing or unretrievable. For me it bombed when > getting > jmx, but at least the dependencies from the POM are now in the ivy fil

Re: Problem with verbose attribute of axis-wsdl2java tag

2008-04-11 Thread supareno
Luiz Barbosa a écrit : Hi people, Please, I have the following problem: I wrote the following target: [...] When I run it, I get the following error message, on line Could not create task or type of type: axis-wsdl2java. Please, how could I fix this? Thanks in advance! Regards, Luiz

Re: arg and jvmarg

2008-04-11 Thread Dave Pawson
On 11/04/2008, Joe Schmetzer <[EMAIL PROTECTED]> wrote: > is interpreted as a single argument, even if "x" happens > to contain spaces. In your case, you actually have two arguments: "-o" and > "filename", so you need to specify it like this: > > > Thanks Joe. I can see the logic, altho

Re: arg and jvmarg

2008-04-11 Thread Joe Schmetzer
On Fri, April 11, 2008 8:42 am, Dave Pawson wrote: > http://ant.apache.org/manual/using.html#arg > > mentions using > For an xslt task I want to specify > -o filename > > Trying this > > > > > The single '-l' works OK, > but the -o option causes a problem with the processor. > > How can I s

arg and jvmarg

2008-04-11 Thread Dave Pawson
http://ant.apache.org/manual/using.html#arg mentions using The single '-l' works OK, but the -o option causes a problem with the processor. How can I specify '-o filename' for please? works fine. TIA -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk