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 2020/06/23 08:05:58 UTC

[GitHub] [netbeans] andres620x opened a new pull request #2212: Initial prototype for COS applies to .java only for now.

andres620x opened a new pull request #2212:
URL: https://github.com/apache/netbeans/pull/2212


   
   Hi everybody how are you.
   I would like you to support me by reviewing this proposal for COS on gradle systems.
   Currently only works for .java
   I have tried it in spring boot and it has worked for me.
   I know a lot of things are missing.
   But I will add them with your support and help.
   Basically I'm using everything the maven system already uses in the cos.
   Also I still have to debug a little code.
   But I would like you to give me a guide.
   
   This currently uses the BuildArtifactMapperImpl class.
   For the update.
   As I spoke with Lazlo, he commented that there could be another echema.
   But before I would like you to evaluate this.
   
   
   I remain attentive to any observation.
   I would like lazlo to review this topic


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

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] lkishalmi commented on pull request #2212: Initial prototype for COS applies to .java only for now.

Posted by GitBox <gi...@apache.org>.
lkishalmi commented on pull request #2212:
URL: https://github.com/apache/netbeans/pull/2212#issuecomment-648882439


   Theoretically (I'm little uncertauin at the begin of this flow), but you register a save cookie, so whenever a file is saved, yo test, if it belongs to a Gradle project, then retrieve the GradleJavaProject from it, so it can tell you the sourceset you are in, as well as the compile task name for the sourceset. from there it is just a custom gradle action to be called. That's the idea.
   


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

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] lkishalmi commented on pull request #2212: Initial prototype for COS applies to .java only for now.

Posted by GitBox <gi...@apache.org>.
lkishalmi commented on pull request #2212:
URL: https://github.com/apache/netbeans/pull/2212#issuecomment-648541752


   Also determining the sourceset of the saved file and invoke compile<Java|Groovy|Scala> or prepareResources task might be better. They are usually quite fast. The problem with COS is that you have to maintain a different set of "truth" when working on the projects. It is could especially complicated with JavaEE apps.


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

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] andres620x removed a comment on pull request #2212: Initial prototype for COS applies to .java only for now.

Posted by GitBox <gi...@apache.org>.
andres620x removed a comment on pull request #2212:
URL: https://github.com/apache/netbeans/pull/2212#issuecomment-648484875


   Hi Lazlo,
   So I cancel the pull and reassemble it without formatting the code?


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

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] lkishalmi commented on pull request #2212: Initial prototype for COS applies to .java only for now.

Posted by GitBox <gi...@apache.org>.
lkishalmi commented on pull request #2212:
URL: https://github.com/apache/netbeans/pull/2212#issuecomment-648540758


   Also, probably shall we do a step back first.
   Usually COS as much pain to deal with as not.
   Technically you can have COS out of the box in NetBeans with Gradle, just by starting the desired task with --continuous option. It would leave the build output open, but as soon as you save something it would execute the necessary tasks.


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

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] andres620x commented on pull request #2212: Initial prototype for COS applies to .java only for now.

Posted by GitBox <gi...@apache.org>.
andres620x commented on pull request #2212:
URL: https://github.com/apache/netbeans/pull/2212#issuecomment-648484875


   Hi Lazlo,
   So I cancel the pull and reassemble it without formatting the code?


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

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] lkishalmi edited a comment on pull request #2212: Initial prototype for COS applies to .java only for now.

Posted by GitBox <gi...@apache.org>.
lkishalmi edited a comment on pull request #2212:
URL: https://github.com/apache/netbeans/pull/2212#issuecomment-648882439


   Theoretically (I'm little uncertain at the begin of this flow), but you register a save cookie, so whenever a file is saved, yo test, if it belongs to a Gradle project, then retrieve the GradleJavaProject from it, so it can tell you the sourceset you are in, as well as the compile task name for the sourceset. from there it is just a custom gradle action to be called. That's the idea.
   


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

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] andres620x commented on pull request #2212: Initial prototype for COS applies to .java only for now.

Posted by GitBox <gi...@apache.org>.
andres620x commented on pull request #2212:
URL: https://github.com/apache/netbeans/pull/2212#issuecomment-648835583


   Hi Lazlo,
   Checking your idea then would be to detect when the person saves the source and invoke the "classes" task for the main sources and "testclasses" when it is detected to be a test class.
   Is this the idea?


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

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