Holger Hoffstätte wrote:
> Hello Joseph,
>
> Joseph Rajkumar wrote:
> > The cayenne-web-app does not compile the action/*.java
> > classes. This is because of the Level and LogLevel changes.
> > See error messages:
> >
> > Just about no java file compiles under the action directory.
>
> You are right - we recently changed from java.util.logging to log4j and
> revamped the build processs; since the example apps are not part of that
> we missed them. Sorry about that.
> The quick fix is to simply change every SEVERE to WARN or ERROR; this
> should make it compile and run. I'll fix this in CVS immediately.
>
> Holger
Hi Folks
I am desperate. I tried to change Level.SEVERE to Level.WARN
and Level.ERROR and both of those do not compile, so I could
not get Level.SEVERE, Level.WARN, not Level.ERROR to compile.
See below.
Thanks
Joseph Rajkumar
============================
Here is the screen shot:
action/SavePaintingAction.java:56: cannot resolve symbol
symbol : variable SEVERE
location: class org.apache.log4j.Level
ctxt.commitChanges(Level.SEVERE);
^
action/SubmitPaintingToGalleryAction.java:42:
setLogLevel(java.util.logging.Level) in
org.objectstyle.cayenne.query.AbstractQuery cannot be applied to
(org.apache.log4j.Level)
query.setLogLevel(Level.ERROR);
^
action/SubmitPaintingToGalleryAction.java:57:
setLogLevel(java.util.logging.Level) in
org.objectstyle.cayenne.query.AbstractQuery cannot be applied to
(org.apache.log4j.Level)
query.setLogLevel(Level.WARN);
^
This archive was generated by hypermail 2.0.0 : Sun Sep 15 2002 - 20:07:29 EDT