Topic
3 replies Latest Post - ‏2013-11-26T23:25:13Z by BJOwings
SystemAdmin
SystemAdmin
445 Posts
ACCEPTED ANSWER

Pinned topic Sample Plugin Compilation Errors in ICN version 2.0.1

‏2013-01-21T09:15:43Z |
Hi,

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
Updated on 2013-02-27T10:40:01Z at 2013-02-27T10:40:01Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    445 Posts
    ACCEPTED ANSWER

    Re: Sample Plugin Compilation Errors in ICN version 2.0.1

    ‏2013-02-27T10:40:01Z  in response to SystemAdmin
    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
    • mail4srini
      mail4srini
      9 Posts
      ACCEPTED ANSWER

      Re: Sample Plugin Compilation Errors in ICN version 2.0.1

      ‏2013-11-23T05:43:41Z  in response to SystemAdmin

      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.

       

      • BJOwings
        BJOwings
        185 Posts
        ACCEPTED ANSWER

        Re: Sample Plugin Compilation Errors in ICN version 2.0.1

        ‏2013-11-26T23:25:13Z  in response to mail4srini

        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