Service Operations Insight

 View Only
  • 1.  Build Path for Sample Connector for SOI 3.3 in Eclipse

    Posted Mar 18, 2015 09:55 AM

    Hi Community,

     

    I am using CA SOI 3.3 on a Win2008r2 64bit OS version and would like to use the Sample Connector as a template to build custom connectors.

     

    I have deployed the Sample Connector project in Eclipse and i get build path errors like:

    Project 'SampleConnector' is missing required library: 'C:\Program Files (x86)\CA\SOI\lib\ivy\EplusCore.jar'

    Project 'SampleConnector' is missing required library: 'C:\Program Files (x86)\CA\SOI\lib\ivy\testng-jdk15.jar'

    Project 'SampleConnector' is missing required library: 'C:\Program Files (x86)\CA\SOI\lib\ucf\core.impl.jar'

     

    These jar files are not included in the SOI_HOME\lib and cannot locate them on any other path on my disk.

    Is there any way to find these jar files? Has anyone ever tried to create a custom connector using the Sample connector as a template?

     

    Thanks!



  • 2.  Re: Build Path for Sample Connector for SOI 3.3 in Eclipse

    Posted Mar 18, 2015 10:02 AM

    Did you follow the steps of the Connector Guide to install the TestNG package?

     

    Install TestNG Eclipse Plug-in

     

    To run connector unit tests, install the TestNG plug-in in your Eclipse environment.

     

    Follow these steps:

    1. Uninstall any existing previous version of TestNG.

    2. Start Eclipse and select Help, Install New Software.

    The Install page opens.

    3. Click Add.

    The Add Site page opens

    4. Enter TestNG in the Name field, enter http://beust.com/eclipse in the Location field, and click OK.

    Information for the plug-in displays in the table on the Install dialog

    5. Expand TestNG, select org.testng.eclipse, and click Next twice.

    The Review Licenses page opens.

    6. Accept the License Agreement and click Finish.

    TestNG installs, and Eclipse asks for the permission to restart.

    7. Click Yes.

    Eclipse restarts, and the TestNG plug-in is now available for use.



  • 3.  Re: Build Path for Sample Connector for SOI 3.3 in Eclipse

    Posted Mar 20, 2015 09:27 AM

    Hi Michael,

     

    Thanks for your help. Yes i have followed the steps in the documentation.

    It was a clean installation from scratch and TestNG v6.8.6.20141201_2240 is working properly. asdasd

     

    The jar files that are missing should be included in the C:\Program Files (x86)\CA\SOI\lib path. This path was created during CA SOI 3.3 installation.

    Can you please check in your environment if these 3 files are included in the SOI_HOME\lib path?

    Maybe these files are not included in the SOI_HOME\lib path for CA SOI v3.3

    build_path_sampleconnector_project.PNG

     

    Thanks, Fotis



  • 4.  Re: Build Path for Sample Connector for SOI 3.3 in Eclipse

    Posted Mar 27, 2015 08:39 AM

    Hi Fotis,

    these files are also not in my environment (SOI 3.3).

    I get the same errors when importing the project into Eclipse, but when you clear them and do a Validate again, they dont show up again.

    I suggest to open a Support Issue to get this clarified.

     

    Regards,

    Michael