A wise old hermit known only as Hani Suleiman <[EMAIL PROTECTED]> once 
said:

> Firstly, is it possible to have an old style distribution build target?
> Currently just to build some ejb's I need:
> 
> xdoclet.jar
> xdoclet-xdoclet-module.jar
> xdoclet-appserver-module.jar
> commons-logging.jar
> xjavadoc.jar
> 
> Compared to just an xdoclet.jar previously.

Don't forget earlier versions needed log4j.jar and ant.jar also...

> Now, I appreciate that this new design is better and more modular etc 
> etc,
> but I suspect I'm missing something as I detect a small bit of
> overengineering...
> 
> Eg, when would someone want xdoclet.jar without 
> xdoclet-xdoclet-module.jar?

The xdoclet-xdoclet-module.jar contains the info (@todo) subtask, the one 
we use ourselves to document the template tags, and the externalizer 
(i18n) subtask.  If you're not using those and just want to do ejb stuff 
without generating a todo list, then you wouldn't need it.

Alternatively, if you don't want to pick and choose which modules to 
include, there should be a jar containing them all.

> I also miss the ability of just adding a line to my build file to emit 
> dd's
> for new appservers, now I have to find the appropriate module jar and 
> put
> that in my already-very-full build classpath.

If you're using the all-modules jar, there's nothing else to add.  Or, if 
you really must have a single jar with everything, you could always 
extract all the jars to a single directory yourself and re-jar them into a 
single file.

> Secondly, it is possible to specify nested classpath ref elements in
> defining tasks? (ok, I guess this is an ant question...)
> 
> Eg, instead of specifying classpathref="someref", I'd like to use nested
> elements since I have more than one classpath ref. This didn't seem to 
> work when I tried it.

Does
<classpath>
<path refid="one"/>
<path refid="two"/>
</classpath>
not work?  The docs suggest it should = "A path-like structure can include 
a reference to another path-like structure via nested <path> elements"
See http://jakarta.apache.org/ant/manual/using.html#path


Andrew.


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to