Re: error: malformed HTML

2023-12-11 Thread Bradley Willcott

Hi,
The problem is: "**" is a malformed tag.

Try this: "*StringVerification*" (without the double-quotes 
of-course).


Regards Brad.

On 11/12/23 20:15, Arbol One wrote:


I am trying to use this html expression when documenting a class

/**

var list = new ArrayList();

*/

, but I get an error from JavaDoc saying:

* error: malformed HTML  * "var list = new 
ArrayList();"*


What am I doing wrong!?

Thanks in advance
--
ArbolOne
Using Fire Fox and Thunderbird.
ArbolOne is composed of students and volunteers dedicated to providing free 
services to charitable organizations.
ArbolOne on Java Development is in progress [ í ]


Re: Converting Java 8 to 17+, conflicts with modules

2023-11-11 Thread Bradley Willcott

Hi John.
Check out this site: 
https://www.digitalocean.com/community/tutorials/maven-dependency-tree-resolving-conflicts.

It should give you what you need to know.

Regards,
Brad.

On 11/11/23 06:20, John Manko wrote:
This might not be a purely Netbeans issue, but maybe NB has some 
tooling to assist, or someone can answer a quick question.


I'm in the middle of converting Java 8 project to Java 17/21 (A little 
late in the game, I know!  I'm beholden to other forces beyond my 
control.), and I have a library module with a module-info like such:


module com.my.lib {
requires com.google.common;
requires com.google.gson;
requires eclipselink;
requires jakarta.jakartaee.api;
requires java.logging;
requires java.sql;
requires jersey.client;
requires jersey.media.multipart;
requires org.apache.pdfbox;
requires org.apache.fontbox;
exports com.my.package;
}


I get the following error message in Netbeans:

module com.my.lib reads package jakarta.faces.context from both 
jakarta.faces.api and jakarta.jakartaee.web.api



What am I'm doing wrong here?   Is there any tooling in NB to help 
create the module-info based on declared maven dependencies?


Below is are pom.xml deps (test deps removed):

  
    
        jakarta.platform
jakarta.jakartaee-api
        10.0.0
        provided
    
    
org.eclipse.persistence
        eclipselink
        4.0.2
        provided
    
    
org.glassfish.jersey.core
        jersey-client
        3.1.3
        provided
    
    
org.glassfish.jersey.media
jersey-media-multipart
        3.1.3
        provided
    
    
        com.google.code.gson
        gson
        2.9.1
    
    
        com.google.guava
        guava
        32.1.3-jre
    
    
        org.apache.pdfbox
        pdfbox
        3.0.0
    
  




Re: Netbeans template files

2023-04-28 Thread Bradley Willcott
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: Netbeans template files

2023-04-28 Thread Bradley Willcott

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





Netbeans template files

2023-04-24 Thread Bradley Willcott

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: Cannot Access C/C++ Range of Options

2023-03-14 Thread Bradley Willcott

Hi Robert.
Goto:
Tools/Plugins/Settings:  Activate -> Netbeans 8.2 Plugin Portal

Then goto "Available Plugins" tab, and install: "C/C++".

This will give you everything you are looking for.

Brad.

On 12/3/23 12:13, Robert Yu Tin-Tat wrote:
When I go to the C/C++ to make a C/C++ program on Netbeans 17, there 
hasn't been as much options as it had in its previous versions.


In fact, there is only one option and that's to start up with a 
iightweight C/C++ project.


If I need more, what should I do?





-
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: Cannot Access C/C++ Range of Options

2023-03-14 Thread Bradley Willcott

Hi Robert.
Goto:
Tools/Plugins/Settings:  Activate -> Netbeans 8.2 Plugin Portal

Then goto "Available Plugins" tab, and install: "C/C++".

This will give you everything you are looking for.

Brad.

On 12/3/23 12:13, Robert Yu Tin-Tat wrote:
When I go to the C/C++ to make a C/C++ program on Netbeans 17, there 
hasn't been as much options as it had in its previous versions.


In fact, there is only one option and that's to start up with a 
iightweight C/C++ project.


If I need more, what should I do?





-
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



Java Platform Javadoc

2022-07-10 Thread Bradley Willcott

Hi there.
I am sure someone has asked this before, but I haven't found such as yet.

How do I set-up NB 14 to access the online Javadocs for each JDK?
I have every version since 1.5 installed. Whilst the older ones work 
fine, the newer ones don't.
For JDK 18 for instance, using the root address: 
https://docs.oracle.com/en/java/javase/18/docs/api/ does not work 
because of the modularity introduced some versions ago.


Why has this not been fixed within NB?

Where is the Java Platform info stored within NB's config?

I have put up with this situation for too long now, so I need to fix it. 
Can anyone help please?


Thank you,
Brad.


-
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 13 - Markdown files

2022-05-23 Thread Bradley Willcott

Hi Neil.
That was it, thanks.

Brad.

On 23/4/22 15:53, Neil C Smith wrote:

On Sat, 23 Apr 2022 at 08:25, Bradley Willcott  wrote:

I am trying to edit some markdown files in NB 13.  However, when I
right-click on the file in the Projects Explorer, all I get is "Open as
Binary".

Hit the "Way-Back Machine", and using NB 12.6, doing the same thing I
get "Open" plus a number of other options to choose from, including the
"Open as Binary" option.

Is it just my installation, or has something broken in the Markdown
extension, or NB 13?

It's a bug in the BinEd plugin that you must have installed.

See this https://github.com/apache/netbeans/issues/3797

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



NB 13 - Markdown files

2022-04-23 Thread Bradley Willcott

Hi.
I am trying to edit some markdown files in NB 13.  However, when I 
right-click on the file in the Projects Explorer, all I get is "Open as 
Binary".


Hit the "Way-Back Machine", and using NB 12.6, doing the same thing I 
get "Open" plus a number of other options to choose from, including the 
"Open as Binary" option.


Is it just my installation, or has something broken in the Markdown 
extension, or NB 13?


Regards,
Brad.

-
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: Apache NetBeans Language Server Extension for VS Code

2022-03-12 Thread Bradley Willcott

Hi Al.
I'm definitely a Netbeans fan.  This all came about when I started 
looking into various Note Organising apps for my Uni course.  The one I 
have decided on using is an Extension to VS Code: Dendron. It's the best 
of the bunch for what I'm after.  And yer, VS Code can be a bit of a 
challenge to navigate.  Most of it's capabilities are buried in the 
Command drop-down (Ctrl-Shift-P)!  If I wasn't studying full-time, I'd 
develop my own app for this, probably using the Netbeans architecture.


Brad.

On 11/3/22 09:28, Alonso Del Arte wrote:
Speaking only for myself, I find VS Code to be an extremely 
frustrating program. It has a lot of abilities, but it's confusing. 
The other day I needed to make a change uniformly to about 200 HTML 
files including a newline in the replacement text. It was easy enough 
to bring up the boxes for the text to find and the text to replace it 
with, but then I just couldn't figure out how to tell VS Code to 
execute the replacement. I almost looked it up on the Web. I went 
back, and realized it was a little button I had to click on.


Also, it's a resource hog. Try carrying out a Zoom meeting with VS 
Code running. But apparently VS Code with Salesforce extensions is the 
only way available to write Salesforce Lightning Web Components. I 
felt like I needed a Bat-computer to handle VS Code.


For Java, we have three great choices, of which I like NetBeans the 
best. And if those weren't available for some reason, I'd rather use 
Notepad and the command line than VS Code.


Al

On Thu, Mar 10, 2022 at 3:54 PM Geertjan Wielenga 
 wrote:


The direction of NetBeans is the code that you put here:
github.com/apache/netbeans <http://github.com/apache/netbeans>

Gj

On Thu, Mar 10, 2022 at 6:56 PM Bradley Willcott
 wrote:
>
> Hi guys.
> I just came across this extension:
>
> "This is a technology preview of Apache NetBeans based extension
for VS Code. Use it to get all the goodies of NetBeans via the VS
Code user interface! Runs on JDK8[*] and all newer versions.
>
> Apache NetBeans Language Server brings full featured Java
development (edit-compile-debug & test cycle) for Maven and Gradle
projects to VSCode. As well as other features."
>
> The above quoted text was copied from the web page: Language
Server - Apache Software Foundation
>
> Is this the direction for Netbeans?  Is it to become a mere VS
Code extension?
>
> Brad.
>
>

-
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



--
Alonso del Arte
Author at SmashWords.com 
<https://www.smashwords.com/profile/view/AlonsoDelarte>

Musician at ReverbNation.com <http://www.reverbnation.com/alonsodelarte>


Apache NetBeans Language Server Extension for VS Code

2022-03-10 Thread Bradley Willcott

Hi guys.
I just came across this extension:

"This is a technology preview of Apache NetBeans  
based extension for VS Code. Use it to get all the /goodies of NetBeans/ 
via the VS Code user interface! Runs on *JDK8*[*] and all newer versions.


Apache NetBeans Language Server brings full featured Java development 
(edit-compile-debug & test cycle) for Maven and Gradle projects to 
VSCode. As well as other features."


The above quoted text was copied from the web page: Language Server - 
Apache Software Foundation 



Is this the direction for Netbeans?  Is it to become a mere VS Code 
extension?


Brad.



Re: Netbeans 8.2 download link

2022-03-03 Thread Bradley Willcott

Hi Jonathon.
I am running Fedora Linux (34).  I installed 'ccls' using the 'dnf' 
package installer, collecting it from the '@fedora' repository.
For MSWin I suppose you will have to do some searching, unless some else 
on this list can help there.


Regards,
Brad.

On 3/3/22 17:51, Jonathan Bergh wrote:

Hi Brad,

Thanks a lot - appreciate that advice.

I actually tried that route previously, but started having strange 
issues with my gradle based projects not long after that (previously 
working projects would not load, even after clearing the cache etc). I 
am not sure whether that was related to the gradle stuff itself or 
funny things happening from updates from older plugin centers (really 
not sure, i have no insight / experience into how it all works), but I 
ended up doing a clean install to get everything running again.


regarding the ccls approach - do you still need to compile your own 
language server, or are their prebuilt binaries available now?


best regards
jonathan

On Thu, Mar 3, 2022 at 9:30 PM Bradley Willcott 
 wrote:


Hi Jonathon.
You may not know that NB12+ can be used for both C and C++
development.

Go to "Tools/Plugins"
Select "Settings", then Activate "Netbeans 8.2 Plugin Portal"
Select "Updates" and press [Check for Updates]
Select "Available Plugins" and press [Check for Newest]

Then scroll down and look for "C/C++" - select and install this
plugin.
You might also want to select and install "CPPLite Kit" as well.
This last one will require "ccls" to be installed on your system.

Hope this helps.
Brad.

On 2/3/22 10:50, Jonathan Bergh wrote:
> hi all,
>
> just wondering if anyone has / knows the (a) link for the old
Oracle
> Netbeans 8.2 download. I know there is any floating around, but the
> one on the Apache Netbeans pre-Apache page currently redirects to a
> dead end.
>
> Needed because of the C++ capabilities.
>
> Thanks in advance
> Regards
> Jon



Re: Netbeans 8.2 download link

2022-03-03 Thread Bradley Willcott

Hi Jonathon.
You may not know that NB12+ can be used for both C and C++ development.

Go to "Tools/Plugins"
Select "Settings", then Activate "Netbeans 8.2 Plugin Portal"
Select "Updates" and press [Check for Updates]
Select "Available Plugins" and press [Check for Newest]

Then scroll down and look for "C/C++" - select and install this plugin.
You might also want to select and install "CPPLite Kit" as well.
This last one will require "ccls" to be installed on your system.

Hope this helps.
Brad.

On 2/3/22 10:50, Jonathan Bergh wrote:

hi all,

just wondering if anyone has / knows the (a) link for the old Oracle 
Netbeans 8.2 download. I know there is any floating around, but the 
one on the Apache Netbeans pre-Apache page currently redirects to a 
dead end.


Needed because of the C++ capabilities.

Thanks in advance
Regards
Jon



-
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: Trouble with file access permission in a C++ projet

2022-01-30 Thread Bradley Willcott
The following was copied from my previous email responce on this type of 
problem:


NB: Tools -> Plugins -> Settings:
Activate: Netbeans 8.2 Plugin Portal

Switch to -> Updates:
Click on: [Check for Updates]

Switch to -> Available Plugins:
Install: "C/C++" plugin

Hope this helps.
Brad.

*(**/Gj - Would it be possible to set-up this info somewhere to avoid me 
having to repeat it?/**)*


On 28/1/22 07:47, slipbits wrote:

Hi;

I tried to place the path to my compiler in
Windows->Files->->Properties->Editor->Compile 
Commands ["C:\cygwin64\bin\c++.exe"]

with no good effect.

Same for Windows->Files->->Properties->Build->Run.

Tools->Options->C/C++ only allows entry of the path to ccls or clangd.

It is clear I don't know what I'm doing. Is there some documentation 
on this, or a tutorial, or something. I hate to waste your time in 
describing something I should be able to do myself. I just don't know 
what the secret sauce is, and I'm sure you're getting pretty 
frustrated with me.


Sorrowful;
art

On 1/27/2022 12:02 AM, antonio wrote:

Hi,

In my box CYGWIN\lib\gcc\x86_64-pc-cygwin\10\include\c++ is a 
directory, so of course NetBeans is not able to "execute" it.


It seems you're missing the path to the compiler you want to use. In 
my box this is "CYGWIN\bin\c++.exe".


Cheers,
Antonio

On 26/01/2022 22:18, slipbits wrote:

NB Diagnostic Message
 Exception in thread "main" java.io.IOException: Cannot run 
program "C:\cygwin64\lib\gcc\x86_64-pc-cygwin\11\include\c++": 
CreateProcess error=5, Access is denied


-
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++] Unable to install and use clangd protocol server

2022-01-17 Thread Bradley Willcott

Try the following:

NB: Tools -> Plugins -> Settings:
Activate: Netbeans 8.2 Plugin Portal

Switch to -> Updates:
Click on: [Check for Updates]

Switch to -> Available Plugins:
Install: "C/C++" plugin

Hope this helps.
Brad.

On 18/1/22 05:17, slipbits wrote:


NB 12.5
Windows 7
Cygwin

I'm trying to host all my C/C++ projects on Netbeans (because I like 
NB) and am having some difficulty. NB tools->options->C/C++ requires 
either a ccls or clangd 
protocol server. 
I downloaded clangd 
 for windows 
 
as a zip file and then extracted clangd-index-server-monitor.exe, 
clangd-index-server.exe. clangd-indexer.exe to my cygwin /bin 
directory. Then, in turn, I changed the C/C++ "clangd Location" to 
each of  the files (/bin/). In all cases I was then unable 
to modify my project file (below).


How can I get some functionality out of NB w/C/C++?  I know, I know, 
I've asked this question before, and the answer was something like 
File->New Project->C/C++ etc. Then enter the compile and build 
commands. But no previous guidance on clangd, although there was 
guidance on using the NB 8.2 plugin for C/C++ (which is not listed as 
available in NB 12.5). So, I'm stumped.


= project code =

/*
 * Click 
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt 
to change this license
 * Click 
nbfs://nbhost/SystemFileSystem/Templates/cpplite/CPPTemplate.cpp to 
edit this template

 */
int main(int argc, char* argv[]) {
   exit 1;
}





Re: Implementation dependency in a maven module

2021-11-16 Thread Bradley Willcott

Hi,
Do you have Dependency Management in your pom.xml?

On 15/11/21 21:39, Eymeric VIEUILLE wrote:


Hi again !

Nobody has answers for it ?

*Envoyé :*lundi 8 novembre 2021 15:29
*À :* Netbeans mailing list (users@netbeans.apache.org) 


*Objet :* Implementation dependency in a maven module

Hi !

I am doing the migration of a netbeans based application from Ant to 
Maven (Netbeans 12.0 version)


In our project, we had implementation dependencies on netbeans modules 
(core-windows for example). In the old way, no problem : on the 
dependency core-windows, you could right click and go in « Edit » menu 
to select « Implementation Version » and set the expected « Major 
Release Version » value.


Now with Maven, in my pom.xml, i added :

    

org.apache.maven.plugins

maven-jar-plugin

3.14

    

    

${project.build.outputDirectory}/META-INF/MANIFEST.MF



framework/api/layer.xml







org.netbeans.modules:org-netbeans-core-windows

impl





    

    

    

I get the following error when compiling :

Plugin org.apache.maven.plugins:maven-jar-plugin:3.14 or one of its 
dependencies could not be resolved: Failure to find 
org.apache.maven.plugins:maven-jar-plugin:jar:3.14 in 
https://repo.maven.apache.org/maven2/ was cached in the local 
repository, resolution will not be reattempted until the update 
interval of mirror1 has elapsed or updates are forced -> [Help 1]


The 3.14 version of maven-jar-plugin is effectively not available on 
this repository (only olders < 3.2). Am i pointing at the wrong maven 
repository ?


Moreover, I think i’m doing it the wrong way for adding the 
implementation dependency properly in my project. Can you tell me how 
i can do it ?




Re: [Support] Re: error "records are not supported in -source 11 (use -source 16 or higher to enable records)"

2021-11-14 Thread Bradley Willcott

Hi Richard.
Check a couple of things for me:
- pom.xml:
    - Under properties:
        - *16*
      *${java.version}*
      *${java.version}*
  *${java.version}*
- Project Properties: Select the project/right click/select Properties:
    - Select Sources: Source/Binary Format: *16*
    - Build/Compile: Java Platform: *JDK 16 (Default)* <= default 
reference is optional


If these are as you have them, let me know.  Further digging will be 
necessary. 

The Project Properties has caught me out a number of times. 

Brad.

On 13/11/21 05:34, Richard Schmidt wrote:
I have installed graalvm-ce-java16-21.2.0 which provides java 16 SDK 
and and have downloaded and installed openjfx.io  
OpenJFX 16 and have developed a javafx Maven projects in NetBeans 12.4 
which has ben working fine. Now I have declared the following record 
(the new data record type introduced in Java 14):


record EventTargetFinder(List> filterTargetTypes) {
    EventTargetFinder(List> filterTargetTypes) {
        this.filterTargetTypes = 
Collections.unmodifiableList(filterTargetTypes);

    }

NetBeans is telling me "records are not supported in -source 11 (use 
-source 16 or higher to enable records)".


I have searched Google and StackOverFlow and am unable to find 
relavant information. I have examined the NetBeans project properties 
and have found that the porject compiles with Java 16, but in the 
category "Sources" there is label "Source/Binary Format:" with a combo 
box with the entry "11"  selected and I am unable to change the selection.


Any help with getting over this hump would be appreciated.


Re: serialVersionUID generator

2021-09-08 Thread Bradley Willcott

Hi,
I forked off a project.  This is what I use: 
https://github.com/bewillcott/netbeans-svuid-generator 
.
Download and build it.  Then install it via Tools/Plugins/Downloaded -> 
Add Plugins ...


Then in the Editor, say a .java file, click on the class line and 
Atl-Enter ...


Make sure to have added the Serializable interface first.

Brad.

On 8/9/21 2:03 am, Ewan Slater wrote:


-
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: Fwd: HTML Disable Auto Completion 12.4

2021-07-12 Thread Bradley Willcott

Hi John.
I tried using auto-completion with HTML, and got the following screenshots:

I typed: 



I typed: [Enter]



I see nothing wrong with this sequence.  Is your experience different?

Brad.

On 12/7/21 3:27 pm, John Lavelle wrote:


Hi,

I'm in meetings all morning. I will video my IDE this afternoon so you 
can see what happens


Best regards,
John
j...@jql.co.uk 
Bike Farkles: https://www.youtube.com/channel/UCPRV92Cf_R1ihviRtVU2teQ 

JLavelle.uk https://www.youtube.com/jlavelleuk 




On Mon, Jul 12, 2021 at 8:39 AM Geertjan Wielenga 
> wrote:


Right, exactly, that makes sense.

Does that do the trick for you, John Lavelle?

Hope so!

Gj

On Mon, Jul 12, 2021 at 8:36 AM James Ostrowick
mailto:ja...@ostrowick.co.za>> wrote:

So, if you start typing:

<




If you hit enter at the
 as this is the first entry.

What I’ve found to work, to stop this from happening is go
into preferences / options


Kind Regards,
James Ostrowick



On 12 Jul 2021, at 08:32, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:


I have this in the HTML editor right now:

mailto:ja...@ostrowick.co.za>> wrote:


Nope, this was a Mac.
Mac OS X 11.4
Netbeans 12.4

Kind Regards,
James Ostrowick



On 12 Jul 2021, at 08:26, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

Maybe it's Windows specific?

On Mac, trying really hard, but not able to reproduce.

Gj

On Mon, Jul 12, 2021 at 8:16 AM James Ostrowick
mailto:ja...@ostrowick.co.za>>
wrote:

I know exactly what John is talking about.



If you hit enter at this point(in the attached image)
It will complete the  element

This happens in HTML/XHTML files.

Kind Regards,
James Ostrowick



On 12 Jul 2021, at 08:13, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com.INVALID>>
wrote:

Nope, that's never happened to me -- and if what
you're trying to do is disable code completion just
because it pops up when you press Enter, then the
problem lies elsewhere.

Check that your code completion hasn't been mapped
to the Enter key in one way or another.

Gj

On Mon, Jul 12, 2021 at 8:09 AM John Lavelle
mailto:j...@jql.co.uk>> wrote:

When you press Enter for a Newline it pops up.
Very irritating.

Best regards,
John
j...@jql.co.uk 
Bike Farkles:
https://www.youtube.com/channel/UCPRV92Cf_R1ihviRtVU2teQ

JLavelle.uk 
https://www.youtube.com/jlavelleuk



On Mon, Jul 12, 2021 at 8:02 AM Geertjan
Wielenga mailto:geertjan.wiele...@googlemail.com>> wrote:

Maybe somehow the code completion is mapped
to your Enter key?

Gj

On Mon, Jul 12, 2021 at 8:01 AM Geertjan
Wielenga mailto:geertjan.wiele...@googlemail.com>>
wrote:

Every time you press Enter it pops up?

That's strange and not something I've
ever seen.

Has that always been the case?

Gj

On Mon, Jul 12, 2021 at 7:19 AM John
Lavelle mailto:j...@jql.co.uk>> wrote:

Geertjan,

The only way to disable it is to
turn it off for *all* languages,
not just HTML.

Auto complete in HTML is very
intrusive unlike say for PHP.

I find auto complete useful in
general but in HTML every time you
press enter it pops up and you have
to press Escape before typing.
Quite often, if you're changing
  

Re: users Digest 7 Jul 2021 19:24:25 -0000 Issue 1288

2021-07-08 Thread Bradley Willcott

Chris,
As you say "(rightly or wrongly)" - though a compiled 'exe' is just as 
risky.  Java cannot be blamed for that sort of thing.
However, I have not dealt with paranoid end-users so I'll just leave it 
with you there.


When you do get your answers, I would be interested in seeing them 
also.  That is, if they aren't already posted to the list.


Regards,
Brad.

On 8/7/21 6:43 pm, Chris Olsen wrote:

Bradley and All --

   Thank you for the lengthy response and pom.  I would like to briefly respond 
to your comment below:

---
Separately, I don't see any issue with an end-user having to install a
version of the JRE to run Java applications.  In Windows, it is quite
easy, isn't it?
---

   My own efforts at freeware target statistics teachers.  Many school districts (rightly 
or wrongly) have the idea that Java is a huge security risk, and any Java program is 
immediately suspect.  Also, many districts do not have the expertise to install FX.  
Thus, bundling an app with a JRE slips in "under the radar."  (Teachers 
typically do not have admin privileges on their classroom computers, and I typically 
offer the source code for inspection; however, many Districts are bereft of expertise in 
that area also.)

   -- Chris




-
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: users Digest 7 Jul 2021 19:24:25 -0000 Issue 1288

2021-07-08 Thread Bradley Willcott

Hi Chris.
Firstly, I have no experience in developing Netbeans Platform projects.  
However, I have developed many others, all Open Source 
https://github.com/bewillcott .
As a suggestion to help with the deployment side, I wish to offer the 
following ideas for the Maven POM:




   ...

    
com.yourproject.Main
...




release-profile



org.codehaus.mojo
exec-maven-plugin


Zip Binary Jar and libs
verify

exec


zip

${project.build.directory}

false

true

-r

${project.build.finalName}.zip

${project.build.finalName}.jar
libs






   ...





...







src/main/resources



**/*




...





org.apache.maven.plugins
maven-dependency-plugin


copy-dependencies
prepare-package

copy-dependencies


runtime
test

${project.build.directory}/libs






org.apache.maven.plugins
maven-jar-plugin



true
libs/
${jar.manifest.mainClass}

true

true





...






org.codehaus.mojo
exec-maven-plugin
3.0.0


maven-dependency-plugin
3.1.2


maven-jar-plugin
3.2.0


...




...
 
    



What you will end-up with, amongst other files, is a Zip file with the 
program jar and a 'libs' directory containing all of the project's 
dependencies.  To install, just unpack the zip file into an application 
directory, and run the application from this directory ("java -jar 
.jar").  It will automatically find all of its dependencies 
in the 'lib' directory.


Separately, I don't see any issue with an end-user having to install a 
version of the JRE to run Java applications.  In Windows, it is quite 
easy, isn't it?


I know that this does not properly answer your questions, but I hope it 
helps.


Regards,
Brad.

On 8/7/21 3:24 am, Chris Marusich  wrote:

Subject:
NetBeans Platform "Golden Path"
From:
Chris Marusich 
Date:
8/7/21, 3:24 am

To:
users@netbeans.apache.org


Hi,

What's the current "best practice" or "golden path" for building and
distributing a NetBeans Platform application and managing its
dependencies (e.g., from Maven central)?  That's a big general question,
so I'll ask some specifics:

- Should I ever try to use JPMS modules when building a NetBeans
Platform application?  I've found that in my projects (which are
NetBeans Maven-based projects, not NetBeans Platform projects), when I
use JPMS modules, it can cause problems for NetBeans [1], so I wonder if
it's really wise to even try mixing JPMS modules with NetBeans projects
at this time, let alone NetBeans Platform projects.

- Should I ever try to make a Maven-based NetBeans Platform application?
I see there are Maven templates in NetBeans that offer to create a
Maven-based NetBeans Platform project.  However, all the examples online
and in books that I've seen so far do NOT use Maven.  In spite of this,
recent emails on this list have 

Re: v12.4 Fonts wrong

2021-06-25 Thread Bradley Willcott

Hi.

Thanks Peter.  Had a look.  None of the files mentioned exists in my 
OpenJDK 15.0.2 implementation.


However.  As far as NB 12.4 is concerned, I have a workaround:

 * Tools -> Options -> Appearance -> Look & Feel (tab):
 o Preferred look and feel: "Nimbus" or "Dark Nimbus"  <== Fixes
   font problems for Menus and dialogs, etc.
 * Tools -> Options -> Fonts & Colors -> Syntax (tab):
 o Language: "All Languages"
 o Category: "Default"
 o Font: "Noto Sans Mono 12"  <== Change to this or some other font
   of your choice - Don't leave it to the "Factory Setting" default.
 * Tools -> Options -> Miscellaneous -> Output (tab):
 o Font: "Noto Sans Mono 12"  <== Change to this or some other font
   of your choice - Don't leave it to the "Factory Setting" default.

It might be worth the effort for someone in the know, to look into the 
difference between how the "Nimbus" themes handle the various font 
settings and how the other themes that don't work properly do it.  Maybe 
these other themes could be updated to use a similar font usage 
methodology.  Relying on the JDK/OS to provide default fonts may not be 
a good idea anymore.


I found that the problem was bigger than I first thought.  It also 
affected another program I use: "Rational Plan".  Haven't solved that 
one yet.  What concerns me more though, is how many other programs will 
be affected.


Regards,
Brad.


On 25/6/21 1:10 am, Peter Nabbefeld wrote:

Hello,

I got problems with fonts on Linux, too, with NB 12.4 running on Java 16.

I'm not sure, if the following article is related:
https://docs.oracle.com/en/java/javase/16/intl/font-configuration-files.html 



Especially, the following statement:
"For Linux, the Oracle JDK is moving away from providing custom font
configuration files on Linux platforms, as they are difficult to keep up
to date across distributions and versions."

Kind regards
Peter



Am 23.06.21 um 11:48 schrieb Lister Jonathan:

Not much help for you, but NB 12.4 fonts look OK for me without any
serious tweaking on Ubuntu 20.04.
This is FlatLaf Dark.
J

*From:* Bradley Willcott 
*Sent:* Wednesday, June 23, 2021 10:38 AM
*To:* NetBeans Mailing 
*Subject:* re: v12.4 Fonts wrong

Hi.

Some more info.

I went through all the standard themes and found that only the
*Nimbus* and *Dark Nimbus* themes provided an override to the small
italicised fonts.  However, as you can see in the attached screenshot,
even that did not fix the problem in the editor or the output windows.

Any thoughts/ideas on fixing this?

Thank you,
Brad.



-
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: v12.4 Fonts wrong

2021-06-23 Thread Bradley Willcott

Hi.

Some more info.

I went through all the standard themes and found that only the *Nimbus* 
and *Dark Nimbus* themes provided an override to the small italicised 
fonts.  However, as you can see in the attached screenshot, even that 
did not fix the problem in the editor or the output windows.


Any thoughts/ideas on fixing this?

Thank you,
Brad.



-
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

v12.4 Fonts wrong

2021-06-23 Thread Bradley Willcott

Hi there.

I have just installed Netbeans 12.4 on a new computer.  Here is the info 
from the Netbeans About box:


*Product Version:* /Apache NetBeans IDE 12.4/
*Java:* /15.0.2; OpenJDK 64-Bit Server VM 15.0.2+7-27/
*Runtime:* /OpenJDK Runtime Environment 15.0.2+7-27/
*System:* /Linux version 5.12.11-300.fc34.x86_64 running on amd64; 
UTF-8; en_AU (nb)/

*User directory:* //home/bwillcott/.netbeans/12.4/
*Cache directory:* //home/bwillcott/.cache/netbeans/12.4/

The problem is that all the menus, etc. are using a small Italicised 
font, which makes it very difficult to use.  I have used NB 12.1 with no 
similar problems on another Linux system.


Where would this setting be?  Why is it different from 12.1?

Please see the attached file.

Thank you,
Brad.



-
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: removing the "new project" support for Ant projects

2021-04-21 Thread Bradley Willcott

I agree with a lot of what has been said:

 * Deprecate ANT - New Project (don't remove)
 * Keep ANT for existing projects

Also, I agree that Maven can seem quite overwhelming at first.  I have 
been using it for only about a year now, and still remember the OMG 
experience when I first looked at Maven.  However, with a little 
persistence, and a lot of research, I was able to get past that.  IT WAS 
WORTH IT!  Maven is NOT "the be all and end all". But it does work.  I 
have been using it for many small projects, including my own libraries 
and a number of open source projects (https://github.com/bewillcott 
).


My environment:

 * ASUS Laptop
 * I7
 * 12Gb RAM
 * 1 Tb SSD
 * Fedora Linux 32
 * JDK 15
 * NB 12.1

I first had a problem with the unpacking of the Maven index when I only 
had 4Gb RAM, as Linux was set-up with /tmp as a RAM Drive using only 1Gb 
of RAM.  However once I upgraded the RAM I had no further problems.  NB 
is set to update the Maven index once a week, so this is not a problem 
either.


The benefits of using Maven are as extensive as the Maven repository.  
Once you know what the dependencies are that you need, adding then is 
quite simple.  I believe that someone just starting out would greatly 
benefit from going straight into Maven, by-passing Ant altogether.  
Further, the process of converting existing projects would be of long 
term benefit, and would simplify the on-going support of the project.


I would like to offer my assistance in the conversion process - as an 
example/training exercise so that you will know how to do it yourself - 
"If you give a man a fish, he eats for a day; If you teach a man to 
fish, he eats for a lifetime."(# 
).


Brad.

On 21/4/21 1:10 am, Lisa Ruby wrote:
For those of you who have used Maven for a long time it may seem 
simple and straightforward, but for those of us who haven't it's not. 
I've struggled to try and understand it and figure out how to use it 
for my software project and gave up. And it's a huge amount of 
overhead, extra disk space usage, and more bits and pieces to keep 
track of that isn't justifiable for small simple projects. ANT works 
just fine for me, and I will keep using it for as long as I possibly 
can. I need to focus my time on getting my software out, not on the 
tools I have to use to do it.


Lisa

On 4/20/2021 10:00 AM, Geertjan Wielenga wrote:
I agree, the Ant-based project creation should be removed and I 
disagree that there should be any kind of conversion between Ant and 
Maven -- that simply will never work and we'll spend the rest of our 
days fixing bugs in that. To convert from Ant to Maven: create a new 
Maven project and copy the Java source files from your Ant project 
into it.


Gj

On Tue, Apr 20, 2021 at 6:58 PM > wrote:


Honestly, I think NB should have an internal conversation about
removing the "new project" support for Ant projects, while still
being able to open existing ones. It just confuses a lot of
people if they're not going to be supported.

I agree, if and ONLY if you provide at least a rudimentary way to
convert ANT projects to Maven projects.   I have been struggling
with this issue too long.  I have hundreds of Ant based projects
that I would love to turn over immediately to Maven... but I
can't , am struggling, and haven't coded a darn line in two
months...  I used to code 10 hours a day ... and now...
embarrassed by my inability to convert.,.

I exaggerate a bit, I still code in "Old" Netbeans 8.2, but I
know the days are numbered...



On 2021-04-20 08:23, Will Hartung wrote:



On Mon, Apr 19, 2021 at 12:55 AM Wayne Gemmell | Connect
mailto:wa...@connect-mobile.co.za>>
wrote:

Is the perception that nobody does Maven EAR's anymore or
that nobody uses EARs? I have a web app that has given me no
shortage of issuse with ant.
I'm trying to move it to Maven. If nobody is using maven
then I need to move to something else. If nobody is using
EAR's anymore then I'm pretty stuck figuring out this Maven
issue.

Well, it's several things.
EARs are less popular because their necessity has been greatly
reduced. Session beans can be placed in WARs now, so for many
use cases, a WAR is completely adequate to the task.
However, it's not suitable for all use cases.
Notably, MDBs can not be deployed in WARs. But only as an EJB
either deployed standalone, or bundled within an EAR.
With the hue and cry over micro services and "down with the
monolith", just the idea of a large application bundled in a EAR
is falling out of favor.
Also, there's a history of advocacy underlying this. Sun used
NetBeans as a mechanism to advocate for Java and Java EE. It
behooved them to have something like NetBeans to 

Fwd: Profiler warnings - Illegal reflective access

2021-03-14 Thread Bradley Willcott

Sorry, I forgot to provide some context:

Netbeans 12.1
Fedora Linux 32

This text appears before the program starts to run, and just after it 
has been successfully compiled.


Brad.
 Forwarded Message 
Subject:Profiler warnings - Illegal reflective access
Date:   Sun, 14 Mar 2021 16:06:29 +0800
From:   Bradley Willcott 
To: NetBeans Mailing 



Hi there,

Should I put this into a bug report?

This showed up when I was trying to profile an application that was 
accessing MySQL server.  I was profiling SQL Queries:


Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds 
(Protocol version: 18)
Profiler Agent: Established connection with the tool
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.netbeans.lib.profiler.server.ClassLoaderManager to method 
java.lang.ClassLoader.findLoadedClass(java.lang.String)
WARNING: Please consider reporting this to the maintainers of 
org.netbeans.lib.profiler.server.ClassLoaderManager
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
Profiler Agent: Local accelerated session
Profiler Agent: Initializing...
Profiler Agent: Options: 
>/home/bwillcott/apps/netbeans/v12.1/netbeans/profiler/lib,5140,10<
Profiler Agent: Initialized successfully
Profiler Agent: 250 classes cached.

I am concerned about the WARNINGs.

Thanks,
Brad.




Profiler warnings - Illegal reflective access

2021-03-14 Thread Bradley Willcott

Hi there,

Should I put this into a bug report?

This showed up when I was trying to profile an application that was 
accessing MySQL server.  I was profiling SQL Queries:


Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds 
(Protocol version: 18)
Profiler Agent: Established connection with the tool
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.netbeans.lib.profiler.server.ClassLoaderManager to method 
java.lang.ClassLoader.findLoadedClass(java.lang.String)
WARNING: Please consider reporting this to the maintainers of 
org.netbeans.lib.profiler.server.ClassLoaderManager
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
Profiler Agent: Local accelerated session
Profiler Agent: Initializing...
Profiler Agent: Options: 
>/home/bwillcott/apps/netbeans/v12.1/netbeans/profiler/lib,5140,10<
Profiler Agent: Initialized successfully
Profiler Agent: 250 classes cached.

I am concerned about the WARNINGs.

Thanks,
Brad.




Re: Java - Copying Project

2021-02-24 Thread Bradley Willcott

Hi Ken,

A bit more info on the files you have would help.

Like what type of app is it?  JavaFX/ML or Plain Java app, or what?

However, I would look at creating a new project and manually adding in 
the source files.
If they are already in the correct directory structure according to 
their package names then this should be quite easy.


Was it an Ant, Gradle or Maven project?

What do you want/need it to be now?

That should get you thinking.
Brad.


On 24/2/21 6:00 am, Ken Miller K6CTW wrote:

All -
Built a project on one Windows 10 platform and want to move it to another 
Windows 10 platform.
Did not export it as a zip.
The original platform is gone so all that remains are the .java and .form files.
How can these be imported back to a project on the new platform?

Thanks in advance.

73 - ken Miller, K6CTW



-
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 generation from within NetBeans

2021-02-22 Thread Bradley Willcott

Might I suggest you try setting it to: "compiler:compile javadoc:javadoc"?

If it solves the problem, then maybe the Netbeans versions you are 
referring to need to have their defaults changed.


However, for my NB 12.1 on Linux, this is the default.

Brad.

On 23/2/21 12:15 am, Richard Grin wrote:


With NetBeans 12.1 (Windows 10), it's "generate-sources 
javadoc:javadoc" too and not "compiler:compile javadoc:javadoc".


Richard

Le 22/02/2021 à 16:07, Glenn Holmer a écrit :

On 2/21/21 9:24 PM, Bradley Willcott wrote:

I am using NB 12.1 on Linux.

When I right right-click on a project, then "Properties" -> 
"Actions" : "Generate Javadoc", I get this under 'Execute Goals:' 
"compiler:compile javadoc:javadoc".


In a new project (using 12.3-beta3), I get "generate-sources 
javadoc:javadoc". Same if I install fresh with a clean userdir.


I have no problems using the Generate Javadoc menu option on the 
project right-click menu.


With a modular project and source set to >= 9?


 org.apache.maven.plugins
 maven-javadoc-plugin
 3.2.0
 
   11
   false
org.apache.logging.*
 



Oh, by the way, this is the default setting :)


Not what I'm seeing (unless it's changed since 12.1).


-
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 generation from within NetBeans

2021-02-21 Thread Bradley Willcott

Hi Glenn,

I am using NB 12.1 on Linux.

When I right right-click on a project, then "Properties" -> "Actions" : 
"Generate Javadoc", I get this under 'Execute Goals:' "compiler:compile 
javadoc:javadoc".


I have no problems using the Generate Javadoc menu option on the project 
right-click menu.


Oh, by the way, this is the default setting :)

Regards,
Brad.

On 21/2/21 8:05 am, Chris Marusich wrote:

Hi Glenn,

Glenn Holmer  writes:


Is anybody else having trouble getting NetBeans to generate Javadoc?
I've got a modular project (source level 11) that builds and runs
successfully (other programs can call into it by declaring the
module), but when I click "Generate Javadoc" from the project menu, I
get

"Exit code: 1 - error: module not found: org.lyonlabs.d64"

That's the module name of the project itself. I made sure to be using
the latest maven-javadoc-plugin (3.2.0), with source set to 11. I get
the same result with "mvn javadoc:javadoc" from the command line. If I
change the POM for maven-javadoc-plugin to 8, I get
beautiful and complete Javadoc, although of course without any module
information.

See:

   https://issues.apache.org/jira/projects/MJAVADOC/summary

"Maven Javadoc Plugin

NOTE: when working with the Java Platform Modular System, be aware that
the javadoc tool requires the compiled code, hence try to run mvn
compile javadoc:javadoc before filing an issue."

I.e., try running this explicitly: mvn compile javadoc:javadoc

Seems like NetBeans ought to do this for you when you ask it to build
Javadocs, but for some reason it doesn't.  You have to invoke Maven
explicitly (which you can do from the IDE), and you have to say "mvn
compile javadoc:javadoc".  Just "mvn javadoc:javadoc" is not enough.

-- Chris


Re: [base ide] No help available in Apache Netbeans 12.0?

2021-02-18 Thread Bradley Willcott

I might be interested in having a look at it.

Do we have the source of the HTML files, such as Markdown, or just the 
HTML files?


Where would be the best place to setup a project for this.  I use GitHub 
for all my projects.


Brad.


On 19/2/21 3:38 am, Geertjan Wielenga wrote:

Awesome.

The actual help HTML files came with one of the donations, the 3rd, I 
believe.


However, better to have no help files than to have outdated help files.

I would vote (very strongly) against including them until there are 
people volunteering to review and update them.


Gj



On Thu, Feb 18, 2021 at 8:37 PM Jan Lahoda > wrote:


I think that when we were removing the JavaHelp, I was
experimenting with including the (existing) help and showing it in
a browser. I'll try to dig that up.

Jan

On Thu, Feb 18, 2021 at 8:00 PM Neil C Smith
mailto:neilcsm...@apache.org>> wrote:

On Thu, 18 Feb 2021 at 18:02, Geertjan Wielenga
 wrote:
> However, the real real question is who is going to keep that
JavaHelp documentation updated?

Whereabouts is the HTML content now?  One option might be to
convert,
host as a website and have a help context displayer that opens the
system browser with pages based on the HelpCtx ID, falling back to
root table of contents if not there?  I'm doing the latter bit
in the
PraxisLIVE UI, where every help button at least does something.
Started experimenting with encoding the context in the URL's but
didn't finish it.

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




Re: Maven deployment plugin for JavaFX

2020-09-07 Thread Bradley Willcott

Hi David,

Hope this helps with the packaging. I have cut this out of one of my 
projects:





   org.codehaus.mojo
   exec-maven-plugin
   1.6.0
   
   
   Zip Binary Jar and libs
   package
   
   exec
   
   
   zip
   
${project.build.directory}
   
false
   
true
   
   -r
   
${project.build.finalName}.zip
   
${project.build.finalName}.jar
   libs
   
   
   
   


org.apache.maven.plugins
maven-jar-plugin
3.2.0



true
libs/
org.myapp.Main

true

true





org.apache.maven.plugins
maven-dependency-plugin
3.1.1


copy-dependencies
prepare-package

copy-dependencies


runtime
test

${project.build.directory}/libs








The /maven-dependency-plugin/ is used to copy all the dependencies into
the 'libs' directory.

The /maven-jar-plugin/ is used to add the classpathPrefix: 'libs/' to
the manifest.  The forward slash at the end is required.

The /exec-maven-plugin/ is used to package everything into a 'zip'
archive for release.  Just unpack this zip file on the target system,
and set the CLASSPATH to include the jar file, and all should work.
I have as yet only tested this on my local system.

Cheers,
Brad.

On 4/9/20 9:21 pm, David Gradwell wrote:


Chris,

Hopefully some of the following will help.  We too did not want to use 
XCode (much!).  You have to install it and use certain upload/notarise 
tools, but that works.


So, my steps list is:

1.    Set up an Apple developer ID, pay fee etc.  using an 
email – we use a@b.c  in the following.


2.    Create and download a DeveloperID signing cert  to your 
development Mac's  login keychain from 
https://developer.apple.com/account/resources/certificates/list


3.    Create and download a Developer ID profile to System 
Preferences/Profiles.


4.    Build your project with Ant since Ant puts all the 
library files in a folder called lib in dist.  If Maven is your 
primary environment, just build the top level of the project with 
Ant.  If you know how to make Maven put all the dependencies in one 
place ready for jpackage please tell me !


5.    Local test the Ant project and if it behaves proceed.

6.    Make a Mac icon.

7.    Using the pre-release Java 15 (you will have to download 
it) then run jpackage with something like the following script.  I’ve 
hacked it a bit for confidentiality reasons.  There may be some space 
characters that need removing!.


export JAVA_HOME="/Users/myuser/Java Downloads/jdk-15.jdk/Contents/Home"

export PATH=" 
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/myuser/Java 
Downloads/jdk-15.jdk/Contents/Home/bin"


echo $PATH

rm -r /Users/myuser/NetBeansDev/MYAPPNAMEAnt/jpackageappimagetemp

rm -r /Users/myuser/NetBeansDev/MYAPPNAMEAnt/jpackageappimageoutput

jpackage --type app-image --app-version 0.0.1 --copyright "My company 
2020" --name MYAPPNAME --dest 
/Users/myuser/NetBeansDev/MYAPPNAMEAnt/jpackageappimageoutput --temp 
/Users/myuser/NetBeansDev/MYAPPNAMEAnt/jpackageappimagetemp --vendor 
"My Company" --icon 
/Users/myuser/NetBeansDev/MYAPPNAMEAnt/MYAPPNAME.icns --input 
/Users/myuser/NetBeansDev/MYAPPNAMEAnt/dist --main-jar 
MYAPPNAMEAnt.jar --main-class com.you MYAPPNAME.SomeClass 
--java-options " -Xdock:name=MYAPPNAME" --mac-package-identifier 
MYAPPNAME --mac-sign --mac-signing-keychain 
"/Users/myuser/Library/Keychains/login.keychain-db" --verbose


8.    Check that the signing worked and that the app has 
appeared at 

Re: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Bradley Willcott
Have you checked this? Tools>Options>Java>Maven>Index: "Completely 
disable indexing".


The Visa security may have turned this on.

Brad.

On 31/8/20 11:28 am, HRH wrote:


The Maven dependency search failure on your system might be the 
concomitant of that security update by Visa, which has severely 
impacted your environment. Have you considered to reinstall Netbeans, 
perhaps the latest stable version that comes with Maven 3.6.3 (i.e. 
Netbeans 12.0)?
On Monday, August 31, 2020, 7:27:51 AM GMT+4:30, Ernie Rael 
 wrote:



On 8/30/2020 6:59 PM, Greenberg, Gary wrote:
>
> I have deleted .m2 and also installed new version of Maven (3.5.4 ->
> 3.6.3)
>
Did you inform NetBeans about it? Tools>Options>Java>Maven>Execution.
And some of the other Maven Categories might have some bearing on the
problem, like "Index".

-ernie

> Still search for dependencies doesn’t work.
>
> Doesn’t look like it is searching for anything.
>
> In a fraction of a second it pops-up “No matching items” window.
>
> Gary Greenberg
>
> Staff Software Engineer
>
> Data Product Development, BI-A
>
> E: ggree...@visa.com 
>
> M: 650-269-7902
>
> EmailSig-TaglineVersion
>
> *From:*Geertjan Wielenga >

> *Sent:* Sunday, August 30, 2020 2:50 PM
> *To:* Greenberg, Gary >

> *Cc:* users@netbeans.apache.org 
> *Subject:* Re: Try out and vote for Apache NetBeans 12.1
>
> You must have an .m2 folder somewhere, delete it. NetBeans might not
> be using the latest Maven version, best to use the latest Maven version.
>
> At this point I cannot help you further. I simply suggest setting up
> Maven from scratch.
>
> Gj
>
> On Sun, 30 Aug 2020 at 23:47, Greenberg, Gary
> mailto:ggree...@visa.com.invalid> 
>> 
wrote:

>
>
>    What do you mean from scratch?
>
>    I was using Maven built-in into Netbeans.
>
>
>    Do you suggest to install maven outside of NB?
>
>    Gary Greenberg
>
>    Staff Software Engineer
>
>    Data Product Development, BI-A
>
>    E: ggree...@visa.com  
>

>
>    M: 650-269-7902
>
>    EmailSig-TaglineVersion
>
>    *From:*Geertjan Wielenga 

>    >>
>
>
>    *Sent:* Sunday, August 30, 2020 2:14 PM
>
>
>    *To:* Greenberg, Gary  >>

>
>    *Cc:* users@netbeans.apache.org 
 >

>
>    *Subject:* Re: Try out and vote for Apache NetBeans 12.1
>
>    Well, sounds like something is wrong with your Maven installation.
>    I recommend you uninstall, remove the .m2 folder, and set up Maven
>    again completely from scratch.
>
>    Gj
>
>    On Sun, Aug 30, 2020 at 11:05 PM Greenberg, Gary
>    mailto:ggree...@visa.com.invalid> 
>> 
wrote:

>
>        I found out what was wrong with it.
>
>
>        Apparently security update removed almost half of jars in
>        JDK1.8 (my project is using this platform).
>
>        Why did it do so, I do not know.
>
>        Anyway, I reinstalled Java 8 JDK (and upgraded from build 251
>        to 265 along the way).
>
>        Hanging and problems with opening files disappeared.
>
>        However, I still have the problem with Maven dependencies search.
>
>        It never worked for me in neither version 11 nor 12.
>
>        As I understood, other people do not have this problem and
>        this feature works for them.
>
>        Can someone help me to find out what is wrong with my
>        installation and how do I enable dependency search.
>
>
>        Gary Greenberg
>        Staff Software Engineer
>
>        Data Product Development, BI-A
>        E: ggree...@visa.com  
>

>        M: 650-269-7902


-
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: Java programs run in Netbeans but not outside

2020-08-15 Thread Bradley Willcott

Hi Bayless,

Are you using an Ant build or Maven?  If Maven, have a look at 
"maven-jar-plugin" and "maven-dependency-plugin".  Here is an example of 
both from one of my projects:


    
    
    
org.apache.maven.plugins
maven-jar-plugin
    3.2.0
    
    
    
true
libs/ <<===  Important
org.markdownj.cli.Main
true
true
    
    
    
    
    
org.apache.maven.plugins
maven-dependency-plugin
    3.1.1
    
    
    copy-dependencies
    prepare-package
    
copy-dependencies
    
    
runtime
test
    
    ${project.build.directory}/libs     
<<===  Important

    
    
    
    
    
    
    

Of course, the "<<===  Important" text is not part of the POM text.

All you need to do then is copy the 'libs' directory to the same 
directory you install the 'jar' file to, and then it should work a 
charm.  Does for me.


Brad.

On 15/8/20 8:13 pm, Bayless Kirtley wrote:
I recently upgraded from Netbeans 8.1 to 11.1  and due to problems 
with java 8 I also went to 11. I have been working on some existing 
projects and everything works fine from within Netbeans. When I try to 
deploy though, it seems that Netbeans is no longer including the lib 
directory in the dist directory and the programs will not run. Even 
when I just replace the jar file in the dist directory, leaving the 
lib directory as it was, the programs still will not run. What do I 
need to do to correct this situation?


Bayless





-
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: JavaFx Problem

2020-07-07 Thread Bradley Willcott

Hi there.

I could not get this to work using NB 12 and Ant.  However, I eventually 
got it to work with Maven, with a lot of mucking around. :-(


Firstly, you had the "create scene" code inside your loops.  By moving 
this outside of ALL loops, as the last thing to execute, it works. :-)


I have added the zipped NB 12 project for you to look at.

Regards Brad.


<>

-
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 11.3: Not reindexing local maven repo

2020-04-13 Thread Bradley Willcott
Ok, I renamed the "{HOME}/.cache/netbeans/11.3" directory to 
"{HOME}/.cache/netbeans/11.3-old", then restarted Netbeans.


After it had finished doing its 'Background scanning of projects', I 
then went to the "Services" tab, and opened the local repo.
It immediately started to re-index it.  The result was what I was hoping 
for!  Then I opened the 'central" repo, and it downloaded

the new index from there.

As someone reported hearing the man who had jumped off the Empire State 
building saying, on the way down: "So far so good!" :-)


So far so good,
Brad.

On 13/4/20 4:29 pm, Emilian Bold wrote:
You can always move those folders elsewhere then move them back. But I 
doubt it's related to the userdir, must be the cache.


--emi


On Mon, Apr 13, 2020 at 10:30 AM Bradley Willcott 
mailto:optusprepa...@gmail.com>> wrote:


Hi,

That doesn't seem very practical, as it will blow away all my
settings.  Further, I'm look for an ongoing solution, as I will
want to clean out those old files on a regular basis.

Brad.

On 13/4/20 2:23 pm, Geertjan Wielenga wrote:


Maybe also remove cachedir and, if that doesn’t help, userdir.
Location of both is in the About box.

Gj

On Mon, 13 Apr 2020 at 08:20, Bradley Willcott
mailto:optusprepa...@gmail.com>> wrote:

Hi there.

I have deleted some old "-SNAPSHOT" versions of some
projects, from my
local repo.  However, Netbeans still thinks that they exist!

I have tried to get it to 'update index', both from the
'Services' tab,
and from the 'Options' dialog.  Nothing happens.

I have even deleted the 'mavenindex' directory, and restarted
Netbeans.
This just caused Netbeans to go into an apparent loop trying
to index.
After over 12 hours, I shutdown Netbeans to stop this
process. Still no
index!

Any ideas?

Thank you,
Brad.


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail:
users-h...@netbeans.apache.org
<mailto: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 11.3: Not reindexing local maven repo

2020-04-13 Thread Bradley Willcott

Hi,

That doesn't seem very practical, as it will blow away all my settings.  
Further, I'm look for an ongoing solution, as I will want to clean out 
those old files on a regular basis.


Brad.

On 13/4/20 2:23 pm, Geertjan Wielenga wrote:


Maybe also remove cachedir and, if that doesn’t help, userdir. 
Location of both is in the About box.


Gj

On Mon, 13 Apr 2020 at 08:20, Bradley Willcott 
mailto:optusprepa...@gmail.com>> wrote:


Hi there.

I have deleted some old "-SNAPSHOT" versions of some projects,
from my
local repo.  However, Netbeans still thinks that they exist!

I have tried to get it to 'update index', both from the 'Services'
tab,
and from the 'Options' dialog.  Nothing happens.

I have even deleted the 'mavenindex' directory, and restarted
Netbeans.
This just caused Netbeans to go into an apparent loop trying to index.
After over 12 hours, I shutdown Netbeans to stop this process.
Still no
index!

Any ideas?

Thank you,
Brad.


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Netbeans 11.3: Not reindexing local maven repo

2020-04-13 Thread Bradley Willcott

Hi there.

I have deleted some old "-SNAPSHOT" versions of some projects, from my 
local repo.  However, Netbeans still thinks that they exist!


I have tried to get it to 'update index', both from the 'Services' tab, 
and from the 'Options' dialog.  Nothing happens.


I have even deleted the 'mavenindex' directory, and restarted Netbeans.  
This just caused Netbeans to go into an apparent loop trying to index.
After over 12 hours, I shutdown Netbeans to stop this process. Still no 
index!


Any ideas?

Thank you,
Brad.


-
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



Apache Tomcat 9.0.31

2020-03-11 Thread Bradley Willcott
I have been using Tomcat 9.0.27 without problems for sometime. Since I 
have now upgraded to NB 11.3 and JDK 14, I thought I might as well 
upgrade Tomcat.  However, it has not been totally plug and play.


Q: How does NB communicate with Tomcat?

When I start Tomcat from the Services tab, it displays the normal run of 
information, then when it reaches: ". . .Catalina.start Server startup . 
. .", it stops, then after a delay, pops up a message saying that Apache 
Tomcat failed to start.  Obviously NB is not communicating with Tomcat.


I have compared all the configuration files between v9.0.27 and v9.0.31 
and could find nothing of consequence.


Any ideas before I dump 31?

Thanks,

Brad.


-
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: Statement of disappointment

2020-03-10 Thread Bradley Willcott
I wish to make one final offering here.  I have found that looking at a 
working project has helped me to understand how things should be.


Therefore, if you are interested, go have a look at one of my open 
source projects: Markdownj CLI 


You will find everything you need to get your projects to work, and 
more.  There are a lot of twekes and extras.


Brad.

On 10/3/20 9:56 pm, Geertjan Wielenga wrote:


Did my best to help — received a ZIP file with a bunch of Java files 
and images, no NetBeans project at all.


I think a key lesson in this thread is: (1) please start a new thread 
for each problem you have, (2) please don’t send generic rants because 
(a) you yourself can probably express your problem much better by 
being concise and (b) others are going to start thinking they have 
similar points to make while in fact they have completely new points 
to make that have nothing to do with the initial point.


Please, let’s stop responding to this thread — the misunderstandings 
in just this one thread will take weeks to untangle.


Gj

On Tue, 10 Mar 2020 at 14:42, Geertjan Wielenga > wrote:




I have a strong suspicion that the image files are not actually in
the project, instead, they are somewhere outside of it.

I’m happy to spend time investigating the code, though let’s just
note that all this has nothing at all to do with this thread — a
few basic Java tutorials should be followed, I think. NetBeans is
a tool that assumes you have a basic understanding of the Java
concepts and language.

Gj

On Tue, 10 Mar 2020 at 14:38, Glenn Holmer
 wrote:

On 3/10/20 7:47 AM, Judi Rastall wrote:
> I have been doing some digging around and the first line
where an image
> is called is the line identified as giving the error.
However, this is
> part of the code generated by Netbeans when I created the
panel using
> the design feature in Netbeans. In other words, I cannot
alter it!
> Netbeans knows best!

What NetBeans is trying to say is not to edit that code
directly (which
he wisely won't allow you to do in any case). But if you click
on your
panel in design view and look over to the right at the panel
properties,
there are three buttons: "Properties", "Events", and "Code".
Click the
"Code" button and you will see a number of options for
customizing the
code that NetBeans generates.

-- 
Glenn Holmer (Linux registered user #16682)

"After the vintage season came the aftermath -- and Cenbe."

-
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: Preview features

2020-03-07 Thread Bradley Willcott

Thank you.  I didn't look hard enough before.  Here is what works:

    
org.codehaus.mojo
exec-maven-plugin
    1.6.0
    
    
Markdownj-Compile
prepare-package
    
exec
    
    
java
--enable-preview -classpath %classpath 
org.markdownj.cli.Main -v:2 -s src/docs/manual -d target/manual 
-wr


false
true
    
    
    
    
    
org.markdownj
markdownj-cli
0.1.15-SNAPSHOT
    jar
    
    
    

It wasn't accessing the jar file, but the 'class' file!  I'll upload the 
changes.


Thanks again
Brad.

On 8/3/20 5:12 am, Geertjan Wielenga wrote:

Can you do this, please:

1. Right-click the project.
2. Choose "Run".
3. Copy the content of the Output window in response to this e-mail.

Thanks,

Gj

On Sat, Mar 7, 2020 at 10:09 PM Bradley Willcott 
mailto:optusprepa...@gmail.com>> wrote:


'run' requires the packaged jar file (markdownj-cli-*.jar) that is
produced by this very project.  Bootstrapping!

On 8/3/20 5:01 am, Geertjan Wielenga wrote:

So run the project, rather than building it, and all will be
well. That’s because of your settings for ‘run’ action in
nbactions file.

Gj

On Sat, 7 Mar 2020 at 21:59, Bradley Willcott
mailto:optusprepa...@gmail.com>> wrote:

There is a reason for that.  This is being run in the:

prepare-package

At this point, there is no jar file to run.  I only have
access to the compiled class files, hence, using the:

java

instead of the:

exec

This is processing the 'md' files for the src/docs/manual,
storing the 'html' output in the target/manual directory.

All this works perfectly without the use of the /Preview
Features/.  I just like to use bleeding-edge technology.

On 8/3/20 4:22 am, Geertjan Wielenga wrote:


See my responses above.

Seems to me that when you do your build, you're not using
the settings you provided in nbactions.

Gj

On Sat, Mar 7, 2020 at 9:21 PM Bradley Willcott
mailto:optusprepa...@gmail.com>>
wrote:

Here are the links to the compiled jar files:

BEW Commons Library jar

<https://github.com/bewillcott/bewcommons/releases/tag/1.0.2-SNAPSHOT>
files

Markdownj-core jar

<https://github.com/bewillcott/markdownj/releases/tag/0.5.15-SNAPSHOT>
    files


    On 8/3/20 3:47 am, Bradley Willcott wrote:


There are two other projects you require.  I don't yet
know how to get a compiled package up there for download.

BEW Commons Library
<https://github.com/bewillcott/bewcommons>

Markdownj Core Library
<https://github.com/bewillcott/markdownj/core>

I will look into uploading compiled versions.

On 8/3/20 3:42 am, Geertjan Wielenga wrote:

Trying to reproduce, but this is nowhere to be found:

        
com.bew
BEWCommons
1.0.2-SNAPSHOT
        

    Gj

    On Sat, Mar 7, 2020 at 8:31 PM Bradley Willcott
mailto:optusprepa...@gmail.com>> wrote:

Thank you for that.

However, I have already plumbed those depths.  If
you would take a look at the pom.xml

<https://github.com/bewillcott/markdownj-cli/blob/master/pom.xml>
file.  I don't want to put it here as it is rather
long.

I have set the '--enable-preview' option for
'maven-compiler-plugin' and 'maven-surefire-plugin'.

On 8/3/20 3:12 am, Geertjan Wielenga wrote:

Read:

https://netbeans.apache.org/download/nb113/index.html

        Gj

On Sat, 7 Mar 2020 at 19:12, Bradley Willcott
mailto:optusprepa...@gmail.com>> wrote:

I have just installed both JDK 14 and NB 11.3.

I am trying to incorporate 14's preview
features into an on-going project: Markdownj
CLI
<https://github.com/bewillcott/markdownj-cli>. 
However, part of my POM processing causes an
error:

"java.lang.UnsupportedClassVersionError:
Preview features are not enabled for
org/markdownj/cli/Main (class file version
58.65535). Try running with '--enable-preview'"

The part that is the culprit is:


Re: Preview features

2020-03-07 Thread Bradley Willcott
'run' requires the packaged jar file (markdownj-cli-*.jar) that is 
produced by this very project.  Bootstrapping!


On 8/3/20 5:01 am, Geertjan Wielenga wrote:
So run the project, rather than building it, and all will be well. 
That’s because of your settings for ‘run’ action in nbactions file.


Gj

On Sat, 7 Mar 2020 at 21:59, Bradley Willcott <mailto:optusprepa...@gmail.com>> wrote:


There is a reason for that.  This is being run in the:

prepare-package

At this point, there is no jar file to run.  I only have access to
the compiled class files, hence, using the:

java

instead of the:

exec

This is processing the 'md' files for the src/docs/manual, storing
the 'html' output in the target/manual directory.

All this works perfectly without the use of the /Preview
Features/.  I just like to use bleeding-edge technology.

On 8/3/20 4:22 am, Geertjan Wielenga wrote:


See my responses above.

Seems to me that when you do your build, you're not using the
settings you provided in nbactions.

Gj

On Sat, Mar 7, 2020 at 9:21 PM Bradley Willcott
mailto:optusprepa...@gmail.com>> wrote:

Here are the links to the compiled jar files:

BEW Commons Library jar
<https://github.com/bewillcott/bewcommons/releases/tag/1.0.2-SNAPSHOT>
files

Markdownj-core jar
<https://github.com/bewillcott/markdownj/releases/tag/0.5.15-SNAPSHOT>
files


    On 8/3/20 3:47 am, Bradley Willcott wrote:


There are two other projects you require. I don't yet know
how to get a compiled package up there for download.

BEW Commons Library <https://github.com/bewillcott/bewcommons>

Markdownj Core Library
<https://github.com/bewillcott/markdownj/core>

I will look into uploading compiled versions.

On 8/3/20 3:42 am, Geertjan Wielenga wrote:

Trying to reproduce, but this is nowhere to be found:

        
com.bew
BEWCommons
1.0.2-SNAPSHOT
        

Gj

    On Sat, Mar 7, 2020 at 8:31 PM Bradley Willcott
mailto:optusprepa...@gmail.com>>
wrote:

Thank you for that.

However, I have already plumbed those depths.  If you
would take a look at the pom.xml
<https://github.com/bewillcott/markdownj-cli/blob/master/pom.xml>
file.  I don't want to put it here as it is rather long.

I have set the '--enable-preview' option for
'maven-compiler-plugin' and 'maven-surefire-plugin'.

On 8/3/20 3:12 am, Geertjan Wielenga wrote:

Read:

https://netbeans.apache.org/download/nb113/index.html

    Gj

    On Sat, 7 Mar 2020 at 19:12, Bradley Willcott
mailto:optusprepa...@gmail.com>> wrote:

I have just installed both JDK 14 and NB 11.3.

I am trying to incorporate 14's preview features
into an on-going project: Markdownj CLI
<https://github.com/bewillcott/markdownj-cli>. 
However, part of my POM processing causes an error:

"java.lang.UnsupportedClassVersionError: Preview
features are not enabled for
org/markdownj/cli/Main (class file version
58.65535). Try running with '--enable-preview'"

The part that is the culprit is:

        
org.codehaus.mojo
   
exec-maven-plugin
    1.6.0
        
    
Markdownj-Compile    
prepare-package
    
    java
    
    
   
--enable-preview
   
${project.build.directory}
   
false
   
true
   
org.markdownj.cli.Main
    
    -s
src/docs/manual
    -d
target/manual
   
-rwv:2
    
    
        
     
 

Re: Preview features

2020-03-07 Thread Bradley Willcott

There is a reason for that.  This is being run in the:

prepare-package

At this point, there is no jar file to run.  I only have access to the 
compiled class files, hence, using the:


java

instead of the:

exec

This is processing the 'md' files for the src/docs/manual, storing the 
'html' output in the target/manual directory.


All this works perfectly without the use of the /Preview Features/.  I 
just like to use bleeding-edge technology.


On 8/3/20 4:22 am, Geertjan Wielenga wrote:


See my responses above.

Seems to me that when you do your build, you're not using the settings 
you provided in nbactions.


Gj

On Sat, Mar 7, 2020 at 9:21 PM Bradley Willcott 
mailto:optusprepa...@gmail.com>> wrote:


Here are the links to the compiled jar files:

BEW Commons Library jar
<https://github.com/bewillcott/bewcommons/releases/tag/1.0.2-SNAPSHOT>
files

Markdownj-core jar
<https://github.com/bewillcott/markdownj/releases/tag/0.5.15-SNAPSHOT>
files


On 8/3/20 3:47 am, Bradley Willcott wrote:


There are two other projects you require.  I don't yet know how
to get a compiled package up there for download.

BEW Commons Library <https://github.com/bewillcott/bewcommons>

Markdownj Core Library <https://github.com/bewillcott/markdownj/core>

I will look into uploading compiled versions.

On 8/3/20 3:42 am, Geertjan Wielenga wrote:

Trying to reproduce, but this is nowhere to be found:

        
            com.bew
BEWCommons
1.0.2-SNAPSHOT
        

Gj

On Sat, Mar 7, 2020 at 8:31 PM Bradley Willcott
mailto:optusprepa...@gmail.com>> wrote:

Thank you for that.

However, I have already plumbed those depths.  If you would
take a look at the pom.xml
<https://github.com/bewillcott/markdownj-cli/blob/master/pom.xml>
file.  I don't want to put it here as it is rather long.

I have set the '--enable-preview' option for
'maven-compiler-plugin' and 'maven-surefire-plugin'.

On 8/3/20 3:12 am, Geertjan Wielenga wrote:

Read:

https://netbeans.apache.org/download/nb113/index.html

    Gj

    On Sat, 7 Mar 2020 at 19:12, Bradley Willcott
mailto:optusprepa...@gmail.com>>
wrote:

I have just installed both JDK 14 and NB 11.3.

I am trying to incorporate 14's preview features into
an on-going project: Markdownj CLI
<https://github.com/bewillcott/markdownj-cli>. 
However, part of my POM processing causes an error:

"java.lang.UnsupportedClassVersionError: Preview
features are not enabled for org/markdownj/cli/Main
(class file version 58.65535). Try running with
'--enable-preview'"

The part that is the culprit is:

        
org.codehaus.mojo    
exec-maven-plugin
    1.6.0
        
    
Markdownj-Compile    
prepare-package    
     java
    
    
   
--enable-preview
   
${project.build.directory}
   
false
   
true
   
org.markdownj.cli.Main
    
    -s
src/docs/manual
    -d
target/manual
   
-rwv:2    
     
        
     
    
   
org.markdownj
   
markdownj-cli
   
0.1.15-SNAPSHOT
    jar
        
     

If I comment out this entire plugin section, I can
complete the compile.  Somewhere, somehow, I need to
tell "exec-maven-plugin" to use the JDK 14 "java" app
with the "--enable-preview" option.

Any ideas?

Thanks,
Brad.





Re: Preview features

2020-03-07 Thread Bradley Willcott

Here are the links to the compiled jar files:

BEW Commons Library jar 
<https://github.com/bewillcott/bewcommons/releases/tag/1.0.2-SNAPSHOT> files


Markdownj-core jar 
<https://github.com/bewillcott/markdownj/releases/tag/0.5.15-SNAPSHOT> files



On 8/3/20 3:47 am, Bradley Willcott wrote:


There are two other projects you require.  I don't yet know how to get 
a compiled package up there for download.


BEW Commons Library <https://github.com/bewillcott/bewcommons>

Markdownj Core Library <https://github.com/bewillcott/markdownj/core>

I will look into uploading compiled versions.

On 8/3/20 3:42 am, Geertjan Wielenga wrote:

Trying to reproduce, but this is nowhere to be found:

        
            com.bew
BEWCommons
            1.0.2-SNAPSHOT
        

Gj

On Sat, Mar 7, 2020 at 8:31 PM Bradley Willcott 
mailto:optusprepa...@gmail.com>> wrote:


Thank you for that.

However, I have already plumbed those depths.  If you would take
a look at the pom.xml
<https://github.com/bewillcott/markdownj-cli/blob/master/pom.xml>
file.  I don't want to put it here as it is rather long.

I have set the '--enable-preview' option for
'maven-compiler-plugin' and 'maven-surefire-plugin'.

On 8/3/20 3:12 am, Geertjan Wielenga wrote:

Read:

https://netbeans.apache.org/download/nb113/index.html

Gj

On Sat, 7 Mar 2020 at 19:12, Bradley Willcott
mailto:optusprepa...@gmail.com>> wrote:

I have just installed both JDK 14 and NB 11.3.

I am trying to incorporate 14's preview features into an
on-going project: Markdownj CLI
<https://github.com/bewillcott/markdownj-cli>.  However,
part of my POM processing causes an error:

"java.lang.UnsupportedClassVersionError: Preview features are
not enabled for org/markdownj/cli/Main (class file version
58.65535). Try running with '--enable-preview'"

The part that is the culprit is:

        
org.codehaus.mojo    
exec-maven-plugin    
1.6.0     
        
Markdownj-Compile    
prepare-package    
     java
        
    
--enable-preview
   
${project.build.directory}
   
false
   
true
   
org.markdownj.cli.Main
    
    -s
src/docs/manual    
-d target/manual
    -rwv:2
    
        
         
     
    org.markdownj
   
markdownj-cli
    0.1.15-SNAPSHOT
    jar    
         


If I comment out this entire plugin section, I can complete
the compile. Somewhere, somehow, I need to tell
"exec-maven-plugin" to use the JDK 14 "java" app with the
"--enable-preview" option.

Any ideas?

Thanks,
Brad.





Re: Preview features

2020-03-07 Thread Bradley Willcott
There are two other projects you require.  I don't yet know how to get a 
compiled package up there for download.


BEW Commons Library <https://github.com/bewillcott/bewcommons>

Markdownj Core Library <https://github.com/bewillcott/markdownj/core>

I will look into uploading compiled versions.

On 8/3/20 3:42 am, Geertjan Wielenga wrote:

Trying to reproduce, but this is nowhere to be found:

        
            com.bew
            BEWCommons
            1.0.2-SNAPSHOT
        

Gj

On Sat, Mar 7, 2020 at 8:31 PM Bradley Willcott 
mailto:optusprepa...@gmail.com>> wrote:


Thank you for that.

However, I have already plumbed those depths.  If you would take a
look at the pom.xml
<https://github.com/bewillcott/markdownj-cli/blob/master/pom.xml>
file.  I don't want to put it here as it is rather long.

I have set the '--enable-preview' option for
'maven-compiler-plugin' and 'maven-surefire-plugin'.

On 8/3/20 3:12 am, Geertjan Wielenga wrote:

Read:

https://netbeans.apache.org/download/nb113/index.html

Gj

On Sat, 7 Mar 2020 at 19:12, Bradley Willcott
mailto:optusprepa...@gmail.com>> wrote:

I have just installed both JDK 14 and NB 11.3.

I am trying to incorporate 14's preview features into an
on-going project: Markdownj CLI
<https://github.com/bewillcott/markdownj-cli>.  However, part
of my POM processing causes an error:

"java.lang.UnsupportedClassVersionError: Preview features are
not enabled for org/markdownj/cli/Main (class file version
58.65535). Try running with '--enable-preview'"

The part that is the culprit is:

        
org.codehaus.mojo    
exec-maven-plugin    
1.6.0     
        
Markdownj-Compile    
prepare-package    
     java
        
    
--enable-preview
   
${project.build.directory}
   
false
   
true
   
org.markdownj.cli.Main
    
    -s
src/docs/manual    
-d target/manual
    -rwv:2
    
        
         
     
    org.markdownj
   
markdownj-cli
    0.1.15-SNAPSHOT
    jar    
         


If I comment out this entire plugin section, I can complete
the compile.  Somewhere, somehow, I need to tell
"exec-maven-plugin" to use the JDK 14 "java" app with the
"--enable-preview" option.

Any ideas?

Thanks,
Brad.



Re: Preview features

2020-03-07 Thread Bradley Willcott

Thank you for that.

However, I have already plumbed those depths.  If you would take a look 
at the pom.xml 
<https://github.com/bewillcott/markdownj-cli/blob/master/pom.xml> file.  
I don't want to put it here as it is rather long.


I have set the '--enable-preview' option for 'maven-compiler-plugin' and 
'maven-surefire-plugin'.


On 8/3/20 3:12 am, Geertjan Wielenga wrote:

Read:

https://netbeans.apache.org/download/nb113/index.html

Gj

On Sat, 7 Mar 2020 at 19:12, Bradley Willcott <mailto:optusprepa...@gmail.com>> wrote:


I have just installed both JDK 14 and NB 11.3.

I am trying to incorporate 14's preview features into an on-going
project: Markdownj CLI
<https://github.com/bewillcott/markdownj-cli>. However, part of my
POM processing causes an error:

"java.lang.UnsupportedClassVersionError: Preview features are not
enabled for org/markdownj/cli/Main (class file version 58.65535).
Try running with '--enable-preview'"

The part that is the culprit is:

        
org.codehaus.mojo    
exec-maven-plugin    
1.6.0     
        
Markdownj-Compile    
prepare-package     
    java
        
    
--enable-preview
   
${project.build.directory}
   
false
   
true
   
org.markdownj.cli.Main
    
    -s
src/docs/manual    
-d target/manual
    -rwv:2
        
         
         
    
org.markdownj    
markdownj-cli    
0.1.15-SNAPSHOT    
jar         
     

If I comment out this entire plugin section, I can complete the
compile.  Somewhere, somehow, I need to tell "exec-maven-plugin"
to use the JDK 14 "java" app with the "--enable-preview" option.

Any ideas?

Thanks,
Brad.



Re: NB 11.3 - "Send To"

2020-03-07 Thread Bradley Willcott

I don't think so.  I have attached a screen shot.


On 8/3/20 2:46 am, Валера Солдатов wrote:

Do you speak about 'Send To' from C++ plug-in?

07.03.2020 21:19, Bradley Willcott пишет:
What happened to the "Send To" tab on the Miscellaneous screen of the 
Options window?


I am currently using scripts in NB 11.2 to run my markdownj-cli app 
on a file by file basis.

How do I get it back?

Thanks,
Brad.



-
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

NB 11.3 - "Send To"

2020-03-07 Thread Bradley Willcott
What happened to the "Send To" tab on the Miscellaneous screen of the 
Options window?


I am currently using scripts in NB 11.2 to run my markdownj-cli app on a 
file by file basis.

How do I get it back?

Thanks,
Brad.



-
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



Preview features

2020-03-07 Thread Bradley Willcott

I have just installed both JDK 14 and NB 11.3.

I am trying to incorporate 14's preview features into an on-going 
project: Markdownj CLI . 
However, part of my POM processing causes an error:


"java.lang.UnsupportedClassVersionError: Preview features are not enabled 
for org/markdownj/cli/Main (class file version 58.65535). Try running 
with '--enable-preview'"


The part that is the culprit is:

         
org.codehaus.mojo     
exec-maven-plugin     
1.6.0      
         
Markdownj-Compile     
prepare-package      
    java     
      
    
--enable-preview 
    
${project.build.directory} 
    
false 
    
true 
    
org.markdownj.cli.Main 
         
-s src/docs/manual     
-d target/manual     
-rwv:2      
         
          
          
org.markdownj     
markdownj-cli     
0.1.15-SNAPSHOT     
jar          
     


If I comment out this entire plugin section, I can complete the 
compile.  Somewhere, somehow, I need to tell "exec-maven-plugin" to use 
the JDK 14 "java" app with the "--enable-preview" option.


Any ideas?

Thanks,
Brad.