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
ROOT\folder\files.

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+?

0
3 comments

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)

0

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

0

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 http://www.jewelryover.com/tiffany-bangles.html 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 http://www.shoesmum.com is how effective the law has been http://www.hairhey.com Statistics compiled by antispam companies show that the total number of junk email messages has leaped percent in the last year At http://www.shoesmum.com We supply lawn mowergasoline chain saw with high quality http://www.hairhey.com welcome to order lawn mowergasoli

---
Original message URL: http://devnet.jetbrains.net/message/5274480#5274480

0

Please sign in to leave a comment.