iterating through java packages

2001-11-01 Thread Peterson, Brian
If I have a Java package tree, such as com/foo com/foo/bar1 com/foo/bar2 com/foo/bar3 Given the top of the tree, com/foo, is there any way to do some task, via antcall(?), with each package (subdirectory) in the tree that contains *.java files? thanks, brian peterson PS: Ant rocks! -- To

re: tree like build.xml

2001-11-12 Thread Peterson, Brian
Hello, In my Java package tree, I don't always want to compile, or include file, in the Javadoc, or a Jar. I only want to expose the API classes. If my hierarchy is: top build.xml com foo bar build.xml

RE: Inter-project dependencies?

2002-01-09 Thread Peterson, Brian
I don't know if this is any help to you, but starting with one of the ANT tasks, I built an optionalant task, e.g. !-- target=any task name handlerMustExist: if set, at least one ant file must have the target

question on remote execution of a task

2002-01-15 Thread Peterson, Brian
I've been using ANT for a month now and am very glad I made the jump from MAKE. Unfortunately I am stuck with using Source Safe, yet need to do builds on Unix. I'd like to do a one step build, which includes getting the files from the code repository from NT, and then issue the build command

TAR and symbolic links

2002-01-18 Thread Peterson, Brian
It doesn't appear like the TAR task supports symbolic links. They are treated as though the link was the actual file/directory. Has anyone else experienced this, or created a new TAR task that supports symbolic links? thanks, brian peterson -- To unsubscribe, e-mail: mailto:[EMAIL

Jars needed for telnet task

2002-01-24 Thread Peterson, Brian
I'd like to start using the optional telnet task, but run in to the following error: java.lang.NoClassDefFoundError: com/oroinc/net/telnet/TelnetClient From where should I get this supporting JAR? thanks, brian peterson -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: private Target

2002-02-11 Thread Peterson, Brian
I don't believe there is a way to avoid the private targets from being called; I use the convention that private targets, and properties, are all upper case. I also only display the targets I intend to be callable by the user in a usage target, which is the default target. brian peterson |

Comparing 2 directories for file content

2002-02-21 Thread Peterson, Brian
I looked in the archives and on the web but to no luck...before I write one, does anyone have a task that compares 2 directories (file sets!?) by comparing file content? thanks, brian peterson [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

RE: How to use literal property access string?

2002-03-04 Thread Peterson, Brian
In general, $$ means translates to a single $ which will not be interpreted as the possible start of a property, so use: echo message=$${theproperty} / brian peterson [EMAIL PROTECTED] | -Original Message- | From: Jeffrey Jensen [mailto:[EMAIL PROTECTED]] | Sent: Monday, March

RE: JavaCC javacchome attribute

2002-03-11 Thread Peterson, Brian
I got it to work by setting JAVA_CC_HOME=c:\javacc2.1\bin\lib I've got it working on NT and Solaris. Hard to say which is wrong, the task or the documentation. brian peterson | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] | Sent: Monday, March 11, 2002

RE: JavaCC dependencies

2002-05-13 Thread Peterson, Brian
I ran into a similiar issue. The solution I used was to copy (preserving the date/time) the .JJ file into another directory, and used uptodate to determine if the file had been modified. If so, I ran the javacc task. brian peterson | -Original Message- | From: Andreas Gruenhagen |

RE: Use depends attribute versus antcall task

2002-06-14 Thread Peterson, Brian
One of the big differences is that properties that are set in targets run via depends will remain set/accessible in your all task, whereas properties that are set in targets run via ant or antcall are not set/accessible from your all task. target name=test1 depends=set echo message=${p}/

RE: javadoc maxmemory issue

2002-10-09 Thread Peterson, Brian
The maxmemory attribute is expecting a number; I use 512m for 512 MB. brian peterson -Original Message- From: Barry Jia [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 9:24 AM To: [EMAIL PROTECTED] Subject: javadoc maxmemory issue I tried to use maxmemory=yes