diff --git a/.projectKnowledge/documap.mmd b/.projectKnowledge/documap.mmd index d55a0f74..ad713d0c 100644 --- a/.projectKnowledge/documap.mmd +++ b/.projectKnowledge/documap.mmd @@ -1,8 +1,8 @@ -Mind Map generated by NB MindMap plugin +[Scia Reto](https://sciareto.org) mind map > __version__=`1.1`,showJumps=`true` --- -# Java Comment Preprocessor
v 7\.0\.5 +# Java Comment Preprocessor
v 7\.1\.0 ## > fillColor=`#FFFFFF`,mmd.image=`iVBORw0KGgoAAAANSUhEUgAAAL4AAAAwCAYAAACvzsA1AAAQkElEQVR42u1dB1gVxxZeiS3RGI2xRtm93MstXBBUwK5YUey9xl4TC1gAsYBdH6Im6osleWqKL7EbSWKPiVhATSyxIAjYEH02LBdszJtZBoPXe3dmdheSl7fn+863IDPnzM78c+bMOTMrx2mkkUZUVBVyTci1CGyCXFpFvWUge1HorY3bqJFGqlF/yICBf1dJbwXIOQx6n2tDpZGa9JgR+IhLqqD3LKNOmzZUGqlF78oAPeK6CvX6yNB5XRsujdQik0zgD1Sg0wXyIxk6T2rDpZFa1EIm8D9RoNNfps5F2nBppBYtkgnC3Qp0PpOps7E2XBqpRRdlgvCMTH09ZeoD2lBppCbJBeFtmfruy9SX9lfuxNQoQUPS/xDVVAB8ORY4XIGuHX+1znu4TD/gwceG1MwY/fIbkdVLqi3/yXJeQ2gB0TCFwLcw6rujQNcsFd63GOQ3Ib8FuRR+ot+L40gTE2WtckuxfaoHj5YaQOZCve3OXF2xW4tqKm7k45W5gL+zzMMle6Vu2KOlus0PFrmXUCCyJH7f0viJ3rnon4S5IpBL4DbkjUFx/O/OqCzkcpjRz2/jn/OoHJZFTSsUAn9AIWyi87iNzI72hLwd8j0uN4SajYwp5Kf4iX5HCbwHkM9DHkEr2LZK/xiC/1nWSj14vAyCP0YfqhY6Hn/NudhW6m9mrYKyl+uR7JuMItwgr8SuZRZ+32f4mY374jDkOgqaiQAXCLkt5taQPSTK/wv3sw23IW8MbNgoznZSLwbyC8jHIYdAzsC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c6/nCfIgyp5EAaOrl5VOHke436lx/GTTFObT/ZEpkZboncF2aOTIbPtRGW6cenmaedhKvA/hnmCHT5m5tnDVE6lotVAPw17o9TtSQibaxZPpibwDHedivIiA7tbfZ6HP3NKmdEulw+hkIGsjBZjAOdbeeLkqyYLAq1RLWb6DFzykTLjHERQhQfaplVoYASSj7YlWMxAjkYxJ1VxM4aRllS/+Hf6YLoqGo4jBeAGVmfDnjWs9xP1WM/rAeOkARgN4lWhgsOmwY4YIGj/2ox0tea0JF3cMwYtc/+LAtyN9BhtZ523IaTeetrnDFK/OhRsMfsl/uccPPMIlzBEZL9Lg5RXuOkrwOiLy+U52R8FZrL/QZRW7t+CpTplqAVu52Dfm/IiEON8Ma7Ip5QiCtxhfwZ7DGGKPE50hpdebTn/MjRXvPm/Qn9gCZ3BRwEqFQQboNGGjmkEV7Ri8Wn5z9iRlqii2g9otH/BXX3iBK/8tvFOt2tq+c8l7GGN7RO0ejvTTWNI797ufM0jipjNQzppPWKRn9bcnfPTXrq9f0b5P93k3HQRq13NPpbEwT5J+76AcWrVfvjAwkm98HekN/Veqfw6L8MpcrkyHZvbQAAAABJRU5ErkJggg==` @@ -258,7 +258,7 @@ Mind Map generated by NB MindMap plugin ####### true -######## \false\ +######## \REMOVE\_JCP\_ONLY\ > fillColor=`#FFB600` @@ -528,7 +528,7 @@ Mind Map generated by NB MindMap plugin > fillColor=`#FFFF00` -###### keepComments="false" +###### keepComments="REMOVE\_JCP\_ONLY" > fillColor=`#FFB600` @@ -738,7 +738,7 @@ Mind Map generated by NB MindMap plugin > fillColor=`#FFFF00` -######## keepComments=true +######## keepComments='keep\_all' > fillColor=`#FFC800` @@ -1092,6 +1092,66 @@ Mind Map generated by NB MindMap plugin > fillColor=`#49EFB6` +### /M: +> fillColor=`#00DBFF`,leftSide=`true` + + +#### allows select keep comment processor
to remove selected kind of commented lines +> fillColor=`#49EFB6` + + +##### /M:remove\_jcp\_only +> fillColor=`#FFC800` + + +##### allowed values +> fillColor=`#FFCC71` + + +###### true +> fillColor=`#FFCC71` + + +####### same as keep\_all +> fillColor=`#49EFB6`,topicLinkUID=`18C52A4D054A` + +- TOPIC +
18C52A4EDD2A
+ +###### false +> fillColor=`#FFCC71` + + +####### same as remove\_c\_style +> fillColor=`#49EFB6` + +- TOPIC +
18C52A5933DA
+ +###### keep\_all +> fillColor=`#FFCC71`,topicLinkUID=`18C52A4EDD2A` + + +####### to not remove comments +> fillColor=`#49EFB6` + + +###### remove\_c\_style +> fillColor=`#FFCC71`,topicLinkUID=`18C52A5933DA` + + +####### remove all comments in C style +> fillColor=`#49EFB6` + + +###### remove\_jcp\_only +> fillColor=`#FFCC71` + + +####### remove only comment lines related to JCP +> fillColor=`#49EFB6` + + ## DSL > leftSide=`true` diff --git a/README.md b/README.md index f6d0fa00..98138ac9 100644 --- a/README.md +++ b/README.md @@ -11,25 +11,19 @@ # Changelog +__7.1.0 (10-dec-2023)__ + +- refactoring of internal API +- updated dependencies +- improved keep comments processing, added `/M:` CLI + option [#46](https://github.com/raydac/java-comment-preprocessor/issues/46) + __7.0.5 (11-dec-2021)__ - fixed compatibility with Gradle 7.x - added support of build under JDK 16 - updated dependencies -__7.0.4 (26-sep-2020)__ - -- fixed default flag state `keep comments` for start in CLI - mode [#24](https://github.com/raydac/java-comment-preprocessor/issues/24) -- fixed working directory detection in CLI mode - -__7.0.3 (13-sep-2020)__ - -- added way to get info about all input and produced files from preprocessor context -- reworked Gradle plug-in, removed extension and now properties should be directly provided for - task [#21](https://github.com/raydac/java-comment-preprocessor/issues/21) -- refactoring, removed some auxiliary plugins from build process and extra code - [Full changelog](https://github.com/raydac/java-comment-preprocessor/blob/master/changelog.txt) # Introduction diff --git a/assets/documap.png b/assets/documap.png index 7810083f..4292ccbf 100644 Binary files a/assets/documap.png and b/assets/documap.png differ diff --git a/changelog.txt b/changelog.txt index e1af68f2..8f5b66e5 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +__7.1.0 (10-dec-2023)__ + +- refactoring of internal API +- updated dependencies +- improved keep comments processing, added `/M:` CLI option [#46](https://github.com/raydac/java-comment-preprocessor/issues/46) + __7.0.5 (11-dec-2021)__ - fixed compatibility with Gradle 7.x diff --git a/jcp-tests/pom.xml b/jcp-tests/pom.xml index 22e8dacd..8a877adb 100644 --- a/jcp-tests/pom.xml +++ b/jcp-tests/pom.xml @@ -9,7 +9,7 @@ UTF-8 - 7.1.0-SNAPSHOT + 7.1.0 5.4.2 1.8 1.8 diff --git a/jcp/pom.xml b/jcp/pom.xml index 06e0a6d5..2f7e18fc 100644 --- a/jcp/pom.xml +++ b/jcp/pom.xml @@ -5,7 +5,7 @@ com.igormaznitsa jcp-pom - 7.1.0-SNAPSHOT + 7.1.0 jcp diff --git a/pom.xml b/pom.xml index 1d9a64f6..20b1570f 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.igormaznitsa jcp-pom - 7.1.0-SNAPSHOT + 7.1.0 pom https://github.com/raydac/java-comment-preprocessor