AW: Re[2]: Download Access to Developer List archive

2004-11-16 Thread Jan . Materne
I am using marc.theaimsgroup.com as list archive. For all IE users: you can customize IE so that you can search there easily by editing the windows registry: -8-<-8-<-8-<-8-<-8-<-8-< -8-< Windows Registry Editor Version 5.00 [HKEY_CURRENT_U

AW: Wild card values with exec task

2004-11-16 Thread Jan . Materne
> You probably want to use . It's like + fileset handling > merged into one. --DD My last use of is a long time ago, but I think is used for invoking an external application for _each_ file in a fileset, not for the whole stuff. So that (pseudo) code would simply do th

Junit tests and VM errors

2004-11-16 Thread Alison Monteith
Hi, I am getting a VM error when trying to run ant junit tests. The tests work on another server but I am getting this error on two separate machines. I am stumped as to what is happening here and where to go next to fix the problem. I've already compared the version of ant and java on both su

RE: using fileset and date selector to get dirs unmofidied for 30 minutes

2004-11-16 Thread Anderson, Rob (Global Trade)
That does not seem to work either. -Rob Anderson > -Original Message- > From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 16, 2004 1:09 PM > To: [EMAIL PROTECTED] > Subject: RE: using fileset and date selector to get dirs > unmofidied for > 30 minutes > > > ho

RE: Excluding Zero-Length Files in

2004-11-16 Thread Delpin, Maria
There is a fileinfo task that you could use to check for file size. You can get it from http://www.f4.fhtw-berlin.de/people/s0507007/fileinfo.html. -maria -Original Message- From: David Katz [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 3:42 PM To: [EMAIL PROTECTED] Subject:

ANT and VM problem

2004-11-16 Thread Luke Dyson
Hi, I am trying to setup a webserver at home using Tomcat(v5.0.27) and Ant(v1.6.2). Everytime I run ant in the CMD, I get the following error: C:\dev\mywebsite>ant Buildfile: build.xml build: # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (434F4E53

RE: Excluding Zero-Length Files in

2004-11-16 Thread David Katz
That worked perfectly. Much thanks. David -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 3:54 PM To: Ant Users List Subject: Re: Excluding Zero-Length Files in Use the selector wrapped in a selector. -Matt --- David Katz <[EMAIL PROTE

Re: Excluding Zero-Length Files in

2004-11-16 Thread Matt Benson
Use the selector wrapped in a selector. -Matt --- David Katz <[EMAIL PROTECTED]> wrote: > Has anyone a suggestion on how to exclude > zero-length files during a > copy operation? > > > > Thanks... > > > > - David > > > > David Katz > > QA Manager > > Applimation Inc. > > 242 Wes

Excluding Zero-Length Files in

2004-11-16 Thread David Katz
Has anyone a suggestion on how to exclude zero-length files during a copy operation? Thanks... - David David Katz QA Manager Applimation Inc. 242 West 36th Street, 3rd Floor New York, New York 10018 Phone: (212) 500-1321 Fax: (212) 560-7880 Email: [EMAIL PROTECTED] Web; http

Re: Fwd: Problem with exec Windows XP

2004-11-16 Thread Dale Anson
Why don't you just use the custom Ant tasks that come with Tomcat? See http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html, then follow the link for "Executing Manager Commands With Ant". There are tasks for starting and stopping Tomcat, deploying and undeploying an application

RE: using fileset and date selector to get dirs unmofidied for 30 minutes

2004-11-16 Thread Anderson, Rob (Global Trade)
It looks like the does not support Selectors. Can anyone confirm that this is true? If so, I welcome any suggestions on how to accomplish this given the current functionality. Thanks, -Rob Anderson > -Original Message- > From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] > Se

RE: using fileset and date selector to get dirs unmofidied for 30 minutes

2004-11-16 Thread Anderson, Rob (Global Trade)
So I tried this out and it is not behaving as I expect. I must be missing something. Here is my build.xml... ${30_minutes_ago}

using fileset and date selector to get dirs unmofidied for 30 minutes

2004-11-16 Thread Anderson, Rob (Global Trade)
I would like to create a fileset that contain the directories that have not been changed in the last 30 minutes. The Ant equivalent of: find ./ -type d -mmin 30 I think I can use a fileset with the date selector, but how do I get a date that is 30 minutes ago? The question is: How do I

RE: Wild card values with exec task

2004-11-16 Thread Dominique Devienne
> From: Maurice Feskanich [mailto:[EMAIL PROTECTED] > > I'm guessing the user is exec'ing the linker directly. Remember, the > exec task has no understanding of wildcards, so the asterisk needs to be > interpreted by a shell. Try this: > > > > > > > Erskine, Chris wrote: > > I have

Re: Wild card values with exec task

2004-11-16 Thread Maurice Feskanich
I'm guessing the user is exec'ing the linker directly. Remember, the exec task has no understanding of wildcards, so the asterisk needs to be interpreted by a shell. Try this: Maury Erskine, Chris wrote: > I have a user who is trying to use the exec task to link a program. As par

RE: I need a list of filenames

2004-11-16 Thread Dominique Devienne
> From: Riffe, Melvin [mailto:[EMAIL PROTECTED] > My final solution involves sending one file name at a time to another > process. Sounds like ... --DD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Fwd: Problem with exec Windows XP

2004-11-16 Thread Ivan Ivanov
--- Peter Neu <[EMAIL PROTECTED]> wrote: > Ok, maybe you are right. Is there any possibility to > enforce the delete ? > Peter, I do not know that. There have been threads on the list about deleting on Windows XP. __ Do You Yahoo!? Tired of spam?

Re: Filters: sort and uniq

2004-11-16 Thread Ivan Ivanov
--- Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > > Hi, Ivan, > > thanks, but the "sortlist" is a task and not a > filter. Well, the previous email was a sort of FYI. >Besides, it isn't > a part of the Ant core. In other words: My question > still applies. Of course, it does. But an Ant comm

Re: Fwd: Problem with exec Windows XP

2004-11-16 Thread Peter Neu
Ok, maybe you are right. Is there any possibility to enforce the delete ? The only problem with this approach is that Tomcat is still holding on to the application files when I try to remove them and replace them with the newer version. Does anybody have an idea how to work around this probl

Re: Filters: sort and uniq

2004-11-16 Thread Jochen Wiedmann
Hi, Ivan, thanks, but the "sortlist" is a task and not a filter. Besides, it isn't a part of the Ant core. In other words: My question still applies. Regards, Jochen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

RE: I need a list of filenames

2004-11-16 Thread Riffe, Melvin
Well my final solution had to change a little bit. But I'd still like to share it on the Wiki - I just don't know on which page to put it. My final solution involves sending one file name at a time to another process. Thanks... - Mel -Original Message- From: [EMAIL PROTECTED] [mailto:

Re: Fwd: Problem with exec Windows XP

2004-11-16 Thread Ivan Ivanov
> > The only problem with this approach is that Tomcat > is still holding on > to the application files > when I try to remove them and replace them with the > newer version. > > > > > Does anybody have an idea how to work around this > problem ? Hm, are you sure Tomcat holds them. I us

Re: Fwd: Problem with exec Windows XP

2004-11-16 Thread Peter Neu
OK. I tried to work you suggestions into my buildfile. My idea is to keep tomcat up and running and simply restart the catalina process: This saves some time. Then I just put in the sync-block you suggested: http://localhost:5050/ae/"/> And afterwards I start a browser to display the

Re: Filters: sort and uniq

2004-11-16 Thread Ivan Ivanov
Jochen, ant-contrib[1] has [2] task does does some sorting. Below is an example that takes files conatining of all rpms installed on my machine (generated with rpm -qa > rpms) and sorts it: Good luck, Ivan [1]http://ant-contrib.sourceforge.net/ [2]http://ant-contrib.so

RE: Cross Dependency in Modules

2004-11-16 Thread Dick, Brian E.
Re-factor to remove the cross dependency. Put the interdependent classes in a third jar C, so that jars A and B are independent of each other. Then you would have the following. C is independent A needs C B needs C -Original Message- From: sanjeev chhabra [mailto:[EMAIL PROTECTED] Sent:

Filters: sort and uniq

2004-11-16 Thread Jochen Wiedmann
Hi, at least as of Ant 1.6.2, there don't seem to be filters with the functionality of "sort" (A Unix tool sorting the lines of a file) or "uniq" (Another Unix tool deleting lines from a file, which do not match given uniqueness constraints). I typically help myself by using these Unix tools in

Wild card values with exec task

2004-11-16 Thread Erskine, Chris
I have a user who is trying to use the exec task to link a program. As part of the command line, he is trying to add the argument *.o to link in all of the objects. Using does not seem to work. What is the right way to pass in a wildcard option? This is running on a Sun box using Ant 1.6.2 C

RE: QUERY:Exporting a digital signature generated from genkey

2004-11-16 Thread William Fitzgerald
Thank you Igor for your speedy replies. Yes, that verson of exec worked fine. the only way around the non-interactive nature of the ant build is to hardcode the password (-storepass)and to always trust the certificate (-noprompt) as can be seen from the signers build and the recievers (verifiers)

Cross Dependency in Modules

2004-11-16 Thread sanjeev chhabra
Hi All, If i want to create a EAR containing many Jars. Out of these Jars 2 jars have cross dependency. i.e. A Need B B Need A Now if i create jar A first it is giving me errors. How can i resolve this issue. Thanks Sanjeev Chhabra

Re: QUERY:Exporting a digital signature generated from genkey

2004-11-16 Thread Igor A. Deruga
Hi, Will! 1. As far as I know, "deprecated" means that the feature works fine in current version but it will be removed in future versions, so you better use an alternative. Ant says that you should use the "executable" attribute instead of "command": This is written in Ant's Manual

RE: Escapign backslash in java.home

2004-11-16 Thread Thomas Saxtoft
The thing is that the java.home I get from ant already contains the backslash. My script looks like this: I need to change the backslash contained in the property (java.home) to a frontslash, before writing to the file. When written to the file the backslash has disappeared, and thus it

RE: QUERY:Exporting a digital signature generated from genkey

2004-11-16 Thread William Fitzgerald
Yes I have tried this (task exec) but unfortunatly I still run into problems :( to create a certificate for Susan, i do the following: PROBLEM 1: but this is deprecated and I can't seem to work it for the executable command!!! [exec] The command attribute is deprecated. Please use the exec

Re: QUERY:Exporting a digital signature generated from genkey

2004-11-16 Thread Igor A. Deruga
Hello, Will! Unfortunately I don't know the task to do the creation of certificate but if you can do it from the command line, then why can't you use the task? Sincerely Igor > (4)keytool -export -keystore susanstore -alias signFiles -file > SusanJones.cer > > I can do the first 3 ste