Any way to deploy folder's contents?

Creating war file from inside Idea.

Using Web/Web Settings tab. Add... Aditional Resource

If I choose a folder from Additional Recource textfield, it will import it as a folder, so in war, I aill have

Question: Any way to just include the files from a folder? I don't want a "folder" to be created. Only files and subfolders.
Otherwise I'd need to include each and every file and that would be a pain.

Add this in 8.1+?


select your webfacet and instead of additional resource, there is "web resource directories" (it is within same tab as websettings, last "dialog"),
then click  "New" button and add directory and your desired directory deployment mapping.

Web resource is used for web.xml and context.xml and server specific stuff (jboss, glassfish etc)


That did it! Thanks! Life is good yet again.


worked CanSpam has permitted the agency to pursue lawsuits against spammers and has spurred adoption of commercial email best practices such as including an opt out  Weclome toload cell online store link and the senders postal address in any unsolicited message said Lydia Parnes director of the FTCs Bureau of Consumer Protection What remains unclear however is how effective the law has been Statistics compiled by antispam companies show that the total number of junk email messages has leaped percent in the last year At We supply lawn mowergasoline chain saw with high quality welcome to order lawn mowergasoli

Original message URL:


Please sign in to leave a comment.