Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version in README #1341

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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