Pass the loose app file to the binary scanner to generate features - #534
Conversation
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
97b3057 to
67840ac
Compare
|
Discussed further with @turkeylurkey. Next steps:
|
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
|
N.B. we currently call the scanner if there are no inputs of any kind: |
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
|
Sample output if the app is missing for command line
|
|
When there are no files in the app config file the message in dev mode is: |
|
When there is an ioexception reading the app descriptor (xml file) the message is: |
We should be more explicit about what files were not found and what the user can do about it. Something like: |
|
During dev mode the message is almost the same when the file is not found: |
|
In the unlikely event there is an IOException while reading the app. config. in .war.xml: during start up we exit while running dev mode we soldier on |
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Related to #2063, #2088
Accept the loose app descriptor file name as an argument. Parse this file and pass all the referenced files and directories to the binary scanner when optimize is on. If this file is missing then print a warning message and fall back to using the classes directories.