I have seen exactly the same behavior on one machine while it worked on another 
(even with a mvn clean).

I suspect that sometimes during the build the compilation runs against the jars 
in the maven repository and not against the compiled sources in the 
subprojects. Then the newly added ExtensionLevel class is missing. Is there an 
option that forces mvn to ignore the repositories for everything that is part 
of the current project? Do we have a hidden issue in our dependencies?
I worked around by first going to 
chemistry-opencmis-commons\chemistry-opencmis-commons-api and do a mvn clean 
install there.

Jens


-----Original Message-----
From: Nick Craft [mailto:[email protected]] 
Sent: Dienstag, 3. August 2010 23:27
To: [email protected]
Subject: Error Building OpenCMIS Client - missing ExtensionLevel symbol

Hi there,

I'm getting the following error when attempting to build the current
HEAD of OpenCMIS trunk  following the instructions at
http://incubator.apache.org/chemistry/opencmis-how-to-build.html

Any advice would be appreciated.

Thanks,
Nick Craft

C:\develop\OpenCMIS\trunk-979352\chemistry-opencmis-client\chemistry-opencmis-client-api\src\main\java\org\apache\chemistry\opencmis\client\api\CmisObject.java:[30,51]
cannot find symbol
symbol  : class ExtensionLevel
location: package org.apache.chemistry.opencmis.commons.enums

C:\develop\OpenCMIS\trunk-979352\chemistry-opencmis-client\chemistry-opencmis-client-api\src\main\java\org\apache\chemistry\opencmis\client\api\CmisObject.java:[160,31]
cannot find symbol
symbol  : class ExtensionLevel
location: interface org.apache.chemistry.opencmis.client.api.CmisObject

Reply via email to