Re: Spring Boot Properties

2023-05-31 Thread Tim de Vries

Hello,

So my platform software, which should be run "on-top-of", Netbeans, 
Terminal, IntelliJ, Codeblocks, Notepad++, etc,


Try That. Let me know how it works. t...@tecreations.ca. 
Canada.Alberta.Heisler. @#$Worldwide.


Bye.

Tim

On 2023-05-29 7:08 p.m., David Soles wrote:

First of all, thanks for your hard work.
I was wondering why **NetBeans* Language Server for Java (VS Code) 
*supports Spring Boot property file autocompletion, but the full 
NetBeans IDE doesn't. It weird!


--
David Soles

Sorting it out?

2023-05-31 Thread Tim de Vries

Need a pure JAVA Solution?

Like a Gosling, a Jobs, a Gates, maybe a MARKZUCK. or Bezos, if you 
that. I don't. I TIM.


You, Not Me!

#All.

#Tim.

#You.

#OhNo!

Tim



-
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: Migrating NB platform app to maven

2023-05-31 Thread Tim de Vries

For something like this, I would say something like...


'Construct a build process that process my "main()" project and all 
dependencies.


Test via: Run and test that.

Thank you.

Tim

On 2023-05-15 2:26 p.m., Jerome Lelasseux wrote:
I try to migrate my Ant-based NB platform app (~70 modules) to Maven, 
but I'm new to Maven, so forgive the newbie question.



I created a new empty NB platform app with a sample module from the NB 
wizard, then I built from there. I used https://github.com/gephi/gephi 
on GitHub as a kind of model.


So now I have my parent project, the app project, the branding project 
and all my modules. I checked the various pom.xml. Running "mvn 
validate" is a success, and the projects structure in the IDE is OK.


BUT... I can't build ! Using "BUild with dependencies" on the app 
project, I get error messages like:


The POM for org.jjazz:org.jjazz.utilities:jar:1.0-SNAPSHOT is missing, 
no dependency information available
The POM for org.netbeans.api:org.openide.actions:jar:RELEASE170 is 
missing, no dependency information available

...

Using the "Solve project problems" menu, I understood that the 
dependencies are not found because they are not available in my local 
repository. But to be in the repository I need to compile the module, 
which depends on other modules etc... The only modules I was able to 
compile are the few ones with no dependencies at all, so only those 
were copied in the local repository.


I expected Maven (or rather the reactor plugin) to parse the module 
dependency tree and infer the appropriate compilation order, like Ant 
did...


What do I miss ?



Jerome

PS: I used a bash script to automate the migration process as much as 
possible. When I'm done I'll be happy to share it -there is not much 
info on the web...







Hello, please don't bombard the ASF mailing list for questions related to me. Please do: t...@tecreations.ca

2023-05-31 Thread Tim de Vries
So, you should be able to use an 'approximate' POM with 
DependencyViewer, that will, to your 'project' 's /jars/ dir.


Then code.

You may, use my tecreations-0.5.0 and auth-server and 
app.controller.MultipleInstance(s)?, to ..., construct your environment?





So I, run my latest id confirmation app, with your society, and in 
parity with #GlobalEconomy, #WarTime, #PeaceTime.


Sorry, no #ANTI-CHRIST.

Tim



-
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



Wow: Migrating NB platform to ???

2023-05-31 Thread Tim de Vries

Sorry.

You could try my DependencyViewer to download your requirements to your 
ProjectDir/jars.



I can't even reply to the comments so I guess apache == NAZICensorship.


Uhm. The code is correct. There may be some hacker interaction, but they 
can't probably do that all the time.


I use a Plain Java Project with Windows CMD/Linux Terminal. I did use a 
mac, but mostly just Windows lately.


It should work with valid, tested software, or they are ing with you.

Tim


-
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: Netbeans 17 && 12.5

2023-05-28 Thread Tim de Vries

Check 'out', my site: tecreations.ca. Check daily or I don't care.

Yeah, of course, tell them to tell them. 0 to max. Display, iterative, 
recursive. Thank you. Tim.


Tim

On 2023-05-26 11:24 p.m., Geertjan Wielenga wrote:



Did you really say this, in an ASF mailing list: “Sort it out.”

Gj

On Sat, 27 May 2023 at 05:43, Tim de Vries  wrote:

Hi,

So, I'm running both.

Old:

Netbeans 12.5 has a horrible habit of scanning all projects for
dependencies, I assume in regards to code completion, although I
haven't
found too many examples of where it would work, similar to, for
example,
IntelliJ or a plain Java implementation.

Editor works exceptionally well. There are some either
undocumented, or
well known shortcuts? And some code completion is completely wrong.

New:

Netbeans 17 has a horrible failure in stopping apps.
System.exit(code)
should work as the default for the specified type. If running from a
static void main(args), it should exit from the main. If running as a
pkg.sub.Class.launch()? It should be user specified, based on whether
they have a gui in place from execution or not, if headless, that
should
be an error if not specified. Sort it out.

Also, I understand, I have my project, but Java specifies that
there are
.class'es and .java's. So, we should have the option to display
.class'es, for those that are interested. IE, people working on
compilers or creation programs. If desired, we should be able to hide
those. Also, what purpose is served by containing a separate sub-path
for the NetBeans Files? Again, if I want that, I think I would be
able
to set that feature. I don't want tim's either, that's why I use
it as a
.jar, not a project.


Both:

Bad, bad, non-background scanning for code completion. ==> Think,
active
project. True background scanning. Work.

No display settings. For example, I want to select display of .class
files. I don't want to show Netbeans Files.

Caching is inconsistent and error prone, particularly in 17. No
functionality to refresh list and contents of included .jars as in
12.5.
Note that 12.5 does do that correctly, although both are clunky
with the
+ at the top right of the included libraries dialog for the project
properties -- that should be a button in the list, along with
remove, as
on the right of the ProjectProperties->Libraries tab. It should
work, as
in 12.5, that re-copying the jar into the registered location should
cause the refresh and reload of the code contained within the jar.
This
ensures it's correctness to the file system.


Caveat:

Did not compare .jar output.


Hello?:

Unless I'm wrong, then please instruct me on the correct
procedures and
coding style.
Thank you.


Tim



-
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: Netbeans 17 && 12.5

2023-05-28 Thread Tim de Vries

I guess, not really, but yes.


I keep working on it. It isn't easy or everyone would do it. My current 
code is at tecreations.ca.


God bless.

Tim

On 2023-05-26 11:24 p.m., Geertjan Wielenga wrote:


Did you really say this, in an ASF mailing list: “Sort it out.”

Gj

On Sat, 27 May 2023 at 05:43, Tim de Vries  wrote:

Hi,

So, I'm running both.

Old:

Netbeans 12.5 has a horrible habit of scanning all projects for
dependencies, I assume in regards to code completion, although I
haven't
found too many examples of where it would work, similar to, for
example,
IntelliJ or a plain Java implementation.

Editor works exceptionally well. There are some either
undocumented, or
well known shortcuts? And some code completion is completely wrong.

New:

Netbeans 17 has a horrible failure in stopping apps.
System.exit(code)
should work as the default for the specified type. If running from a
static void main(args), it should exit from the main. If running as a
pkg.sub.Class.launch()? It should be user specified, based on whether
they have a gui in place from execution or not, if headless, that
should
be an error if not specified. Sort it out.

Also, I understand, I have my project, but Java specifies that
there are
.class'es and .java's. So, we should have the option to display
.class'es, for those that are interested. IE, people working on
compilers or creation programs. If desired, we should be able to hide
those. Also, what purpose is served by containing a separate sub-path
for the NetBeans Files? Again, if I want that, I think I would be
able
to set that feature. I don't want tim's either, that's why I use
it as a
.jar, not a project.


Both:

Bad, bad, non-background scanning for code completion. ==> Think,
active
project. True background scanning. Work.

No display settings. For example, I want to select display of .class
files. I don't want to show Netbeans Files.

Caching is inconsistent and error prone, particularly in 17. No
functionality to refresh list and contents of included .jars as in
12.5.
Note that 12.5 does do that correctly, although both are clunky
with the
+ at the top right of the included libraries dialog for the project
properties -- that should be a button in the list, along with
remove, as
on the right of the ProjectProperties->Libraries tab. It should
work, as
in 12.5, that re-copying the jar into the registered location should
cause the refresh and reload of the code contained within the jar.
This
ensures it's correctness to the file system.


Caveat:

Did not compare .jar output.


Hello?:

Unless I'm wrong, then please instruct me on the correct
procedures and
coding style.
Thank you.


Tim



-
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


Netbeans 17 && 12.5

2023-05-26 Thread Tim de Vries

Hi,

So, I'm running both.

Old:

Netbeans 12.5 has a horrible habit of scanning all projects for 
dependencies, I assume in regards to code completion, although I haven't 
found too many examples of where it would work, similar to, for example, 
IntelliJ or a plain Java implementation.


Editor works exceptionally well. There are some either undocumented, or 
well known shortcuts? And some code completion is completely wrong.


New:

Netbeans 17 has a horrible failure in stopping apps. System.exit(code) 
should work as the default for the specified type. If running from a 
static void main(args), it should exit from the main. If running as a 
pkg.sub.Class.launch()? It should be user specified, based on whether 
they have a gui in place from execution or not, if headless, that should 
be an error if not specified. Sort it out.


Also, I understand, I have my project, but Java specifies that there are 
.class'es and .java's. So, we should have the option to display 
.class'es, for those that are interested. IE, people working on 
compilers or creation programs. If desired, we should be able to hide 
those. Also, what purpose is served by containing a separate sub-path 
for the NetBeans Files? Again, if I want that, I think I would be able 
to set that feature. I don't want tim's either, that's why I use it as a 
.jar, not a project.



Both:

Bad, bad, non-background scanning for code completion. ==> Think, active 
project. True background scanning. Work.


No display settings. For example, I want to select display of .class 
files. I don't want to show Netbeans Files.


Caching is inconsistent and error prone, particularly in 17. No 
functionality to refresh list and contents of included .jars as in 12.5. 
Note that 12.5 does do that correctly, although both are clunky with the 
+ at the top right of the included libraries dialog for the project 
properties -- that should be a button in the list, along with remove, as 
on the right of the ProjectProperties->Libraries tab. It should work, as 
in 12.5, that re-copying the jar into the registered location should 
cause the refresh and reload of the code contained within the jar. This 
ensures it's correctness to the file system.



Caveat:

Did not compare .jar output.


Hello?:

Unless I'm wrong, then please instruct me on the correct procedures and 
coding style.

Thank you.


Tim



-
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: C/C++ plug-in: no linefeed in output window

2023-05-22 Thread Tim de Vries
if it's in the terminal, it's in your processing of out/err. If it's in 
your display, thats your paint/scroll.



tim

On 21/05/2023 8:04 a.m., Geert Vancompernolle wrote:


Just started today using the C/C++ plug-in.  Got it from NB8.2 since 
the plug-in has not been updated (yet?) for more recent NB's.


All is working fine except that the following commands:

     retval = wiringPiI2CWriteReg8(fd, 0x00, 0x80);
     printf("Writing IODIR_A = [0x%02X].\n", (unsigned 
int)wiringPiI2CReadReg8(fd, 0x00));
     printf("Reading IODIR_A = [0x%02X].\n", (unsigned 
int)wiringPiI2CReadReg8(fd, 0x00));
     retval = wiringPiI2CWriteReg8(fd, 0x01, 0x10);
     printf("Writing IODIR_B = [0x%02X].\n", (unsigned 
int)wiringPiI2CReadReg8(fd, 0x01));
     printf("Reading IODIR_B = [0x%02X].\n", (unsigned 
int)wiringPiI2CReadReg8(fd, 0x01));

result in the following representation on the output window:

Writing IODIR_A = [0x80].
  Reading IODIR_A = [0x80].
   Writing IODIR_B = [0x10].
    
Reading IODIR_B = [0x10].


As you can see, the "\n" character used in the printf() statement is 
not translated into "go to beginning of next line".  The next print 
statement simply goes to another line but starts where the previous 
line stopped.


To solve it, I have to add "\r\n" to the printf() statement. Only then 
the next line is also starting at position 1.


Any reason why "\n" is not doing both line feed and carriage return in 
the output window like it does in most other applications?


Font type used in the output window is Courier New.

--
Best rgds,
Geert

Re: Netbeans template files

2023-05-05 Thread Tim de Vries
I publish this way. I might test and have [signed&|unsigned]/multiples, 
online. While I'm alive.


Tim

On 2023-04-28 5:15 a.m., Bradley Willcott wrote:
The version I'm talking about, is coming from the pom.xml file. It is 
also available to the NB environment as it appears in the Project's 
Properties window. I would have thought it would be of use to many 
others who would be including the current project version number in 
their new class files. I have been manually replacing it in each file 
after creation for a while now, and was hoping for a more automated 
(computer driven) solution. After all, why use a computer if it can't 
be taught to do at least the repetitive tasks?


Thanks.

On 28/4/23 19:06, Andreas Reichel wrote:

Unfortunately not really.
If I do understand your requirements then I'd think about 3 steps:

1 get the version from git or mercurial
2 update your project template accordingly per script
3 create a hook which runs this update on every new tag created or commit

Cheers

On 28 Apr 2023 11:59, Bradley Willcott  wrote:

Hi Andreas.
Ok.
Can you help me?

Brad.

On 28/4/23 18:56, Andreas Reichel wrote:

Bradley.

It is safe to ignore Tim's emails as it is only auto
generated rubbish trolling the list.

On 28 Apr 2023 11:45, Bradley Willcott
 <mailto:optusprepa...@gmail.com> wrote:

Hi Tim.
Please explain, where and how. I am looking to provide
this info to the Template files in NB. I am not looking
to modify NB code.

Thanks,
Brad.

On 28/4/23 08:14, Tim de Vries wrote:

yeah, but they dont want me to say.

Define a global Data.Your_VERSION and post process :
on?Create to do your work.

On 24/04/2023 6:26 a.m., Bradley Willcott wrote:

Hi there.
I would like to have the project version
automatically included in the class comments of
new classes.

For example:

/**
  * NewClass class description.
  *
  * @author mailto:bw.opensou...@yahoo.com;  
<mailto:bw.opensou...@yahoo.com>>Bradley Willcott
  *
  * @since 1.0.0
  * @version 1.0.0
  */

This is currently set through the global
User.properties file. However, this does not
reflect the current version of the project.
I am working on a Java project using the Maven
build environment.

Any thought on how to do this?
Thank you.
Brad.









Re: Context aware keymapping + macro

2023-05-05 Thread Tim de Vries

Sure, modify the code to suit.

Tim

On 2023-05-05 12:43 p.m., Mitch Claborn wrote:
Is it possible to have a macro that is invoked via a key mapping to 
operate differently depending on the contexts in which it is invoked 
(e.g. editing Java vs editing HTML)? Or to have that key mapping 
invoke a different macro based on the context? If so, how?


Example:
When editing a Java file Ctrl+Shift+D inserts "hello Java"
When editing an HTML file Ctrl+Shift+D inserts "hello HTML"



-
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: Console: ascii characters not shown correctly

2023-05-05 Thread Tim de Vries

Are you using ANSI Escape codes for Netbeans Console Output?

On 2023-05-01 9:46 a.m., Geert Vancompernolle wrote:

I have the following line in my Java application:

mLogger.info("╔╗"); 



but I see this in the debug console of NB17:

01-05-2023 17:43:22 INFO HomeControl - 
╔��������������������������������������������������������������������������������╗


How can I get the correct ascii characters in NB17?  Previous versions 
of NB (e.g. NB12.5) showed this correctly




-
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: Netbeans template files

2023-05-05 Thread Tim de Vries

Use everything to everyone's advantage.

Y/N/Maybe...

On 2023-04-28 5:15 a.m., Bradley Willcott wrote:
The version I'm talking about, is coming from the pom.xml file. It is 
also available to the NB environment as it appears in the Project's 
Properties window. I would have thought it would be of use to many 
others who would be including the current project version number in 
their new class files. I have been manually replacing it in each file 
after creation for a while now, and was hoping for a more automated 
(computer driven) solution. After all, why use a computer if it can't 
be taught to do at least the repetitive tasks?


Thanks.

On 28/4/23 19:06, Andreas Reichel wrote:

Unfortunately not really.
If I do understand your requirements then I'd think about 3 steps:

1 get the version from git or mercurial
2 update your project template accordingly per script
3 create a hook which runs this update on every new tag created or commit

Cheers

On 28 Apr 2023 11:59, Bradley Willcott  wrote:

Hi Andreas.
Ok.
Can you help me?

Brad.

On 28/4/23 18:56, Andreas Reichel wrote:

Bradley.

It is safe to ignore Tim's emails as it is only auto
generated rubbish trolling the list.

On 28 Apr 2023 11:45, Bradley Willcott
 <mailto:optusprepa...@gmail.com> wrote:

Hi Tim.
Please explain, where and how. I am looking to provide
this info to the Template files in NB. I am not looking
to modify NB code.

Thanks,
Brad.

On 28/4/23 08:14, Tim de Vries wrote:

yeah, but they dont want me to say.

Define a global Data.Your_VERSION and post process :
on?Create to do your work.

On 24/04/2023 6:26 a.m., Bradley Willcott wrote:

Hi there.
I would like to have the project version
automatically included in the class comments of
new classes.

For example:

/**
  * NewClass class description.
  *
  * @author mailto:bw.opensou...@yahoo.com;  
<mailto:bw.opensou...@yahoo.com>>Bradley Willcott
  *
  * @since 1.0.0
  * @version 1.0.0
  */

This is currently set through the global
User.properties file. However, this does not
reflect the current version of the project.
I am working on a Java project using the Maven
build environment.

Any thought on how to do this?
Thank you.
Brad.









Re: NB17 Extra lines after Run??

2023-04-28 Thread Tim de Vries

probably, you've got an ANSIBlock setting your display settings.


You probably need a test method to determine what's real.

Tim


probably  a static {this, that} block within a class within your 
classpath.., yes/no? , ...



James

On 2023-04-28 6:15 p.m., Amn Ojee Uw wrote:


Hey folks!

I might have done some tweaking  and being the newbie that I am I 
ended up messing up NB17. Now when I Click on Run, I get the proper 
output as well as the following lines:


*BUILD SUCCESSFUL (total time: 0 seconds)
Could not load a dependent class (jdepend/textui/JDepend) for type
jdepend
Could not load a dependent class (javax/media/jai/PlanarImage) for
type image
Could not load class

(org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.JUnitLauncherTask)
for type junitlauncher
Could not load a dependent class (org/tukaani/xz/FilterOptions)
for type xzresource
Could not load class
(org.apache.tools.ant.taskdefs.optional.image.ImageIOTask) for
type imageio
Could not load a dependent class (org/tukaani/xz/FilterOptions)
for type xz
Could not load a dependent class (jdepend/textui/JDepend) for type
jdepend
Could not load a dependent class (javax/media/jai/PlanarImage) for
type image
Could not load class

(org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.JUnitLauncherTask)
for type junitlauncher
Could not load a dependent class (org/tukaani/xz/FilterOptions)
for type xzresource
Could not load class
(org.apache.tools.ant.taskdefs.optional.image.ImageIOTask) for
type imageio
Could not load a dependent class (org/tukaani/xz/FilterOptions)
for type xz
*

Anyone here can tell me what changed? Why am I getting all those lines?

Thanks in advance


Re: NB17 Extra lines after Run??

2023-04-28 Thread Tim de Vries
Yeah, so that looks like a link to a JDepend dependency, and then your 
output is in ANSI Terminal format...



So, the BRIGHT_BLACK and BOLD would be like, not that good.


They should be able to solid color or anti-aliased?

It looks like Arial, so have you stolen from Microsoft?

Sure, sure, graphics, extract and format.,..., that kind of thing?

Tim

On 2023-04-28 6:15 p.m., Amn Ojee Uw wrote:


Hey folks!

I might have done some tweaking  and being the newbie that I am I 
ended up messing up NB17. Now when I Click on Run, I get the proper 
output as well as the following lines:


*BUILD SUCCESSFUL (total time: 0 seconds)
Could not load a dependent class (jdepend/textui/JDepend) for type
jdepend
Could not load a dependent class (javax/media/jai/PlanarImage) for
type image
Could not load class

(org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.JUnitLauncherTask)
for type junitlauncher
Could not load a dependent class (org/tukaani/xz/FilterOptions)
for type xzresource
Could not load class
(org.apache.tools.ant.taskdefs.optional.image.ImageIOTask) for
type imageio
Could not load a dependent class (org/tukaani/xz/FilterOptions)
for type xz
Could not load a dependent class (jdepend/textui/JDepend) for type
jdepend
Could not load a dependent class (javax/media/jai/PlanarImage) for
type image
Could not load class

(org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.JUnitLauncherTask)
for type junitlauncher
Could not load a dependent class (org/tukaani/xz/FilterOptions)
for type xzresource
Could not load class
(org.apache.tools.ant.taskdefs.optional.image.ImageIOTask) for
type imageio
Could not load a dependent class (org/tukaani/xz/FilterOptions)
for type xz
*

Anyone here can tell me what changed? Why am I getting all those lines?

Thanks in advance


Re: Netbeans template files

2023-04-27 Thread Tim de Vries

yeah, but they dont want me to say.

Define a global Data.Your_VERSION and post process : on?Create to do 
your work.


On 24/04/2023 6:26 a.m., Bradley Willcott wrote:

Hi there.
I would like to have the project version automatically included in the 
class comments of new classes.


For example:
/**
  * NewClass class description.
  *
  * @author mailto:bw.opensou...@yahoo.com;>Bradley Willcott
  *
  * @since 1.0.0
  * @version 1.0.0
  */
This is currently set through the global User.properties file. 
However, this does not reflect the current version of the project.

I am working on a Java project using the Maven build environment.

Any thought on how to do this?
Thank you.
Brad.




Re: How to run a program in Netbeans 17 with the -D option

2023-04-21 Thread Tim de Vries

Hello all,

If you are in Peter's situation and you need a secondary test 
application, to verify your code may be correct, there is tecreations 
Launcher and CommandLauncher. Launcher works with an class path, but 
prefers /projectDir.


Command launcher requires you to specify its' application path, ie 
c:\temp\my-prog.exe arg1 arg2 etc...


They are both available in ca.tecreation.apps.launcher.* via 
https://tecreations.ca/java/downloads/release/tecreations-04.0jar is the 
latest stable version, currently working on 0.5.0.


Tim

On 21/04/2023 10:30 a.m., Brad K. wrote:


Peter --

-D arguments are arguments to the JVM.

Under your project's properties is the Run item. (File -> Project 
Properties and select the Run item).


In that UI, put your -Drasberry.camera.enabled=true in the "VM 
Options" text area.


Note: This works mostly only on 'jar' based programs that start inside 
a 'public static void main(String[] args)' class. Web stuff is 
different. Also note that if you use the configurations options, you 
can set up multiple 'runners' with different program and JVM settings.


On 4/20/2023 12:02 PM, Peter Ivarsson wrote:
Hi I want to run my program in NetBeans with the -D option java -jar 
-Drasberry.camera.enabled=true Peter





Re: Uncompilable code

2023-04-14 Thread Tim de Vries
Sorry, that's bad code. You can try my SystemCompiler, it may produce 
more output., But probably bad code.


https://tecreations.ca/java/downloads/tecreations-0.?.0.jar

and then:

cd %user-home%/downloads

java -jar tecreations.0.3?.0.jar

and then, SpawnSystemCompiler in the default package?

UI in SystemTray,, sort it out.

Is that how to explain?

Tim

On 2023-04-14 7:40 a.m., Sam Lalani wrote:


I am still running into this error using NetBeans IDE 17:

java.lang.RuntimeException: Uncompilable code

The only resolution was the one I found here:

https://stackoverflow.com/questions/2333285/java-lang-runtimeexception-uncompilable-source-code-what-can-cause-this

This post was over 12 years ago.  Is there any more info on this issue?

  * Sam Lalani


 
	Virus-free.www.avast.com 
 



<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Re: Maven indexing

2023-04-06 Thread Tim de Vries
Yeah, so did I. They can use tecreations.ca/DependencyViewer, if they 
can sort a package. I dunno, it's pretty hard. I'm not educated. -- Just 
had to sort it out. There may be 'code shadowing', with multiple 
versions of a specific artifact, but that could be programmatically 
removed by the STUDENT.


Tim

On 2023-03-14 8:43 p.m., Andreas Reichel wrote:

On Tue, 2023-03-14 at 20:05 -0600, Tim de Vries wrote:


You may. Submit changes.

t...@tecreations.ca

On 14/03/2023 7:54 p.m., Andreas Reichel wrote:

Transparent compression with BTRFS/ZFS also helps a lot.


Pardon?
I gave a recommendation on how to configure the Filesystem/OS for 
holding the Maven index/cache/repository.
That's two layers below Netbeans and does not depend on 
patches/changes for Netbeans, I think?


Cheers
Andreas


Re: change default word processor - NB 16, Windows 10

2023-04-06 Thread Tim de Vries

You could, you could ANSI terminal, Console, or maybe TextArea?

It depends on your needs, requirements, and desires.

Everything is possible, it's just whether you're up to the task?

You could, ..., checkout mine. tecreations.ca.

Tim

On 2023-03-29 11:29 a.m., László Kishalmi wrote:
AFAIK it uses the default applIcation set for the file in your 
platform. I guess text files are set to open with Wordpad by default 
on Windows.


On Wed, Mar 29, 2023 at 8:40 AM Christopher C. Lanz 
 wrote:


Hello,

Is it possible to change/set the word processor accessed by the
"open in system" command? Wordpad disgusts me.

Chris Lanz

lan...@potsdam.edu

315 268 1547





Re:

2023-04-06 Thread Tim de Vries
I would install Python separately. Modify tecreations-0.4.0 for your 
purposes, and publish.


Tim

On 2023-04-04 11:55 a.m., Carlos Fulqueris wrote:


Dear NetBeans Support,

I'm looking for "Python Plugins for NetBeans 16". I already
installed Python 3.11.2 for Windows 11 and I can't find such
plugins to create python projects.

I would appreciate it if you tell me where to download these
plugins or if there is any other issue that I should do differently.

Thank you very much in advance.
Best to all.

Carlos Fulqueris


Re: C/C++ Full Install HELP

2023-03-29 Thread Tim de Vries

I'd have to say something like,

If you can tecreations, I can provide support for that, even though It's 
Netbeans List; -- you'd have to get ahold of me separate to help.


Basically, you're saying , WE should be able to compile any language, 
any platform and the software should work? Is that what NetBeans should do?


Or me?

Tim

On 2023-03-29 9:49 p.m., LarryL wrote:

Re: NetBeans 17; macOS Monterey
Hi,
The following docs instructions, to Activate/Install “C/C++”, generated this 
error:
***
NetBeans 17 IDE Installer

Installation completed unsuccessfully
Click Finish to quit the NetBeans IDE installer and try to restart IDE.

The Plugin Installer found problem timeout of loading C/C++ Remote Development
API[org.netbeans.modules.cnd.api.remote/1.29.5.1] while install the following 
plugins:

C/C++

***
Q: Does any C++ programmer  know the cause of this rock solid error _and_ how 
to fix it?
Thx
L
-
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: change default word processor - NB 16, Windows 10

2023-03-29 Thread Tim de Vries

Hi Christopher,


So far, I have a JavaApplication that uses a ProjectPath and ClassName 
(sort of), to launch an app. We're ready to receive from the logger, 
System.out, or System.err, streams. I can try.



It can, output to gui, so no formatting, yet, but can. , ... , any 
language, any format, ... , whatever. Tim.



Tim

On 29/03/2023 9:39 a.m., Christopher C. Lanz wrote:

Hello,

Is it possible to change/set the word processor accessed by the "open 
in system" command? Wordpad disgusts me.


Chris Lanz

lan...@potsdam.edu

315 268 1547





Re: change default word processor - NB 16, Windows 10

2023-03-29 Thread Tim de Vries

Hi, so these sorts of things have been discussed for a while.

It's basically, 'how do i arrange things for me', but, they don't talk 
that way,


It's more, 'how do I get What I Want?'


You need to make your own and compare to others.

You Might. ca.tecreations., ... somewhere in there., ... , 
TextSumThing, yeah, for her. , ,,, Someone4Her.


Like, Everyone.

Tim.


None.

Her.



I agree. 100%. && !me.

Her.



%Them.

Tim.


All.

Tim.



Sum.

Tim.

U.

Everyone, AllTheTime.

Now.

Tim.


On 29/03/2023 9:39 a.m., Christopher C. Lanz wrote:

Hello,

Is it possible to change/set the word processor accessed by the "open 
in system" command? Wordpad disgusts me.


Chris Lanz

lan...@potsdam.edu

315 268 1547





Re: NetBeans won´t suggest import any java.sql.* class

2023-03-29 Thread Tim de Vries

So, what I've done for this?


I do the tecreations SystemCompiler. That depends on the javac, for the 
version you're running. You can set release version, mine is currently at 8.



If the classes are current when you do a ca.tecreations.apps.Deploy, 
'like' thing, that might work. You'd have to test.


If it signs, if desired (only using jarsigner, ... , or their current 
software..., latest is best, but I'll use your worst. ).


If it passes, deploy to remote.

I know. Tim does PKI.

Build.

Tim

On 29/03/2023 5:44 p.m., Sean Carrick wrote:
From what I've seen, it's been an issue since JDK 9. After the JDK was 
modularized, it seems that this has been the way it is. The last 
version of NetBeans that imports SQL package is NetBeans 8.2 when 
using Ctrl+Shift+I.


If you use a newer version of NetBeans and have your default JDK as 8, 
the automatic imports for the SQL package works. It's only an issue 
with JDK 9+…


All I know is that this is not a NetBeans issue. Rather, it seems to 
be an issue with the JDK…


On Sun, Mar 26, 2023, 09:56 Petri Koskelainen 
 wrote:


Hi!

NetBeans won´t suggest import any java.sql package class (that light
bulb on the leftside).

It does find java.sql package and classes if i manually write
import to
the code.

I have tried make new project, all new netbeans settings files,
diffent
jdk.
nothing works to fix it.

What to do?


- Pete


-
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: change default word processor - NB 16, Windows 10

2023-03-29 Thread Tim de Vries
Sorry, I guess you can't yet, language, keyword, yet. I'm working on it. 
It's hard by comparison. #TheyMight -- @Worldwide, but probably not.



Tim

On 29/03/2023 11:29 a.m., László Kishalmi wrote:
AFAIK it uses the default applIcation set for the file in your 
platform. I guess text files are set to open with Wordpad by default 
on Windows.


On Wed, Mar 29, 2023 at 8:40 AM Christopher C. Lanz 
 wrote:


Hello,

Is it possible to change/set the word processor accessed by the
"open in system" command? Wordpad disgusts me.

Chris Lanz

lan...@potsdam.edu

315 268 1547





Re: "Unable to create javax script engine for javascript"

2023-03-24 Thread Tim de Vries
So is this a tecreations project, your own, or a sample from a URL that 
we may be able to test against?


Tim


Please provide specifics.

Tim.

On 24/03/2023 6:48 a.m., Andrew Kelsey wrote:
I'm new to Netbeans and programming. When working on a JavaFX program, 
I discovered that if I change css settings in ClassA and run the file, 
the css changes do not take effect. If I made additional changes in 
ClassB, then the css changes would take effect. I've learned that 
instead of making those changes in ClassB, I run clean first. If I use 
Clean and Build, I get the error in the subject. This appears to be an 
issue with the way Netbeans is building the program when I do the 
runs, but I am not sure how to get that all figured out.


When looking at the program properties, I found a broken reference for 
jist.jar in Libraries -> Run -> ClassPath


-
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: Debugging web application on Tomcat

2023-03-23 Thread Tim de Vries
when i do a Deploy? It makes my jar. I have to Launch manually on the 
server (in theory), and then headless, or run in gui.


Its a WIP.

On 13/03/2023 11:03 a.m., Greenberg, Gary wrote:


Last year I have developed a Spring-Boot web application.
It was originally developed as a JAR but later converted to a WAR and 
deployed to the Tomcat 9 on a production server.


Last week, a bug was found and I need to fix it.

Not to change the configuration, I have installed Tomcat 9 on my 
Windows laptop and was trying to debug the application on it.


When I click on “Debug” in my Netbeans 16, it builds the war but than 
trying to stop Tomcat for a while and then fails to do it.


I did stop Tomcat manually and tried to do it again, but than Netbeans 
failed to start Tomcat.


Looks like there are some permission issues. Can someone tells me how 
to fix it.
I remember, long ago, with Netbeans 8.2 and Tomcat6 I haven’t had a 
problems deploying apps without start/stop.


*Gary Greenberg*

Staff Software Engineer


Re: Debugging web application on Tomcat

2023-03-23 Thread Tim de Vries
I do Spring and starter=web, on my classpath; -- you'd have to review 
the tec.xml, but thats not public yet.


On 13/03/2023 11:54 a.m., László Kishalmi wrote:

How have you installed Tomcat 9 on your System?

On Mon, Mar 13, 2023 at 10:04 AM Greenberg, Gary 
 wrote:


Last year I have developed a Spring-Boot web application.
It was originally developed as a JAR but later converted to a WAR
and deployed to the Tomcat 9 on a production server.

Last week, a bug was found and I need to fix it.

Not to change the configuration, I have installed Tomcat 9 on my
Windows laptop and was trying to debug the application on it.

When I click on “Debug” in my Netbeans 16, it builds the war but
than trying to stop Tomcat for a while and then fails to do it.

I did stop Tomcat manually and tried to do it again, but than
Netbeans failed to start Tomcat.

Looks like there are some permission issues. Can someone tells me
how to fix it.
I remember, long ago, with Netbeans 8.2 and Tomcat6 I haven’t had
a problems deploying apps without start/stop.

*Gary Greenberg*

Staff Software Engineer


Re: How to programmatically access to the TopComponent tab ?

2023-03-23 Thread Tim de Vries
Probably a local network server with proprietary port until connected. 
copy on drag, paste on drop, unless win/nix product; then that probably 
wont work. maybe you could jni?


On 17/03/2023 2:47 p.m., Jerome Lelasseux wrote:

Hi,

I have several TopComponents opened in editor mode. I'd like to be 
able to drag an item from the content of TopComponent TC1 to 
TopComponent TC2. I can make it work (using the Swing DnD framework) 
if TC1 or TC2 is undocked.


But if they are both docked, how to do it ?

Setting my own TransferHandler on the target TopComponent does not 
work in this case, I assume because the "tab" part does not inherit 
the handler. So how to access the TopComponent "tab" part (I assume  
JComponent) ?


Thanks!





Re: Maven indexing

2023-03-14 Thread Tim de Vries

Sure. And if you'd like to bypass all that, use mine. No Offense.

There are options, and we should try what works.


Nowhere's near perfect, but is yours?

Tim

On 14/03/2023 8:43 p.m., Andreas Reichel wrote:

On Tue, 2023-03-14 at 20:05 -0600, Tim de Vries wrote:


You may. Submit changes.

t...@tecreations.ca

On 14/03/2023 7:54 p.m., Andreas Reichel wrote:

Transparent compression with BTRFS/ZFS also helps a lot.


Pardon?
I gave a recommendation on how to configure the Filesystem/OS for 
holding the Maven index/cache/repository.
That's two layers below Netbeans and does not depend on 
patches/changes for Netbeans, I think?


Cheers
Andreas


Re: Maven indexing

2023-03-14 Thread Tim de Vries

You may. Submit changes.

t...@tecreations.ca

On 14/03/2023 7:54 p.m., Andreas Reichel wrote:

On Wed, 2023-03-15 at 02:20 +0100, Michael Bien wrote:

my .m2 folder is 4GB right now and I haven't cleared it for at least 2
years.


Transparent compression with BTRFS/ZFS also helps a lot.

Cheers
Andreas


Re: Maven indexing

2023-03-14 Thread Tim de Vries

Sorry, I Tim. I know you, like, Elon Musk. I don't. Let's bless you.


Tim.


#sure. , ... , tim, jack, all , ... , everyone. #Someone, # Somewhere, 
#chooseThem. #&& !Tim



#Like, #!, #Tim

O

n 14/03/2023 7:51 p.m., László Kishalmi wrote:
Well, it is just on my wish list. I'm nowhere near to implement 
anything for that. Though someone might...


My (ever changing) list of priorities:
- Initial HCL support.
- Initial Terraform code completion
- Real Gradle JavaToolchain Support
- Terraform Project support
- NetBeans build to Gradle migration POC

On Tue, Mar 14, 2023 at 6:26 PM Michael Bien  wrote:

On 14.03.23 13:29, Emma Atkinson wrote:
> I gave up on Maven a couple of years ago for the reasons already
> given.  No matter what size partition I used it would be too small
> within a year or so.  I used to grab the dependencies I needed and
> switched off the Maven Index download in NB.

if your project depends on a library and you use a build tool like
gradle or maven, it will download that library. Switching build tools
won't make a difference.

my .m2 folder is 4GB right now and I haven't cleared it for at
least 2
years. NetBeans isn't downloading any of that, the build tools do
that.
Build tools are IDE independent, they would download the exact same
stuff when run without an IDE. That is the whole point of build tools
since you don't want to ship your project with an IDE.


If you don't need any of the NetBeans editor features local or remote
repo indexing gives you, you can simply turn it off in the
settings and
NetBeans won't download the maven central index.

we have a pending PR which makes it a bit more configurable and also
explains what indexing actually does, since I read at least twice
by now
that users think that NetBeans is downloading maven central itself
(which would probably be a few TB of storage, optimistically)

https://github.com/apache/netbeans/pull/5646

right now its an all-or-nothing option. This PR proposes to turn off
remote index downloads selectively while still indexing your .m2
folder
which produces a much smaller index footprint.

-mbien



-
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: Maven indexing

2023-03-14 Thread Tim de Vries

You should be able to look it up?


Tim

On 14/03/2023 7:44 p.m., Michael Bien wrote:
well I made the point before that games these days are starting to 
take up 40 GB and more. It should be acceptable for an IDE to use up 
~6GB to maintain a cache (which is optional and can be turned off if 
you don't want it!).


Android development for comparison will use up that space instantly as 
soon you press run and it downloads an OS image for the emulator and 
you probably want to test on more than one image.


The maven central index contains information for every java lib ever 
released and is post-extraction at about 5GB. That should be ok i think.


I also do have some ideas how to shrink that index further but this is 
for later since it is blocked by other things atm.


-mbien


On 15.03.23 02:28, Tim de Vries wrote:
If I may inject a thought? Maybe time to invest in a DVD-RW Drive and 
a bigger case. If you have three drives, you can add a floppy or 
DVD-Writer. So, a spindle of DVD's?


Tim

On 2023-03-14 7:20 p.m., Michael Bien wrote:

On 14.03.23 13:29, Emma Atkinson wrote:
I gave up on Maven a couple of years ago for the reasons already 
given.  No matter what size partition I used it would be too small 
within a year or so. I used to grab the dependencies I needed and 
switched off the Maven Index download in NB.


if your project depends on a library and you use a build tool like 
gradle or maven, it will download that library. Switching build 
tools won't make a difference.


my .m2 folder is 4GB right now and I haven't cleared it for at least 
2 years. NetBeans isn't downloading any of that, the build tools do 
that. Build tools are IDE independent, they would download the exact 
same stuff when run without an IDE. That is the whole point of build 
tools since you don't want to ship your project with an IDE.



If you don't need any of the NetBeans editor features local or 
remote repo indexing gives you, you can simply turn it off in the 
settings and NetBeans won't download the maven central index.


we have a pending PR which makes it a bit more configurable and also 
explains what indexing actually does, since I read at least twice by 
now that users think that NetBeans is downloading maven central 
itself (which would probably be a few TB of storage, optimistically)


https://github.com/apache/netbeans/pull/5646

right now its an all-or-nothing option. This PR proposes to turn off 
remote index downloads selectively while still indexing your .m2 
folder which produces a much smaller index footprint.


-mbien



-
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: Maven indexing

2023-03-14 Thread Tim de Vries
If I may inject a thought? Maybe time to invest in a DVD-RW Drive and a 
bigger case. If you have three drives, you can add a floppy or 
DVD-Writer. So, a spindle of DVD's?


Tim

On 2023-03-14 7:20 p.m., Michael Bien wrote:

On 14.03.23 13:29, Emma Atkinson wrote:
I gave up on Maven a couple of years ago for the reasons already 
given.  No matter what size partition I used it would be too small 
within a year or so.  I used to grab the dependencies I needed and 
switched off the Maven Index download in NB.


if your project depends on a library and you use a build tool like 
gradle or maven, it will download that library. Switching build tools 
won't make a difference.


my .m2 folder is 4GB right now and I haven't cleared it for at least 2 
years. NetBeans isn't downloading any of that, the build tools do 
that. Build tools are IDE independent, they would download the exact 
same stuff when run without an IDE. That is the whole point of build 
tools since you don't want to ship your project with an IDE.



If you don't need any of the NetBeans editor features local or remote 
repo indexing gives you, you can simply turn it off in the settings 
and NetBeans won't download the maven central index.


we have a pending PR which makes it a bit more configurable and also 
explains what indexing actually does, since I read at least twice by 
now that users think that NetBeans is downloading maven central itself 
(which would probably be a few TB of storage, optimistically)


https://github.com/apache/netbeans/pull/5646

right now its an all-or-nothing option. This PR proposes to turn off 
remote index downloads selectively while still indexing your .m2 
folder which produces a much smaller index footprint.


-mbien



-
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: Problem adding an image to a label icon...

2023-03-09 Thread Tim de Vries

Hi,

If you trace through paint(Graphics g) and paintComponent(Graphics g), 
it shows what code is executed and when. You may also want to trace 
doLayout() if writing custom layout code. Don't forget 
super.methodName(params) or you may not activate the events for the 
specific thing you are doing, whether event processing or painting.


You may use: tecreations.ca/java/downloads/release/tecreations-0.4.0.jar 
to facilitate your os/network/image/text operations. That jar contains 
many examples of using the Swing and AWT classes together for whatever 
you need.


Of particular interest may be: CaptureTool, Deploy, Launcher? 
SystemCompiler for SystemTray use?


It should launch with double-click on Windows or 'java -jar 
tecreations-0.4.0.jar'. Run the Launcher, go from there.



Tim


On 2023-03-09 8:05 p.m., Dwayne Murphy wrote:

Hi everyone,

I have a simple project in java / maven  in apache netbeans.

I have a JFrame with a label that I have been trying to add an image to.

I continually get this error when the program tries to add the image 
to the label:


*_Cannot invoke "java.net.URL.toExternalForm()" because "location" is 
null_*



I have tried using the image selector, as well as custom code options. 
I have tried all the advice from stack overflow --- and I simply can't 
figure it out. I must have spent 3-4 hours --- and I'm about to give up.


Can anyone tell me why its so difficult to add an image to a JFrame?  
Is there a simple way to do it? Am I missing something?


PS: This link seems to be a great resource for my problems... but I'm 
still getting the error!

https://netbeans.apache.org/kb/docs/java/gui-image-display.html


--

Dwayne Murphy
"Carpe Diem"
Hons B.Computer Science, B. Ed, Hons B.Commerce
Holy Names High School - Science, Business & Civics

Holy Names: 519-966-2504
Cell Number: 519-995-6915

How to proceed? NetBeans 17 [RELEASE]

2023-03-02 Thread Tim de Vries
I understand Apache.org is a meritocracy. I heard that between versions, 
I should be able to install, possibly set my JDK/JRE path, possibly set 
specific flags for JavaCompilerApp and run anything anytime.



I run a basic Java Project, not Ant, not Maven, not Gradle, but I'll use 
all their code. I do Spring and custom, sometimes extended, Java Object 
classes. I use both AWT and Spring, and sometimes both in the same 
project. I have a Maven-style DependencyViewer that supports Maven's SHA 
download through Eclipse Aether-'jars' and MavenResolver-'jars'. I use 
mysql-connector, current version for db access. I use that for my Spring 
based projects and everything seems to work correctly when correctly 
configured. I wouldn't say it's better, nor equal to Spring Initializr, 
but it's all written by me and is entirely stable. Maybe you could say 
it is "in flux", or "is fluid", but more works than doesn't.


I'd like to enhance my programming ability.

*Specifically, I would like to reuse NetBeans editor and possibly 
CodeExecution unit.* I'm working on a lightweight solution to enter what 
I think is needed to be tested next, but am working in its' infancy. I 
don't understand Generics much, but following their patterns works. Same 
for established design patterns. *I'd like to code my own formatter and 
generator.*


Can you instruct how to start to follow implementing the Editor/Parser? 
(I can share my working code, anything previously shared is at 
/tecreations.ca/) Can you instruct how to follow "Standard?" 
documentation of work completed?


Tim


Netbeans 17 Flatpack (on Linux Mint LMDE) and Netbeans17 RELEASE

2023-03-02 Thread Tim de Vries

RE: This topic and Release of Netbeans 17


So is flatpack basically a POJProject with possibly a jar and properties 
dirs, possibly multiple package dirs containing ...? Both source and 
binaries? That's what mine's got. How am I to understand the code 
injection point for the Netbeans package? Is it even in Java, or is it a 
hodge-podge mixture of everything?



Are the file system denotations consistent for the JRE/JDK for the 
platform version and Netbeans version? Can anyone answer this, or is it 
more trial and error?


I guess it could telemetry, IF IT WAS TRYING TO HELP ME.


Tim

On 2023-03-01 12:05 p.m., Pieter van den Hombergh wrote:

after install the flatpak I find
bfs /var/lib/flatpak/app/org.apache.netbeans/ -name netbeans.conf
/var/lib/flatpak/app/org.apache.netbeans/x86_64/stable/00dfe753ed2926a61143be7532da58a086ef1f6571e9e6766200323dcceca394/files/netbeans/etc/netbeans.conf 


The long hex number in the above may differ for you.

Met vriendelijke groet,
Pieter van den Hombergh.
Kerboschstraat 12
5913 WH Venlo


On Wed, Mar 1, 2023 at 7:02 PM Pieter van den Hombergh 
 wrote:


the directory structure within the flatpack container is the same
as the standard install, The file is called netbeans.conf and
lives inside the .../etc folder inside the flatpack.
Personally I unzip the zip distribution under /usr/local and add
/usr/local/netbeans/bin the PATH, the etc dir is then
/usr/local/netbeans/.

I also always start the IDE from the commandline using this script:

!/bin/bash
export NETBEANS=/usr/local/netbeans-17/bin/netbeans

if [ ! -z "${FS}" ]; then
    FS="--fontsize ${FS}"
fi

${NETBEANS} ${FS} "$@" &> ${HOME}/netbeans.log &


Kind regards, Met vriendelijke groet,
Pieter van den Hombergh.
Kerboschstraat 12
5913 WH Venlo


On Wed, Mar 1, 2023 at 5:32 PM Ken Standard  wrote:

I wish to change the default font and size font used
throughout the IDE (other than the editor).

Most of the documentation is for Windows. I have difficulty
translating that to my Linux Debian system.

Where do I find the netbeans.conf file when installed with
Flatpack. Or is that even relevant? It is not the same as any
other install method.

What should change once I do manage to find it?


Re: NB16 - java.lang.RuntimeException: Uncompilable code

2023-01-19 Thread Tim de Vries
It's based upon "java" and "javac" platform executables, for your 
version, so if there's a problem, it's with the actual JDK/JRE provider, 
possibly for multiple versions.


Tim

On 2023-01-18 9:13 a.m., Eric Bresie wrote:
What version of JUnit is  being used?  Not sure if JUnit 5 is fully 
compatible.  Can try JUnit 4 and see if this resolves the problem with 
test at least.


Eric Bresie
ebre...@gmail.com

On January 17, 2023 at 3:12:57 PM CST, Gheorghe TUDOSE 
 wrote:

Hi,

I have the same issue; I can't run unit tests, nor can I run a 
command line application testing my code.
As per this SO post , 
deactivating the "Compile on Save" option makes the problem go away 
kinda - the command line application runs but the tests don't 
(there's a "No tests executed." message in the test output console).


HTH
George T.

În vin., 16 dec. 2022 la 00:17 , Sam 
Lalani  a scris:


It is an Ant based project.

-Original Message-
From: Thomas Kellerer 
Sent: Thursday, December 15, 2022 2:22 PM
To: users@netbeans.apache.org
Subject: Re: NB16 - java.lang.RuntimeException: Uncompilable code

No, not a requirement. But there are some problems with Gradle
(7.x) and NB 16

So is it an Ant based project or is using Maven?

Sam Lalani schrieb am 15.12.2022 um 18:01:
> No, I am not using Gradle.  Is that a requirement for NB16?
>
> -Original Message-
> From: Thomas Kellerer 
> Sent: Thursday, December 15, 2022 8:45 AM
> To: users@netbeans.apache.org
> Subject: Re: NB16 - java.lang.RuntimeException: Uncompilable code
>
> Are you using Gradle?
>
>
> Sam Lalani schrieb am 15.12.2022 um 15:21:
>> I am running NB16 in Windows 10.  I have a Java program that is
>> giving this
>> error:
>>
>>         Exception in thread "Thread-2" java.lang.RuntimeException:
>> Uncompilable code
>>
>> However, the same code in NB15 has no problems.
>>
>> This issue shows up only when I "Clean and Build" in NB16
"AND" run
>> it in NB16.
>>
>> If I "Clean and Build" in NB15 and run it in NB15 then no problem.
>> If I "Clean and Build" in NB15 and run it in NB16 then no problem.
>> If I "Clean and Build" in NB16 and run the program using the
command
>> prompt then no problem.
>> If I "Clean and Build" in NB16 and run it in NB16 then it
shows the error.
>>
>> The program is fairly large, and I don't think I can provide the
>> source code due to company policies.
>>
>> Here is some info about my system from the NB16 About page:
>>
>> Product Version: Apache NetBeans IDE 16
>> Java: 17; OpenJDK 64-Bit Server VM 17+35-2724
>> Runtime: OpenJDK Runtime Environment 17+35-2724
>> System: Windows 10 version 10.0 running on amd64; Cp1252;
en_US (nb)
>> User
>> directory: C:\Users\samla\AppData\Roaming\NetBeans\16
>> Cache directory: C:\Users\samla\AppData\Local\NetBeans\Cache\16
>>
>> What else can I provide that would make it easier to find the
problem
>> in NB16?

-
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



-- 
This email has been checked for viruses by Avast antivirus software.

www.avast.com 

-
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: NB16 - java.lang.RuntimeException: Uncompilable code

2023-01-19 Thread Tim de Vries

I've use JUnit 4 && 5 and both worked correctly, when properly specified.

Tim

On 2023-01-19 10:39 a.m., Gheorghe TUDOSE wrote:

Hi and thanks

"Solved" it by moving the project to another freshly installed machine 
(NB 16 & Java 19; the old machine had NB 16 with Java 17 if I recall 
correctly).


The tested project is a library with no dependencies.
The test libraries are JUnit 4.13.2 and Hamcrest Core 1.3.

Haven't used JUnit 5 because I couldn't make it work and didn't want 
to spend any time searching for a solution.


Thanks again,
George T.

În mie., 18 ian. 2023 la 18:13, Eric Bresie  a scris:

What version of JUnit is  being used?  Not sure if JUnit 5 is
fully compatible.  Can try JUnit 4 and see if this resolves the
problem with test at least.

Eric Bresie
ebre...@gmail.com


On January 17, 2023 at 3:12:57 PM CST, Gheorghe TUDOSE
 wrote:
Hi,

I have the same issue; I can't run unit tests, nor can I run a
command line application testing my code.
As per this SO post ,
deactivating the "Compile on Save" option makes the problem go
away kinda - the command line application runs but the tests
don't (there's a "No tests executed." message in the test output
console).

HTH
George T.

În vin., 16 dec. 2022 la 00:17, Sam Lalani
 a scris:

It is an Ant based project.

-Original Message-
From: Thomas Kellerer 
Sent: Thursday, December 15, 2022 2:22 PM
To: users@netbeans.apache.org
Subject: Re: NB16 - java.lang.RuntimeException: Uncompilable code

No, not a requirement. But there are some problems with
Gradle (7.x) and NB 16

So is it an Ant based project or is using Maven?

Sam Lalani schrieb am 15.12.2022 um 18:01:
> No, I am not using Gradle.  Is that a requirement for NB16?
>
> -Original Message-
> From: Thomas Kellerer 
> Sent: Thursday, December 15, 2022 8:45 AM
> To: users@netbeans.apache.org
> Subject: Re: NB16 - java.lang.RuntimeException:
Uncompilable code
>
> Are you using Gradle?
>
>
> Sam Lalani schrieb am 15.12.2022 um 15:21:
>> I am running NB16 in Windows 10.  I have a Java program
that is
>> giving this
>> error:
>>
>>         Exception in thread "Thread-2"
java.lang.RuntimeException:
>> Uncompilable code
>>
>> However, the same code in NB15 has no problems.
>>
>> This issue shows up only when I "Clean and Build" in NB16
"AND" run
>> it in NB16.
>>
>> If I "Clean and Build" in NB15 and run it in NB15 then no
problem.
>> If I "Clean and Build" in NB15 and run it in NB16 then no
problem.
>> If I "Clean and Build" in NB16 and run the program using
the command
>> prompt then no problem.
>> If I "Clean and Build" in NB16 and run it in NB16 then it
shows the error.
>>
>> The program is fairly large, and I don't think I can
provide the
>> source code due to company policies.
>>
>> Here is some info about my system from the NB16 About page:
>>
>> Product Version: Apache NetBeans IDE 16
>> Java: 17; OpenJDK 64-Bit Server VM 17+35-2724
>> Runtime: OpenJDK Runtime Environment 17+35-2724
>> System: Windows 10 version 10.0 running on amd64; Cp1252;
en_US (nb)
>> User
>> directory: C:\Users\samla\AppData\Roaming\NetBeans\16
>> Cache directory:
C:\Users\samla\AppData\Local\NetBeans\Cache\16
>>
>> What else can I provide that would make it easier to find
the problem
>> in NB16?

-
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



-- 
This email has been checked for viruses by Avast antivirus

software.
www.avast.com 

-
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: Combobox - letter size

2023-01-14 Thread Tim de Vries
I use a SizedPanel extends JPanel for null Layout and it works for all my 
needs. But you have to compute sizing yourself. I use it that way for both 
BoundingBox’es and GUI components. I use it in Swing and Awt. I use a mix of 
both or it doesn’t work correctly. It all works properly. There used to be some 
issues with doLayout, but after not calling the doLayout method and calling 
tec_layout, that code shadowing problem went away, similar with what goes on 
with spring framework transitive dependencies, but that’s another story.

Tim



Sent from my iPhone

> On Jan 13, 2023, at 8:07 AM, Thomas Wolf  wrote:
> 
> You are using code - it’s just that the NB GUI editor creates the Java code 
> for you.   The height of the combobox is constrained by how much space the 
> containing panel is giving it.  In other words, it doesn’t matter how tall 
> you tell the combo box to be, if the panel doesn’t give it that much space, 
> it’s irrelevant.  I would look into that.  I can’t help you any more since 
> you’re not familiar with the basics of how Java Swing works nor how the NB 
> GUI editor works.  I would read up on Java Layout management.
> 
> Good luck,
> Tom
> 
> 
>> On Jan 12, 2023, at 11:06 PM, Murali Govind  wrote:
>> 
>> Hi
>> 
>> Thanks for responding. I am not using any code. I am using the GUI component.
>> 
>> 
>> 
>> I don’t know which of the properties will change the way it looks.
>> 
>> Regards
>> Murali
>> 
>>> On 12 Jan 2023, at 8:09 PM, Thomas Wolf  wrote:
>>> 
>>> Like I said earlier, it might be a layout issue.  Saying “help” isn’t 
>>> enough detail for anyone to actually help.  You have to actually post the 
>>> code that has the problem for people to try and help.  Like the snippet of 
>>> your code that creates the panel that has the combo box that has the 
>>> problem.
>>> Tom
>>> 
 On Jan 12, 2023, at 2:46 AM, Murali Govind  wrote:
 
 Hi
 
 Apologies for the delay. I have tried all size like properties to make the 
 letters visible. None of them seem to work. Would you happen to know which 
 property I need to set?
 
 Regards
 Murali
 
> On 6 Jan 2023, at 8:28 PM, Thomas Wolf  wrote:
> 
> Not enough detail, but it looks like you’re not giving the combo box 
> enough space to size itself around the size of the container items. Check 
> the layout and/or size of the surrounding panel(s).
> 
> Hope that helps
> Tom
> 
>>> On Jan 5, 2023, at 10:25 PM, Murali Govind  wrote:
>> 
>> Hi
>> 
>> I am able to change the size of the combobox. I can change the size of 
>> font also. But the area inside the combobox where the text is displayed 
>> remains the same size. As a result it truncates the text.
>> 
>> 
>> 
>> Anyone can help how to fix it?
>> 
>> Regards
>> Murali
 
>> 
> 


Re: Embedded Language Question

2023-01-08 Thread Tim de Vries
If I had to weigh in, it would be nice to be able to contribute some of the 
code I don’t understand.

I would like to be able to provide, for example, class and method names from 
jars, similar to IntelliJ, but for all on classpath. There will probably always 
be straggler jars.

Also, stopping the auto class path scanning. It says it should be background, 
but isn’t. Also removing jars from the classpath for plain java projects, 
that’s a real bear but wrote a class to ctrl then click the shit out of that.

Tim

Sent from my iPhone

> On Jan 8, 2023, at 1:59 PM, Oliver Rettig  wrote:
> 
> Hi,
> 
> I am also interested in such functionality to put code written in our DSLs 
> into java source code. In the meantime we put the code in extra files with 
> specific filesuffix and use the netbeans api for syntax highlighting etc.
> 
> best regards
> Oliver
> 
>> Hi,
>> I have got a question regarding the embedded language support of Netbeans.
>> 
>> 
>> If I write my own grammer/dsl with JavaCC and my language contains a
>> specific tag that marks the beginning and ending of an embedded language,
>> lets say Java, does Netbeans automatically take Lexer, Parsers,
>> CodeCompletion etc. from the embedded language?
>> 
>> 
>> What I found out is that there are two possibilities. The first uses the xml
>> file for defining the start/end tag. The second way is the programmatical
>> approach, I think using the Lexer class. Does anyone of you know a short
>> example for both strategies? Are there any tutorials available? I would
>> specially be interested in the xml approach Thanks.
>> 
>> 
>> Gesendet vonOutlook für iOS
>> -
>> 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: Scala classes

2023-01-06 Thread Tim de Vries
Hi all,

I have a SystemCompiler tool. You add paths to it and it performs compile on 
save. It uses a custom “javac ...” command which can be easily modified to 
support any command line base operation (employing a pojo java WatchService). 

I could modify it to perform a specific operation when operating on a specific 
file type and probably decouple the command to a properties file so you could 
dynamically change the command without affecting code.

It is currently available in the ca.tecreations package, within the 
tecreations-0.3.0.jar available at 
http://tecreations.ca/java/downloads/release/. That jar contains my base 
software development code and binaries for what I use in conjunction with 
NetBeans, so I could make those changes, or you could implement whatever you 
like. It is controlled by SystemTray menu and has an AutoStart (run as admin) 
and removal class.

Tim

Sent from my iPhone

> On Jan 5, 2023, at 6:20 PM, Alonso Del Arte  wrote:
> 
> I tried some time ago, Java 8, Scala 2, NetBeans 8.2. No go. Didn't try with 
> Gradle, but it seems to be such a pain in the neck even for plain Java 
> projects...
> 
> Al
> 
>> On Thu, Jan 5, 2023 at 7:50 PM László Kishalmi  
>> wrote:
>> There was a Scala plugin for NetBeans 8.1 it is old might cna get it working.
>> If just the compilation is needed, you can use a Gradle build and put scala 
>> code in.
>> 
>>> On Thu, Jan 5, 2023 at 3:02 PM Greenberg, Gary  
>>> wrote:
>>> Any plugins to compile Scala files?
>>> 
>>>  
>>> 
>>> Gary Greenberg
>>> 
>>> Staff Software Engineer
>>> 
>>>  
>>> 
> 
> 
> -- 
> Alonso del Arte
> Author at SmashWords.com
> Musician at ReverbNation.com


Re: Interest measurement repository in a Tabnine plugin for NetBeans

2022-07-06 Thread Tim de Vries

There exists...

A solution, such that, everything works...

Everything is timed, everything is prioritized by efficiency.


On 06/07/2022 12:40 p.m., Juan Algaba wrote:

Worth a watch and a star at least.

On Wed, Jul 6, 2022 at 9:09 AM  wrote:

Hi all,

There is a repository on github created to gauge interest in a
plugin for Tabnine, a similar solution to github copilot, on
Apache NetBeans. https://github.com/tabnine/tabnine-netbeans-ide

I believe that if the community shows a relevant interest in the
plugin, the team will develop it themselves, as they support
development environments less used than NetBeans.

As a suggestion, the community itself could create other
repositories similar to this one, preferably in a centralized
place, to demonstrate interest and also request the development of
plugins for other solutions.


Best Regards,

Helder



--

-Juan Algaba


Re: Interest measurement repository in a Tabnine plugin for NetBeans

2022-07-06 Thread Tim de Vries

But', they will only...

On 06/07/2022 12:40 p.m., Juan Algaba wrote:

Worth a watch and a star at least.

On Wed, Jul 6, 2022 at 9:09 AM  wrote:

Hi all,

There is a repository on github created to gauge interest in a
plugin for Tabnine, a similar solution to github copilot, on
Apache NetBeans. https://github.com/tabnine/tabnine-netbeans-ide

I believe that if the community shows a relevant interest in the
plugin, the team will develop it themselves, as they support
development environments less used than NetBeans.

As a suggestion, the community itself could create other
repositories similar to this one, preferably in a centralized
place, to demonstrate interest and also request the development of
plugins for other solutions.


Best Regards,

Helder



--

-Juan Algaba


Setting -source 8 globally in Netbeans 12.5 for Basic Ant Project with Existing Sources

2022-03-08 Thread Tim de Vries

Hi all,

As the title describes,

Does anyone know how to do this? My code contains:

    SwingUtilities.invokeLater(() -> {

        createAndShowGUI();

    }


As of this morning Netbeans has, once again, decided it can't configure 
the source level. Is there a solution to this other than wiping out the 
computer and reinstalling netbeans? I used to be able to set "-source 8 
" among the netbeans_something_options in 
netbeans-12.5/etc/netbeans/netbeans.conf, but that isn't working anymore.


Please help.


Thanks,

Tim


-
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



Does Anyone Know How to set -source 8?

2022-02-09 Thread Tim de Vries

As described.

Unfortunately Netbeans 12.5 does not reckognize Java POJO's as Such. 
Moving to.



@Windows 10

#Windows 7

#Linux

#MacOS.

#everyone,#Everywhere,#AllTheTime.

#when I, MavenResolver, SpringBoot-Dependency-Tree,


#itDoesntYet.

#allRequirementsPlusSuggestions.


#aTimDependency.

#everythingElse.



-
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