I downloaded and built xdoclet from CVS yesterday.
Build was successful with no errors or warnings. Using
jdk 1.4b3 on Redhat 7.2.

To run the xdoclet sample, I copied all the jar files
referenced in the Sample README to the sample/lib
directory. When I run ./build.sh, I get the following
output:

1. I get 44 warnings, such as the following:

[ejbdoclet] Constructing Javadoc information...
[ejbdoclet]
/home/rick/programs/cvs-root/xdoclet/dist/samples/src/java/test/ejb/cmr/CityBean.java:94:
cannot resolve symbol
[ejbdoclet] symbol  : class CityPK  
[ejbdoclet] location: class test.ejb.cmr.CityBean
[ejbdoclet]    public CityPK ejbCreate( String id )
throws CreateException {

2. Then I get the following 7 compilation errors and
the build fails.  It seems that the import statements
in the .java files whose compilation fails incorrectly
reference themselves.

    [javac]
/home/rick/programs/cvs-root/xdoclet/dist/samples/gen-src/java/test/interfaces/CustomerData.java:11:
test.interfaces.CustomerData is already defined in
this compilation unit
    [javac] import test.interfaces.CustomerData;
    [javac] ^
    [javac]
/home/rick/programs/cvs-root/xdoclet/dist/samples/gen-src/java/test/interfaces/PersonData.java:11:
test.interfaces.PersonData is already defined in this
compilation unit
    [javac] import test.interfaces.PersonData;
    [javac] ^
    [javac]
/home/rick/programs/cvs-root/xdoclet/dist/samples/gen-src/java/test/interfaces/CustomerPK.java:12:
test.interfaces.CustomerPK is already defined in this
compilation unit
    [javac] import test.interfaces.CustomerPK;
    [javac] ^
    [javac]
/home/rick/programs/cvs-root/xdoclet/dist/samples/gen-src/java/test/interfaces/Customer.java:10:
test.interfaces.Customer is already defined in this
compilation unit
    [javac] import test.interfaces.Customer;
    [javac] ^
    [javac]
/home/rick/programs/cvs-root/xdoclet/dist/samples/gen-src/java/test/interfaces/Person.java:10:
test.interfaces.Person is already defined in this
compilation unit
    [javac] import test.interfaces.Person;
    [javac] ^
    [javac]
/home/rick/programs/cvs-root/xdoclet/dist/samples/gen-src/java/test/interfaces/AccountData.java:10:
test.interfaces.AccountData is already defined in this
compilation unit
    [javac] import test.interfaces.AccountData;
    [javac] ^
    [javac]
/home/rick/programs/cvs-root/xdoclet/dist/samples/gen-src/java/test/interfaces/Account.java:9:
test.interfaces.Account is already defined in this
compilation unit
    [javac] import test.interfaces.Account;
    [javac] ^
    [javac] 7 errors

BUILD FAILED

Can someone please provide some help here. Greatly
appreciated.

Rick

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to