[opencms-dev] buidl error in eclipse

Alexander Kandzior alex at opencms.org
Mon Jun 7 10:39:01 CEST 2004


Some larger changes where made on Sunday. Maybe not everything was commited
when you tried to compile.

The latest CVS version does compile. You should check it out and try again.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Desmond Bothma
> Sent: Sunday, June 06, 2004 7:20 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] buidl error in eclipse
> 
> 
> 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\defaul
> ts\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.Cm
> sMasterContent
> ,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.CmsMas
> terContent,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_mast
erId.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?
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> 




More information about the opencms-dev mailing list