Speeding up FileSet Generation?

2004-11-10 Thread Brent Bain
Hello: First off -- I must say thanks to everyone who has helped me in the past -- I've learned a lot from the users listserv and my answers are always (incredibly!) quickly answered. I'm running into major speed issues when generating a fileset during a copy process which I'm doing to back up fi

RE: javadoc task

2004-11-10 Thread Dave Pawson
On Wed, 2004-11-10 at 19:36, Dominique Devienne wrote: > > It may be that by default like Javadoc doesn't pick up package > private members. Unless you meant interface xyz instead of class xyz. > And if not, then most likely your string, if it's a constant, should be > declared as static final,

RE: javadoc task

2004-11-10 Thread Dominique Devienne
> From: Dave Pawson [mailto:[EMAIL PROTECTED] > > I have a java file I use simply to hold string > values used elsewhere. > public class xyz{ > /** > * description > */ > String x = ".."; > } > > javadoc is not picking up the docstrings for output. > > Is there an ant property I need to set

RE: javadoc task

2004-11-10 Thread Charles Daniels
By default javadoc only includes docs for public and protected classes and members. Since your variable is declared as package private, it's javadoc will not be included by default. Using Ant's javadoc task, you can specify a value for the access attribute. The default value is protected, matchi

javadoc task

2004-11-10 Thread Dave Pawson
I have a java file I use simply to hold string values used elsewhere. public class xyz{ /** * description */ String x = ".."; } javadoc is not picking up the docstrings for output. Is there an ant property I need to set for this please, or does javadoc not pick up docstrings without a metho

RE: scp-Task win2k > AIX

2004-11-10 Thread Anderson, Rob (Global Trade)
There is no dependency on putty or any other scp/ssh programs. The scp task uses jsch, which is a java implementation of ssh2. You should set trust="true" in your scp task. If that does not fix it, I would look at the server. What version of SSH Server are you running? The sshexec and scp t

Re: How does interpret an empty output property

2004-11-10 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: [SNIP] > I have a macrodef passing on a logfile attribute to > exec's output > property. If I want as default to have no logfile, > how do write this in > the macrodef? [SNIP] If you have a fairly limited number of platforms to work on, like Un*x vs. dos-based (Windows

Re: AW: Echo a file to another file

2004-11-10 Thread Ivan Ivanov
--- "Alexey N. Solofnenko" <[EMAIL PROTECTED]> wrote: > I would use task to get the report (you will > need to construct a > URL for the report). > > - Alexey. > Yes, I know task, the question is how construct the query, but this is bugzilla question so I will ask it in their forum. Regards

using waitfor to see when a server goes down

2004-11-10 Thread Mark Lybarger
is it possible to use waitfor or some other task to see if a server/port has been closed? we're using this to wait for the server to be up before we deploy components to the server, but would like to also identify if something went wrong during shutdown.

Re: AW: Echo a file to another file

2004-11-10 Thread Alexey N. Solofnenko
I would use 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, + trick does the job and I will also try the other two possibilites. I asked this question in the following context: we are having a Re

Re: How does interpret an empty output property

2004-11-10 Thread Peter Reilly
The exec task does not process the string. Ant's core code converts the string to a File object - in this case an empty string will get converted to the base dir. So with: one gets: /home/preilly/learning/a/exec/build.xml:3: Execute failed: java.io.FileNotFoundException: /home/preilly/l

Re: Task.getOwningTarget()

2004-11-10 Thread Peter Reilly
Peter Reilly wrote: Good catch, the javadoc is out of date. However, there are cases that null can be returned: hello = project.createTask("echo"); System.out.println("hello's owner is " + hello.getOwningTarget()); Peter Peter Darin Swanson wrote: Tasks that are top level tasks (i

Re: Task.getOwningTarget()

2004-11-10 Thread Peter Reilly
Good catch, the javadoc is out of date. Peter Darin Swanson wrote: Tasks that are top level tasks (in the "implicit" target) are returning the implicit target for Task.getOwningTarget() This appears to clash with the javadoc for set/getOwningTarget. Can the owning target be null or the implicit t

How does interpret an empty output property

2004-11-10 Thread sten.rosendahl
Hi, I have a macrodef passing on a logfile attribute to exec's output property. If I want as default to have no logfile, how do write this in the macrodef? The easiest logic for me would be if output="" means no redirection as I then could use . Sten Rosendahl ---

Re: AW: Echo a file to another file

2004-11-10 Thread Ivan Ivanov
Jan and Alexey, thank you for your answers, + trick does the job and I will also try the other two possibilites. I asked this question in the following context: we are having a Readme file for our project that describes the bugfixes done in the current build, known issues in it and the source f

scp-Task win2k > AIX

2004-11-10 Thread Rebhan, Gilbert
Hi, Env = Win2k, j2sdk 1.4.2_05, Ant 1.6.2 and jsch 0.1.16 in Ant/lib when trying to use the scptask with a litte test ... ... I get the following error = main: [scp] Connecting to remotemachine:22 BUILD FAILED Y:\Ant_Test\scptest.xml:7: com.jcraft.jsch.JSchException: Session.connect:

Re: Echo a file to another file

2004-11-10 Thread Alexey N. Solofnenko
Why this would not work: 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 avoid repetitive updates (maybe using ). - Alexey. Ivan Ivanov wrote: Dear Colleagues, I want to do something relative simple: I hav