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/12/09 21:47:28 UTC

[GitHub] [netbeans] qzic opened a new issue, #5065: Upgrade from 15 to 16 does not transfer all required remote platform info

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

   ### Apache NetBeans version
   
   Apache NetBeans 16
   
   ### What happened
   
   When you 1st start v16 after install it sees you have been using a previous version and asks if you want to transfer settings. I check yes. Then I try to remote run a program that previously ran. I see the build finish then nothing. I check platforms in netbeans and my remote platforms are there.
   
   ### How to reproduce
   
   Set up a remote platform in v15 and then upgrade to 16. If you compare build.properties files you can see the remote platforms defined at the end of v15's file but missing in v16 file. I manually copied the missing lines and then V16 works as it should. The odd thing is that in V16 you see the remote platforms before doing the copy but trying to run results in only a build, no errors. After updating V16 build.properties file. Builds and runs remotely as expected. This same problem happened when I upgraded from 12.5 to 15.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 12.6 or earlier
   
   ### Operating System
   
   Win 10
   
   ### JDK
   
   jdk1.7.0_15
   
   ### 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


Re: [I] Upgrade from 15 to 16 does not transfer all required remote platform info [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #5065:
URL: https://github.com/apache/netbeans/issues/5065#issuecomment-1870566061

   > I had the same problen upgrading from 16 to 19
   
   @qzic we never merged the PR since nobody verified that the fix solved the issue. If you have still the config of NB 16 around and could test the dev build to verify that it works, that would be great.
   
   Here the link to the dev build zip: https://github.com/apache/netbeans/actions/runs/7340812499/artifacts/1136875302


-- 
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] qzic commented on issue #5065: Upgrade from 15 to 16 does not transfer all required remote platform info

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

   I'm not a netbeans developer, just a user. I'm pretty sure this worked pre 12.5 because I believe I first had the issue when moving from 12.5 to 15. I don't remember having the same issue with previous upgrades.
   
   Quentin
   
   On Dec 10, 2022, 10:56, at 10:56, Michael Bien ***@***.***> wrote:
   >i diffed `netbeans/etc/netbeans.import` between 8 and 16 and it doesn't
   >look like anything got removed from the platform migration paths. Its
   >quite possible that migrating remote platforms never worked properly.
   >
   >I could take a look to find the cause for this
   >
   >-- 
   >Reply to this email directly or view it on GitHub:
   >https://github.com/apache/netbeans/issues/5065#issuecomment-1345293213
   >You are receiving this because you authored the thread.
   >
   >Message ID: ***@***.***>
   


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


Re: [I] Upgrade from 15 to 16 does not transfer all required remote platform info [netbeans]

Posted by "qzic (via GitHub)" <gi...@apache.org>.
qzic commented on issue #5065:
URL: https://github.com/apache/netbeans/issues/5065#issuecomment-1869797847

   I had the same problen upgrading from 16 to 19. I just upgraded to 20, same problem. Fix is fairly simple. I just copy the lines at the end of previous version build.properties file, the lines that start with platform, and append them to the build.properties file of the new version. 


-- 
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 commented on issue #5065: Upgrade from 15 to 16 does not transfer all required remote platform info

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

   I think i have found the issue, if you want you could test it via a dev build to verify:
   https://github.com/apache/netbeans/suites/9791343345/artifacts/470932188 (link expires in 7 days)
   
   the dev build should run a regular settings import from NetBeans 16 on first start.


-- 
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 commented on issue #5065: Upgrade from 15 to 16 does not transfer all required remote platform info

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

   i diffed `netbeans/etc/netbeans.import` between 8 and 16 and it doesn't look like anything got removed from the platform migration paths. Its quite possible that migrating remote platforms never worked properly.
   
   I could take a look to find the cause for this


-- 
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 commented on issue #5065: Upgrade from 15 to 16 does not transfer all required remote platform info

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

   @qzic I see.
   
   turns out that the config import is probably not the problem since `build.properties` is updated much later in the lifecycle.
   
   I think `org.netbeans.modules.java.j2seembedded.platform.RemotePlatformProvider` is supposed to convert the imported platform xml into the properties, it just doesn't do that, only newly created platforms are converted.


-- 
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] qzic commented on issue #5065: Upgrade from 15 to 16 does not transfer all required remote platform info

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

   It's interesting that the remote platforms show up in the list of 
   platforms even though they do not exist in build properties. You can 
   even run test on these remote platforms and the test is successful. It's 
   only when you try to run the project that you see the problem. Odd that 
   no error or warning message is issued in this case.
   
   Quentin
   
   On 2022-12-10 3:51 p.m., Michael Bien wrote:
   >
   > @qzic <https://github.com/qzic> I see.
   >
   > turns out that the config import is probably not the problem since 
   > |build.properties| is updated much later in the lifecycle.
   >
   > I think 
   > |org.netbeans.modules.java.j2seembedded.platform.RemotePlatformProvider| 
   > is supposed to convert the imported platform xml into the properties, 
   > it just doesn't do that, only newly created platforms are converted.
   >
   > —
   > Reply to this email directly, view it on GitHub 
   > <https://github.com/apache/netbeans/issues/5065#issuecomment-1345382041>, 
   > or unsubscribe 
   > <https://github.com/notifications/unsubscribe-auth/ABTNVJWW3FL2NGKTIONLPLDWMTUL5ANCNFSM6AAAAAASZZBASU>.
   > You are receiving this because you were mentioned.Message ID: 
   > ***@***.***>
   >


-- 
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 commented on issue #5065: Upgrade from 15 to 16 does not transfer all required remote platform info

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

   going remove the NB 17 target for this issue since nobody verified that the proposed patch is working so far.


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