Set up your environment as follows:
- Create a folder to contain your customization files. This folder is known as the <project_home> folder.
- Locate the <Primavera_Gateway_home>\gateway\app folder, extract the gateway.ear file and copy the pdi.jar file to an appropriate folder in your <project_home> folder.
- Put the pdi.jar file in your project's classpath.