[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-1902) contributing own completion metadata is impossible (contibutions to org.jboss.tools.common.kb.tldResource must come from org.jboss.tools.common.kb)
Max Andersen (JIRA)
jira-events at lists.jboss.org
Wed Apr 9 06:06:27 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1902?page=all ]
Max Andersen updated JBIDE-1902:
--------------------------------
Fix Version/s: 2.1.0.beta1
(was: 2.1)
batch update of issues with 2.1 fix instead of the correct 2.1.b1
> contributing own completion metadata is impossible (contibutions to org.jboss.tools.common.kb.tldResource must come from org.jboss.tools.common.kb)
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-1902
> URL: http://jira.jboss.com/jira/browse/JBIDE-1902
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml source editing
> Affects Versions: 2.0.0.GA
> Environment: eclipse 3.3.2 with WTP 2.0.2 on Windows XP
> Reporter: Heiner Westphal
> Assigned To: Alexey Kazakov
> Fix For: 2.1.0.beta1
>
>
> We want to contribute to extension point "org.jboss.tools.common.kb.tldResource"
> supplying our own meta data in our own plugin.
> But the schema-location is not interpreted relative to our plugin:
> org.jboss.tools.common.kb/src/org/jboss/tools/common/kb/KbTldStore.java
> ...
> File shemaLocation = new File(kbPluginLocation, location);
> ..
> Contributing plugins will not put their schema files inside the org.jboss.tools.common.kb plugin,
> thus the location should be resolved relative to the contributing plugin, not relative to
> org.jboss.tools.common.kb.
> As a workaround I used a path containing ../pluginname_version/...:
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin>
> <extension
> point="org.jboss.tools.common.kb.tldResource">
> <tld
> jsf="true"
> name="My Components"
> schema-location="../some.company.jsf.kb.mycomponents_1.0.0/tldschema/MyComponents.xml"
> uri="http://www.company.some/mycomponents"/>
> </extension>
> </plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list