Skip to content

Commit

Permalink
Version 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Hegarty committed Feb 12, 2016
1 parent 230e40a commit f751bec
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,23 +118,23 @@ The only requirement to use EA Async is that must be used only inside methods th
<dependency>
<groupId>com.ea.async</groupId>
<artifactId>ea-async</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</dependency>
```

### Gradle

```
'com.ea.async:ea-async:1.0.1'
'com.ea.async:ea-async:1.0.2'
```

### Instrumenting your code

#### Option 1 - JVM parameter

Start your application with an extra JVM parameter: `-javaagent:ea-async-1.0.1.jar`
Start your application with an extra JVM parameter: `-javaagent:ea-async-1.0.2.jar`
```
java -javaagent:ea-async-1.0.1.jar -cp your_claspath YourMainClass args...
java -javaagent:ea-async-1.0.2.jar -cp your_claspath YourMainClass args...
```

It's recommended to add this as a default option to launchers in IntelliJ projects that use ea-async.
Expand All @@ -152,18 +152,18 @@ It might interfere with JVM debugging. This alternative is present as a fallback

#### Option 3 - Run instrumentation tool

The ea-async-1.0.1.jar is a runnable jar that can pre-instrument your files.
The ea-async-1.0.2.jar is a runnable jar that can pre-instrument your files.

Usage:

```bash
java -cp YOUR_PROJECT_CLASSPATH -jar ea-async-1.0.1.jar classDirectory
java -cp YOUR_PROJECT_CLASSPATH -jar ea-async-1.0.2.jar classDirectory
```

Example:

```bash
java -cp guava.jar;commons-lang.jar -jar ea-async-1.0.1.jar target/classes
java -cp guava.jar;commons-lang.jar -jar ea-async-1.0.2.jar target/classes
```

After that all the files in target/classes will have been instrumented.
Expand All @@ -186,7 +186,7 @@ This is the best option for libraries and maven projects.
<plugin>
<groupId>com.ea.async</groupId>
<artifactId>ea-async-maven-plugin</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<executions>
<execution>
<goals>
Expand Down
2 changes: 1 addition & 1 deletion async/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<parent>
<groupId>com.ea.async</groupId>
<artifactId>ea-async-parent</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
<relativePath>..</relativePath>
</parent>
<artifactId>ea-async</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions maven-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Add the EA Async dependency:
<dependency>
<groupId>com.ea.async</groupId>
<artifactId>ea-async</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</dependency>
```

Expand All @@ -36,7 +36,7 @@ Add the build plugin that will instrument the uses of `await`
<plugin>
<groupId>com.ea.async</groupId>
<artifactId>ea-async-maven-plugin</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<executions>
<execution>
<goals>
Expand Down
2 changes: 1 addition & 1 deletion maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<groupId>com.ea.async</groupId>
<artifactId>ea-async-parent</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
<relativePath>..</relativePath>
</parent>
<groupId>com.ea.async</groupId>
Expand Down
6 changes: 3 additions & 3 deletions maven-plugin/src/test/project-to-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<groupId>com.ea.async</groupId>
<artifactId>ea-async-parent</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
<relativePath>../../../..</relativePath>
</parent>
<groupId>com.ea.async.samples</groupId>
Expand Down Expand Up @@ -67,7 +67,7 @@
<plugin>
<groupId>com.ea.async</groupId>
<artifactId>ea-async-maven-plugin</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
<executions>
<execution>
<goals>
Expand All @@ -90,7 +90,7 @@
<dependency>
<groupId>com.ea.async</groupId>
<artifactId>ea-async</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<modelVersion>4.0.0</modelVersion>
<groupId>com.ea.async</groupId>
<artifactId>ea-async-parent</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
<packaging>pom</packaging>
<name>EA Async Parent</name>
<description>EA Async implements async-await methods in the JVM. It allows programmers to write asynchronous code in
Expand Down

0 comments on commit f751bec

Please sign in to comment.