Skip to content

Commit 0bc862f

Browse files
committed
updated
1 parent abf5802 commit 0bc862f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[![License Apache 2.0](https://img.shields.io/badge/license-Apache%20License%202.0-green.svg)](http://www.apache.org/licenses/LICENSE-2.0)
2-
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jcp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jcp|7.0.0|jar)
2+
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jcp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jcp|7.0.1|jar)
33
[![Codacy Badge](https://api.codacy.com/project/badge/grade/c6acda63097a40c68d8ca8eaef6180d8)](https://www.codacy.com/app/rrg4400/java-comment-preprocessor)
44
[![Java 1.8+](https://img.shields.io/badge/java-1.8%2b-green.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
55
[![Maven 3.0+](https://img.shields.io/badge/maven-3.0%2b-green.svg)](https://maven.apache.org/)
@@ -51,7 +51,7 @@ The Preprocessor is published in the Maven Central so that can be added in Maven
5151
<plugin>
5252
<groupId>com.igormaznitsa</groupId>
5353
<artifactId>jcp</artifactId>
54-
<version>7.0.0</version>
54+
<version>7.0.1</version>
5555
<executions>
5656
<execution>
5757
<id>preprocessSources</id>
@@ -70,13 +70,13 @@ The Preprocessor is published in the Maven Central so that can be added in Maven
7070
# How to use from command line
7171
The Preprocessor jar can be started under Java as a console application. Let's take a look at short example below how to start in command line under Linux The Easy variant of usage:
7272
```
73-
java -jar jcp-7.0.0.jar --i:./test --o:./result
73+
java -jar jcp-7.0.1.jar --i:./test --o:./result
7474
```
7575
The Example just preprocess files from ./test folder which extensions allowed to be preprocessed by default, and places result into ./result folder, but keep in your mind that the preprocessor copies not all files, XML files will not be preprocessed by default. Files which extension are not marked for preprocessing will be just copied (of course if the extensions is not in the list of excluded file extensions)
7676

7777
More complex example:
7878
```
79-
java -jar jcp-7.0.0.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
79+
java -jar jcp-7.0.1.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
8080
```
8181
- --c clear the destination folder before work
8282
- --r remove all Java-style comments from preprocessed result files
@@ -130,5 +130,5 @@ Java sources usually have sections, there are the import section and the main se
130130
# How to remove all coments from sources
131131
Sometime it is very useful to remove all comments from my sources at all, JCP has such feature which can be turned on by special flag or command line switcher (see wiki). The Example of use for comment removing through CLI interface
132132
```
133-
java -jar ./jcp-7.0.0.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
133+
java -jar ./jcp-7.0.1.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
134134
```

0 commit comments

Comments
 (0)