Remko Popma
e427c7a3e1
DOC add pom.xml for GitHub dependency graph
2019-05-25 03:23:59 +09:00
Remko Popma
cddb84dfad
[ #500 ][ #699 ][ #703 ][ #704 ] enable the graal config annotation processors in META-INF/services
2019-05-25 02:28:10 +09:00
Remko Popma
8641b20891
[ #500 ][ #699 ][ #703 ][ #704 ] support options, bugfixes, tests
...
* fixed resource bundle related bugs in CommandLine (bundle may be null while bundleBaseName is not null in annotation processors)
* all annotation processors now support a `relative.path` option (replaces the `groupId` and `artifactId` options)
* DynamicProxyConfigGeneratorProcessor now supports a `interfaceClasses` option for additional interface names
* ResourceConfigGeneratorProcessor now supports a `bundles` option for additional resource bundles and a `resourceRegex` option for additional other resources
* added tests
2019-05-25 02:22:39 +09:00
Remko Popma
2d3228fafe
[ #703 ][ #704 ] make AbstractConfigGeneratorProcessor more flexible
2019-05-24 03:17:30 +09:00
Remko Popma
690abbc6ac
[ #703 ][ #704 ] add service config for proxy-config and resource-config annotation processors
2019-05-24 03:14:34 +09:00
Remko Popma
9eb4402b1d
[ #703 ][ #704 ] add annotation processors to generate proxy-config.json and resource-config.json
2019-05-24 03:09:08 +09:00
Remko Popma
7fa36a5239
[ #699 ] factor out more common code
2019-05-24 02:52:45 +09:00
Remko Popma
74202d9f2d
[ #699 ] factor out some common code
2019-05-24 02:48:02 +09:00
Remko Popma
325970e189
TEST make flaky tests robust so they pass on Java 9+
2019-05-24 02:30:25 +09:00
Remko Popma
7309b45680
BUILD no javadoc needed for examples (this module is not published)
2019-05-24 01:54:51 +09:00
Remko Popma
a38a95706b
TEST make test encoding-independent
2019-05-24 01:54:02 +09:00
Remko Popma
6672778532
CLEAN fix and suppress Java 9 compiler warnings
2019-05-24 01:29:05 +09:00
Remko Popma
b06ffcdf9a
BUILD (fix) exclude tools.jar when running on Java 9 for picocli-annotation-processing-tests
2019-05-23 22:41:54 +09:00
Remko Popma
f304517ff5
BUILD exclude tools.jar when running on Java 9 for picocli-annotation-processing-tests
2019-05-23 22:38:00 +09:00
Remko Popma
0d8f6f70d9
[ #699 ] added support for @Spec and @ParentCommand elements
2019-05-23 21:51:48 +09:00
Remko Popma
4316659bc0
[ #500 ] Capture @Spec and @ParentCommand-annotated program elements in the CommandSpec model
2019-05-23 21:41:20 +09:00
Remko Popma
c54f65bcb0
[ #699 ] added TODO items
2019-05-22 22:08:30 +09:00
Remko Popma
9af5501557
[ #500 ] Improve handling of annotations in compile units that have already been compiled
2019-05-22 21:55:20 +09:00
Remko Popma
48f3def3df
DOC minor fix in release notes
2019-05-22 21:47:11 +09:00
Remko Popma
8d3680ce2d
BUILD require Java 8+ for picocli-jpms-module and picocli-annotation-processing-tests (not _exactly_ Java 8)
2019-05-22 21:46:16 +09:00
Remko Popma
c4bc7a455f
[ #700 ] Change default exit codes to 1 for Exceptions, 2 for invalid usage. Add links to ExitCode javadoc.
...
Closes #700
2019-05-22 21:42:37 +09:00
Remko Popma
cc555f2ff1
BUILD avoid printing to STDOUT unless requested
2019-05-22 20:44:32 +09:00
Remko Popma
2822e24610
[ #699 ] write class names instead of canonical type names, don't generate config entries for common java types
2019-05-22 20:41:52 +09:00
Remko Popma
de518928b7
[ #500 ] Detect annotations in compile units that have already been compiled
2019-05-22 20:31:04 +09:00
Remko Popma
36849929d9
[ #699 ] Annotation processor that generates reflect-config.json during build
2019-05-21 22:27:36 +09:00
Remko Popma
46feadd092
[ #500 ] various fixes:
...
* fix test for improved validation
* load ResourceBundle if possible
* add fatalError and warn protected methods for processor subclasses
2019-05-21 22:13:26 +09:00
Remko Popma
f040ed2c60
[ #500 ] improve error reporting
2019-05-21 21:08:47 +09:00
Remko Popma
29c52e9e79
[ #698 ] reduce reflect-config.json: exclude classes that picocli calls Class.forName() on with constant Strings
...
Closes #698
2019-05-21 18:38:27 +09:00
Remko Popma
7b8da105b4
[ #698 ] use direct calls to Class.forName() and Class.getDeclaredMethod() to allow GraalVM static analysis to resolve the target elements
2019-05-21 17:41:08 +09:00
Remko Popma
c0c074e894
DOC improve javadoc on @Option(interactive) attribute
2019-05-21 14:09:33 +09:00
Remko Popma
2933b946eb
[ #500 ] do not load ResourceBundles during model creation in annotation processor
2019-05-21 13:17:30 +09:00
Remko Popma
49e9406399
BUILD suppress compile warning on unchecked vararg array for generic types
2019-05-21 12:56:42 +09:00
Remko Popma
47f1115ebb
[ #698 ] simplify type converter for java.sql.Time to allow SubstrateVM static analysis to resolve the target
2019-05-21 12:29:01 +09:00
Remko Popma
af78ab300b
[ #500 ] Minor improvements
2019-05-20 19:20:02 +09:00
Remko Popma
06b572c059
[ #500 ] Add initial support for @ArgGroup annotation
2019-05-20 07:27:54 +09:00
Remko Popma
7cfca56628
[ #500 ] Extract validation, CompileTimeTypeInfo and TypedMember from the annotation processor class
2019-05-20 07:16:51 +09:00
Remko Popma
851aeacda9
[ #692 ] Cannot move defaultFactory factory method to IFactory interface; add @see tag instead
...
Closes #692
2019-05-19 20:13:51 +09:00
Remko Popma
9093886338
[ #500 ] Make CommandSpec.DEFAULT_COMMAND_NAME a public constant
2019-05-19 08:45:22 +09:00
Remko Popma
531258ce05
[ #500 ] move extract methods to XxxMetaData classes
2019-05-19 08:31:11 +09:00
Remko Popma
6a04d9b44b
[ #500 ] move init methods to XxxMetaData classes
2019-05-19 08:14:07 +09:00
Remko Popma
b95929459e
[ #695 ] Fix runtime warnings about illegal reflective access to field java.io.FilterOutputStream.out
...
Closes #695
2019-05-19 07:13:28 +09:00
Remko Popma
1d41d16980
[ #697 ] Option sort in usage help should ignore option name prefix; long options without short name should be inserted alphabetically, instead of always appear at the top.
2019-05-18 19:46:57 +09:00
Remko Popma
a5170a1184
BUILD set source/targetCompatibility to 1.6 to prevent IDE from resetting project settings to Java 5 after command line build
2019-05-18 08:16:59 +09:00
Remko Popma
7732d833ec
BUILD don't print linkMap
2019-05-18 08:15:33 +09:00
Remko Popma
a311283d9a
DOC show the use of system properties in the version string
2019-05-18 08:10:13 +09:00
Remko Popma
f83d46c1e5
DOC fix javadoc warnings
2019-05-18 08:10:13 +09:00
Remko Popma
5aae869a02
BUILD fix javadoc when building on latest JDKs
2019-05-16 15:05:38 +09:00
Remko Popma
1cb411ad49
BUILD fix javadoc error for java 9+
2019-05-14 12:11:55 +09:00
Remko Popma
52b15fb59e
Prepare for next development cycle
2019-05-13 21:34:23 +09:00
Remko Popma
5bb3abcbb8
Release picocli version 4.0.0-alpha-3
v4.0.0-alpha-3
2019-05-13 21:13:48 +09:00