Title: Build Problem: can not resolve Translator.getString

WARNING: Newbie at the wheel.
Hi,
I am trying to build xdoclet1.1.2/xdoclet-all from the CVS download (as of 2002-06-04, 1500hrs EDT).  I am using jakarta-ant-1.5Beta2, j2sdk1.4.1, j2sdkee1.3.1 running on Windows NT 4.0.

Executing ant from the xdoclet-all/xdoclet directory, I get 12 errors in the build-externalizer ant step where javac can not resolve the symbol getString within the xdoclet/util/Translator class.  (the getString method with the signatures required is in the xdoclet.util.Translator class in the source, and Javac imports the xdoclet.util.Translator package without complaint)...I am perplexed???  What's wrong? 

The error messages coming out are:

[snip removing prior successful builds]

build-externalizer:
     [echo] *** Building xdoclet module... ***

init:
     [echo] ******** Building XDoclet Module 'xdoclet' ********

beautify:

compile:
    [javac] Compiling 6 source files to D:\SourceForge\xdoclet-1.1.2\xdoclet-all\xdoclet\modules\build\xdoclet\classes
    [javac] D:\SourceForge\xdoclet-1.1.2\xdoclet-all\xdoclet\modules\xdoclet\src\xdoclet\modules\doc\DocumentTagsSubTask.java:80: cannot resolve symbol

    [javac] symbol  : method getString  (java.lang.Class,java.lang.String)
    [javac] location: class xdoclet.util.Translator
    [javac]         System.out.println(Translator.getString(XDocletModulesDocMessages.class, XDocletModulesDocMessages.GENERATING_NAMESPACES));

    [javac]                                      ^
    [javac] D:\SourceForge\xdoclet-1.1.2\xdoclet-all\xdoclet\modules\xdoclet\src\xdoclet\modules\doc\DocumentTagsSubTask.java:85: cannot resolve symbol

    [javac] symbol  : method getString  (java.lang.Class,java.lang.String)
    [javac] location: class xdoclet.util.Translator
    [javac]         System.out.println(Translator.getString(XDocletModulesDocMessages.class, XDocletModulesDocMessages.GENERATING_TAGS_MAIN));

    [javac]                                      ^
    [javac] D:\SourceForge\xdoclet-1.1.2\xdoclet-all\xdoclet\modules\xdoclet\src\xdoclet\modules\doc\DocumentTagsSubTask.java:90: cannot resolve symbol

    [javac] symbol  : method getString  (java.lang.Class,java.lang.String)
    [javac] location: class xdoclet.util.Translator
    [javac]         System.out.println(Translator.getString(XDocletModulesDocMessages.class, XDocletModulesDocMessages.GENERATING_TAGS_TOC_MAIN));

    [javac]                                      ^
    [javac] D:\SourceForge\xdoclet-1.1.2\xdoclet-all\xdoclet\modules\xdoclet\src\xdoclet\modules\doc\DocumentTagsSubTask.java:95: cannot resolve symbol

    [javac] symbol  : method getString  (java.lang.Class,java.lang.String)
    [javac] location: class xdoclet.util.Translator
    [javac]         System.out.println(Translator.getString(XDocletModulesDocMessages.class, XDocletModulesDocMessages.GENERATING_TAGS_MAIN));

    [javac]                                      ^
    [javac] D:\SourceForge\xdoclet-1.1.2\xdoclet-all\xdoclet\modules\xdoclet\src\xdoclet\modules\doc\DocumentTagsSubTask.java:102: cannot resolve symbol

    [javac] symbol  : method getString  (java.lang.Class,java.lang.String)
    [javac] location: class xdoclet.util.Translator
    [javac]         System.out.println(Translator.getString(XDocletModulesDocMessages.class, XDocletModulesDocMessages.GENERATING_TAGS_MAIN));

    [javac]                                      ^
[snip 7 other messages that are the same except that in some cases the signature is getClass(Class,String,String[]) instead of getClass(Class,String).

Any help is greatly appreciated.
Sincerely,
John Neal

Phone: 727.299.4050 -- FTT ext. 3-4050


Reply via email to