Skip to content

Commit 3d6c8e7

Browse files
committed
updated
1 parent 40eb325 commit 3d6c8e7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![Logo](assets/github1280x640.png)
22

33
[![License Apache 2.0](https://img.shields.io/badge/license-Apache%20License%202.0-green.svg)](http://www.apache.org/licenses/LICENSE-2.0)
4-
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jcp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jcp|7.0.4|jar)
4+
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jcp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jcp|7.0.5|jar)
55
[![Java 1.8+](https://img.shields.io/badge/java-1.8%2b-green.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
66
[![Maven 3.0+](https://img.shields.io/badge/maven-3.0%2b-green.svg)](https://maven.apache.org/)
77
[![Gradle 3.0+](https://img.shields.io/badge/gradle-3.0%2b-green.svg)](https://gradle.org/)
@@ -61,7 +61,7 @@ The preprocessor has been published in [the Maven Central](https://search.maven.
6161
<plugin>
6262
<groupId>com.igormaznitsa</groupId>
6363
<artifactId>jcp</artifactId>
64-
<version>7.0.4</version>
64+
<version>7.0.5</version>
6565
<executions>
6666
<execution>
6767
<id>preprocessSources</id>
@@ -80,13 +80,13 @@ The preprocessor has been published in [the Maven Central](https://search.maven.
8080
# How to use from command line
8181
The uber-jar can be started directly under Java through CLI interface. Let's take a look at short example below how to start it in command line under Linux:
8282
```
83-
java -jar jcp-7.0.4.jar --i:./test --o:./result
83+
java -jar jcp-7.0.5.jar --i:./test --o:./result
8484
```
8585
The example above just preprocessing files from ./test folder (which extensions allowed to be preprocessed by default), and placing result files into ./result folder. Keep in your mind that the preprocessor processing not all files, for instance XML files will not be preprocessed by default. Files which extension not marked for preprocessing will be just copied (of course if the extensions is not in the excluded extension list)
8686

8787
More complex example:
8888
```
89-
java -jar jcp-7.0.4.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
89+
java -jar jcp-7.0.5.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
9090
```
9191
- --c clear the destination folder before work
9292
- --r remove all Java-style comments from preprocessed result files
@@ -145,5 +145,5 @@ In opposite a regular document, a Java document has as minimum two sections - pr
145145
# How to remove all comments from sources
146146
Sometimes it is very useful to remove totally all comments from sources, such possibility included into JCP and can be activated with either a special flag or command line switcher. The example below shows how to remove all comments with CLI use:
147147
```
148-
java -jar ./jcp-7.0.4.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
148+
java -jar ./jcp-7.0.5.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
149149
```

0 commit comments

Comments
 (0)