Configuring the Eclipse environment to run custom integration applications
Use Eclipse facilities to configure the environment to run your custom integration applications.
About this task
To run your custom integration applications by using Eclipse, you must update the CLASSPATH environment variable:
Procedure
- In your Eclipse environment, select
.The New Project wizard opens.
- Select Java Project from the options
displayed. Click Next. The New Java Project window opens.
- Enter a name for your new project. Click Next.
- Select the Libraries tab, and click Add External Jars.
- To set up the build environment, navigate to
the install_dir/common/classes subdirectory.
For example, for Version 10.1 on Windows operating systems, navigate to the directory C:\Program Files\IBM\IIB\10.1.0.2\common\classes.Select the file IntegrationAPI.jar, and click Open. The file is added to the list in the window for the Libraries tab.
- When you have added the file IntegrationAPI.jar to the build path,
set up the runtime environment. Click Add External Jars again, and navigate to the install_dir/common/jetty/lib subdirectory.Select each of the JAR files in that directory, and click Open. These files are also added to the list.
- Click Finish to close the New Project wizard.
What to do next
If you want your application
to connect to a secured integration node that requires a user
ID and password, then you must set environment variables for these
credentials. Use the following steps:
- In your Eclipse environment, select the java project, right-click, and select Properties.
- Click Run/Debug Settings.
- Select Environment tab. , and click the
- Add the following environment variables, and values for the user
ID and password:
- MQSI_CMP_USERNAME
- MQSI_CMP_PASSWORD