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 2023/01/10 23:03:53 UTC

[GitHub] [netbeans] swpalmer opened a new issue, #5267: Deprecated 'main' property is used by run-single

swpalmer opened a new issue, #5267:
URL: https://github.com/apache/netbeans/issues/5267

   ### Apache NetBeans version
   
   Apache NetBeans 16
   
   ### What happened
   
   The run single file action injects a runSingle task that references a Gradle property that was deprecated in Gradle 7.5
   
   Running with  '--warning-mode all --stacktrace' the result is:
   ```
   The JavaExec.main property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the mainClass property instead. See https://docs.gradle.org/7.5/dsl/org.gradle.api.tasks.JavaExec.html#org.gradle.api.tasks.JavaExec:main for more details.
   at org.gradle.api.tasks.JavaExec.setMain(JavaExec.java:427)
   at org.gradle.api.tasks.JavaExec_Decorated.setMain(Unknown Source)
   at org.netbeans.modules.gradle.tooling.NetBeansRunSinglePlugin.lambda$addTask$2(NetBeansRunSinglePlugin.java:85)
   ```
   
   
   ### How to reproduce
   
   Using Gradle 7.5 or later and running a single file via the context menu will reproduce the problem.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   macOS 13.2
   
   ### JDK
   
   JDK 17.0.05
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   Yes
   
   ### Code of Conduct
   
   Yes


-- 
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.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


[GitHub] [netbeans] mbien commented on issue #5267: Deprecated 'main' property is used by run-single

Posted by GitBox <gi...@apache.org>.
mbien commented on issue #5267:
URL: https://github.com/apache/netbeans/issues/5267#issuecomment-1382694955

   closing since the PR was merged


-- 
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


[GitHub] [netbeans] mbien closed issue #5267: Deprecated 'main' property is used by run-single

Posted by GitBox <gi...@apache.org>.
mbien closed issue #5267: Deprecated 'main' property is used by run-single
URL: https://github.com/apache/netbeans/issues/5267


-- 
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