[ http://jira.codehaus.org/browse/MPWAR-48?page=comments#action_44028 ]
Brill Pappin commented on MPWAR-48: ----------------------------------- Ahh, found the problem and IMO its not really a bug :) turns out that the maven.war.tld.dir is expecting a webapp relative path, so when I tell it that I want my TLDs in ${maven.war.src}/WEB-INF the path I actually get is: C:\workspace\jmonkey-java-xplanner\target\xplanner\C:\workspace\jmonke y-java-xplanner\src\webapp\WEB-INF of course this is wrong and is documented on the plugin site. > exception during war goal if TLD dir already exists. > ---------------------------------------------------- > > Key: MPWAR-48 > URL: http://jira.codehaus.org/browse/MPWAR-48 > Project: maven-war-plugin > Type: Bug > Environment: War plugin 1.6.1, Windows XP. > Reporter: Brill Pappin > Attachments: stack-trace.txt > > > Not sure if this is a bug or not but I'm getting an exception if the > src/webapp/WEB-INF directory already exists and the property > maven.war.tld.dir=${maven.war.src}/WEB-INF is set (its legacy and I can't > change it): > Maven stack trace attached. > This only happens when the WEB-INF directory already exists, if I remove it > everything works fine (except I no longer have the currect stuff included in > the WAR). > anyway, it looks like mkdir is being called when the TLDs are imported, but > is failing. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]