Re: How to remove the "Customize" menu item from toolbars popupmenu ?
As this is a platform issue and platform should be flexible, should we add some way to hide such menu items for platform applications? with regards Tushar Tushar Joshi, Nagpur: http://www.tusharjoshi.com * MCSD_NET C#, SCJP, RHCE, ZCE, PMP, CSM, SAFe, PRINCE2 * Senior Architect @ Persistent Systems http://www.persistent.com * LinkedIn: http://www.linkedin.com/in/tusharvjoshi On Wed, May 8, 2019 at 10:19 AM Emilian Bold wrote: > I didn't do this before nor see an easy workaround. > > Generally I highly recommend serious Platform applications to maintain > an Platform fork and recompile it themselves. Then little > customizations like this are just a matter of commenting a few lines > of code. Of course, this makes updating the Platform more work, but a > workaround is generally even harder to port as it's more complicated. > > --emi > > On Wed, May 8, 2019 at 1:50 AM Jerome Lelasseux > wrote: > > > > In my RCP app the Customize action from the toolbars popup menu confuses > users and I'd like to remove it. > > > > Problem is that the popupmenu is not built from the layer file, it is > hardcoded (module Core Windows / ToolbarConfiguration.java / method > fillToolbarsMenu() method)... Is there a workaround ? Thanks. > > > > Jerome > > > > - > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >
Re: NB Platform - running unit tests on multiple machines
> > Many years ago (10+?) I used a relative path, but that is not good enough > because the relative path is different depending on if you are running unit > tests for an individual module, or for the whole module suite. > > Any suggestions would be most appreciated. > I would check if I can use environmental variables in the file and try using something like $PROJECT_HOME before all my paths, so it can be changed without changing the file. I have not tried it but may be worth a try. with regards Tushar
Re: News: Apache NetBeans has graduated from the Apache Incubator
Congratulations!!! Great news to enjoy and share with everyone. I am happy for this transition. with regards Tushar
Re: The '$' and 'O' in the Linker's Additional Options got eaten by NetBeans
Awesome! with regards Tushar On Tue, Apr 16, 2019 at 8:57 AM Heng Zhou wrote: > With the inspiration from Mr. Tushar, I finally figured out the trick: The > option should be written as "\$$ORIGIN/FMOD". Double $ is key! :-) > > On Mon, Apr 15, 2019 at 11:19 PM Heng Zhou wrote: > >> That way, the option passed is "\\\RIGIN/LibDir". >> >> On Mon, Apr 15, 2019 at 11:16 PM Tushar Joshi >> wrote: >> >>> Can you please try "\\\$ORIGIN/LibDir" that is one escape character for >>> the backslash and one escape character for the $ >>> >>> with regards >>> Tushar >>> >>> Tushar Joshi, Nagpur: http://www.tusharjoshi.com >>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tusharjoshi.com_=DwMFaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=NMX1BNoBG-Bn1kvZ0H2kBayJt7s1Lx3N_B0eyvYWkPI=ULL23hq6_0mXbOuPO7dXhmVE-kHIZDeD-lznr4vQIu8=cieUvzxsBgmuh4Sbp4OnOdvX85w4RfPbK81DfV0Woos=> >>> >>> * MCSD_NET C#, SCJP, RHCE, ZCE, PMP, CSM, SAFe, PRINCE2 >>> >>> * Senior Architect @ Persistent Systems http://www.persistent.com >>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.persistent.com_=DwMFaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=NMX1BNoBG-Bn1kvZ0H2kBayJt7s1Lx3N_B0eyvYWkPI=ULL23hq6_0mXbOuPO7dXhmVE-kHIZDeD-lznr4vQIu8=zG95i9Zlgdw2yc10zIRrTs-85Y8916MvJ82zoFHVIEY=> >>> * LinkedIn: http://www.linkedin.com/in/tusharvjoshi >>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_tusharvjoshi=DwMFaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=NMX1BNoBG-Bn1kvZ0H2kBayJt7s1Lx3N_B0eyvYWkPI=ULL23hq6_0mXbOuPO7dXhmVE-kHIZDeD-lznr4vQIu8=TWLUQ9QhVB89QX2ht6WaZ78dyM0ux0OrHO_KU0EBbH0=> >>> >>> >>> >>> On Tue, Apr 16, 2019 at 6:22 AM Heng Zhou wrote: >>> >>>> Hi, >>>> >>>> I wanna the following linker flags to be passed to the linker: >>>> >>>> -Wl,--enable-new-dtags,-rpath,"\$ORIGIN/LibDir" >>>> >>>> So I type it literally in the Linker's Additional Options. But I found >>>> that the '$' and 'O' in "\$ORIGIN/LibDir" got eaten by NetBeans, so only >>>> "\RIGIN" appears in actual linking option. I guess it is related to some >>>> pre-processing like escaping, but I'm not familiar with it. Could you >>>> please instruct me how to circumvent the pre-processing so that it is >>>> exactly "\$ORIGIN/LibDir" that is actually passed to the linker? Thanks. >>>> >>>
Re: The '$' and 'O' in the Linker's Additional Options got eaten by NetBeans
Can you please try "\\\$ORIGIN/LibDir" that is one escape character for the backslash and one escape character for the $ with regards Tushar Tushar Joshi, Nagpur: http://www.tusharjoshi.com * MCSD_NET C#, SCJP, RHCE, ZCE, PMP, CSM, SAFe, PRINCE2 * Senior Architect @ Persistent Systems http://www.persistent.com * LinkedIn: http://www.linkedin.com/in/tusharvjoshi On Tue, Apr 16, 2019 at 6:22 AM Heng Zhou wrote: > Hi, > > I wanna the following linker flags to be passed to the linker: > > -Wl,--enable-new-dtags,-rpath,"\$ORIGIN/LibDir" > > So I type it literally in the Linker's Additional Options. But I found > that the '$' and 'O' in "\$ORIGIN/LibDir" got eaten by NetBeans, so only > "\RIGIN" appears in actual linking option. I guess it is related to some > pre-processing like escaping, but I'm not familiar with it. Could you > please instruct me how to circumvent the pre-processing so that it is > exactly "\$ORIGIN/LibDir" that is actually passed to the linker? Thanks. >
Re: [RESULT] [VOTE] Recommend 'Apache NetBeans graduation to Top Level Project' resolution to board
I totally agree and resonate with the feeling Wade has shared Happy to be with NetBeans and seeing it graduate to top level project in Apache with regards Tushar On Fri, Apr 12, 2019 at 5:34 AM Wade Chandler wrote: > Great news indeed! Thanks and congratulations to everyone who has > contributed in any way including the Apache mentors Bertrand, Ate, Daniel, > and Jim. > > A big special thanks to Geertjan, Jirka, Jarda, Tim, Jesse, Bruno, Milos, > Tomas, Jan, and all the other old hats from NetBeans including the NBDT > members; a lot of years and hard work behind all of this; decades! > > Everything we ever did looks like it will have a long and open life! I'm so > proud of you all. > > After Bruno Souza and some of us started the "Dream Team" (say that without > feeling cheesy), we created a mission statement: > > "The NetBeans Dream Team strives to make the NetBeans open source project > more accessible to our user, contributor, and partner communities." > > Geertjan and Jirka helped us carry on that mission. > > I can't think of a better way to complete it than here at Apache with it's > open and passion driven model "The Apache Way" and a TLP. Can it be more > accessible?! > > Thanks for all the great years of fun, experiences and learning! Here's to > more! > > Wade >
Re: Why does NB10 require authentication?
NetBeans IDE does not need password authentication. The IDE may be trying to connect to a web site, to get content to display on the start page and you may be behind a transparent proxy which needs authentication. Please check if there is a proxy which needs authentication for web access. You can try changing the proxy settings in the Network settings of your installation. Please also let us know what OS? What Java version? you are using. You should know that NetBeans IDE 11.0 has just been released and you should give it a try also. with regards Tushar Tushar Joshi, Nagpur: http://www.tusharjoshi.com * MCSD_NET C#, SCJP, RHCE, ZCE, PMP, CSM, SAFe, PRINCE2 * Senior Architect @ Persistent Systems http://www.persistent.com * LinkedIn: http://www.linkedin.com/in/tusharvjoshi On Fri, Apr 5, 2019 at 12:19 AM Greenberg, Gary wrote: > Sometimes in the middle of coding a panel pops up that is asking for user > name and password. > What user name/password it is asking for and why? > > I would understand if Netbeans will be a licensed tool with a license > server authenticating users at the beginning of session. > > I am usually dismissing this popup with cancel button, however, reviewing > thread dumps from > Netbeans freezes I noticed that it always have thread locked at > > § > org.netbeans.core.NbAuthenticator.getPasswordAuthentication(NbAuthenticator.java:75) > at > java.net.Authenticator.requestPasswordAuthentication(Authenticator.java:317) > > § locked <0xc1735de0> (a org.netbeans.core.NbAuthenticator) > at > sun.net.www.protocol.http.spnego.NegotiateCallbackHandler.getAnswer(NegotiateCallbackHandler.java:68) > > Can anyone explain what this authentication is for? > > > > Gary Greenberg > > Staff Software Engineer > > Data Product Development, BI-A > > E: ggree...@visa.com > > M: 650-269-7902 > > > > [image: EmailSig-TaglineVersion] > > >
Re: NetBeans 10 JUnit support
> > JUnit 5 is supposed to co-exist > with 4, or whether 4 is now done and everyone should be moving on. > I remember JUnit 3.8.1 being used for many years even when JUnit 4 was the standard. Project have reluctance for shifting an existing JUnit library for many reasons. Given that we should have both JUnit versions 4.11 as well as 5.x supported in an IDE. with regards Tushar Tushar Joshi, Nagpur: http://www.tusharjoshi.com * MCSD_NET C#, SCJP, RHCE, ZCE, PMP, CSM, SAFe, PRINCE2 * Senior Architect @ Persistent Systems http://www.persistent.com * LinkedIn: http://www.linkedin.com/in/tusharvjoshi
Re: CoolBeans 2018.12 released
Hello All, If you are using homebrew and homebrew-cask then CoolBeans is available through a one line command now as follows $ brew cask install coolbeans Please give it a try. with regards Tushar Tushar Joshi, Nagpur: http://www.tusharjoshi.com * MCSD_NET C#, SCJP, RHCE, ZCE, PMP, CSM, SAFe, PRINCE2 * Senior Architect @ Persistent Systems http://www.persistent.com * LinkedIn: http://www.linkedin.com/in/tusharvjoshi On Thu, Dec 27, 2018 at 5:03 PM Emilian Bold wrote: > Hello, > > As you might have noticed Apache NetBeans 10 has been released. I > recommend you look into that. > > If you are interested in a proper installer that includes the JDK as > well as JavaEE and some other goodies, do take a look a my IDE > distribution called CoolBeans. > > On https://coolbeans.xyz version 2018.12 has been released yesterday. > > Disclaimer: CoolBeans is not affiliated with or developed by Apache > Software Foundation. This message is sent with the hope of being > informative to the subscribers of this mailing list. > > --emi > > http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more! > > - > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >
Re: Working directory and debug mode in netbeans
Let me try to answer in order of your points #1. Netbeans Application to be started in given directory as current one - As the application is based on netbeans platform and developed by you I can think of overriding the current directory through some environmental variables like in your logic develop a method/service to get the current directory and in that logic first check if s certain environment variable is defined which will have value for current directory. If that value exists the application will override the current directory or use that one as its current directory. This can also be a good user configuration your provide for your application configuration to your users. #2. Debug the NetBeans Application from NetBeans IDE - I believe there is a Debug Project option in NetBeans IDE when a NetBeans Application project is opened. That option will start the NetBeans Platform application in debug mode from your NetBeans IDE. You will have to open the NetBeans Application as project in NetBeans IDE and then add breakpoints and use the Debug > Debug Project menu option to start the NetBeans Application in debug mode Hope this will help. with regards Tushar On Mon, Nov 26, 2018 at 11:13 PM Thomas Kellerer wrote: > Ah, I overlooked the "with the NetBeans platform" part - for such an > application, the "Run targets" aren't available indeed. > > I don't know if there is a workaround. > > Thomas > > > Christophe DOLCI schrieb am 26.11.2018 um 18:33: > > Thank you for your answer. > > Unfortunately I don't have any of this option (with the right click or > from the toolbar), my project is a netbeans platform application so Ant > based project. > > My netbeans version is 8.0.2, maybe I need a special plugin? > > > > If I try to create a new netbeans platform application, I don't have > these Run option neither. > > > > Regards > > > > Christophe > > > > > > Christophe Dolci | Lead Software Developer - EM Solutions > > T +33 (0)4 56 38 08 73 | F +33 (0)4 56 38 08 30 > > 15 chemin de Malacher, 38246, Meylan Cedex, France > > cdo...@altair.com | www.altair.com > > Altair | Innovation Intelligence ® > > > > > > > > > > > > -Message d'origine- > > De : Thomas Kellerer [mailto:sham...@gmx.net] > > Envoyé : lundi 26 novembre 2018 18:19 > > À : users@netbeans.apache.org > > Objet : Re: Working directory and debug mode in netbeans > > > > You can do that in the "Run" configuration: > > > > Assuming you are using an Ant based project, right click on the project, > the select the "Run" section (or use the "Customize..." entry in the "Run > target" drop down in the toolbar). > > > > You can define different run "Targets" and for each target you can > define a different working directory. > > > > The currently selected run target is the one that is used if you use > "Debug Application". > > > > I haven't used NetBeans 8.0 for ages, but I'm pretty sure that was > already present then. > > > > Thomas > > > > > > Christophe DOLCI schrieb am 26.11.2018 um 18:12: > >> Hello all, > >> > >> Firstly thank you to adding me in this netbeans mailing list. I'm > developing a Java application with the netbean framework and I'm > encountered some problems. > >> > >> I have some questions about netbeans 8.0. > >> > >> 1. I would like to run my netbeans application, with netbeans ide, > in a specific working directory like a java project. > >> > >> It's possible? I search some parameters to set in the > project.properties(run.args.extra) like -userdir or like this. > >> > >> 2. I would like to launch my netbeans application in debug mode > from a batch command line (and set the host and port to attach the socket > from my netbeans ide), it's possible? > >> > >> Best regards > >> > >> Christophe > > > > - > > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > > For additional commands, e-mail: users-h...@netbeans.apache.org > > > > For further information about the NetBeans mailing lists, visit: > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > > For additional commands, e-mail: users-h...@netbeans.apache.org > > > > For further information about the NetBeans mailing lists, visit: > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > - > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >
Re: nb 10 question - plugins
There is a "Show details" checkbox on the plugin dialog box. Please check if that box is checked which will show all the plugins in the list individually. with regards Tushar On Mon, Nov 26, 2018 at 9:33 PM Mike Billman wrote: > I noticed on plugins, that all of the plugins we install are now listed > under “user installed plugins” How would we go about un-installing a > single plugin? > > > > Mike Billman > > Senior Software Engineer > > CPTE > > > > [image: qclogo] > > > > 11800 Conrey Rd > > Suite 150 > > Cincinnati, OH 45249 > > > > T +1 513 469 1424 > > E mikebill...@qcsoftware.com > > F +1 513 469 1425 > > >
Re: Bundle JRE 10 to a netbeans platform application
This looks like a necessary update for Java10 and shall be submitted as a PR against one issue created for this topic. Please think over it. with regards Tushar On Mon, Aug 20, 2018 at 9:11 PM Andreas Hauffe wrote: > Hi, > > thanks for the hint. > > But I just change the code of the windows installer launcher of netbeans > so that it is working for Java 10. This was quite a pain, due the fact, > that I do not really understand how the build process during the IDE > compilation is working. Some ZIP files are used which override all changes > of native executables with netbeans 8.2 executables. > > I changed line 125 - 181 of > https://github.com/apache/incubator-netbeans/blob/master/nbi/engine/native/launcher/windows/src/JavaUtils.c > to the following and copied the compiled nbi-engine.jar to > netbeans/harness/modules/ext/ manually. > > > > JavaVersion * getJavaVersionFromString(char * string, DWORD * result) { > JavaVersion *vers = NULL; > if(getLengthA(string)>=3) { > char *p = string; > > // get major > long major = 0; > while(p!=NULL) { > char c = p[0]; > if(c>='0' && c<='9') { > major = (major) * 10 + c - '0'; > p++; > continue; > } > else if(c=='.'){ > p++; > } > else{ > return vers; > } > break; > } > > // get minor > long minor = 0; > while(p!=NULL) { > char c = p[0]; > if(c>='0' && c<='9') { > minor = (minor) * 10 + c - '0'; > p++; > continue; > } > break; > } > > *result = ERROR_OK; > vers = (JavaVersion*) LocalAlloc(LPTR, sizeof(JavaVersion)); > vers->major = major; > vers->minor = minor; > vers->micro = 0; > vers->update = 0; > ZERO(vers->build, 128); > > if(p!=NULL) { > if(p[0]=='.') { // micro... > p++; > while(p!=NULL) { > char c = p[0]; > if(c>='0' && c<='9') { > vers->micro = (vers->micro) * 10 + c - '0'; > p++; > continue; > } > else if(c=='_') {//update > p++; > while(p!=NULL) { > c = p[0]; > p++; > if(c>='0' && c<='9') { > vers->update = (vers->update) * 10 + c - > '0'; > continue; > } else { > break; > } > } > } else { > if(p!=NULL) p++; > } > if(c=='-' && p!=NULL) { // build number > lstrcpyn(vers->build, p, min(127, > getLengthA(p)+1)); > } > break; > } > } > } > } > return vers; > } > > > > -- > Regards, > Andreas Hauffe > > > > > > > Am 20.08.2018 um 12:23 schrieb Neil C Smith: > > You might want to check out the thread around using InnoSetup for this > from around Aug 1st too. > > Best wishes, > > Neil > > On Mon, 20 Aug 2018, 08:55 Andreas Hauffe, > wrote: > >> Hi, >> >> I tried with Netbeans 9 and JDK8/JRE8 and this is working. >> >> The verbose output of running the windows installer with a bundled JRE10 >> is the following: >> >> 2018-08-20 09:48:12.421]> Create new process: >> [2018-08-20 09:48:12.421]> command : >> C:\Users\${USER}\AppData\Local\Temp\\NBI25406.tmp\_jvm\bin\java.exe >> -classpath C:\Users\${USER}\AppData\Local\Temp\\NBI25406.tmp TestJDK >> [2018-08-20 09:48:12.421]> directory : C:\Temp >> [2018-08-20 09:48:12.437]> ... process created >> [2018-08-20 09:48:12.682]> ... process finished his work >> [2018-08-20 09:48:12.682]>output : >> 10.0.2 >> 10.0.2+13 >> Oracle Corporation >> Windows 10 >> amd64 >> >> [2018-08-20 09:48:12.682]> java.version = 10.0.2 >> [2018-08-20 09:48:12.698]> java.vm.version = 10.0.2+13 >> [2018-08-20 09:48:12.698]> java.vendor = Oracle Corporation >> [2018-08-20 09:48:12.714]> os.name = Windows 10 >> [2018-08-20 09:48:12.714]> os.arch = amd64 >> [2018-08-20 09:48:12.714]> >> [2018-08-20 09:48:12.729]> ... getting java version from string : >> 10.0.2+13 >> [2018-08-20 09:48:12.729]> ... some java there >> [2018-08-20 09:48:12.729]> ... no java at >> C:\Users\${USER}\AppData\Local\Temp\\NBI25406.tmp\_jvm >> [2018-08-20 09:48:12.745]> ... check private jre at >> C:\Users\${USER}\AppData\Local\Temp\\NBI25406.tmp\_jvm\jre >> [2018-08-20 09:48:12.745]> ... not a java hierarchy
Re: Netbeans 9 CodeNameOne Plugin Oriented Questions.
Hello, I understand you have a lot of questions about CodeNameOne plugin. Please understand these points also: 1. CodeNameOne plugin is developed by another community which is associated with the CodeNameOne product. That community is not directly connected with NetBeans Development community. 2. CodeNameOne is a NetBeans approved plugin hence is available in NetBeans plugin portal but still the NetBeans community is only hosting that plugin for convinience of the users, they do not maintain or control the development of this plugin 3. As you found out the NetBeans Users mailing list you need to find out the users mailing list for CodeNameOne plugin and direct all these questions to that appropriate mailing list 4. The users on this mailing list have no information about the CodeNameOne plugin or its roadmap. When you will send these questions to their correct mailing list chances of them getting answered are more Hope these points clarify the things, and hope you will get your answers soon from their CodeNameOne appropriate mailing list with regards Tushar