Skip to content

Commit

Permalink
new version in README
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 authored and github-actions[bot] committed Oct 29, 2024
1 parent bc63d34 commit 915aa66
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Watch these videos to learn more:
[An Immutable Object-Oriented Web Framework][webcast] and
[Takes, Java Web Framework, Intro](https://www.youtube.com/watch?v=nheD2LNYrpk).
This
[blog post](http://www.yegor256.com/2015/03/22/takes-java-web-framework.html)
[blog post](http://www.yegor256.com/2015/03/22/takes-1.24.5-web-framework.html)
may help you too.

## Contents
Expand Down Expand Up @@ -105,17 +105,17 @@ public final class App {
}
```

Then, download [`takes-0.0.0-jar-with-dependencies.jar`][jar]
Then, download [`takes-1.24.5-jar-with-dependencies.jar`][jar]
and compile your Java code:

```bash
javac -cp takes-0.0.0-jar-with-dependencies.jar App.java
javac -cp takes-1.24.5-jar-with-dependencies.jar App.java
```

Now, run it like this:

```bash
java -Dfile.encoding=UTF-8 -cp takes-0.0.0-jar-with-dependencies.jar:. App
java -Dfile.encoding=UTF-8 -cp takes-1.24.5-jar-with-dependencies.jar:. App
```

Should work :)
Expand All @@ -142,7 +142,7 @@ If you're using Maven, this is how your `pom.xml` should look like:
<dependency>
<groupId>org.takes</groupId>
<artifactId>takes</artifactId>
<version>0.0.0</version>
<version>1.24.5</version>
</dependency>
</dependencies>
<profiles>
Expand All @@ -153,7 +153,7 @@ If you're using Maven, this is how your `pom.xml` should look like:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.3</version>
<version>1.24.5</version>
<executions>
<execution>
<id>start-server</id>
Expand Down Expand Up @@ -1106,7 +1106,7 @@ the `restfb` API in your project:
<dependency>
<groupId>com.restfb</groupId>
<artifactId>restfb</artifactId>
<version>1.15.0</version>
<version>1.24.5</version>
<scope>runtime</scope>
</dependency>
```
Expand Down Expand Up @@ -1180,14 +1180,14 @@ from [jcabi-parent](http://parent.jcabi.com).
[This article](http://www.yegor256.com/2015/02/05/jcabi-parent-maven-pom.html)
explains why it's done this way.

[jar]: https://repo1.maven.org/maven2/org/takes/takes/0.0.0/takes-0.0.0-jar-with-dependencies.jar
[jar]: https://repo1.maven.org/maven2/org/takes/takes/0.0.0/takes-1.24.5-jar-with-dependencies.jar
[oop]: http://www.yegor256.com/2014/11/20/seven-virtues-of-good-object.html
[immutable]: http://www.yegor256.com/2014/06/09/objects-should-be-immutable.html
[null]: http://www.yegor256.com/2014/05/13/why-null-is-bad.html
[utility]: http://www.yegor256.com/2014/05/05/oop-alternative-to-utility-classes.html
[casting]: http://www.yegor256.com/2015/04/02/class-casting-is-anti-pattern.html
[webcast]: https://www.youtube.com/watch?v=-Y4XS7ZtQ2g
[rultor-code]: https://github.com/yegor256/rultor/tree/master/src/test/java/com/rultor/web
[xsl]:http://www.yegor256.com/2015/06/25/xml-data-xsl-views-takes-framework.html
[xsl]:http://www.yegor256.com/2015/06/25/xml-data-xsl-views-takes-1.24.5
[cookies]: http://www.yegor256.com/2015/05/18/cookie-based-authentication.html
[rest-types]: http://thereisnorightway.blogspot.com/2011/02/versioning-and-types-in-resthttp-api.html

0 comments on commit 915aa66

Please sign in to comment.