Re: Dreaded IO Error scanning directory (Spotlight-V100)

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Thu Nov 08 2007 - 19:43:28 EST

  • Next message: Mike Schrag: "Re: Dreaded IO Error scanning directory (Spotlight-V100)"

    On 09/11/2007, at 10:36 AM, Mike Schrag wrote:

    > I don't do "build system" :) I just complain about it ...

    :)

    > Honestly, our build server runs as root to avoid this complaint

    Ah, a work around. That'll hopefully get me going for now... Err,
    no... OutOfMemoryError probably whilst scanning the entire drive!

    > because I've been too lazy to incorporate Chuck's fixes into all
    > our build files. So Chuck's fix didn't work (switching from javac
    > to wocompile, or whatever it is?)

    I tried using Chuck's fix. No dice yet... it's failing on simple
    things... a work-around for this would be good.
    package com.webobjects.foundation does not exist
    [wocompile] import com.webobjects.foundation.*;

    What I did do that worked for a short amount of time was replace the
    build.xml with a very short one I've been successfully using in
    another project. These are sharing some ant build files from months
    ago that I'd set up from the ones that used to ship:
    <project name="MyProj" basedir="." default="build">
            <dirname file="../../ant/build.woapp.xml" property="helper.dir" />
            <import file="${helper.dir}/build.woapp.xml" />
    </project>

    But this is failing now too :-/

    > On Nov 8, 2007, at 6:25 PM, Lachlan Deck wrote:
    >
    >> This is still causing me grief. Mike, anyone... what's the
    >> definitive fix?
    >>
    >> I've removed any trailing blank likes in my woproject/* files and
    >> ~/Library/wobuild.properties file. What else is causing this?
    >>
    >> On 07/11/2007, at 5:49 PM, Lachlan Deck wrote:
    >>
    >>> On 07/11/2007, at 5:44 PM, Lachlan Deck wrote:
    >>>
    >>>> On 07/11/2007, at 5:39 PM, Lachlan Deck wrote:
    >>>>
    >>>>> what's the work-around for this again?
    >>>>>
    >>>>> build.xml:232: IO error scanning directory '/.Spotlight-V100'
    >>>>
    >>>> Okay found it... can someone update the default build.xml to fix
    >>>> the compile target?
    >>>>
    >>>> with regards,
    >>>> --
    >>>>
    >>>> Lachlan Deck
    >>>> lachla..sh.com.au
    >>>>
    >>>> <target name="compile" depends="setProps,init.build">
    >>>> <mkdir dir="bin" />
    >>>> <javac srcdir="src" destdir="bin" debug="true">
    >>>
    >>> srcdir="Sources" of course.
    >>>
    >>>> <classpath>
    >>>> <fileset dir="${wo.dir.user.home.library.frameworks}"
    >>>> includesfile="woproject/ant.frameworks.user.home">
    >>>> <include name="**/*.jar" />
    >>>> <exclude name="**/*Spotlight-V100"/>
    >>>> </fileset>
    >>>> <fileset dir="${wo.wolocalroot}" includesfile="woproject/
    >>>> ant.frameworks.wo.wolocalroot">
    >>>> <include name="**/*.jar" />
    >>>> <exclude name="*Spotlight-V100"/>
    >>>> </fileset>
    >>>> <fileset dir="${wo.wosystemroot}" includesfile="woproject/
    >>>> ant.frameworks.wo.wosystemroot">
    >>>> <include name="**/*.jar" />
    >>>> <exclude name="*Spotlight-V100" />
    >>>> </fileset>
    >>>> </classpath>
    >>>> <extdirs path="${wo.dir.local.extensions}" />
    >>>> </javac>
    >>>> </target>
    >>>>
    >> with regards,
    >> --
    >>
    >> Lachlan Deck
    >> lachla..sh.com.au
    >>
    >>
    >>
    >> with regards,
    >> --
    >>
    >> Lachlan Deck
    >>
    >>
    >>
    >
    >

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Thu Nov 08 2007 - 19:44:26 EST