Although hardly an expert, I have poked around in the war plugin. It uses the plexus directory scanner to gen a list of artifacts to include. This is probably why it won't find empty folders. You may be able to override this using the includes/excludes settings (note that currently , separated lists don't work). (ie you could add an include to /foldername that you wanted to keep)
-----Original Message----- From: Frank Russo [mailto:[EMAIL PROTECTED] Sent: Monday, December 19, 2005 11:12 AM To: Maven Users List Subject: RE: including empty directories in a war build It's an internal existing app. People who support it, know why it's there. A readme would just an added file to keep around in source control. There has to be a way to do it without having a file. This is very simple in ant. You just add a mkdir call to your task prior to the war command being called... Frank Russo Senior Developer FX Alliance, LLC > -----Original Message----- > From: Jesse McConnell [mailto:[EMAIL PROTECTED] > Sent: Monday, December 19, 2005 11:06 AM > To: Maven Users List > Subject: Re: including empty directories in a war build > > > personally I would drop a README file in each directory and explain > what that directory is doing there...it would help others who stumble > across the situation... > > just a thought.. > > On 12/19/05, Frank Russo <[EMAIL PROTECTED]> wrote: > > > > I'm creating a war file that will eventually be exploded into the > > tomcat webapp directory. I have some shell script files that run > > behind the scene's of my webapp. When the war is exploded, > it needs to > > have created a bin directory under the WEB-INF directory of the > > webapp. I haven't been able to figure out to do this with > Maven. I'm > > using 2.0.1. It seems to only include directories that have files. > > > > Is there a way to explicitly say to create an empty directory? > > > > Thanks... > > > > Frank Russo > > Senior Developer > > FX Alliance, LLC > > 900 Third Avenue, 3rd Floor > > New York, NY 10022 > > 646.268.9949 > > > > > > > > > > > -- > jesse mcconnell > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
