how about this:

@@ -108,7 +108,7 @@
    <!-- =================================
          target: -compile
         ================================= -->
-    <target name="-compile" depends="-prepare-depends">
+    <target name="-compile" depends="-prepare-depends, -layout">
@@ -168,10 +167,19 @@
            <src path="modules/x-net/src/main/java/" />

            <classpath>
-                <fileset dir="${depends.jars}">
+                <fileset dir="${hy.jdk}/jre/lib/boot">
                    <include name="**/*.jar" />
                </fileset>


We do copying first. As a result we don't have to mantain one more list

2006/11/28, Mikhail Loenko <[EMAIL PROTECTED]>:
2006/11/28, Tim Ellison <[EMAIL PROTECTED]>:
> Mikhail Loenko wrote:
> > classpath has both xerces 2.6.2 and xerces 2.8.0. 2.6.2 goes first.
> >
> > If I remove 2.6.2 from depends it builds OK. I noticed that there are
> > also other
> > old versions of depends that are still there. How do we handle them?
>
> ah ha.  Yeah, good point.  At the moment we take 'depends/**/*.jar' onto
> the classpath, and when we update versions we don't explicitly require
> people to delete the older versions.
>
> The fix is to list the dependencies that we have in a fileset, rather
> than picking up all the JARs.  It means there is one more place to
> update when we have a new dependency, but at least it is explicit I guess.
>
> So I'm guessing that the roll-back fixed things for you because that is
> now picking up the 'wrong' JRE JARs again, which happen to have the JARs
> you need!  So can you please put back the fixed build-java.xml?

OK, sure


>
> Thanks
> Tim
>
> --
>
> Tim Ellison ([EMAIL PROTECTED])
> IBM Java technology centre, UK.
>

Reply via email to