Re: How do I enable Eclipse/WOLips Logging ?

From: Sébastien Sahuc (lis..ahuc.net)
Date: Thu Mar 30 2006 - 11:36:57 EST

  • Next message: WONDER: "WOLips builds curropted woa"

    As an example of log statement I'd like to see:
        
    org.objectstyle.wolips.projectbuild.builder.WOIncrementalBuilder.getLogg
    er().debug("refresh build folder took: " + (System.currentTimeMillis
    () - t0) + " ms");

    As for the resource copy, I actually got a fix, ready to be committed.

    Sebastien

    On Mar 30, 2006, at 6:02 AM, Ulrich Köster wrote:

    > Could you send a a log example that does not work.
    >
    > The incremental builder does not support flattening. That's a long
    > story.
    >
    > Uli
    > Am 29.03.2006 um 19:22 schrieb Sébastien Sahuc:
    >
    >> Thanks,
    >>
    >> I indeed noticed that log go through the error log view, but I
    >> don't see anything that are logged as DEBUG level, such as the
    >> time it spent building the various stages. So my question is more
    >> how to enable the DEBUG level for the WOLips plugin so I can see
    >> those lines.
    >>
    >> As to debugging Eclipse in Eclipse, this is exactly what I'm
    >> doing. I'm trying to fix a few things related to incremental build
    >> because I noticed a LOT of :
    >>
    >> Deleting ProjectNAME/build/ProjectNAME.frameworks/Resources/
    >> ANYTHING.[wo | html | wod | ... ]
    >> create ProjectNAME.frameworks/Resources/ANYTHING.[wo | html | wod
    >> | ... ]
    >>
    >> notice the difference in the path string, which I believe is the
    >> reason this is happening.
    >>
    >> So this is happening even when the build folder is completely
    >> empty and I trigger a complete clean build. So this is definitely
    >> not normal.
    >>
    >> Plus, I also noticed that when doing a build -> Clean, only the
    >> Java output folder get wiped out. The ProjectName/build is left
    >> untouched.
    >>
    >> Sebastien
    >>
    >> On Mar 29, 2006, at 3:28 AM, Ulrich Köster wrote:
    >>
    >>> Moin Sébastien,
    >>>
    >>> It's enabled by default. To see the output open the error log in
    >>> Eclipse. The view is in the PDE Runtime category.
    >>>
    >>> It's also possible to debug Eclipse in Eclipse. Let me know if
    >>> you need further info.
    >>>
    >>> Uli
    >>> Am 29.03.2006 um 03:05 schrieb Sébastien Sahuc:
    >>>
    >>>> Guys,
    >>>>
    >>>> I have no idea how to turn on the logging that WOLips spits. So
    >>>> far I had to use System.err statement all over the place. I
    >>>> would appreciate any hint on that simple matter ;-)
    >>>>
    >>>> Thanks,
    >>>>
    >>>> Sebastien
    >>>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Thu Mar 30 2006 - 11:37:00 EST