Pinned topic Sample Plugin Compilation Errors in ICN version 2.0.1


We are using the ICN installation version 2.0.1.
We have taken 'samplePlugin' from samples directory in ICN installation folder and imported the 'samplePlugin' folder as Eclipse project.
Below are the jar files added to the build path:
chemistry-opencmis-client-api-0.8.0.jar
chemistry-opencmis-client-bindings-0.8.0.jar
chemistry-opencmis-client-impl-0.8.0.jar
chemistry-opencmis-commons-api-0.8.0.jar
chemistry-opencmis-commons-impl-0.8.0.jar
cmbicmsdk81.jar
j2ee-1.4.jar
Jace.jar
JSON4J.jar
navigatorAPI.jar
ODApi.jar
Unable to find the below classes -
import com.ibm.ecm.Constants;
import com.ibm.ecm.ODConstants;
import com.ibm.ecm.P8ParamConstants;
import com.ibm.ecm.util.DocumentContent;
Please let us know what is the correct jar file to be added to the build path.
Thanks,
Vamshi
-
Re: Sample Plugin Compilation Errors in ICN version 2.0.1
2013-02-27T10:40:01ZThis is the accepted answer. This is the accepted answer.
Hi Pride,
did you manage to solve the issue jars issue?
I having trouble here too.
Can you please post the jar you added to your build path and where to get them, if its possible.
I believe I'm only missing the com.ibm.ecm.... ones.
Thanks
Jcor -
Re: Sample Plugin Compilation Errors in ICN version 2.0.1
2013-11-23T05:43:41ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin
- 2013-02-27T10:40:01Z
Hi Pride,
did you manage to solve the issue jars issue?
I having trouble here too.
Can you please post the jar you added to your build path and where to get them, if its possible.
I believe I'm only missing the com.ibm.ecm.... ones.
Thanks
Jcor1) This sample application has been made for all kind of repository supported by ICN, so even if you don't have the OnDeman and other...then also we need to give the JAR.
2) The class com.ibm.ecm.Constants in the samplePlugin is not there in the ICN application or even in other applicaton
Not Sure how to make any progress with the ICN custom development, Need help.
-
Re: Sample Plugin Compilation Errors in ICN version 2.0.1
2013-11-26T23:25:13ZThis is the accepted answer. This is the accepted answer.
- mail4srini
- 2013-11-23T05:43:41Z
1) This sample application has been made for all kind of repository supported by ICN, so even if you don't have the OnDeman and other...then also we need to give the JAR.
2) The class com.ibm.ecm.Constants in the samplePlugin is not there in the ICN application or even in other applicaton
Not Sure how to make any progress with the ICN custom development, Need help.
Vamshi,
There are references in the sample to some internal ICN classes. This is fixed in the 2.0.2 version of the sample, but to get around the problem for 2.0.1 you'll need to use the classes that are in the navigator.war/WEB-INF/classes to resolve the missing references.
- Brian