Re: JavaDoc - Redirect Output
Amn, ${basedir} is your project's top-level directory nbproject is a subfolder of your project's top-level directory project.properties is a file under the nbproject directory For example, if your project is named "MyProject", your folder structure would be: NetBeansProjects/MyProject/ └── nbproject └── project.properties Does this help? -SC On 2/25/23 8:24 PM, Amn Ojee Uw wrote: Fascinating ... Can you decrypt this line : ${basedir}/nbproject/project.properties Thanks On 2023-02-25 6:31 p.m., Sean Carrick wrote: Amn, Per the JavaDoc references at the Oracle website: -d directory Specifies the destination directory where the javadoc command saves the generated HTML files. If you omit the -d option, then the files are saved to the current directory. The directory value can be absolute or relative to the current working directory. The destination directory is automatically created when the javadoc command runs. In a NetBeans project, the ${basedir}/nbproject/project.properties file contains the value dist.javadoc.dir=${dist.dir}/javadoc. So, if building the documentation from within the IDE, you could change this property to a different location. -SC On 2/25/23 5:00 PM, Amn Ojee Uw wrote: Is it possible to redirect the output of JavaDocs in NetBeans 16 to a directory of choice? Thanks in advance. - 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 OpenPGP_0xA195702ECF56996D.asc Description: OpenPGP public key OpenPGP_signature Description: OpenPGP digital signature
Re: JavaDoc - Redirect Output
Fascinating ... Can you decrypt this line : ${basedir}/nbproject/project.properties Thanks On 2023-02-25 6:31 p.m., Sean Carrick wrote: Amn, Per the JavaDoc references at the Oracle website: -d directory Specifies the destination directory where the javadoc command saves the generated HTML files. If you omit the -d option, then the files are saved to the current directory. The directory value can be absolute or relative to the current working directory. The destination directory is automatically created when the javadoc command runs. In a NetBeans project, the ${basedir}/nbproject/project.properties file contains the value dist.javadoc.dir=${dist.dir}/javadoc. So, if building the documentation from within the IDE, you could change this property to a different location. -SC On 2/25/23 5:00 PM, Amn Ojee Uw wrote: Is it possible to redirect the output of JavaDocs in NetBeans 16 to a directory of choice? Thanks in advance. - 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: JavaDoc - Redirect Output
Amn, Per the JavaDoc references at the Oracle website: -d directory Specifies the destination directory where the javadoc command saves the generated HTML files. If you omit the -d option, then the files are saved to the current directory. The directory value can be absolute or relative to the current working directory. The destination directory is automatically created when the javadoc command runs. In a NetBeans project, the ${basedir}/nbproject/project.properties file contains the value dist.javadoc.dir=${dist.dir}/javadoc. So, if building the documentation from within the IDE, you could change this property to a different location. -SC On 2/25/23 5:00 PM, Amn Ojee Uw wrote: Is it possible to redirect the output of JavaDocs in NetBeans 16 to a directory of choice? Thanks in advance. - 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 OpenPGP_0xA195702ECF56996D.asc Description: OpenPGP public key OpenPGP_signature Description: OpenPGP digital signature
JavaDoc - Redirect Output
Is it possible to redirect the output of JavaDocs in NetBeans 16 to a directory of choice? Thanks in advance. - 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: Re: Re: Re: How to change text colour in the console
FYI ANSI_RESET has no effect. System.out.println(ANSI_RED + "This text should be red!" + ANSI_RESET); System.out.println("Hello World!”); Hello World! Is white with / without ANSI_RESET.
Re: Re: Re: How to change text colour in the console
Works perfect! Thank you. Peter On Feb 25, 2023 at 9:57:31 AM, Neil C Smith wrote: > On Sat, 25 Feb 2023 at 14:47, Peter Ream wrote: > > I can’t get this to work. Probably user error, although I have used NB for > about 5 years, I’m not too handy into changing a lot of the parameters. > Here is my simple test copied from Bob T: > > > No, just make sure you're using NetBeans 17, or change the exec plugin > version to 3.1.0. I'd missed the relevance of the update in NB17 > here, sorry, https://github.com/apache/netbeans/pull/5111 > > Neil >
Re: Re: Re: How to change text colour in the console
On Sat, 25 Feb 2023 at 14:47, Peter Ream wrote: > I can’t get this to work. Probably user error, although I have used NB for > about 5 years, I’m not too handy into changing a lot of the parameters. Here > is my simple test copied from Bob T: No, just make sure you're using NetBeans 17, or change the exec plugin version to 3.1.0. I'd missed the relevance of the update in NB17 here, sorry, https://github.com/apache/netbeans/pull/5111 Neil - 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: Template tutorial
Antonio, Yes, I dared to update the tutorial. I'm also going to probably start working my way through all of the tutorials, possibly from the top of the Learning Trails and working my way through them all...Please see my questions on the Dev list regarding this undertaking... -SC On 2/25/23 5:19 AM, Antonio wrote: So you've dared to update the tutorial??? Very well done!! Way to go! Reviewed! Thanks, Antonio On 23/2/23 23:04, Sean Carrick wrote: Just as a quick follow-up, I updated the tutorial file on GitHub to reflect that it was pointing to the wrong modules. Once the team has a chance to review and merge my PR, the tutorial will be updated. - 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 . OpenPGP_0xA195702ECF56996D.asc Description: OpenPGP public key OpenPGP_signature Description: OpenPGP digital signature
Re: Template tutorial
Erm nope not me. On 25/02/2023 11:19, Antonio wrote: So you've dared to update the tutorial??? Very well done!! Way to go! Reviewed! Thanks, Antonio On 23/2/23 23:04, Sean Carrick wrote: Just as a quick follow-up, I updated the tutorial file on GitHub to reflect that it was pointing to the wrong modules. Once the team has a chance to review and merge my PR, the tutorial will be updated. - 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 -- Regards Rick - 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: Template tutorial
So you've dared to update the tutorial??? Very well done!! Way to go! Reviewed! Thanks, Antonio On 23/2/23 23:04, Sean Carrick wrote: Just as a quick follow-up, I updated the tutorial file on GitHub to reflect that it was pointing to the wrong modules. Once the team has a chance to review and merge my PR, the tutorial will be updated. - 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: Re: How to change text colour in the console
On Thu, 23 Feb 2023 at 19:46, Peter Ream wrote: > > "Using Maven, it works if passing -DinheritIo=true." > > Out of curiosity, can you set this within NB? Yes, otherwise it would have been impossible to test! But it would help if I'd written the right thing :-) Updated the issue. It's -Dexec.inheritIo=true you want. Easiest way to test is after using the run or run file goal, click the yellow double-arrow, second down in the output window, which allows re-running the goal with altered parameters. Add exec.inheritIo=true to the Properties section (just type on a new line - don't need the Add button, although you can find it using Add > Plugin Expression Property). Then OK to execute. If this works for you, you can change the properties for the relevant tasks permanently in the Project Properties / Actions section. Best wishes, Neil - 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