Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Silk4J project fails to compile when executed from Silk Central Connect

Silk4J project fails to compile when executed from Silk Central Connect

When attempting to execute my Silk4J project from Silk Central Connect, the status message "Not Executed" is displayed almost immediately, as shown below:

To determine why the Silk4J project failed to execute, click the magnifying icon:

Then click the browser icon with the warning icon to view the reason why the Silk4J project failed to execute:

Which then reveals the following failures:

When we look at the [javac] messages in the above screenshot, we can see a number of "cannot be resolved" errors were thrown when attempting to build the Silk4J project. Errors such as these indicate that the Silk4J project in question uses additional or 3rd party libraries, that have likely been added to the "Build Path" within Eclipse which allows Eclipse to build the project successfully.

When using additional libraries with a Silk4J project that is integrated with Silk Central Connect, we must import the additional libraries to the "lib" project folder. To do this:

  1. Right click on the lib folder and select "Import..."



  2. On the "Import" dialog, select General -> File System



  3. Click the "Browse" button and navigate to the directory that contains your additional libraries
  4. Check the additional libraries that must be imported for your project to build successfully



  5. Press Finish and confirm that the lib folder of your project now contains the additional library
  6. Commit the changes to Silk Central Connect 
    1. Right Click on your Silk4J project
    2. Select Team -> Commit


If we now execute our Silk4J project from Silk Central Connect no further build errors will be received.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2014-07-28 15:46
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.