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

From: Federico Hernandez (fhernande..oslabs.com)
Date: Thu Nov 08 2007 - 19:04:50 EST

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

    I did Chuck's changes with a modification, the patternset 's going in
    wocompile instead of wopath to works in Mac and Windows.

    And modify templates in org.objectstyle.wolips.templateengine_2.0.0.4118 of
    WOLips plug-in.

      <target name = "compile" depends = "setProps,init.build" >
        <mkdir dir = "bin"/>
        <!-- Non-source Classpath for project-->
        <wopath id="project.classpath">
          <path>
             <!-- Define webobjects.extensions=/Library/WebObjects/Extenstions
    in wobuild.properties
                  if you want those jars included. -->
            <fileset dir="${webobjects.extensions}" />
          </path>
        </wopath>
            
        <wocompile srcdir="Sources" destdir="${classes.dir}" debug="on">
          <classpath refid="project.classpath"/>
          <frameworks root="${user.home}">
            <patternset>
              <includesfile name="woproject/ant.frameworks.user.home"/>
            </patternset>
          </frameworks>
          <frameworks root="${wo.wolocalroot}">
            <patternset>
              <includesfile name="woproject/ant.frameworks.wo.wolocalroot"/>
            </patternset>
          </frameworks>
          <frameworks root="${wo.wosystemroot}">
            <patternset>
              <includesfile name="woproject/ant.frameworks.wo.wosystemroot"/>
            </patternset>
          </frameworks>
        </wocompile>
      </target>

    Federico

    -----Original Message-----
    From: Mike Schrag [mailto:mschra..dimension.com]
    Sent: Jueves, 08 de Noviembre de 2007 05:36 p.m.
    To: woproject-de..bjectstyle.org
    Subject: Re: Dreaded IO Error scanning directory (Spotlight-V100)

    I don't do "build system" :) I just complain about it ... Honestly,
    our build server runs as root to avoid this complaint 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?)

    ms

    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
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Nov 08 2007 - 19:05:13 EST