Importing the example project into Eclipse
Procedure
- Start Eclipse.
- Create a new workspace for your handler project.
- Select from the main workbench menu.
- In the Import wizard Select page, select Existing Projects Into Workspace and then click Next.
- Select the Select archive file radio
button and then click Browse. In the Select
archive containing the projects to import dialog box,
locate <data_dir>\samples\F4FEjbExample.zip (where <data_dir> is the location of your
AppScan®
Source program data, as described in Installation and user data file locations) and
then click Open.
This zip file is an Eclipse archive that contains the configuration and source code for the
Ejb2xHandler
framework handler example.Click Finish to import the archive.
- After the archive has been imported, you will notice a number of build errors. The example has a class path variable that points to the directory holding its libraries.
- Next, you will define a variable. Select from the main workbench menu.
- In the Preferences dialog box, select New. to open the Classpath Variables preference page. Click
- Create a new variable named
APPSCANSRCWALALIB_HOME
and set the Path to <install_dir>\walalib (where <install_dir> is the location of your AppScan® Source installation).After clicking OK in all dialog boxes, the sample should build completely with no errors.