Skip to content

Releases: raydac/java-comment-preprocessor

release 6.1.3

29 Apr 11:48
Compare
Choose a tag to compare
  • 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

release 6.1.2

02 Apr 10:56
Compare
Choose a tag to compare
  • CORE: added STR TRIMLINES(STR) function to trim lines represented as string and removing empty lines
  • CORE: added /A command line option (copyFileAttributes in Maven and ANT) to copy file attributes
  • CORE: added /ED: command line option to exclude sub-folders from preprocessing (excludedFolders in Maven and ANT) with ANT pattern support.
  • CORE: added /PI command line option (preserveIndent in Maven and ANT), turn on mode to preserve indent when removing //$ and //$$, thanks to jamuir
  • 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)

release 6.1.1

11 Feb 19:37
Compare
Choose a tag to compare
  • MAVEN: information about imported maven properties will be shown only in either verbose mode or debug mode
  • MAVEN: added auxiliary goal preprocessTests which provides flag useTestSources as true and activated by default in GENERATE_TEST_SOURCES phase #14
  • MAVEN: added ignoreMissingSources boolean parameter, allows to skip preprocessing if source folders not found or not provided #12
  • MAVEN: added skip boolean parameter, it allows to skip execution, also it is possible to use -Djcp.preprocess.skip=true #13
  • CORE: added function BOOL is(STR,ANY) to check existence of variable for its name and compare its value with etalon (through string conversion, it will ensure true for true and "true" case) #10
  • CORE: added STR str2go(STR) function to escape strings to be represented in Golang sources
  • 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

release 6.1.0

03 Jul 11:02
Compare
Choose a tag to compare
  • 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
  • added function STR binfile(STR,STR) to load a bin file as encoded base64 or java byte array string
  • changes in Preprocessor API, removed usage of null instead of PreprocessorContext or PreprocessingState as argument for many methods, improved tests
  • fixed #8 issue, fixed work with absolute paths in //#include and evalfile(), added tests
  • refactoring

release 6.0.1

08 Dec 19:56
Compare
Choose a tag to compare

6.0.1

  • improved the MAVEN plugin to hide content of potentially sensitive properties from printing into Maven log (issue #2)
  • added --z option ('compareDestination' in MAVEN and ANT) to check content of existing result file and to not replace it if content equals (issue #1), by default turned off because makes some overhead
  • fixed --c argument usage in CLI, now by default the preprocessor started in CLI doesn't clear its output folder, use --c to turn it on
  • improved tests
  • minor bug-fixing