[opencms-dev] buidl error in eclipse
Desmond Bothma
desmondb at saratoga.co.za
Sun Jun 6 19:19:02 CEST 2004
Hi All
Can anyone help? I got the latest cvs snapshot of Opencms and am trying to
build it with the help of Eclipse. But I got get the following errors.
[javac] C:\Documents and Settings\desmondb\My
Documents\Development\workspace\opencms\src\com\opencms\defaults\CmsLinkChec
k.java:296:
getOwnTemplateFile(com.opencms.file.CmsObject,java.lang.String,java.lang.Str
ing,java.util.Hashtable,java.lang.String) in
com.opencms.template.CmsXmlTemplate cannot be applied to
(org.opencms.file.CmsObject,java.lang.String,java.lang.String,<nulltype>,jav
a.lang.String)
[javac] CmsXmlTemplateFile template = getOwnTemplateFile(cms,
(String)emailValues.get("mailtemplate"), "", null, "");
[javac] ^
[javac] C:\Documents and Settings\desmondb\My
Documents\Development\workspace\opencms\src\com\opencms\legacy\CmsCosIndexRe
source.java:59: incompatible types
[javac] found : int
[javac] required: org.opencms.util.CmsUUID
[javac] m_id = ds.m_masterId;
[javac] ^
[javac] C:\Documents and Settings\desmondb\My
Documents\Development\workspace\opencms\src\com\opencms\legacy\CmsCosIndexer
.java:143: getAllSubChannelsOf(com.opencms.file.CmsObject,java.lang.String)
in com.opencms.defaults.master.CmsMasterContent cannot be applied to
(org.opencms.file.CmsObject,java.lang.String)
[javac] Vector subChannels = CmsMasterContent.getAllSubChannelsOf(m_cms,
channel);
[javac] ^
[javac] C:\Documents and Settings\desmondb\My
Documents\Development\workspace\opencms\src\com\opencms\legacy\CmsCosIndexer
.java:153: readAllByChannel(com.opencms.file.CmsObject,int,int) in
com.opencms.defaults.master.CmsMasterContent cannot be applied to
(org.opencms.file.CmsObject,java.lang.String,int)
[javac] Vector resources = readAllByChannel(m_cms, channelId, m_subId);
[javac] ^
[javac] C:\Documents and Settings\desmondb\My
Documents\Development\workspace\opencms\src\com\opencms\legacy\CmsCosIndexer
.java:237:
read(com.opencms.file.CmsObject,com.opencms.defaults.master.CmsMasterContent
,com.opencms.defaults.master.CmsMasterDataSet,int) in
com.opencms.defaults.master.genericsql.CmsDbAccess cannot be applied to
(org.opencms.file.CmsObject,com.opencms.defaults.master.CmsMasterContent,com
.opencms.defaults.master.CmsMasterDataSet,org.opencms.util.CmsUUID)
[javac]
CmsMasterContent.getDbAccessObject(contentDefinition.getSubId()).read(cms,
contentDefinition, ds, new CmsUUID(contentId));
[javac] ^
[javac] C:\Documents and Settings\desmondb\My
Documents\Development\workspace\opencms\src\com\opencms\legacy\CmsExportModu
ledata.java:428: cannot resolve symbol
[javac] symbol : method readUser (int)
[javac] location: class org.opencms.file.CmsObject
[javac] ownerName = getCms().readUser(dataset.m_userId).getName();
[javac] ^
[javac] C:\Documents and Settings\desmondb\My
Documents\Development\workspace\opencms\src\com\opencms\legacy\CmsExportModu
ledata.java:437: cannot resolve symbol
[javac] symbol : method readGroup (int)
[javac] location: class org.opencms.file.CmsObject
[javac] groupName = getCms().readGroup(dataset.m_groupId).getName();
[javac] ^
[javac] C:\Documents and Settings\desmondb\My
Documents\Development\workspace\opencms\src\com\opencms\legacy\CmsExportModu
ledata.java:444: int cannot be dereferenced
[javac]
data.addElement(C_EXPORT_TAG_MASTER_ID).addText(dataset.m_masterId.toString(
));
[javac] ^
[javac] C:\Documents and Settings\desmondb\My
Documents\Development\workspace\opencms\src\com\opencms\legacy\CmsImportModu
ledata.java:246: incompatible types
[javac] found : int
[javac] required: org.opencms.util.CmsUUID
[javac] CmsUUID userId = newMaster.getOwner();
[javac] ^
[javac] C:\Documents and Settings\desmondb\My
Documents\Development\workspace\opencms\src\com\opencms\legacy\CmsImportModu
ledata.java:247: incompatible types
[javac] found : int
[javac] required: org.opencms.util.CmsUUID
[javac] CmsUUID groupId = newMaster.getGroupId();
[javac] ^
[javac] C:\Documents and Settings\desmondb\My
Documents\Development\workspace\opencms\src\com\opencms\legacy\CmsImportModu
ledata.java:251: cannot resolve symbol
[javac] symbol : method chown
(org.opencms.file.CmsObject,org.opencms.util.CmsUUID)
[javac] location: class com.opencms.defaults.master.CmsMasterContent
[javac] newMaster.chown(m_cms, userId);
[javac] ^
Does any one have any ideas, this is driving me nuts?
More information about the opencms-dev
mailing list