@@ -51,7 +51,7 @@ Watch these videos to learn more:
51
51
[ An Immutable Object-Oriented Web Framework] [ webcast ] and
52
52
[ Takes, Java Web Framework, Intro] ( https://www.youtube.com/watch?v=nheD2LNYrpk ) .
53
53
This
54
- [ blog post] ( http://www.yegor256.com/2015/03/22/takes-java -web-framework.html )
54
+ [ blog post] ( http://www.yegor256.com/2015/03/22/takes-1.24.5 -web-framework.html )
55
55
may help you too.
56
56
57
57
## Contents
@@ -105,17 +105,17 @@ public final class App {
105
105
}
106
106
```
107
107
108
- Then, download [ ` takes-0.0.0 -jar-with-dependencies.jar ` ] [ jar ]
108
+ Then, download [ ` takes-1.24.5 -jar-with-dependencies.jar ` ] [ jar ]
109
109
and compile your Java code:
110
110
111
111
``` bash
112
- javac -cp takes-0.0.0 -jar-with-dependencies.jar App.java
112
+ javac -cp takes-1.24.5 -jar-with-dependencies.jar App.java
113
113
```
114
114
115
115
Now, run it like this:
116
116
117
117
``` bash
118
- java -Dfile.encoding=UTF-8 -cp takes-0.0.0 -jar-with-dependencies.jar:. App
118
+ java -Dfile.encoding=UTF-8 -cp takes-1.24.5 -jar-with-dependencies.jar:. App
119
119
```
120
120
121
121
Should work :)
@@ -142,7 +142,7 @@ If you're using Maven, this is how your `pom.xml` should look like:
142
142
<dependency >
143
143
<groupId >org.takes</groupId >
144
144
<artifactId >takes</artifactId >
145
- <version >0.0.0 </version >
145
+ <version >1.24.5 </version >
146
146
</dependency >
147
147
</dependencies >
148
148
<profiles >
@@ -153,7 +153,7 @@ If you're using Maven, this is how your `pom.xml` should look like:
153
153
<plugin >
154
154
<groupId >org.codehaus.mojo</groupId >
155
155
<artifactId >exec-maven-plugin</artifactId >
156
- <version >1.3 </version >
156
+ <version >1.24.5 </version >
157
157
<executions >
158
158
<execution >
159
159
<id >start-server</id >
@@ -1106,7 +1106,7 @@ the `restfb` API in your project:
1106
1106
<dependency >
1107
1107
<groupId >com.restfb</groupId >
1108
1108
<artifactId >restfb</artifactId >
1109
- <version >1.15.0 </version >
1109
+ <version >1.24.5 </version >
1110
1110
<scope >runtime</scope >
1111
1111
</dependency >
1112
1112
```
@@ -1180,14 +1180,14 @@ from [jcabi-parent](http://parent.jcabi.com).
1180
1180
[ This article] ( http://www.yegor256.com/2015/02/05/jcabi-parent-maven-pom.html )
1181
1181
explains why it's done this way.
1182
1182
1183
- [ jar ] : https://repo1.maven.org/maven2/org/takes/takes/0.0.0/takes-0.0.0 -jar-with-dependencies.jar
1183
+ [ jar ] : https://repo1.maven.org/maven2/org/takes/takes/0.0.0/takes-1.24.5 -jar-with-dependencies.jar
1184
1184
[ oop ] : http://www.yegor256.com/2014/11/20/seven-virtues-of-good-object.html
1185
1185
[ immutable ] : http://www.yegor256.com/2014/06/09/objects-should-be-immutable.html
1186
1186
[ null ] : http://www.yegor256.com/2014/05/13/why-null-is-bad.html
1187
1187
[ utility ] : http://www.yegor256.com/2014/05/05/oop-alternative-to-utility-classes.html
1188
1188
[ casting ] : http://www.yegor256.com/2015/04/02/class-casting-is-anti-pattern.html
1189
1189
[ webcast ] : https://www.youtube.com/watch?v=-Y4XS7ZtQ2g
1190
1190
[ rultor-code ] : https://github.com/yegor256/rultor/tree/master/src/test/java/com/rultor/web
1191
- [ xsl ] :http://www.yegor256.com/2015/06/25/xml-data-xsl-views-takes-framework.html
1191
+ [ xsl ] :http://www.yegor256.com/2015/06/25/xml-data-xsl-views-takes-1.24.5
1192
1192
[ cookies ] : http://www.yegor256.com/2015/05/18/cookie-based-authentication.html
1193
1193
[ rest-types ] : http://thereisnorightway.blogspot.com/2011/02/versioning-and-types-in-resthttp-api.html
0 commit comments