2 Replies Latest reply on Feb 23, 2012 9:30 AM by paul.robinson

    Generate warning if beans.xml is in war's META-INF?

    paul.robinson

      Hello,

       

      I recently converted a .jar archive to a .war archive. I forgot to move the beans.xml from the META-INF to the WEB-INF. It took me a few hours to figure out what I had done wrong. I'm sure I'm not the only person to put the beans.xml in the wrong place. Would it make sense for weld to detect this and generate a warning or something?

       

      I can create a JIRA if you think it's worth considering.

       

      Paul.