Re: [VOTE] Release Ant 1.10.6 based on RC1

2019-03-19 Thread Wayne Cannon
I thought you had earlier decided on 5" boards through WalMart, or similar? It doesn't matter to me. ⁣--Wayne​ On Mar 19, 2019, 02:55, at 02:55, Jaikiran Pai wrote: >Hello all, > >I've created a release candidate for 1.10.6. This release contains bug >fixes as well as enhancements. > >The relea

Re: Setting final strings at compile time

2007-12-12 Thread Wayne Cannon
Eric, We create an almost-Java source file, e.g., Version.txt, containing replacement targets. We extract version information from Subversion (or ClearCase, etc.) into a property with Ant, which we then in an Ant from Version.txt to Version.java. The advantages of this approach are (1) th

Re: Computed fileset

2007-09-12 Thread Wayne Cannon
's been a while since I wrote it. -Rob A -Original Message- From: Wayne Cannon [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 12:06 PM To: Ant Users List Cc: Ant Developers List Subject: Re: Computed fileset Thanks. I haven't tried it yet, but it looks lik

Re: Computed fileset

2007-09-12 Thread Wayne Cannon
fully they are interested. -Rob Anderson -Original Message- From: Wayne Cannon [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 8:33 AM To: Ant Users List Subject: Computed fileset I want to perform sets of operations on a computed fileset -- e.g., the list of files c

Computed fileset

2007-09-12 Thread Wayne Cannon
or my thinking. Currently, I don't have a good feel for where to start. There have been a number of similar topics discussed recently, but if this was covered, I didn't pick up on it. --Wayne Cannon - To unsu

Re: returns true thought there is no listener

2007-08-17 Thread Wayne Cannon
I haven't been monitoring this thread very closely, but if I'm not off base, the following points may explain some of what you are seeing. I'm not a TCP expert, but have been burned in the past and had to learn the following the hard way. -- When you "close" a socket, it actually remains in a

Re: Need to convert windows batch script (build script) to ant's build.xml

2007-07-26 Thread Wayne Cannon
The "Ant in Action" book is well worth the investment if you expect to continue using Ant at all. It includes a section on migration from other build approaches. --Wayne Sayed, Irfan (Irfan) wrote: Hi All, I have one build script which is totally in windows batch script. I am planning to

Re: Need to convert windows batch script (build script) to ant's build.xml

2007-07-26 Thread Wayne Cannon
Up front, let me say that I am relatively new to using Ant. Ant's declarative approach is significantly different than the sequential/procedural approach of script files and most other languages. I like to think of it as "goal"-oriented as opposed to "process" oriented, if that helps. I resp

Re: Ant help

2007-07-23 Thread Wayne Cannon
I'll second that recommendation. It's an excellent tutorial and very well indexed so it also serves as an excellent reference. --Wayne Steve Loughran wrote: Sayed, Irfan (Irfan) wrote: Hi All, I am very new to the Ant world. Really want to learn ant scripting (build.xml) from scratch. I al

Re: fileset date selector based on the date of a file

2007-07-19 Thread Wayne Cannon
May I respectfully suggest a attribute alternative to the selector's current and attributes? --Wayne Wayne Cannon wrote: I would like to do the equivalent of a "find -newer reference_file ... | zip ... ", i.e., archiving all files newer than a reference_file. I would

Re: fileset date selector based on the date of a file

2007-07-19 Thread Wayne Cannon
ame out that I forgot how much inferior it is to outofdate ;-) Sounds like Matt's solution's the way to go for pure Ant 1.7+, while I'd probably use Ant-Contrib's myself, 'cause I'm used to it, and can nest the tasks to perform directly in the . --DD On 7/19/07, Wayn

Re: fileset date selector based on the date of a file

2007-07-19 Thread Wayne Cannon
since avoids having multiple targets, but it adds a dependency. --DD On 7/19/07, Wayne Cannon <[EMAIL PROTECTED]> wrote: I would like to do the equivalent of a "find -newer reference_file ... | zip ... ", i.e., archiving all files newer than a reference_file. I would like to arch

fileset date selector based on the date of a file

2007-07-19 Thread Wayne Cannon
I would like to do the equivalent of a "find -newer reference_file ... | zip ... ", i.e., archiving all files newer than a reference_file. I would like to archive only the files that have changed since the last major archive into a smaller, faster, "delta" archive; much like an incremental bac

Re: Formatter for ant scripts ?

2007-07-06 Thread Wayne Cannon
... as does SlickEdit. --Wayne glenn opdycke-hansen wrote: XEmacs/Emacs works nicely for editing and formatting ant xml scripts. --glenn On 7/4/07, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: Hi, i'm searching for a formatter task for ant build scripts. Something like ++ in Eclipse Ant Edit

Re: filename collisions when compiling

2007-06-27 Thread Wayne Cannon
for your source path. --Wayne Wayne Cannon wrote: ... or simply name them both non-java, such as A.java.source, and then copy the desired one to A.java in its current directory (removing any pre-existing A.java copies beforehand). That way, there is only one A.java, regardless of directory

Re: filename collisions when compiling

2007-06-27 Thread Wayne Cannon
... or simply name them both non-java, such as A.java.source, and then copy the desired one to A.java in its current directory (removing any pre-existing A.java copies beforehand). That way, there is only one A.java, regardless of directory. If there are two different cases that are compiled,

Re: Javac task query

2007-06-27 Thread Wayne Cannon
Keep in mind that a class file is generated for every Java class, NOT for every source file. Source files can contain multiple classes (although I generally don't like the practice, it's very common for listener classes in GUI code). If B.java defined classes B and C, the compiler would gener

Re: Problem with task

2007-06-12 Thread Wayne Cannon
David, I duplicated your trial and got exactly the same error. Then I dropped mail.jar and activation.jar into my ANT_HOME/lib directory and everything worked perfectly. I hope that is helpful. --Wayne David Weintraub wrote: I have a very straight forward build.xml file:

Re: If one execution is failed

2007-04-20 Thread Wayne Cannon
Have you considered using the Logger (e.g., Log4J) to do this? --Wayne Denis Bessmertnyj wrote: I have a lot of If one execution is failed I need to know about it. How I may get this info? Note that all use this info. --- Denis Bessmertnyj, GUI SoftWeb --

Re: AW: task for IdlToClsCompiler.exe

2007-04-13 Thread Wayne Cannon
Seeing no response, I suspect the IdlToClsCompiler is one of the IDL-to- translators provided by CORBA ORB vendors. More common names are idl2java, idlToJava, idl2cpp, etc. Anyway, there is little standardization in command names and their parameters from vendor to vendor, only in the IDL lan

Re: Conditional dependencies

2007-03-20 Thread Wayne Cannon
Hmmm. [Ant newbie thinking] Just as there is a "fail" task, could there not be a "succeed" task added that would cause the enclosing task to simply return as though it were successful. This would be a general purpose tool that could be invoked conditionally for any number of reasons. It wou

Re: [SEC=UNCLASSIFIED] Ant filterset doesnot work

2007-03-01 Thread Wayne Cannon
... or use 's "preservelastmodified" on the original so the copied file has the same time-stamp as the original. To my way of thinking, this allows a more 'honest" appraisal of files. --Wayne Keith Hatton wrote: A favourite that trips me up is that the destination files are newer than the

Re: Redirecting output to a file

2007-02-23 Thread Wayne Cannon
I'm new to ant, but can the Log4jListener combined with log4j's HTMLAppender be used for this? --Wayne Scot P. Floess wrote: Try this: If you are interested, I also have some XSLT that will convert the output to HTML in a nice format :) Priest, James (NIH/NIEHS) [C] wrot

Re: Good editor for Ant scripts?

2007-02-08 Thread Wayne Cannon
Visual SlickEdit is my preferred XML editor. It works quite well. It provides configurable syntax-driven prompting, auto-completion of matching closing statements, "pretty-printing", syntax-specific coloring, and keyword (e.g., element and attribute) prompting. The latter requires a DTD. Th

Re: Python implementation for Ant

2007-02-08 Thread Wayne Cannon
Just to add a third-party opinion from a neophyte Ant user experienced in make and other build systems: I appreciated the declarative, as opposed to procedural, nature of Ant. The procedural nature of traditional build tools (scripts, make, etc.) is the very reason they become so fragile with

Re: Delete the contents of a directory but not the directory itself

2007-01-15 Thread Wayne Cannon
I experienced the same problem and had the same question. However, I like the suggestions presented here and feel that they are more consistent with the behavior of operating systems and file-system libraries. For example, you don't expect "rm -r mydir" or "rmdir mydir" to provide a parameter

Re: list all targets in the build file

2006-12-04 Thread Wayne Cannon
ant -p Narahari 'n' Savitha wrote: Freinds Would you know how to list all the targets in the build file ? -Narahari - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using Ant with older Java versions

2006-10-27 Thread Wayne Cannon
I think I've solved the problem. When I use the "executable" attribute, it starts complaining that the -source command-line parameter isn't supported. However, when I remove the source="1.3" and target="1.3" attributes, it stops complaining; so those parameters must be incompatible with the J

Re: Using Ant with older Java versions

2006-10-25 Thread Wayne Cannon
lease -target Generate class files for specific VM version executable="/opt/java/jdk1.1/bin/javac" On 10/25/06, Wayne Cannon <[EMAIL PROTECTED]> wrote: I'm attempting to convert a Java 1.3project to Ant that has an attribute

Using Ant with older Java versions

2006-10-25 Thread Wayne Cannon
I'm attempting to convert a Java 1.3project to Ant that has an attribute named "enum" (Java 1.3 did not have an Enum class) -- "Enumeration enum;". I have source and target attributes set to "1.3", but still get the following error message: warning: as of release 1.5, 'enum' is a keyword, and