facebook

taglib completion no work with wrong URIs [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #216555

    stchome
    Participant

    @Nogardtla wrote:

    @support-rkalla wrote:

    Since the include statements are relative to the project root, try changing your include statment to look like this:
    “<%@ include file=”/WEB-INF/jspf/taglibs.jspf” %>”

    note the preceeding slash.

    Does not change anything.

    I went back into the page and updated all the include directives to have a slash before the WEB-INF (not just the taglibs one). CTRL-Left-click no longer opens the files.
    I also now have a validation error:

    Unable to initialize TldLocationsCache: The network path was not found.

    FYI – user nogardtla was my previous single license user (which expired) and this user is my company’s multi-license account. Same poster as Nogardtla (sorry for any confusion).

    #216561

    stchome
    Participant

    Ok, I added web project capabilities and that has fixed the problem (I have never had to do that with past releases). It does not care if there is a slash prior to the WEB-INF in the includes.

    NOTE: This also fixed the issue where I couldn’t CTRL-click to pages when there was a slash before WEB-INF.

    #216566

    Riyad Kalla
    Member

    Charles,
    I’m glad its working now. Web development support was never intended to be supported in Java Projects, but as users requested we slowly added little bits and pieces of support, now we are in a situation where users think (rightfully so) that editing a Java Project is the same as a Web Module Project…. we are rethinking this strategy internally as its obviously very confusing and the user *just wants it to work* so to speak.

    Sorry for the trouble, and I appreciate your patience.

    #216602

    CNM
    Member

    @CNM wrote:

    i have done a bit more testing. heres the results

    1: reinstalled eclipse
    cd /opt
    mv eclipse eclipse-old
    unzip /tmp/eclipse-SDK-3.0.1-linux-gtk.zip

    2: installed ME
    sh /tmp/EnterpriseWorkbenchInstaller_030802.bin

    3. created new web project
    (webroot = src/webapp)
    4. added struts support

    5. created WEBROOT/common/taglibs.jsp containg the following.
    <%@ taglib uri=”http://jakarta.apache.org/struts/tags-html&#8221; prefix=”html” %>

    6. created WEBROOT/MyJsp.jsp (from dialog template) and added
    <%@ include file=”/common/taglibs.jsp” %>

    content assist for the added tag library still dosnt work. i then repeated the above but changed step 2 and installed ME 3.8.1
    sh /tmp/EnterpriseWorkbenchInstaller_030801.bin
    and content assist works fine. in my desperation i tried upgradeing via the update site. the update worked fine but once eclipse had restarted content assist stopped working

    i hope this helps

    not sure if you missed this post or it has got lost among other peoples but it has me stumped so i could do with knowing if its a bug or not
    thanks

Viewing 4 posts - 16 through 19 (of 19 total)
Reply To: taglib completion no work with wrong URIs [Closed]

You must be logged in to post in the forum log in