Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Cant open a .tag file with JSP or HTML editor.
Cant open a .tag file with JSP or HTML editor. [message #59557] Sun, 02 January 2005 05:12 Go to next message
Eclipse UserFriend
Originally posted by: td.tylerd.de

Hi,

I cant open a foo.tag file with the jsp or the html editor from webtools.
The same file as foo.jsp I can open. The error log gives me a "assertion
failed: Editing document must be an IStructuredDocument" from
org.eclipse.wst.sse.ui.

Can I only open .jsp files in the jsp editor?

thanks
Re: Cant open a .tag file with JSP or HTML editor. [message #59800 is a reply to message #59557] Tue, 04 January 2005 08:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Have you tried to add a file association?
Window -> Preferences -> General -> File Association

Hope it helps,

Chemi.

Mirko Weber wrote:

>Hi,
>
>I cant open a foo.tag file with the jsp or the html editor from webtools.
>The same file as foo.jsp I can open. The error log gives me a "assertion
>failed: Editing document must be an IStructuredDocument" from
>org.eclipse.wst.sse.ui.
>
>Can I only open .jsp files in the jsp editor?
>
>thanks
>
>
Re: Cant open a .tag file with JSP or HTML editor. [message #59942 is a reply to message #59557] Tue, 04 January 2005 08:56 Go to previous messageGo to next message
Eclipse UserFriend
Mirko Weber schrieb:

> Can I only open .jsp files in the jsp editor?

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=81710

I havn't found a workaround yet.

Cu, Gunnar
Re: Cant open a .tag file with JSP or HTML editor. [message #63959 is a reply to message #59942] Mon, 10 January 2005 08:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thierry.carels.skynet.be

Workaround :
1. Edit plugin.xml in directory
"...\plugins\org.eclipse.jst.jsp.core_1.0.0"

2. Locate section <extension point="org.eclipse.team.core.fileTypes">
add

<fileTypes type="text" extension="tag"/>
<fileTypes type="text" extension="tagf"/>

3. Locate section <extension point="org.eclipse.core.runtime.contentTypes">
change content-type attribute : file-extensions

file-extensions="jsp,jspf,jsf,jsv,jtpl,jspx,tag,tagf"

4. Restart Eclipse with the "-clean" parameter.

5. ".tag" & ".tagf" are now editable with the JSP editor.
Re: Cant open a .tag file with JSP or HTML editor. [message #64071 is a reply to message #63959] Mon, 10 January 2005 09:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: varavamu.yahoo.com

Can this be added as the default?

thanks,
Vijay

Thierry C wrote:
> Workaround :
> 1. Edit plugin.xml in directory
> "...\plugins\org.eclipse.jst.jsp.core_1.0.0"
> 2. Locate section <extension point="org.eclipse.team.core.fileTypes">
> add
>
> <fileTypes type="text" extension="tag"/>
> <fileTypes type="text" extension="tagf"/>
>
> 3. Locate section <extension point="org.eclipse.core.runtime.contentTypes">
> change content-type attribute : file-extensions
>
> file-extensions="jsp,jspf,jsf,jsv,jtpl,jspx,tag,tagf"
> 4. Restart Eclipse with the "-clean" parameter.
>
> 5. ".tag" & ".tagf" are now editable with the JSP editor.
>
Re: Cant open a .tag file with JSP or HTML editor. [message #65270 is a reply to message #64071] Thu, 13 January 2005 03:50 Go to previous message
Eclipse UserFriend
On Mon, 10 Jan 2005 08:58:19 -0600, Vijay Aravamudhan <varavamu@yahoo.com> wrote:

> Can this be added as the default?

FYI ... I did make these the defaults as suggested, but that's only part of the true fix.
You wouldn't have to try to hard and you'll start to get HTML content assist, etc.
But ... these harder things we'll continue to work on too.
Previous Topic:XML editing and WTP: Sense?
Next Topic:SSL problem with tomcat 5.5
Goto Forum:
  


Current Time: Sun Jun 01 00:02:12 EDT 2025

Powered by FUDForum. Page generated in 0.05056 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top