Aslak Hellesøy wrote:
It seems you don't have the xjavadoc sources (or maybe you have an old
xjavadoc.jar on your classpath?). You must check out the xjavadoc CVS module
next to the xdoclet module. -Or you can check out the xdoclet-all module to
get everything.

You can ignore the deprecation warnings.

HTH,
Aslak
  
Thanx again for the hint, Aslak

It allowed me to come a little bit further with the building, but I still have an error:
I checked out the cdoclet-all,
built first the xjavadoc, added the generated xjavadoc.jar in my cp, OR
started first the building in the xdoclet directory
BUT...
...
init:
     [echo]
     [echo] +----------------------------------------------------------------------
     [echo] |
     [echo] | B U I L D I N G  X D O C L E T  M O D U L E  'xdoclet'
     [echo] |
     [echo] +----------------------------------------------------------------------

validate-xtags:
[xmlvalidate] 1 file(s) have been successfully validated.

beautify:

compile:

xdoclet-xml:

BUILD FAILED
file:/usr/local/xdoclet-all/xdoclet/modules/modules-common.ent:126: taskdef class xdoclet.DocletTask cannot be found

Total time: 12 seconds

BTW, Is xdoclet usintg itself to compile ?
  
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eric
Tchepannou
Sent: 25. november 2002 00:53
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] could not build xdoclet sources from cvs
server...


Hi all,

Does somebody understand the deprecated and unresolved symbols output
from ant when building xdoclet sources?
Should I add sth in my cp?

Thanx....

I use SuSE Linux 8.0 with java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

Buildfile: build.xml

core:

init:

build-xjavadoc:

prepare:

beautify:

compile:
    [javac] Compiling 60 source files to
/usr/local/xdoclet/core/build/classes
    [javac]
/usr/local/xdoclet/modules/build/all-src/xdoclet/util/XmlValidator
.java:21:
warning: org.xml.sax.Parser in org.xml.sax has been deprecated
    [javac] import org.xml.sax.Parser;
    [javac]                    ^
    [javac]
/usr/local/xdoclet/modules/build/all-src/xdoclet/XDocletTagSupport
.java:532:
cannot resolve symbol
    [javac] symbol  : method qualify (java.lang.String)
    [javac] location: interface xjavadoc.XClass
    [javac]             value =
getCurrentClass().qualify(value).getQualifiedName();
    [javac]                                    ^
    [javac]
/usr/local/xdoclet/modules/build/all-src/xdoclet/tagshandler/TypeT
agsHandler.java:411:
cannot resolve symbol
    [javac] symbol  : method getDimensionAsString ()
    [javac] location: interface xjavadoc.XMethod
    [javac]                 curDimStr =
getCurrentMethod().getDimensionAsString();
    [javac]                                             ^
    [javac]
/usr/local/xdoclet/modules/build/all-src/xdoclet/util/XmlValidator
.java:272:
warning: org.xml.sax.Parser in org.xml.sax has been deprecated
    [javac]                 if
(Parser.class.isAssignableFrom(readerClass)) {
    [javac]                     ^
    [javac]
/usr/local/xdoclet/modules/build/all-src/xdoclet/util/XmlValidator
.java:273:
warning: org.xml.sax.Parser in org.xml.sax has been deprecated
    [javac]                     Parser parser = (Parser)
readerClass.newInstance();
    [javac]                     ^
    [javac]
/usr/local/xdoclet/modules/build/all-src/xdoclet/util/XmlValidator
.java:273:
warning: org.xml.sax.Parser in org.xml.sax has been deprecated
    [javac]                     Parser parser = (Parser)
readerClass.newInstance();
    [javac]                                      ^
    [javac] 2 errors
    [javac] 4 warnings

BUILD FAILED
file:/usr/local/xdoclet/core/build.xml:164: Compile failed; see the
compiler error output for details.

Total time: 16 seconds




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
    



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


  

Reply via email to