Re: Not this again?!

From: Mike Schrag (mschra..dimension.com)
Date: Sat May 10 2008 - 22:07:02 EDT

  • Next message: James Cicenia: "Re: Not this again?!"

    > what is the compile task you are using
    Specifically, there is a compile build target in build.xml. Inside
    that compile buid target there is a task definition for compiling. In
    the newer build.xml's, they use <wocompile srcdir="Sources"
    destdir="bin">. In the older ones, I think it's <compile ..>, which I
    think can cause the problem you're seeing.

    This is the compile target from a newer project:

       <target name="compile" depends="setProps,init.build">
         <taskdef name="wocompile"
    classname="org.objectstyle.woproject.ant.WOCompile" />
         <mkdir dir="bin" />
         <wocompile srcdir="Sources" destdir="bin">
           <frameworks root="${wo.dir.user.home.library.frameworks}">
             <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>
           <classpath>
             <fileset dir="${wo.wolocalroot}">
               <patternset>
                 <includesfile name="woproject/
    ant.frameworks.wo.wolocalroot" />
               </patternset>
             </fileset>
             <fileset dir="Libraries">
               <filename name="**/*.jar" />
             </fileset>
           </classpath>
         </wocompile>

    Incidentally, something else changed that you're not mentioning,
    because this problem doesn't just randomly happen. I would guess
    either you changed ant versions, you changed build.xml's, or you
    changed the user that runs the build (which is no longer an
    administrator).

    ms



    This archive was generated by hypermail 2.0.0 : Sat May 10 2008 - 22:07:47 EDT