1

I found this wiki page through a nabble posting, but I can't make sense of it. In my JSF application, how do I tell CODI that I want to be running in development mode? Is there a web.xml setting or do I have to use an annotation somewhere?

Much thanks for any help.

AlanObject
  • 9,613
  • 19
  • 86
  • 142

2 Answers2

2

See https://cwiki.apache.org/confluence/display/EXTCDI/Core+Usage#CoreUsage-EnvironmentConfigOptions Web.xml settings aren't supported see: "Static configuration files like web.xml and property files aren't supported by default because ..."

Dar Whi
  • 822
  • 5
  • 14
  • do you have an example of this, the documentation is too terse for me to comprehend. Thanks. – Oversteer Dec 15 '11 at 10:29
  • I would contact the project team. They should add something to the Wiki if you miss something. – Dar Whi Dec 15 '11 at 21:24
  • I did contact the project team, unfortunately the response was concise to the point of not being comprehensible! – Oversteer Dec 17 '11 at 12:45
  • I can't see your E-Mail on their mailing list. – Dar Whi Dec 20 '11 at 12:48
  • I have more than one email address. More worrying is the fact that you could find out what it is on here, I'd assumed that only I could see it. As it happens my question was specific to startup logging, close though: http://old.nabble.com/CODI---turn-off-startup-config-logging--td32898132.html#a32904409 – Oversteer Dec 20 '11 at 15:42
  • The mailing lists are public. So what are you worrying about? Thank you for the link, but that's a different topic. – Dar Whi Dec 22 '11 at 12:21
1

I know it's been a couple of months since you asked the question, but I achieve this by setting javax.faces.PROJECT_STAGE=Development as a system property when running in my dev environment. CODI doesn't pick it up from web.xml, but does test the system property.

sjfern
  • 83
  • 3