Working with filesets is also described in
http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html#filesets
Jan
>-Ursprüngliche Nachricht-
>Von: Karthik [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 6. März 2006 08:16
>An: Ant Users List
>Betreff: RE: ANT FTP TASK
>
>
>Hi F
Hi Form
Fileset in ANT manual has these 2 Constructers...
/
Constructor Summary
FileSet()
protected FileSet(FileSet fileset)
///
So I do not know how to use the directory files to this
fileset and use the same for FTP
Having never looked at the code, but, applying a little logic to the problem
I would ask if there is a Fileset class and if that class has an addFile
method? Then you should be able to see how to make a Fileset instance and
add File objects to it. Have you tried looking at the API doc to see if you
Hi form
I found this piece of code on the web and am struck with the API
1)Would like to know how to add files to "addFileSet"
for thr code below.
public void setCopXinTask(String fromSrc,String toDirName) {
Project project = createProject();
FTP ftp =
You might be able to generate a file and use the 'input' attribute of
, with each command on a separate line in the input file. This does
not allow you to parse any output or wait for results, but if the program
isn't reading from STDIN each time until its next prompt, this should work.
-Andrew
O
:) sorry, wasn't trying to be confusing.
The program I'm using is the WebLogic console program called WLST. It's
basically a shell program for WebLogic which allows you to do things
like deploy and undeploy applications. An example use is to start the
program, log in, enter edit mode, deplo
Thx Steve ,
But would like to know , where is the source code for all the
steps mentioned below ? I could not find that in the Ant source .
Nimish
Steve Loughran <[EMAIL PROTECTED]>
04/03/2006 00:35
Please respond to "Ant Users List"
To: Ant Users List
cc:
I've just reread your question for the third time and I still don't think I
get it. It sounds to me like you are "talking around" the problem, not
describing the actual problem.
What exactly are you trying to do? You're talking about needing "multiple
reads and writes" but I haven't a clue WHA
I'm trying to find an Ant task that will let me work with a command-line
program with multiple read/writes.
The problem I've run into is how to communicate with this program
locally. For remote servers, I can use the Ant task to telnet
to the remote machine, start up the and send the comma