Skip to content

Commit 7d4c26b

Browse files
committed
updated
1 parent e406c59 commit 7d4c26b

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

README.md

+11-11
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.0|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.1|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,19 +11,19 @@
1111

1212
# Changelog
1313

14+
__7.1.1 (13-jan-2024)__
15+
16+
- fixed NPE for empty or null global variable value in Maven and
17+
Gradle [#47](https://github.com/raydac/java-comment-preprocessor/issues/47)
18+
- updated dependencies
19+
1420
__7.1.0 (10-dec-2023)__
1521

1622
- refactoring of internal API
1723
- updated dependencies
1824
- improved keep comments processing, added `/M:<type>` CLI
1925
option [#46](https://github.com/raydac/java-comment-preprocessor/issues/46)
2026

21-
__7.0.5 (11-dec-2021)__
22-
23-
- fixed compatibility with Gradle 7.x
24-
- added support of build under JDK 16
25-
- updated dependencies
26-
2727
[Full changelog](https://github.com/raydac/java-comment-preprocessor/blob/master/changelog.txt)
2828

2929
# Introduction
@@ -58,7 +58,7 @@ The preprocessor has been published in [the Maven Central](https://search.maven.
5858
<plugin>
5959
<groupId>com.igormaznitsa</groupId>
6060
<artifactId>jcp</artifactId>
61-
<version>7.1.0</version>
61+
<version>7.1.1</version>
6262
<executions>
6363
<execution>
6464
<id>preprocessSources</id>
@@ -77,13 +77,13 @@ The preprocessor has been published in [the Maven Central](https://search.maven.
7777
# How to use from command line
7878
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:
7979
```
80-
java -jar jcp-7.1.0.jar --i:./test --o:./result
80+
java -jar jcp-7.1.1.jar --i:./test --o:./result
8181
```
8282
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)
8383

8484
More complex example:
8585
```
86-
java -jar jcp-7.1.0.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
86+
java -jar jcp-7.1.1.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
8787
```
8888
- --c clear the destination folder before work
8989
- --r remove all Java-style comments from preprocessed result files
@@ -142,6 +142,6 @@ In opposite a regular document, a Java document has as minimum two sections - pr
142142
# How to remove all comments from sources
143143
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:
144144
```
145-
java -jar ./jcp-7.1.0.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
145+
java -jar ./jcp-7.1.1.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
146146
```
147147

changelog.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
__7.1.1 (13-jan-2024)__
2+
- fixed NPE for empty or null global variable value in Maven and Gradle [#47](https://github.com/raydac/java-comment-preprocessor/issues/47)
3+
- updated dependencies
4+
15
__7.1.0 (10-dec-2023)__
26

37
- refactoring of internal API

0 commit comments

Comments
 (0)