Re: Building woproject in Eclipse

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Mon May 29 2006 - 07:55:32 EDT

  • Next message: Fabrice Pipart: "Re: Component editor not inserting }"

    It's only required for the developers of woproject. The end user has
    nothing to do with it.

    You're able to create,build and launch a WOApplication in Eclipse
    without setting the ANT_HOME variable.

    Am 29.05.2006 um 13:40 schrieb Pierre Frisch:

    > Uli,
    >
    > Of course I fixed it, but you are missing the point.
    >
    > The project should be right as downloaded. It is poor show that
    > these glitches exists.
    >
    > This is the first thing that anyone downloading wolips sees and we
    > should fix it.
    >
    > Pierre
    >
    > P.S.
    >
    > Are you sure this is the right path?Shouldn't it be: /Developer/
    > eclipse/plugins/org.apache.ant_1.6.5

    Both should work.
    >
    > On 29-May-06, at 1:41 AM, Ulrich Köster wrote:
    >
    >> Come on. It only takes a minute to enter the variable in Eclipse.
    >>
    >> <Bild 1.png>
    >>
    >>
    >> Uli
    >>
    >>
    >> Am 28.05.2006 um 16:29 schrieb Pierre Frisch:
    >>
    >>> At the root of the woproject folder there is a .classpath file
    >>> that includes the following lines:
    >>>
    >>> <classpathentry kind="var" path="ANT_HOME/lib/ant-
    >>> launcher.jar"/>
    >>> <classpathentry kind="var" path="ANT_HOME/lib/ant.jar"/>
    >>> <classpathentry kind="var" path="ANT_HOME/lib/ant-
    >>> junit.jar"/>
    >>>
    >>> ANT_HOME is not defined by default in eclipse 3.2RC6. I don't
    >>> know if there is a variable that could be used to replace this
    >>> one. This is not used for the ant builds but only when editing in
    >>> eclipse for syntax checking.
    >>>
    >>> The ant build works without that variable definition.
    >>>
    >>> Pierre
    >>>
    >>> On 28-May-06, at 6:01 AM, Mike Schrag wrote:
    >>>
    >>>> Ohhh .. you mean actually building wolips itself, not webobjects
    >>>> projects created w/ wolips. Yeah, I'm not sure if we can
    >>>> autodetect ANT_HOME. I wonder if we can detect that you're in
    >>>> Eclipse and somehow use the ant plugin's path?
    >>>>
    >>>> On May 28, 2006, at 12:51 AM, Pierre Frisch wrote:
    >>>>
    >>>>> I had another look the classpath relies on ANT_HOME which is
    >>>>> not set by default. I am not sure how we can detect the
    >>>>> ANT_HOME in eclipse.
    >>>>>
    >>>>> Pierre
    >>>>>
    >>>>> On 27-May-06, at 9:20 PM, Mike Schrag wrote:
    >>>>>
    >>>>>> Which aspect of the classpath? The only thing I have to do
    >>>>>> when I make a new WO project is select the frameworks I depend
    >>>>>> on w/ the WebObjects Library, but it sounds like we may be
    >>>>>> talking about different workflows ... I haven't really done
    >>>>>> any work with classpath or app launching, so Ulrich is
    >>>>>> probably the man for you.
    >>>>>>
    >>>>>> ms
    >>>>>>
    >>>>>> On May 27, 2006, at 11:30 AM, Pierre Frisch wrote:
    >>>>>>
    >>>>>>> Hi Mike,
    >>>>>>>
    >>>>>>> I have a quick question why are the classpath not setup in
    >>>>>>> the woproject/wolips projects? I know I can fix that but I
    >>>>>>> was wondering why it is not setup out of the box? Is there a
    >>>>>>> reason or is it just an oversight?
    >>>>>>>
    >>>>>>> It is annoying as the Java editor complain about the syntax
    >>>>>>> even through it compiles fine with ant.
    >>>>>>>
    >>>>>>> Thanks
    >>>>>>>
    >>>>>>> Pierre
    >>>>>>
    >>>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Mon May 29 2006 - 07:55:36 EDT