[ 
https://issues.apache.org/jira/browse/NETBEANS-5065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Czukowski updated NETBEANS-5065:
--------------------------------
    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)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/php/php.editor/nbproject/project.properties#L20]:
{code:java}
nbjavac.ignore.missing.enclosing=**/CUP$ASTPHP5Parser$actions.class
{code}
And searching for {{nbjavac.ignore.missing.enclosing}} reveals two things:
 # No other project.properties than PHP Editor seems to have it
 # It's being used by {{CustomJavac.java}}, in {{cleanUpDependDebris()}} method 
[(2)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/nbbuild/antsrc/org/netbeans/nbbuild/CustomJavac.java#L193-L212]
 that does seem to delete some files and its comments link to an old [issue 
#196556|https://bz.apache.org/netbeans/show_bug.cgi?id=196556]

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

  was:
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)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/php/php.editor/nbproject/project.properties#L20]:
{code:java}
nbjavac.ignore.missing.enclosing=**/CUP$ASTPHP5Parser$actions.class
{code}
And searching for {{nbjavac.ignore.missing.enclosing}} reveals two things:
 # No other project.properties than PHP Editor seems to have it
 # It's being used by {{CustomJavac.java}}, in {{cleanUpDependDebris()}} method 
[(2)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/nbbuild/antsrc/org/netbeans/nbbuild/CustomJavac.java#L193-L212]
 that does seem to delete some files and its comments link to an old [issue 
#196556|https://bz.apache.org/netbeans/show_bug.cgi?id=196556]

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


> NoClassDefFoundError: CUP$ASTPHP5Parser$actions
> -----------------------------------------------
>
>                 Key: NETBEANS-5065
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5065
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Editor
>    Affects Versions: 12.2
>         Environment: Windows
>            Reporter: Czukowski
>            Priority: Major
>
> 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)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/php/php.editor/nbproject/project.properties#L20]:
> {code:java}
> nbjavac.ignore.missing.enclosing=**/CUP$ASTPHP5Parser$actions.class
> {code}
> And searching for {{nbjavac.ignore.missing.enclosing}} reveals two things:
>  # No other project.properties than PHP Editor seems to have it
>  # It's being used by {{CustomJavac.java}}, in {{cleanUpDependDebris()}} 
> method 
> [(2)|https://github.com/apache/netbeans/blob/f75dadf3a9cfb35ec89787ecca466a4f3db274c9/nbbuild/antsrc/org/netbeans/nbbuild/CustomJavac.java#L193-L212]
>  that does seem to delete some files and its comments link to an old [issue 
> #196556|https://bz.apache.org/netbeans/show_bug.cgi?id=196556]
> From what I read, this file is supposed to be skipped from the deletion, but 
> apparently it's not.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to