[jira] [Commented] (NETBEANS-4191) JPA metamodel classes not indexed properly so IDE generates symbol not found message

2023-01-17 Thread Tom Eicher (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17677853#comment-17677853
 ] 

Tom Eicher commented on NETBEANS-4191:
--

This issue is still relevant.

Somebody please have a look...

> JPA metamodel classes not indexed properly so IDE generates symbol not found 
> message
> 
>
> Key: NETBEANS-4191
> URL: https://issues.apache.org/jira/browse/NETBEANS-4191
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 12.0, 11.3
> Environment: Windows 10 - 1607
> OpenJDK jdk8u242-b08
> apache-maven 3.6.3
> JavaEE 6 web application project
> EclipseLink JPA provider
> Eclipselink annotation processor
>Reporter: Miklos Krivan
>Priority: Major
> Attachments: nb-1.PNG, nb-2.PNG
>
>
> first scenario NB is not running everything is executed in a console window
>  * maven clean install on my javaee web application project is successful
>  * all of the metamodel classess are compiled into 
> target/generated-sources/annotations folder
>  * the project can be deployed in TomEE instance - run without any mistake
> second scenario:
>  * clear all of the NetBeans cache from 
> %USERPROFILE%/AppData/Local/NetBeans/Cache
>  * now let's start the netbeans64.exe with my project
>  * after a while (some minutes) it finishes indexing and red flags appears on 
> some java source files (where JPA metamodel classess are used) All of the 
> generated metamodel classes looks missing - see my attached nb-1.PNG file
>  * now I do clean and build from the NetBeans and the read flags still 
> appears because of the metamodel classes are not indexed (so not recognized)
>  * now I have tried to open one of them and make some changes (space entered 
> and deleted) so triggering the modification of the source Java file and look 
> in the background the *.rapt and *_.sig suddenly appears in the Cache folder.
>  * so I am proceed with all of them and finally all of the red flag disappears
>  * no I make a new clean and build in the IDE and no red flag appears the 
> project is clean now
> If I repeat the scenarios again the same result.
> I would like to inform you also that this problem not exists in NB 11.2 there 
> only frequent freezing error happens during facelet scanning (full freeze of 
> NetBeans) that is why I wanted to step forward.
> So finally I did somthing magic in my pom file:
>  
> {code:java}
> // code placeholder
> 
> nb-modelgen-fix
> 
> 
> 
> org.apache.maven.plugins
> maven-antrun-plugin
> 3.0.0
> 
> 
> modelgen-touch-files
> install
> 
> run
> 
> 
> 
> 
>  dir="src/main/java" includes="**/*.java">
>  expression="(@Entity|@MappedSuperclass|@Embeddable)" casesensitive="yes" />
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> {code}
> You see this is just for NB so I have changed also the NB actions for clean 
> and build as well activating this profile.
> You see I just touch all of the modell classess after finishing the build 
> (install phase) and this way NB make records in his cache finally based on 
> the source change trigger.
> One more important thing I use the following annotation processor with 
> maven-compiler plugin:
> {code:java}
> // code placeholder
> 
> org.apache.maven.plugins
> maven-compiler-plugin
> 
> 
> 
> 
> org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor
> 
> 
> 
> -Aeclipselink.persistenceunits=REFLEX-PU
> 
> 1.8
> 1.8
> 
> 
> {code}
> and of course the build-helper plugin:
> {code:java}
> // code placeholder
> 
> org.codehaus.mojo
> build-helper-maven-plugin
> 3.1.0
> 
> 
> add-source
> generate-sources
> 
> add-source
> 
> 
> 
> 
> ${project.build.directory}/generated-sources/annotations
> 
> ${project.build.directory}/generated-sources/wsimport
> 
> 
> 
> 
> 
> {code}
> I have a feeling that the indexing algoritm should have been cahnged. Maybe 
> triggers to early. The wsimport classes 

[jira] [Commented] (NETBEANS-2415) Bring back support for WildFly server

2019-09-04 Thread Tom Eicher (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16922617#comment-16922617
 ] 

Tom Eicher commented on NETBEANS-2415:
--

so how do we get this to work for everybody ?

(I'm working in NB 8.2 right now. it's a long time...)

> Bring back support for WildFly server
> -
>
> Key: NETBEANS-2415
> URL: https://issues.apache.org/jira/browse/NETBEANS-2415
> Project: NetBeans
>  Issue Type: Wish
>  Components: serverplugins - WildFly
>Affects Versions: 11.0
> Environment: n.a.
>Reporter: Dominik Derwiński
>Assignee: Emmanuel Hugonnet
>Priority: Minor
>
> NetBeans 8.2 had WildFly server module, which helped greatly in debugging 
> Java EE applications directly from IDE. NetBeans 11.0 does not contain this 
> module, despite boasting to be the first version of Apache NetBeans to offer 
> full support for developing Java EE applications.
> I don't think it would be very hard to bring back WildFly server module 
> (currently it does not complile), because copying files of the module from 
> NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is 
> enough to bring back that functionality (so the old module still works, but 
> for how long?).
> The files I have copied (after removing references to localization files) are:
>  * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml
>  * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar
>  * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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



[jira] [Commented] (NETBEANS-2415) Bring back support for WildFly server

2019-08-20 Thread Tom Eicher (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16911245#comment-16911245
 ] 

Tom Eicher commented on NETBEANS-2415:
--

but, have the "licensing issues" been resolved around this ?

> Bring back support for WildFly server
> -
>
> Key: NETBEANS-2415
> URL: https://issues.apache.org/jira/browse/NETBEANS-2415
> Project: NetBeans
>  Issue Type: Wish
>  Components: serverplugins - WildFly
>Affects Versions: 11.0
> Environment: n.a.
>Reporter: Dominik Derwiński
>Assignee: Emmanuel Hugonnet
>Priority: Minor
>
> NetBeans 8.2 had WildFly server module, which helped greatly in debugging 
> Java EE applications directly from IDE. NetBeans 11.0 does not contain this 
> module, despite boasting to be the first version of Apache NetBeans to offer 
> full support for developing Java EE applications.
> I don't think it would be very hard to bring back WildFly server module 
> (currently it does not complile), because copying files of the module from 
> NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is 
> enough to bring back that functionality (so the old module still works, but 
> for how long?).
> The files I have copied (after removing references to localization files) are:
>  * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml
>  * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar
>  * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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



[jira] [Commented] (NETBEANS-2367) wildfly support disabled

2019-04-08 Thread Tom Eicher (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16812236#comment-16812236
 ] 

Tom Eicher commented on NETBEANS-2367:
--

if wildfly is working on something we need here, would it be possible to link 
to _their issue_ in this issue please ?

> wildfly support disabled
> 
>
> Key: NETBEANS-2367
> URL: https://issues.apache.org/jira/browse/NETBEANS-2367
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Tom Eicher
>Priority: Major
>
> Wildfly support had to be temporarily disabled in
> https://issues.apache.org/jira/browse/NETBEANS-1989
> but could not bw reactivated in time for BN 11 release it seems.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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



[jira] [Created] (NETBEANS-2367) wildfly support disabled

2019-04-08 Thread Tom Eicher (JIRA)
Tom Eicher created NETBEANS-2367:


 Summary: wildfly support disabled
 Key: NETBEANS-2367
 URL: https://issues.apache.org/jira/browse/NETBEANS-2367
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.0
Reporter: Tom Eicher


Wildfly support had to be temporarily disabled in

https://issues.apache.org/jira/browse/NETBEANS-1989

but could not bw reactivated in time for BN 11 release it seems.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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