[jbosstools-issues] [JBoss JIRA] Assigned: (JBIDE-1902) contributing own completion metadata is impossible (contibutions to org.jboss.tools.common.kb.tldResource must come from org.jboss.tools.common.kb)
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Thu Mar 13 07:54:14 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1902?page=all ]
Alexey Kazakov reassigned JBIDE-1902:
-------------------------------------
Assignee: Alexey Kazakov
> 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
>
> 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