Let me elaborate on my latest commits:

-introduced ${xdoclet.root.dir} in stead of relative paths from ${basedir}
You can read about this in xdoclet/build.properties

-modified classpath used when building xdoclet.xml (include previously built
module jars)
The xdoclet.xml files were bad (didn't contain enough info. This was due to
incomplete classpaths.
Every module's build will include everything in ${dist.lib.dir} now. Fixes
it. This also obsoletes the
common.xml file-

-simplified module build scripts
Just removed the import of the common.xml file and the definition of an
unused property.

-renamed deploymentdescriptor subtask (in ejb and web) to ejbjarxml and
webxml. due to duplicate key lookup in
This is a bit bad, as it breaks backwar compatibility with build scripts
using xdoclet.
The reason is that a subtask's logical name (specified in @xdoclet:subtask
name="blabla" tags) are used
for two purposes:
1) to support creation of subelements in a task
2) the same value is used in the static subtaskMap map in DocletTask as a
key.

This map is static because we only want to load modules once (for
performance reasons)

Well, it's the same purpose, I guess, but this makes you understand why I
changed it.
We could change this by using some compound key in the Map, but I think we
should concentrate
on getting things to work first. Can do this later.

An other issue is that Vincent's dirty jar support doesn't work anymore. It
look at xdoclet.jar's age.
We need to look at the module jar's age. The codesource "bug" in Ant
prevents us from using the codesource
trick to locate a class' jar file. see post from hani suleiman about that:

I suggest we look at all the jars on the classpath (see modulefinder about
how to get the jars
with a single method call). then do a max between all the dates. If you
agree with this approach,
I can add a static method to ModuleFinder � la

public static long getNewestJarOnClasspathLastModified()

Aslak


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to