----- Original Message -----
From: "Ara Abrahamian" <[EMAIL PROTECTED]>

> > Paths are ordered, although when a <fileset> is dropped into a path
> that
> > fileset will be in the order specified within the path, but the order
> > within
> > that fileset is undetermined.  Make sense?
> >
> > I'm sure that there is probably a set order that it uses, but that is
> an
> > implementation detail that should not be relied upon.
>
> I think claspath should be ordered. It's a common trick in many app
> servers/etc to fool the class loader to load your version of an xml
> parser by renaming say parser.jar to something like x_parser.jar so your
> parser.jar takes precedence over the other one which is renamed to come
> at the end.

Again, <path> _is_ ordered (aka <classpath> in many tasks).  But if you nest
a <fileset> within a <path> the files *within* that fileset cannot have
their order guaranteed.  If you need to mandate order, then use individual
<pathelement> or <path refid="..."> within a <path> to spell it out
explicitly.

Let me turn it around on you.... how can I adjust the order of the classes
processed by XDoclet?  You can't, because its using a <fileset>.  :)

    Erik



_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to