<commit_before># About

A simple tool to calculate the overall performance of an investment portfolio.

See http://buchen.github.com/portfolio/ for more details.

## Prerequisites

* [Java 7](http://www.java.com)
* [Maven](http://maven.apache.org)
* [Eclipse](http://www.eclipse.org)

## Building with Maven

### Configure

*Mac OS X / Linux*
```
export MAVEN_OPTS="-Xmx1g -XX:MaxPermSize=500m"
```

*Windows*
```
set MAVEN_OPTS="-Xmx1g -XX:MaxPermSize=500m"
```

### Build

Run Maven 3.0.x in the 'portfolio-app' directory:

```
mvn clean install
```

## Developing with Eclipse

### Setup

To develop, use [Eclipse Kepler](http://eclipse.org/downloads/) plus the Plug-in Development Tools (PDT).

Clone the git repository.

Import projects by
* selecting "Import Projects..." on the Git repository in the Git perspective
* choosing "File" > "Import..." > "Existing Projects into Workspace" from the menu 

After importing the Portfolio Performance projects in Eclipse, they will not compile due to missing dependencies: the target platform is missing.

### Generate Target Platform

Run Maven *once* in the *'portfolio-app' directory* with the following parameter:
```
mvn clean install -Dgenerate-target-platform=true
```

### Set Target Platform<commit_msg>Updated README.md to use Eclipse Luna<commit_after># About

A simple tool to calculate the overall performance of an investment portfolio.

See http://buchen.github.com/portfolio/ for more details.

## Prerequisites

* [Java 7](http://www.java.com)
* [Maven](http://maven.apache.org)
* [Eclipse](http://www.eclipse.org)

## Building with Maven

### Configure

*Mac OS X / Linux*
```
export MAVEN_OPTS="-Xmx1g -XX:MaxPermSize=500m"
```

*Windows*
```
set MAVEN_OPTS="-Xmx1g -XX:MaxPermSize=500m"
```

### Build

Run Maven 3.0.x in the 'portfolio-app' directory:

```
mvn clean install
```

## Developing with Eclipse

### Setup

To develop, use [Eclipse Luna](http://eclipse.org/downloads/) plus the Plug-in Development Tools (PDT).

Clone the git repository.

Import projects by
* selecting "Import Projects..." on the Git repository in the Git perspective
* choosing "File" > "Import..." > "Existing Projects into Workspace" from the menu 

After importing the Portfolio Performance projects in Eclipse, they will not compile due to missing dependencies: the target platform is missing.

### Generate Target Platform

Run Maven *once* in the *'portfolio-app' directory* with the following parameter:
```
mvn clean install -Dgenerate-target-platform=true
```

### Set Target Platform
{'fraction_non_alphanumeric': 0.12775157232704404, 'fraction_numerical': 0.008647798742138365, 'mean_word_length': 4.544662309368192, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3122005', 'n_tokens_mistral': 819, 'n_tokens_neox': 770, 'n_words': 274}