wyona / yanel

http://www.yanel.org
Apache License 2.0
10 stars 5 forks source link

Remove build/webapps/yanel/WEB-INF/local.web.xml during build process #35

Open michaelwechner opened 12 years ago

michaelwechner commented 12 years ago

One can overwrite web.xml by setting a local custom version at

src/webapp/WEB-INF/local.web.xml

which then will be used instead

src/webapp/WEB-INF/web.xml

and then copied to

build/webapps/yanel/WEB-INF/web.xml

and finally to

local/apache-tomcat-7.0.25/webapps/yanel/WEB-INF/web.xml

but for some reasons there are also duplicates at

build/webapps/yanel/WEB-INF/local.web.xml local/apache-tomcat-7.0.25/webapps/yanel/WEB-INF/local.web.xml

which are not necessary.

csstaub commented 12 years ago

Any idea when this happens in the build process? I've been unable to find a reference to the file in any of the ant tasks, so I'm guessing this file is not handled separately but in collection with other files.

michaelwechner commented 12 years ago

See the TODO inside src/build/targets/webapp/webapp.xml

I think adding it to exclude attribute should fix this issue, I hope ;-)