Re: Ant build failing

From: Jean Pierre Malrieu (jp.malrie..ree.fr)
Date: Wed Mar 28 2007 - 12:13:19 EDT

  • Next message: Jean Pierre Malrieu: "Re: Classpath ordering problem"

    Thanks Chuck. I had promised myself not to look at an ant file ever,
    but for you I'll make a exception.
    I did create the missing folders and my frameworks build fine now.

    What is the recommended practice?
    EOmodels in the "Resources" folder?
    WO Frameworks and JRE system Library in "Libraries" folder?
    Can I put localized folders (French.lproj for example) in the
    "Components" folder?

    JPM

    Le 27 mars 07 à 22:41, Chuck Hill a écrit :

    > Hi Jean Pierre,
    >
    > Someone changed this a while ago and it is making a mess of new
    > projects (and old ones if you update the build file). I suspect
    > this may be the work of the maven-ites. ;-) In a way I kind of
    > like this change, but it should have been accompanied by code to
    > create these directories if not present and should not force
    > existing projects to be reorganized.
    >
    >
    >
    > If you look in the build.xml you will see this:
    >
    > <woframework name="${framework.name}" destDir="${dest.dir}"
    > customInfoPListContent="${customInfoPListContent}" principalClass="$
    > {principalClass}" eoAdaptorClassName="${eoAdaptorClassName}">
    > <classes dir="${classes.dir}">
    > <patternset>
    > <includesfile name="woproject/classes.include.patternset"/>
    > <excludesfile name="woproject/classes.exclude.patternset"/>
    > </patternset>
    > </classes>
    > <wsresources dir="WebServerResources">
    > <patternset>
    > <include name="**/*"/>
    > <exclude name="CVS"/>
    > <exclude name=".svn"/>
    > <excludesfile name="woproject/wsresources.exclude.patternset"/>
    > </patternset>
    > </wsresources>
    > <resources dir="Resources">
    > <patternset>
    > <include name="**/*"/>
    > <exclude name="CVS"/>
    > <exclude name=".svn"/>
    > <excludesfile name="woproject/resources.exclude.patternset"/>
    > </patternset>
    > </resources>
    > <resources dir="Components">
    > <patternset>
    > <include name="**/*"/>
    > <exclude name="CVS"/>
    > <exclude name=".svn"/>
    > <excludesfile name="woproject/resources.exclude.patternset"/>
    > </patternset>
    > </resources>
    > <lib dir="Libraries">
    > <include name="*.jar"/>
    > <exclude name="**/*.framework/**"/>
    > </lib>
    > </woframework>
    >
    >
    > The source of your problem is
    > <lib dir="Libraries">
    >
    > You can either add a Libraries/ folder to your project or replace
    > "Libraries" with "." You will have to do a similar thing for
    > WebServerResources, Resources, and Components,
    >
    > Chuck
    >
    > On Mar 27, 2007, at 1:04 PM, Jean Pierre Malrieu wrote:
    >
    >> In the hope of solving my classpath problems in deployment, I have
    >> updated my WOLips and Wonder to the latest nightly builds.
    >> I have also called "WOLips Ant Tools-->Replace with latest
    >> build.xml" on all my projects.
    >> But now, one of my frameworks won't build with Ant. I receive the
    >> following output in the console:
    >>
    >>
    >> Buildfile: /Users/jpm/Documents/EclipseTemp/workspace/TDEOS/build.xml
    >> setProps:
    >> init.install:
    >> build.woframework:
    >> [woframework] Installing TDEOS in //Library/Frameworks
    >>
    >> BUILD FAILED
    >> /Users/jpm/Documents/EclipseTemp/workspace/TDEOS/build.xml:49: /
    >> Users/jpm/Documents/EclipseTemp/workspace/TDEOS/Libraries not found.
    >>
    >> Line 49 is this one:
    >>
    >> <woframework name="${framework.name}" destDir="${dest.dir}"
    >> customInfoPListContent="${customInfoPListContent}"
    >> principalClass="${principalClass}" eoAdaptorClassName="$
    >> {eoAdaptorClassName}">
    >>
    >> I am rather lost here. At least, before, I could build with ant.
    >> Now I can't. Could someone help me a little bit to get out of this
    >> problem?
    >>
    >> Thanks.
    >>
    >> JPM
    >
    > --
    >
    > 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 : Wed Mar 28 2007 - 12:13:28 EDT