You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/11/14 19:52:47 UTC

[GitHub] [netbeans] sdedic commented on pull request #4921: temp test setup: try to migrate the LSP job

sdedic commented on PR #4921:
URL: https://github.com/apache/netbeans/pull/4921#issuecomment-1314292010

   This is really weird. I think I've found the culprit, but WHY the thing happens is not (yet) obvious. The `$JSCallback$` is generated during `ant build`, but **is deleted during ant test` before the `junit` task launches:
   ```
   2022-11-14T19:26:54.2848252Z 
   2022-11-14T19:26:54.2848365Z -do-compile:
   2022-11-14T19:26:54.2848719Z     [mkdir] Skipping /home/runner/work/netbeans/netbeans/java/java.lsp.server/build/classes because it already exists.
   2022-11-14T19:26:54.8304004Z    [depend] Deleting file /home/runner/work/netbeans/netbeans/java/java.lsp.server/build/classes/org/netbeans/modules/java/lsp/server/refactoring/MoveRefactoring$JavaDoc.class since org.netbeans.modules.java.lsp.server.refactoring.MoveRefactoring out of date
   2022-11-14T19:26:54.8308302Z    [depend] Top level class = org.netbeans.modules.java.lsp.server.refactoring.MoveRefactoring
   2022-11-14T19:26:54.8311636Z    [depend] Deleting file /home/runner/work/netbeans/netbeans/java/java.lsp.server/build/classes/org/netbeans/modules/java/lsp/server/refactoring/MoveRefactoring.class since one of its inner classes was removed
   2022-11-14T19:26:54.8315332Z    [depend] Deleting file /home/runner/work/netbeans/netbeans/java/java.lsp.server/build/classes/org/netbeans/modules/java/lsp/server/refactoring/MoveRefactoring$MoveElementControl.class since org.netbeans.modules.java.lsp.server.refactoring.MoveRefactoring out of date
   2022-11-14T19:26:54.8318743Z    [depend] Top level class = org.netbeans.modules.java.lsp.server.refactoring.MoveRefactoring
   2022-11-14T19:26:54.8321940Z    [depend] Deleting file /home/runner/work/netbeans/netbeans/java/java.lsp.server/build/classes/org/netbeans/modules/java/lsp/server/refactoring/MoveRefactoring$ElementControl.class since org.netbeans.modules.java.lsp.server.refactoring.MoveRefactoring out of date
   2022-11-14T19:26:54.8325250Z    [depend] Top level class = org.netbeans.modules.java.lsp.server.refactoring.MoveRefactoring
   2022-11-14T19:26:54.8328737Z    [depend] Deleting file /home/runner/work/netbeans/netbeans/java/java.lsp.server/build/classes/org/netbeans/modules/java/lsp/server/refactoring/MoveRefactoring$MoveElementControl$1.class since org.netbeans.modules.java.lsp.server.refactoring.MoveRefactoring out of date
   2022-11-14T19:26:54.8332064Z    [depend] Top level class = org.netbeans.modules.java.lsp.server.refactoring.MoveRefactoring
   
   [...]
   2022-11-14T19:26:54.8739460Z  [nb-javac] org/netbeans/modules/java/lsp/server/db/DBAddConnection$1.class will be deleted since DBAddConnection.class is missing
   2022-11-14T19:26:54.8743656Z  [nb-javac] org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate$1.class will be deleted since NbLaunchDelegate.class is missing
   2022-11-14T19:26:54.8747259Z  [nb-javac] org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate$1CheckBuildProgress.class will be deleted since NbLaunchDelegate.class is missing
   2022-11-14T19:26:54.8750713Z  [nb-javac] org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate$1W.class will be deleted since NbLaunchDelegate.class is missing
   2022-11-14T19:26:54.8754045Z  [nb-javac] org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate$2.class will be deleted since NbLaunchDelegate.class is missing
   2022-11-14T19:26:54.8757368Z  [nb-javac] org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate$3$1.class will be deleted since NbLaunchDelegate.class is missing
   2022-11-14T19:26:54.8760671Z  [nb-javac] org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate$3.class will be deleted since NbLaunchDelegate.class is missing
   2022-11-14T19:26:54.8763959Z  [nb-javac] org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate$4.class will be deleted since NbLaunchDelegate.class is missing
   2022-11-14T19:26:54.8767812Z  [nb-javac] org/netbeans/modules/java/lsp/server/explorer/TreeItem$CollapsibleState.class will be deleted since TreeItem.class is missing
   2022-11-14T19:26:54.8771151Z  [nb-javac] org/netbeans/modules/java/lsp/server/explorer/TreeItem$IconDescriptor.class will be deleted since TreeItem.class is missing
   2022-11-14T19:26:54.8774811Z  [nb-javac] org/netbeans/modules/java/lsp/server/htmlui/$JsCallbacks$$1.class will be deleted since .class is missing
   2022-11-14T19:26:54.8778046Z  [nb-javac] org/netbeans/modules/java/lsp/server/htmlui/$JsCallbacks$.class will be deleted since .class is missing
   2022-11-14T19:26:54.8781266Z  [nb-javac] org/netbeans/modules/java/lsp/server/htmlui/WebView$1.class will be deleted since WebView.class is missing
   2022-11-14T19:26:54.8784542Z  [nb-javac] org/netbeans/modules/java/lsp/server/htmlui/WebView$Command$1Wrap.class will be deleted since WebView.class is missing
   2022-11-14T19:26:54.8787760Z  [nb-javac] org/netbeans/modules/java/lsp/server/htmlui/WebView$Command.class will be deleted since WebView.class is missing
   2022-11-14T19:26:54.8790991Z  [nb-javac] org/netbeans/modules/java/lsp/server/htmlui/WebView$Page.class will be deleted since WebView.class is missing
   ```
   But WHY has been `MoveRefactoring` invalidated I do not understand. I've logged timestamps of .class files and the source .java files before `ant test` is run -- and seems the timestamps are correct (classes newer than sources).
   
   And from the `nbjavac` messages, I'd say that
   ```
   2022-11-14T19:26:54.8778046Z  [nb-javac] org/netbeans/modules/java/lsp/server/htmlui/$JsCallbacks$.class will be deleted since .class is missing
   ```
   is also strange: as if the `nbjavac` would consider "" as a toplevel class name.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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