You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- added way to get info about all input and produced files from preprocessor context
15
15
- reworked Gradle plug-in
16
16
- refactoring, removed some auxiliary plugins from build process and extra code
@@ -46,7 +46,7 @@ The Preprocessor is published in the Maven Central (it is not published in Gradl
46
46
<plugin>
47
47
<groupId>com.igormaznitsa</groupId>
48
48
<artifactId>jcp</artifactId>
49
-
<version>7.0.2</version>
49
+
<version>7.0.3</version>
50
50
<executions>
51
51
<execution>
52
52
<id>preprocessSources</id>
@@ -65,13 +65,13 @@ The Preprocessor is published in the Maven Central (it is not published in Gradl
65
65
# How to use from command line
66
66
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:
67
67
```
68
-
java -jar jcp-7.0.2.jar --i:./test --o:./result
68
+
java -jar jcp-7.0.3.jar --i:./test --o:./result
69
69
```
70
70
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)
- --r remove all Java-style comments from preprocessed result files
@@ -130,5 +130,5 @@ In opposite a regular document, a Java document has as minimum two sections - pr
130
130
# How to remove all coments from sources
131
131
Sometime it is very useful to remove totally all comments from sources, such possiblitiy was included into JCP and can be activated through special flag or command line switcher. The Example of use for comment removing through CLI interface
- removed dependencies to meta packages (their sources moved into project) #19
25
25
26
-
6.1.3 (29apr2018)
26
+
6.1.3 (29-apr-2018)
27
27
- added automatic module name `igormaznitsa.jcp`
28
28
- 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)
29
29
30
-
6.1.2 (02apr2017)
30
+
6.1.2 (02-apr-2017)
31
31
- CORE: added STR TRIMLINES(STR) function to trim lines represented as string and removing empty lines
32
32
- CORE: added `/A` command line option (`copyFileAttributes` in Maven and ANT) to copy file attributes
33
33
- CORE: added `/ED:` command line option to exclude sub-folders from preprocessing (`excludedFolders` in Maven and ANT) with ANT pattern support.
34
34
- CORE: added `/PI` command line flag (`preserveIndent` in Maven and ANT), turn on mode to preserve indent when removing `//$` and `//$$`, thanks to @jamuir
35
35
- CORE: comma in split lines in BINFILE function moved from the start of line to the end of the previous line (to increase compatibility with Go)
36
36
37
-
6.1.1 (11feb2017)
37
+
6.1.1 (11-feb-2017)
38
38
- MAVEN: information about imported maven properties will be shown only in either verbose mode or debug mode
39
39
- MAVEN: added auxiliary goal `preprocessTests` which provides flag `useTestSources` as true and activated by default in GENERATE_TEST_SOURCES phase #14
40
40
- MAVEN: added 'ignoreMissingSources' boolean parameter, allows to skip preprocessing if source folders not found or not provided #12
@@ -43,7 +43,7 @@
43
43
- CORE: added `STR str2go(STR)` function to escape strings to be represented in Golang sources
44
44
- CORE: improved the BINFILE function, it allows `base64|byte[]|uint8[]|int8` and modifiers `s|d|ds|sd` where s - means splitting to lines and d - means deflate compression
45
45
46
-
6.1.0 (03jul2016)
46
+
6.1.0 (03-jul-2016)
47
47
- implemented request #9, added support of whitespace between directive and comment, in command line it is `--es` option and in MAVEN and ANT it is boolean parameter `allowWhitespace`, by default it is turned off
48
48
- added function STR binfile(STR,STR) to load a bin file as encoded base64 or java byte array string
49
49
- changes in Preprocessor API, removed usage of null instead of PreprocessorContext or PreprocessingState as argument for many methods, improved tests
0 commit comments