Skip to content

Commit

Permalink
release 6.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
raydac committed Apr 29, 2018
1 parent cf1dc40 commit 5041690
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![License Apache 2.0](https://img.shields.io/badge/license-Apache%20License%202.0-green.svg)](http://www.apache.org/licenses/LICENSE-2.0)
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jcp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jcp|6.1.2|jar)
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jcp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jcp|6.1.3|jar)
[![Codacy Badge](https://api.codacy.com/project/badge/grade/c6acda63097a40c68d8ca8eaef6180d8)](https://www.codacy.com/app/rrg4400/java-comment-preprocessor)
[![Java 6.0+](https://img.shields.io/badge/java-6.0%2b-green.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
[![Maven 3.0+](https://img.shields.io/badge/maven-3.0%2b-green.svg)](https://maven.apache.org/)
Expand All @@ -9,7 +9,7 @@

# Changelog

- **6.1.3-SNAPSHOT**
- **6.1.3 (29 apr 2018)**
- added automatic module name `igormaznitsa.jcp`
- CORE: added `/U` key to turn on mode to interpret unknown variables as FALSE (in Maven and ANT `unknownVarAsFalse`), [#17](https://github.com/raydac/java-comment-preprocessor/issues/17)

Expand Down Expand Up @@ -44,7 +44,7 @@ The Preprocessor is published in the Maven Central so that can be added in Maven
<plugin>
<groupId>com.igormaznitsa</groupId>
<artifactId>jcp</artifactId>
<version>6.1.2</version>
<version>6.1.3</version>
<executions>
<execution>
<id>preprocessSources</id>
Expand All @@ -69,13 +69,13 @@ The Preprocessor is published in the Maven Central so that can be added in Maven
# How to use from command line
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:
```
java -jar jcp-6.1.2.jar --i:./test --o:./result
java -jar jcp-6.1.3.jar --i:./test --o:./result
```
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)

More complex example:
```
java -jar jcp-6.1.2.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
java -jar jcp-6.1.3.jar --c --r --v --f:java,xml --ef:none --i:./test --o:./result '--p:HelloWorld=$Hello world$'
```
- --c clear the destination folder before work
- --r remove all Java-style comments from preprocessed result files
Expand Down Expand Up @@ -129,5 +129,5 @@ Java sources usually have sections, there are the import section and the main se
# How to remove all coments from sources
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
```
java -jar ./jcp-6.1.2.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
java -jar ./jcp-6.1.3.jar --i:/sourceFolder --o:/resultFolder -ef:none --r
```
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
6.1.3-SNAPSHOT
6.1.3 (29 apr 2018)
- added automatic module name `igormaznitsa.jcp`
- CORE: added `/U` key to turn on mode to interpret unknown variables as FALSE (in Maven and ANT `unknownVarAsFalse`), [#17](https://github.com/raydac/java-comment-preprocessor/issues/17)

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.igormaznitsa</groupId>
<artifactId>jcp</artifactId>
<version>6.1.3-SNAPSHOT</version>
<version>6.1.3</version>
<packaging>maven-plugin</packaging>

<name>Java Comment Preprocessor</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<plugin>
<groupId>com.igormaznitsa</groupId>
<artifactId>jcp</artifactId>
<version>6.1.3-SNAPSHOT</version>
<version>6.1.3</version>
<executions>
<execution>
<id>generateSources</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<plugin>
<groupId>com.igormaznitsa</groupId>
<artifactId>jcp</artifactId>
<version>6.1.3-SNAPSHOT</version>
<version>6.1.3</version>
<configuration>
<source>/</source>
<copyFileAttributes>true</copyFileAttributes>
Expand Down

0 comments on commit 5041690

Please sign in to comment.