... | ... | @@ -14,13 +14,15 @@ In the DEAL prototype there are a few examples of target applications prepared i |
|
|
|
|
|
**Person form** is a simple Java application example which was created for the purpose of testing. It is a simple form for inserting information about a person.
|
|
|
|
|
|
1. Create a **new run configuration** of type **AspectJ/Java application** in Eclipse with the following properties:
|
|
|
1. Right-click on the DEALmain project and select **AspectJ Tools -> Configure AspectJ Build Path...**
|
|
|
2. Add **PersonForm-new.jar** into AspectJ Inpath. Then click **Apply and Close**.
|
|
|
3. Create a **new run configuration** of type **AspectJ/Java application** in Eclipse with the following properties:
|
|
|
* Name: Person Form
|
|
|
* Project: DEALmain
|
|
|
* Main class: personform.PersonForm
|
|
|

|
|
|
2. **Save and run** the configuration
|
|
|
3. Other examples can be launched exactly in the same way, but it is important to select the main class of the target application which you would like to launch. Please see the next section to know the main classes of the provided examples.
|
|
|
4. **Save and Run** the configuration.
|
|
|
5. Other examples can be launched exactly in the same way, but it is important to add the target jar to be analyzed and to select the main class of the target application which you would like to launch. Please see the next section to know the main classes of the provided examples.
|
|
|
|
|
|
> The important part of running DEAL analysis on existing applications is, that you have to know **the main class of the application, which you want to analyse**. This you can get by **unzipping the jar of the target application** (rename it first to *.zip) and looking into the **manifest** file located in the unzipped directory. Don't forget to rename the zip file back to *.jar again.
|
|
|
|
... | ... | |