The new auto generated any23tools script is not working
-------------------------------------------------------
Key: ANY23-35
URL: https://issues.apache.org/jira/browse/ANY23-35
Project: Apache Any23
Issue Type: Bug
Reporter: Michele Mostarda
Assignee: Michele Mostarda
That's the raised exception:
{code}
bin$ ./any23tools
Exception in thread "main" java.lang.IllegalArgumentException: Invalid JAR
[/Users/hardest/Desktop/apache-any23-0.6.2-incubating-SNAPSHOT/etc], must be an
existing file.
at
org.apache.any23.plugin.Any23PluginManager.loadJAR(Any23PluginManager.java:115)
at
org.apache.any23.plugin.Any23PluginManager.loadClassesInPackageFromJAR(Any23PluginManager.java:413)
at
org.apache.any23.plugin.Any23PluginManager.loadClassesInPackageFromClasspath(Any23PluginManager.java:521)
at
org.apache.any23.plugin.Any23PluginManager.getClassesInPackage(Any23PluginManager.java:256)
at
org.apache.any23.plugin.Any23PluginManager.getTools(Any23PluginManager.java:273)
at
org.apache.any23.cli.ToolRunner.getToolsInClasspath(ToolRunner.java:87)
at org.apache.any23.cli.ToolRunner.main(ToolRunner.java:51)
{code}
It seems the auto generated script includes in classpath also unexisting dirs
like 'etc' that must be managed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira