Skip to content

Commit 0b0f6b3

Browse files
committed
updated
1 parent 98a4f10 commit 0b0f6b3

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
[![Java 11+](https://img.shields.io/badge/java-11%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 6.0+](https://img.shields.io/badge/gradle-6.0%2b-green.svg)](https://gradle.org/)
8-
[![Ant 1.8.2+](https://img.shields.io/badge/ant-1.8.2%2b-green.svg)](http://ant.apache.org/)
9-
[![PayPal donation](https://img.shields.io/badge/donation-PayPal-cyan.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AHWJHJFBAWGL2)
10-
[![YooMoney donation](https://img.shields.io/badge/donation-Yoo.money-blue.svg)](https://yoomoney.ru/to/41001158080699)
8+
[![Ant 1.8.2+](https://img.shields.io/badge/ant-1.8.2%2b-green.svg)](http://ant.apache.org/)
9+
[![Arthur's acres sanctuary donation](assets/arthur_sanctuary_banner.png)](https://www.arthursacresanimalsanctuary.org/donate)
1110

1211
# Changelog
1312

@@ -83,13 +82,13 @@ The preprocessor has been published in [the Maven Central](https://search.maven.
8382
# How to use from command line
8483
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:
8584
```
86-
java -jar jcp-7.1.2.jar --i:./test --o:./result
85+
java -jar jcp-7.2.0.jar --i:./test --o:./result
8786
```
8887
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)
8988

9089
More complex example:
9190
```
92-
java -jar jcp-7.1.2.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
91+
java -jar jcp-7.2.0.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
9392
```
9493
- --c clear the destination folder before work
9594
- --r remove all Java-style comments from preprocessed result files
@@ -148,6 +147,6 @@ In opposite a regular document, a Java document has as minimum two sections - pr
148147
# How to remove all comments from sources
149148
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:
150149
```
151-
java -jar ./jcp-7.1.2.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
150+
java -jar ./jcp-7.2.0.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
152151
```
153152

assets/arthur_sanctuary_banner.png

68.8 KB
Loading

0 commit comments

Comments
 (0)