You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Evdokimov (JIRA)" <ji...@apache.org> on 2015/08/02 09:41:04 UTC
[jira] [Comment Edited] (IGNITE-1185) Locate configuration in class
path
[ https://issues.apache.org/jira/browse/IGNITE-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14650628#comment-14650628 ]
Sergey Evdokimov edited comment on IGNITE-1185 at 8/2/15 7:41 AM:
------------------------------------------------------------------
Ignite converts configuration path to java.net.URL, we cannot create java.net.URL with protocol "classpath" if handler is not implemented. new URL("classpath:foo/cfg.xml") will throw new MalformedURLException("unknown protocol: " + protocol).
May be java.net.URL should be replaced to java.net.URI, URI does not check protocol, but it's a major change.
Note: javax.cache.CacheManager use URI to store configuration path.
was (Author: sevdokimov-gg):
Ignite converts configuration path to java.net.URL, we cannot create java.net.URL with protocol "classpath" if handler is not implemented. new URL("classpath:foo/cfg.xml") will throw new MalformedURLException("unknown protocol: " + protocol).
May be java.net.URL should be replaced to java.net.URI, URI does not check protocol, but it's a major changes.
Note: javax.cache.CacheManager use URI to store configuration path.
> Locate configuration in class path
> ----------------------------------
>
> Key: IGNITE-1185
> URL: https://issues.apache.org/jira/browse/IGNITE-1185
> Project: Ignite
> Issue Type: Improvement
> Components: newbie
> Reporter: Yakov Zhdanov
> Assignee: Yakov Zhdanov
> Attachments: IGNITE-1185.patch
>
>
> Need ability to locate configuration in classpath, so nodes can be started like this:
> {{ignite.sh classpath:config/mycfg.xml}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)