The following comment has been added to this issue:

     Author: René Zanner
    Created: Mon, 15 Nov 2004 3:35 AM
       Body:
Hi Andrew,

one important hint in your comment made me finally build XDoclet (resp. 
xjavadoc). 

I still don't know exactly why, but "junit.jar" has to be in the lib dir of ANT 
itself! I just copied a junit.jar into my ANT distribution lib dir and finally 
the "<junit>" task could be instantiated by ANT.

I will update the README.TXT in the xdoclet base dir. Here it says put 
"xalan.jar" in the lib dir of your ant distribution - but it has to be 
"junit.jar" instead.

OK. Now the sources should build. But they won't because 

1. the tests won't pass (someone should fix the "xjavadoc.XDocTest" - I set 
"failonerror" to "false" to avoid the build to bail out here)

AND

2. in the samples the generated jboss.xml can't be validated against the JBOSS 
4.0 DTD. 

The merge file "jboss-webservices.ent" contains invalid markup so that the 
resulting jboss.xml is invalid ('Element type "webservices-context-root must be 
declared.'). In the checked-in version of jboss_4_0.dtd the element is called 
"webservice-context-root". So it seems to be a simple 's' too much.

BUT: it seems to be that the checked-in version of the JBoss 4.0 DTD is not the 
one published by JBoss. After checking the downloadable version it turned out 
that in the current DTD version the element "webservice-context-root" is not 
supported - the content of the merge file is wrong in two ways. 

As soon as I get hands on CVS again (supposedly today in the evening) I will 
check in the current version of the DTD and adapt the merge file to fit the DTD.

As long as this is not fixed, please let this bug open.

Thanks!

Cheers,

René
---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1149?page=comments#action_15246

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1149

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1149
    Summary: Cannot build XDoclet from the source
       Type: Bug

     Status: Open
   Priority: Blocker

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
   Fix Fors:
             1.2.2
   Versions:
             1.2.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: René Zanner

    Created: Wed, 10 Nov 2004 10:16 AM
    Updated: Mon, 15 Nov 2004 3:35 AM
Environment: Ant 1.6.2, JDK 1.4.2_05, Maven 1.0

Description:
I'm trying desperately to build XDoclet from the sources. I followed the 
instructions on the Website, but nothing works.

Maybe I missed something because I haven't been around for some time, but I 
could not remember it being SO complicated...

Thank you,

René


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to