Re: Delete files from dir-1 where file name same as a file in dir-2

2010-09-29 Thread Michael Giroux
This worked exactly as I need. Thanks very much. Michael On Tue, Sep 28, 2010 at 2:42 PM, Dominique Devienne wrote: > On Mon, Sep 27, 2010 at 3:32 PM, Michael Giroux wrote: >> [...] If cases where package and class names are the >> same, we only want to include the sources from

Re: Delete files from dir-1 where file name same as a file in dir-2

2010-09-29 Thread Michael Giroux
I'll give this a try. Thanks. On Tue, Sep 28, 2010 at 2:42 PM, Dominique Devienne wrote: > On Mon, Sep 27, 2010 at 3:32 PM, Michael Giroux wrote: >> [...] If cases where package and class names are the >> same, we only want to include the sources from the hand-coded src &g

Re: Delete files from dir-1 where file name same as a file in dir-2

2010-09-29 Thread Michael Giroux
> > Then, you compile the third source folder (the one you've copied all > the files to). This will save you from compiling source code that > isn't needed. > > Is this what you want? > > On Mon, Sep 27, 2010 at 4:32 PM, Michael Giroux wrote: >> I have two

Delete files from dir-1 where file name same as a file in dir-2

2010-09-27 Thread Michael Giroux
I have two source folders in my project. On folder contains files that are generated by the build, and a second folder contains our hand-coded sources. If cases where package and class names are the same, we only want to include the sources from the hand-coded src tree, so we need to delete corr

BETA watermarks on macrodef docs

2008-04-25 Thread Michael Giroux
Is there an existing bug requesting the docs to be cleaned of Beta watermarks? See http://ant.apache.org/manual/CoreTasks/macrodef.html for example. Michael Giroux - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Documentation for IMPORT task has "beta" watermarks

2007-10-04 Thread Michael Giroux
The file at http://ant.apache.org/manual/CoreTasks/import.html has "BETA" watermarks. Strange since 1.7 is no longer beta, and was available in 1.6. Perhaps this is already reported. Michael Giroux - To unsubscri

Re: SSH Authentication Errors

2007-10-03 Thread Michael Giroux
> One of the aspects of and is that they dont print out enough > useful info on failure. That is partly for security reasons -you dont > want your entire organisation to be able to read the password in the > cruise control logs. At the same time, we could do a lot to improve the > diagnostics tha

Re: SSH Authentication Errors

2007-10-01 Thread Michael Giroux
taking the default which in this script is ${user.name} for which he does not have an account on the remote system. After he configured the correct userid for the ssh commands all worked well. One more thing I'll have to add to the documentation for this script. Michael On 9/30/07, Michael G

Re: SSH Authentication Errors

2007-09-30 Thread Michael Giroux
I personally do not use passphrase, but I'm not sure what the other developer is using on his system (the one having problems). I'll check on Monday. Thanks Michael On 9/29/07, Vihan Pandey <[EMAIL PROTECTED]> wrote: > > I'm using and tasks in a build script. These work > > well from my own

SSH Authentication Errors

2007-09-28 Thread Michael Giroux
ad it. We built the Shell.java example app that is distributed with JSch.jar. We were able to use Shell to connect to the target system, so it seems we have some ability to connect, but the ANT scripts continue to fail. Any suggestions will be appreciated. Thanks Michael G

Re: Simple if/else Condition

2007-07-27 Thread Michael Giroux
Hi Evan, On 7/17/07, Evan J <[EMAIL PROTECTED]> wrote: > if (condition) > perform some task, i.e. echo message="condition met" > else > perform another task > > Is there such task available in Ant 1.7? This can be accomplished by wrapping the tasks in individual targets then defining a target

Re: reporting @TransactionAttribute is an unknown tag

2007-03-05 Thread Michael Giroux
ble in the classpath supplied to the javadoc task? /Steve. > -Original Message- > From: Michael Giroux [mailto:[EMAIL PROTECTED] > Sent: Friday, 2 March 2007 3:52 AM > To: Ant Users List > Subject: reporting @TransactionAttribute is an unknown tag > > I'm att

Ant 1.7 MacroDef documentaton marked BETA

2007-03-01 Thread Michael Giroux
The MacroDef documentation for ANT 1.7 is marked BETA. Is the MacroDef functionality really beta? It has been available since Ant 1.6. Michael Giroux

reporting @TransactionAttribute is an unknown tag

2007-03-01 Thread Michael Giroux
I'm attempting to generate javadocs for code containing JDK 1.5 annotations. I have specified source='1.5' but this does not eliminate the warnings. What am I overlooking? Thanks Michael Giroux

Re: Invalid use of string utils in

2007-01-03 Thread Michael Giroux
Antoine, Sorry for the long delay in response. I'm just back from 3 weeks of vacation. I have installed ANT 1.7 and retested with the new template. The good news is that the new br-replace template does successfully replace newline with tags. There is an important difference between the resul

Invalid use of string utils in

2006-12-08 Thread Michael Giroux
could consider this for ANT 1.7? Michael Giroux N/A ** * * **

Re: Need information about using Eclipse AntRunner

2006-12-08 Thread Michael Giroux
On 12/6/06, Vladimir Egorov <[EMAIL PROTECTED]> wrote: This may be off, but could it be a classloader problem? Say your string extension classes are not visible to classloader that loaded junitreport classes. http://ant.apache.org/faq.html#delegating-classloader --Vladimir As it turns out thi

Need information about using Eclipse AntRunner

2006-12-01 Thread Michael Giroux
I have an ANT script that includes a task. The task uses an XSLT to transform junit reports (xml files) into HTML. The xslt uses string extensions to convert newline characters into tags. When the script is executed using the Eclipse AntRunner (eclipse 3.2.1), it appears that the extension l

Re: please update the next release of Ant 1.7 to Xerces 2.9.0

2006-12-01 Thread Michael Giroux
On 12/1/06, Steve Loughran <[EMAIL PROTECTED]> wrote: Jacob Kjome wrote: I'm not Jake, and I'm not part of Xerces team, but I did find Xerces 2.9.0 at ibiblio.org. It was on their mirror ftp server. Is that the "repository"? Michael Giroux Jake, are you part of t

Re: Ant and the Windows Registry

2006-10-13 Thread Michael Giroux
You can also the reg command. reg /? for commandline info. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Root drive in fileset dir

2006-10-10 Thread Michael Giroux
From the ANT docs for filesets: includes -- comma- or space-separated list of patterns of files that must be included; all files are included when omitted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: ANT w/ BSF 2.4

2006-10-10 Thread Michael Giroux
On 10/9/06, Michael Giroux <[EMAIL PROTECTED]> wrote: Can anyone confirm that ANT + BSF 2.4 is a valid configuration? Based on the current ANT docs, I'm going to assume that BSF 2.4 is valid for ANT 1.6 and later. The following is from the ANT docs for Library dependencies: &qu

ANT w/ BSF 2.4

2006-10-09 Thread Michael Giroux
Can anyone confirm that ANT + BSF 2.4 is a valid configuration? Thanks Michael Giroux - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SCP Auth Faild

2006-07-25 Thread Michael Giroux
Make sure that the host name in your .ssh/known_hosts file is fully qualified. ex. hostname ssh-rsa ... hostname.mydomain.com ssh-rsa ... The first entry will not work, the second will. The docs jcraft docs describe this, but I have to admit that I overlooked it myself. HTH. -

Re: for refid

2006-07-25 Thread Michael Giroux
Dominique, On 7/25/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: Which is what I suggested yesterday. A little longer, but not that much, and just one extra property for the dir. --DD Sorry, I did not understand what you were suggesting. The example really helps. Thanks. Michael --

Re: for refid

2006-07-25 Thread Michael Giroux
Dominique, On 7/24/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: is a selector, and thus will never have a refid attribute. I'm not suggesting that accept a refid attribute. What I'm saying is that a fileset with a refid cannot contain a selector. This form is not allowed. In fac

for refid

2006-07-24 Thread Michael Giroux
creating a macro for this, and I'm sure that will work, but it seems reasonable to allow the modified selector in a fileset that uses a refid as well. Michael Giroux - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Error executing RSH from ANT script

2006-05-02 Thread Michael Giroux
WRT my message posted on 2005-08-30 14:46:38, I found that MS has a known problem with Windows XP SP2. There seems to be a hot fix available. Problem is described here: http://support.microsoft.com/?kbid=892099 Cygwin version of rsh does not have the problem. Michael Giroux

Would like to suppress leading spaces in multi-line and

2006-05-01 Thread Michael Giroux
message second line of message third line of message The nested element of the task does provide a trimleading option, but that only applies to the header text. Having a trimleading attribute for both and would be very nice. Michael Giroux

Re: "Variable" Macros Properties

2006-04-12 Thread Michael Giroux
To preserve the clean syntax that you achieved w/ the macrodef, you could combine the antcall with your macro. The main build target would use the macro, and the macro would do the antcall. The target that is run by antcall has its own scope, so no problem with the properties. Michael Giroux

Re: Help with ftp

2006-04-12 Thread Michael Giroux
one in the apache axis distribution) or a net sniffer to see if you are having similar issues. Michael Giroux

tasks -- how to specify location of cvs.exe

2006-04-12 Thread Michael Giroux
? Thanks Michael Giroux

Re: Deriving something from from within

2006-04-06 Thread Michael Giroux
If you do not wish to change the utility, you might consider using a script to achieve the transformation. The task would specify a shell script as the executable, and the script would invoke the target utility. The script itself would be self contained within the build.xml. Something similar to

Optional FTP task 'account' attribute needed

2006-03-31 Thread Michael Giroux
the task supported the 'account' login attribute. Michael Giroux

Re: AW: How to use ANT as a command shell

2005-12-09 Thread Michael Giroux
Thanks for all the comments. After reading the entire thread, it seems that the short answer is "no", at least not at the moment. My specific requirement could be handled if a target had visibility to the list of remaining targets: ant dosomething arg1 arg2 ... Given this command line, ant will

How to use ANT as a command shell

2005-12-06 Thread Michael Giroux
line args as target names. Is there any way to cause ANT to 1) always invoke the default target 2) make the command line args available as a set of properties or some form of enumeration Michael Giroux

Error executing RSH from ANT script

2005-08-30 Thread Michael . Giroux
from a DOS command prompt, the RSH command displays the working directory sans error message. Any suggestions for how to eliminate the "terminal read ..." error message? Michael Giroux - To unsubscribe, e-mail: [EMAIL

Re: Error in replaceregexp example

2005-06-24 Thread Michael Giroux
On 6/23/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > - > + > I'm pretty sure that the patch needs to be " + should be + - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

JUNITREPORT ANT Task Suggestion

2005-06-23 Thread Michael Giroux
documents. Current Avoidance: I'm using ANT task to modify the input xml files for now. Michael Giroux - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Error in ReplaceRegExp doc

2005-06-23 Thread Michael Giroux
The help doc for replaceregexp shows and example of a fileset. The nested element is incorrect. This should be element. I'm thinking the author was intending the includes attribute of the task itself perhaps. Michael G

Error in replaceregexp example

2005-06-23 Thread Michael . Giroux
The help doc for replaceregexp shows and example of a fileset. The nested element is incorrect. This should be element. I'm thinking the author was intending the includes attribute of the task itself perhaps. Michael G

Re: XMLValidate with schema

2004-05-27 Thread michael . giroux
I have the same problem, and have the additional requirement that I need support for xmlcatalog to allow schema files to be located locally. Michael Giroux "WISE, Jon" <[EMAIL PROTECTED]> 05/27/2004 05:30 AM Please respond to "Ant Users List"

xmlcatalog example for schema

2004-05-18 Thread michael . giroux
complaints about the xmlcatalog, so it is not obvious if it is specified correctly and not being used, or it is specified incorrectly, and hence, not matching as I expect it to. Thanks Michael Giroux I'm trying to use the following task: http://xml.org/sax/features/validation"; va

http://ant.apache.org/manual/CoreTypes/xmlcatalog.html

2004-05-18 Thread michael . giroux
The link to 'path' in "catalogpath" topic is incorrect. The link is correct in a previous paragraph, but wrong in this one. Michael Giroux - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: Unable to delete directory

2003-07-11 Thread Michael . Giroux
Thanks for looking into this. > +/** > + * Attempt to fix possible race condition when deleting > + * files on WinXP. If the delete does not work, > + * wait a little and try again. > + */ > +private boolean delete(File f) { > +if (! f.delete()) { > +tr