hi
all,
i m using XDoclet and Maven to generate Hibernate
files.
however, XDoclet generates always hib.xml files that refers to hibernate
1.1 DTD
and i was wondering what can i do in order to
generate
hibernate files that refers to Hibernate 2.0 DTD instead of
1.1..
any
help?
thanx
in advance and regards
marco
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of EJ Ciramella
Sent: 11 June 2004 16:04
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] xDoclet 1.2.1, java 1.3.1 and ant 1.6.1...Hello xDoclet users, I'm new to xDoclet, so forgive me if this is a silly question.I'm having problems generating a xml config file using the templatedoclet task. Is there any way to say, "ignore the assert keyword" or, "I'm using 1.3.1, not 1.4.X".[templatedoclet] Error parsing File C:\work\aspen\source\com\upromise\app\workerbean\CSRWorkerBean.java:Encountered ". assert" at l
ine 2422, column 15.
[templatedoclet] Was expecting one of:
[templatedoclet] ";" ...
[templatedoclet] "=" ...
[templatedoclet] "++" ...
[templatedoclet] "--" ...
[templatedoclet] "+=" ...
[templatedoclet] "-=" ...
[templatedoclet] "*=" ...
[templatedoclet] "/=" ...
[templatedoclet] "&=" ...
[templatedoclet] "|=" ...
[templatedoclet] "^=" ...
[templatedoclet] "%=" ...
[templatedoclet] "<<=" ...
[templatedoclet] ">>=" ...
[templatedoclet] ">>>=" ...
[templatedoclet] "." <IDENTIFIER> ...
[templatedoclet] "." "this" ...
[templatedoclet] "." "super" ...
[templatedoclet] "." "new" ...
[templatedoclet] "[" ...
[templatedoclet] "(" ...
[templatedoclet] "." "class" ...
[templatedoclet] ":" ...
[templatedoclet] <IDENTIFIER> ...Also, how do I pass in a classpath for templatedoclet? I keep getting the following message:INFO: Some classes refer to other classes that were not found among the sources or on the classpath.
(Perhaps the referred class doesn't exist? Hasn't been generated yet?)
The referring classes do not import any fully qualified classes matching these classes.
However, since no packages are imported, xjavadoc has assumed that the referred classes
belong to the same package as the referring class. The classes are: