Skip to content

Commit b984c4b

Browse files
committed
updated
1 parent 842c58b commit b984c4b

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

+8-9
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.1.1|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.1.2|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/)
@@ -11,11 +11,10 @@
1111

1212
# Changelog
1313

14-
__7.1.2 (SNAPSHOT)__
14+
__7.1.2 (08-jun-2024)__
1515

16-
- provided way to set a class from the class path to play a role as action preprocessor extension, for CLI it
17-
is `/EA:<class.name>` for plugins it is `actionPreprocessorExtension` string
18-
parameter.[#48](https://github.com/raydac/java-comment-preprocessor/issues/48)
16+
- added way to define a preprocessor extension class through CLI (as `/EA:<class.name>`) and in plugins (as `actionPreprocessorExtension`). The class should be provided in the clas path.[#48](https://github.com/raydac/java-comment-preprocessor/issues/48)
17+
- updated some dependencies
1918

2019
__7.1.1 (13-jan-2024)__
2120

@@ -57,7 +56,7 @@ The preprocessor has been published in [the Maven Central](https://search.maven.
5756
<plugin>
5857
<groupId>com.igormaznitsa</groupId>
5958
<artifactId>jcp</artifactId>
60-
<version>7.1.1</version>
59+
<version>7.1.2</version>
6160
<executions>
6261
<execution>
6362
<id>preprocessSources</id>
@@ -76,13 +75,13 @@ The preprocessor has been published in [the Maven Central](https://search.maven.
7675
# How to use from command line
7776
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:
7877
```
79-
java -jar jcp-7.1.1.jar --i:./test --o:./result
78+
java -jar jcp-7.1.2.jar --i:./test --o:./result
8079
```
8180
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)
8281

8382
More complex example:
8483
```
85-
java -jar jcp-7.1.1.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
84+
java -jar jcp-7.1.2.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
8685
```
8786
- --c clear the destination folder before work
8887
- --r remove all Java-style comments from preprocessed result files
@@ -141,6 +140,6 @@ In opposite a regular document, a Java document has as minimum two sections - pr
141140
# How to remove all comments from sources
142141
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:
143142
```
144-
java -jar ./jcp-7.1.1.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
143+
java -jar ./jcp-7.1.2.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
145144
```
146145

changelog.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
__7.1.2 (SNAPSHOT)__
2-
- provided way to set a class from the class path to play a role as action preprocessor extension, for CLI it is `/EA:<class.name>` for plugins it is `actionPreprocessorExtension` string parameter.[#48](https://github.com/raydac/java-comment-preprocessor/issues/48)
1+
__7.1.2 (08-jun-2024)__
2+
- added way to define a preprocessor extension class through CLI (as `/EA:<class.name>`) and in plugins (as `actionPreprocessorExtension`). The class should be provided in the clas path.[#48](https://github.com/raydac/java-comment-preprocessor/issues/48)
3+
- updated some dependencies
34

45
__7.1.1 (13-jan-2024)__
56
- fixed NPE for empty or null global variable value in Maven and Gradle [#47](https://github.com/raydac/java-comment-preprocessor/issues/47)

0 commit comments

Comments
 (0)