[ java ] NetBeans 8.2 Remove Archetypes from List

2018-09-19 Thread Diego Cueva
Hi all. I creates, compiled, and installed an ARCHETYPE, but when I changed the GroupID or ArtifactID, the archetype are listed again in New Project -> Maven Archetype (see picture). To remove the old archetypes, I tried: - Delete file .m2/archetype-catalog.xml - Delete file .m2/repository

changing NetBeans Maven default pom and nbaction

2018-09-19 Thread Mathew Dusome
Hello, does anyone know if there is a way to change the default pom.xml file and the nbaction.xml that is made by NetBeans when you create a new Maven JavaFX project as I am getting tired of having to change it every time I make a new project. Thanks Mathew Dusome

Re: Determining execution environment properties.

2018-09-19 Thread Paul Franz
AZ, This seems to be turning more and more into questions about Java then how to use NetBeans. But I will help you, so if you check the documentation located at: https://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.html which states that the "public Map environmen

Determining execution environment properties.

2018-09-19 Thread A Z
I am using the following to try and determine some more execution context: ProcessBuilder builder = new ProcessBuilder(); Map map = builder.environment(); String context = map.get("PROMPT"); if(context instanceof String) //... The only thing that I have been able to d

***UNCHECKED*** Re: Netbeans and OS console capturing issue.

2018-09-19 Thread Geertjan Wielenga
Not sure how there can be a better solution (you're welcome, by the way) -- in NetBeans you are not running JAR files, you are running compiled source code; on the command line, you are running JAR files. Thanks, Gj On Wed, Sep 19, 2018 at 8:57 AM, A Z wrote: > > If I use: > > ProcessBuilder b