Re: A Quick Word Regarding Development on Ubuntu

From: Chuck Hill (chil..lobal-village.net)
Date: Thu Jul 05 2007 - 20:48:55 EDT

  • Next message: Jonathan Miller: "Re: A Quick Word Regarding Development on Ubuntu"

    On Jul 5, 2007, at 5:41 PM, Jonathan Miller wrote:

    > I guess that would help :p

    Yes, it does at times. :-)

    >
    > Buildfile: /home/ijohnny/workspace/Sample/build.xml
    > setProps:
    > init.install:
    > init.build:
    > compile:
    > build.woapp:
    > [woapplication] Installing Sample in //Library/WebObjects/Applications
    >
    > BUILD FAILED
    > /home/ijohnny/workspace/Sample/build.xml:55: Directory /Library/
    > WebObjects/Applications/Sample.woa creation was not successful for
    > an unknown reason

    That is a new one for me!

    > Total time: 651 milliseconds
    >
    > Upon looking at it do you think the issue is with the fact that the
    > directory "/Library/WebObjects/Applications" does not exist?

    That seems likely.

    > If so how do I change the output directory to "/WO/Library/
    > WebObjects/Applications"?

    It is dest.dir:

             <woapplication name="${project.name}" stdFrameworks="false"
                                                  destDir="${dest.dir}"

    Which is:
         <target name="init.install">
              <tstamp/>
             <property name="dest.dir" value="${install.dir}"/>
         </target>

    install.dir is defined (Whew!) in setProps:

                    <property name="install.dir" value="${wo.wolocalroot}/Library/
    WebObjects/Applications"/>

    or you can just set this in build.properties

    Chuck

    >
    >
    >
    > On Jul 5, 2007, at 2:34 PM, Chuck Hill wrote:
    >
    >>
    >> On Jul 5, 2007, at 5:29 PM, Jonathan Miller wrote:
    >>
    >>> After a lot of head scratching and making my life a lot more
    >>> difficult than it had to be, I have this little tidbit to offer.
    >>>
    >>> If doing WOLIPS development on Ubuntu utilize the Synaptic
    >>> Package Manager to install Eclipse.
    >>>
    >>> I made the mistake of just trying to download Eclipse, which will
    >>> take you down this SWT hell whenever you try to use the
    >>> WebObjects/WOD editor.
    >>>
    >>> I'm still having problems trying to build a sample project? For
    >>> some reason ant throws an unknown error related to the line
    >>>
    >>> webXML_CustomContent="${webXML_CustomContent}"
    >>>
    >>> Any ideas? (I tried giving a value of false to
    >>> webXML_CustomContent is build.properties)
    >>
    >> Can you provide the context from your build.xml file and the
    >> actual error message?
    >>
    >>
    >>
    >> --
    >>
    >> Practical WebObjects - for developers who want to increase their
    >> overall knowledge of WebObjects or who are trying to solve
    >> specific problems.
    >> http://www.global-village.net/products/practical_webobjects
    >>
    >>
    >>
    >>
    >>
    >
    >

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Thu Jul 05 2007 - 20:49:40 EDT