facebook

Changes in TLDs unknown to JSP Editor [Enhancement]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #201587 Reply

    seeger
    Member

    Hi

    Changes in the tld don’t get applied to the jsp editor.

    E.g. you have somthing like this in your tld:

    […]
    <attribute>
    <name>height</name>
    <description>
    Workspace height
    </description>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    […]

    And change “height” to “height33”, autocompletion and validation of the MyEclipse JSP editor doesn’t honor that change. The jsp is shown as invalid if you use “height33” and the autocompletion does only provide “heigth”.

    The editor for tld files is “TLD Editor” but it looks like it is the MyEclipse xml editor.

    General information:
    OS: Debian GNU/Linux sid (2.4.24)

    Exclipse Version: 2.1.2
    Exclipse Build id: 200311030802
    It was installed for myeclipse
    No other external plugins are installed
    org.eclipse.pde.* count: 7
    MyEclipse version:
    Version: 2.6.200
    Build id: 200312091200-2.7-RC1
    Java Version: 1.4.2_03

    #201593 Reply

    Riyad Kalla
    Member

    Seeger,
    Have you tried making the change and then waiting for 10mins to see if its just a reparse delay? Also I wonder if closing the project and reopening it might help. If neither of these things work and only restarting Eclipse is what does it, then I’ll mark this as a bug and ask Scott to enter it as this behavior doesn’t lend itself to TLD development (but probably went unnoticed for so long because most people just use Tag Libs not design them).

    #201601 Reply

    No Operation
    Member

    rebuild project should solve your issues, but it could be done better…
    … let us pray 🙂

    NOP

    #201628 Reply

    seeger
    Member

    Hi Riyad

    Yes, it also works if you reopen the project. The problem is if you write tlds and test them. Reopening the project is not very effective in this case 😉
    I also had refreshs from time to time, but I thing that comes from editing project properties which might forces a reload.

    Rebuilding doesn’t help here.

    thanks
    Felix

    #201641 Reply

    Riyad Kalla
    Member

    Felix,
    Before we request Scott/Michael to enter a dev issue for this, why don’t you tell us exactly how you want this to function? I’m thinking that having the TLD resync on save is the best idea, so if its under heavy development, it will be always up to date, but if its never being changed then it will only sync once so we don’t need to worry about any performance impls…

    What do you think?

    #201650 Reply

    seeger
    Member

    Yes, resync on save is fine.

    Thanks !
    Felix

    #201656 Reply

    Riyad Kalla
    Member

    Ok great, I let Scott know; hopefully he will enter it as an enhancement in the internal tracking system. If not we’ll prank call him at 2am until he does 🙂

    #201683 Reply

    Scott Anderson
    Participant

    No need to call; I’ve entered the enhancement request as requested. 🙂

    –Scott
    MyEclipse Support

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Changes in TLDs unknown to JSP Editor [Enhancement]

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