RE: Formatted copy

2008-08-07 Thread afsilva
I guess I didn't explain myself in the proper way: My goal is not to deploy an application to the server, but prepare the EAR's in a file system structure so I can run an application that analyzes those EAR's. can you give a hint with that? thanks mgainty wrote: > > > I'll answer the quest

Re: Getting "Exception invoking method check"

2008-08-07 Thread fphan
Thanks for all your responses. I've also found that bouncing Tomcat can solve this weird problem. -- View this message in context: http://www.nabble.com/Getting-%22Exception-invoking-method-check%22-tp18764317p18877802.html Sent from the Ant - Users mailing list archive at Nabble.com.

RE: Formatted copy

2008-08-07 Thread Martin Gainty
I'll answer the question with a question If the majority of AppServers deploy ears how would the appserver be able to deploy the ear application.xml,web.xml war and jar files To look at a specific example for deploying an ear to JBOSS take a look at http://www.roseindia.net/jboss/buildingwebappl

Re: fileset manipulation

2008-08-07 Thread Florijan Stamenkovic
Oh... Nope, they are arbitrary project names. F On Aug 07, 2008, at 14:04, Matt Benson wrote: My point was that I assume that the names of Foo and its siblings follow no predictable pattern, hence your reason for enumerating them in a file. --

RE: fileset manipulation

2008-08-07 Thread Matt Benson
--- EJ Ciramella <[EMAIL PROTECTED]> wrote: > If this is a custom task/macro, couldn't you just > programmatically > generate that secondary fileset? That is possible. It would probably also be doable to create a new includes pattern using and a file mapper and generate the new fileset "Ant-ic

Re: fileset manipulation

2008-08-07 Thread Matt Benson
--- Florijan Stamenkovic <[EMAIL PROTECTED]> wrote: > > On Aug 06, 2008, at 11:35, Matt Benson wrote: > > > To answer your original query, F, for the time > being I > > would probably load your includesfile using > > > with a nested filterchain and thereby customize > your > > basic includesfi

Formatted copy

2008-08-07 Thread afsilva
Hi all, I have a folder with many EAR's. I need to copy them to another folder and I want each EAR to be inside a subfolder with the EAR's name without the ".ear". Does anyone knows a way of doing this with ant? A possible solution would be a task that creates a property with a folder's content

RE: fileset manipulation

2008-08-07 Thread EJ Ciramella
If this is a custom task/macro, couldn't you just programmatically generate that secondary fileset? This is out there on the fringe of my ant knowledge, so it's plausible you could do this within ant (with a refid or some other kind of reference back to the original fileset), but I can't say for s

Re: rename files in directory and subdirectory

2008-08-07 Thread Florijan Stamenkovic
Isaak, First, are you sure this should be in your ant build? It sounds like a one time process of porting the files to your new naming schema. If that is the case, it might be simplest to just use something like Renamer4Mac: http://renamer4mac.com/ If however for some reason you really

RE: fileset manipulation

2008-08-07 Thread Ivar Bratberg
Ok, to be more precise: I have defined an ant macro , called "ftpWithChecksum". The purpose of this macro is to work as a layer over the ant ftp task. The macro will, as the name says, provide a check of checksums of the files. I want the corresponding checksum files to be downloaded from the same

Re: rename files in directory and subdirectory

2008-08-07 Thread IsaakTaylor
Hello, thanx for the answers. First, I'm using Maven Ant Task. I have a Java project and I want to create an maven archetype (a project template out of a complete project). Like I said before, I have a directory with subdirs and they contain files like OldProjectXXX.java My task is to rename