Re: AW: ant webdoclet in other project

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Mon Sep 08 2003 - 05:51:06 EDT

  • Next message: Paolo Sommaruga: "Updating FRAMEWORKS and WEBSERVER_RESOURCES section of the PB.project file"

    Hi Frédéric,

    a short what's happening. commons-logging is used by wolips and
    xdoclet. The plugin structure of eclipse separates the ant stuff from
    the rest of eclipse with different classloaders. The next release of
    wolips comes without commons-logging.

    Ulrich
    On Monday, 8. September 2003, at 09:44AM, Ulrich Köster wrote:

    > Hi Frédéric,
    >
    > I'm able to reproduce your problem. Give me some time to figure out
    > what goes wrong.
    >
    > Ulrich
    >
    > On Freitag, 5. September 2003, at 09:42vorm., Frédéric Dreier wrote:
    >
    >> I tried to reduce the example to the minimum.
    >>
    >> It still needs xdoclet-bin
    >> (http://sourceforge.net/project/showfiles.php?
    >> group_id=31602&release_id=1653
    >> 01) to be installed (just unzip, no config is needed).
    >>
    >> Just put the attached build file in a new, empty, java project, and
    >> update
    >> the xdoclet path to fit your installation in build.xml:
    >>
    >> Running the ant should give such an output :
    >>
    >>> Buildfile: C:\Programme\eclipse\workspace\test\build.xml
    >>>
    >>> xml-gen:
    >>> [webdoclet] BUILD FAILED:
    >> org.apache.commons.logging.LogConfigurationException:
    >>> java.lang.ClassNotFoundException:
    >> org.objectstyle.wolips.logging.WOLipsLogFactory
    >>> Total time: 625 milliseconds
    >>
    >> Say me if it also failed on your machine. It is probably just a
    >> misconfiguration from my own.
    >>
    >> Regards,
    >>
    >> Frédéric
    >>
    >>
    >> PS: I also attach the .project and .classpath file, but they are
    >> default.
    >>
    >>
    >>
    >> -----Ursprüngliche Nachricht-----
    >> Von: Ulrich Köster [mailto:ulric..bjectstyle.org]
    >> Gesendet: Freitag, 5. September 2003 08:33
    >> An: Frédéric Dreier
    >> Cc: Woproject
    >> Betreff: Re: ant webdoclet in other project
    >>
    >>
    >> Hi Frédéric,
    >>
    >> a example of what you're doing would be helpful.
    >>
    >> Ulrich
    >> On Thursday, 4. September 2003, at 19:14PM, Frédéric Dreier wrote:
    >>
    >>> Hi,
    >>>
    >>> I'm setting up a new project in eclipse (no WO related, pure java),
    >>> which
    >>> use xdoclet. And I have written a build.xml file where I define a
    >>> webdoclet
    >>> task.
    >>>
    >>> The problem is that when I run ant from eclipse, I got the following
    >>> error :
    >>>
    >>> [webdoclet] BUILD FAILED:
    >>> org.apache.commons.logging.LogConfigurationException:
    >>> java.lang.ClassNotFoundException:
    >>> org.objectstyle.wolips.logging.WOLipsLogFactory
    >>>
    >>>
    >>> Is that a known issue or do I do something wrong?
    >>>
    >>>
    >>> Regards,
    >>>
    >>> Frederic
    >>>
    >>>
    >>>
    >> <build.xml><.project><.classpath>



    This archive was generated by hypermail 2.0.0 : Mon Sep 08 2003 - 05:47:42 EDT