Re: Debugging w/WO53, Ant Build embeds WO54

From: Klaus Berkling (kberklin..yned.com)
Date: Thu Jul 16 2009 - 16:24:50 EDT

  • Next message: Chuck Hill: "Re: Debugging w/WO53, Ant Build embeds WO54"

    On Jul 16, 2009, at 12:17 PM, Chuck Hill wrote:

    > Can you paste in the woapplication task?

    Do you mean this:

            <target name="build.woapp" depends="compile">
                    <taskdef name="woapplication"
    classname="org.objectstyle.woproject.ant.WOApplication"/>

                    <woapplication name="${build.app.name}" frameworksBaseURL="/
    WebObjects/${project.name}.woa/Frameworks" destDir="${dest.dir}"
    customInfoPListContent="${customInfoPListContent}" principalClass="$
    {principalClass}" webXML="${webXML}" webXML_CustomContent="$
    {webXML_CustomContent}"
    servletAdaptor="com.webobjects.jspservlet.WOServletAdaptor">
                            <classes dir="${classes.dir}">
                                    <includesfile name="woproject/classes.include.patternset" />
                                    <excludesfile name="woproject/classes.exclude.patternset" />
                            </classes>

                            <wsresources dir=".">
                                    <includesfile name="woproject/wsresources.include.patternset" />
                                    <excludesfile name="woproject/wsresources.exclude.patternset" />
                            </wsresources>

                            <resources dir=".">
                                    <includesfile name="woproject/resources.include.patternset" />
                                    <excludesfile name="woproject/resources.exclude.patternset" />
                            </resources>

                            <frameworks root="ProjectLocal" embed="${embed.ProjectLocal}"
    eclipse="true" />
                            <frameworks root="External" embed="${embed.External}"
    eclipse="true" />
                            <frameworks root="Local" embed="true" eclipse="true" />
                            <frameworks root="User" embed="true" eclipse="true" />
                            <frameworks root="System" embed="true" eclipse="true" />
                            <frameworks root="Network" embed="${embed.Network}" eclipse="true" />

                            <lib dir="Libraries">
                                    <include name="*.jar" />
                            </lib>
                    </woapplication>
            </target>

    >
    >
    > On Jul 16, 2009, at 12:08 PM, Klaus Berkling wrote:
    >
    >> Hi All.
    >>
    >> Not sure where to start.
    >>
    >> I have Eclipse 3.4.2/WOLips 5744
    >> In Eclipse' preferences I use a properties file that points to
    >> WO5.3 (WOLips/Build/WOLips Properties File).
    >> I also have a default wolips.properties in the same location as the
    >> one for 5.3
    >> I have custom ant build files that I didn't write.
    >> There are 4 frameworks use by the app which make up the bulk of the
    >> app.
    >> In the end the app needs to embed WO5.3
    >>
    >> Debugging the app uses WO5.3, I know because I make one call that
    >> throws an exception under WO5.4.
    >>
    >> Building with Ant embeds my frameworks and WO5.4, I know because
    >> the <app>/Content/Frameworks/JavaWebObjects.framework/Resources/
    >> version.plist says it is. And I see the exception from the method I
    >> know works under WO5.3.
    >>
    >> I don't see something like <frameworks root="${wo.wosystemroot}"
    >> embed="true"> or <frameworks root="${wo.wolocalroot}" embed="true">
    >> in my build.xml file.
    >>
    >> I'm probably not looking for the right thing. Were should I look?
    >> The custom build.xml makes more then one reference to
    >> wolips.properties.
    >>
    >> Is this my problem:
    >> <property name="wolips.properties" value="${user.home}$
    >> {file.separator}Library${file.separator}Application Support$
    >> {file.separator}WOLips${file.separator}wolips.properties" />
    >>

    Thanks

    kib

    "We keep moving forward, opening new doors, and doing new things,
    because we're curious and curiosity keeps leading us down new paths."
    Walt Disney

    Klaus Berkling
    Web Application Dev. & Systems Administrator
    DynEd International, Inc.
    www.dyned.com | www.eskimo.com/~kiberkli



    This archive was generated by hypermail 2.0.0 : Thu Jul 16 2009 - 16:25:42 EDT