Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5065

NoClassDefFoundError: CUP$ASTPHP5Parser$actions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.2
    • None
    • php - Editor
    • None
    • Windows

    Description

      Posted this a few months ago on dev list, but since it hasn't get any responses, I'm leaving an issue here.

      This is an issue specific to Windows. Linux seems to be unaffected.

      The problem is that during ant run execution for the PHP Editor module, this file gets deleted:

      php/php.editor/build/classes/org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions.class

      It's not being created again using ant build for the module. A whole full NetBeans build is needed for that. As a result, any change to PHP Editor sources requires a full build to complete.

      CUP$ASTPHP5Parser$actions.class is mentioned in php/php.editor/nbproject/project.properties (1):

      nbjavac.ignore.missing.enclosing=**/CUP$ASTPHP5Parser$actions.class
      

      And searching for nbjavac.ignore.missing.enclosing reveals two things:

      1. No other project.properties than PHP Editor seems to have it
      2. It's being used by CustomJavac.java, in cleanUpDependDebris() method (2) that does seem to delete some files and its comments link to an old issue #196556

      From what I read, this file is supposed to be skipped from the deletion, but apparently it's not.

      Attachments

        Activity

          People

            Unassigned Unassigned
            czukowski Czukowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: