You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2012/01/15 13:11:39 UTC

[jira] [Commented] (ANY23-35) The new auto generated any23tools script is not working

    [ https://issues.apache.org/jira/browse/ANY23-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186486#comment-13186486 ] 

Hudson commented on ANY23-35:
-----------------------------

Integrated in Any23-trunk #74 (See [https://builds.apache.org/job/Any23-trunk/74/])
    Ignoring non existing dirs declared in classpath.

This commit is related to issue #ANY23-35.

mostarda : 
Files : 
* /incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/Any23PluginManager.java

                
> 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