[opencms-dev] problems build opencms from source with ant

"Bührle, Martin, FCI1" martin.buehrle at lfk.eads.net
Sun Jun 9 13:55:30 CEST 2002


HI List,

I am getting error-messages when I try to compile the latest CVS-Sources of
opencms.
First I downloaded the 4.6.1 sources, then I checked out the CVS-content, as
described.

I am using 
jakarta ant 1.4.1
tomcat 4.0.3
JDK 1.3.1 (02), Sun

I get the following errorr-messages:

============================================================================
============

D:\DATEN\CVS-Daten\OpenCMS\opencms>ant all
Buildfile: build.xml

clean:
   [delete] Deleting directory D:\DATEN\CVS-Daten\OpenCMS\build

init:

initmsg:

prepare:
    [mkdir] Created dir: D:\DATEN\CVS-Daten\OpenCMS\build\classes
    [mkdir] Created dir:
D:\DATEN\CVS-Daten\OpenCMS\build\opencms\WEB-INF\lib
    [mkdir] Created dir:
D:\DATEN\CVS-Daten\OpenCMS\build\opencms\WEB-INF\oclib

compileclasses:
    [javac] Compiling 335 source files to
D:\DATEN\CVS-Daten\OpenCMS\build\class
es
    [javac]
D:\DATEN\CVS-Daten\OpenCMS\opencms\src\com\opencms\linkmanagement\Li
nkChecker.java:74: cannot resolve symbol
    [javac] symbol  : method getAllLinkTagValues  ()
    [javac] location: class com.opencms.template.CmsXmlTemplateFile
    [javac]         Vector result = bodyTemplateFile.getAllLinkTagValues();
    [javac]                                         ^
    [javac]
D:\DATEN\CVS-Daten\OpenCMS\opencms\src\com\opencms\linkmanagement\Li
nkChecker.java:114: cannot resolve symbol
    [javac] symbol  : method getOnlineBrokenLinks  ()
    [javac] location: class com.opencms.file.CmsObject
    [javac]             Vector result = cms.getOnlineBrokenLinks();
    [javac]                                ^
    [javac]
D:\DATEN\CVS-Daten\OpenCMS\opencms\src\com\opencms\linkmanagement\Li
nkChecker.java:123: cannot resolve symbol
    [javac] symbol  : method getBrokenLinks
(int,com.opencms.report.I_CmsReport
,java.util.Vector,java.util.Vector,java.util.Vector)
    [javac] location: class com.opencms.file.CmsObject
    [javac]             cms.getBrokenLinks(projectId, report, changed,
deleted,
newRes);
    [javac]                ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 3 errors

BUILD FAILED

D:\DATEN\CVS-Daten\OpenCMS\opencms\build.xml:134: Compile failed, messages
shoul
d have been provided.

Total time: 55 seconds
============================================================================
========


Any help?



============================================
Martin Buehrle
Telefax: 089 3179-8927
Martin.Buehrle at lfk.eads.net





More information about the opencms-dev mailing list