> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:xdoclet-user-admin@;lists.sourceforge.net]On Behalf Of Hanasaki
> JiJi
> Sent: 26. oktober 2002 07:44
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] deployment descriptors from 1.2B
>
>
> The 1.2B1 build went great!  Was it supposed to make ear files?  there

Are you talking about building XDoclet or building the samples?

Building XDoclet (run ant in xdoclet folder) will produce a lot of
xdoclet*.jar files. No war/ear files, since XDoclet is not a J2EE
application.

Building the samples (run ant in xdoclet/samples folder) will produce a lot
of *.java and *.xml files, but no war/jar/ear files.

The result of the samples build can be found under
xdoclet/samples/buld/output.
*.java -> xdoclet/samples/buld/output/gen-src
*.xml -> xdoclet/samples/buld/output/classes/META-INF

If you didn't get this, something went wrong.

The reason why we don't package the generated code as war/jar/ear is that
the source code in samples isn't really a deployable application. -It serves
more as an example about how to use XDoclet, and also as a poor man's test
suite for the developers (we're working on a proper test suite and a
deployable test app for the new XDoclet 2 architecture).

Anyway, packaging generated classes/xml descriptors can be done using Ant's
standard <jar>, <war> and <ear> tasks.

HTH,
Aslak

> do not seem to be any ear/war/deployment descriptors.



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to