Re: NetBeans 13, subversion, buildnumber plugin, Macintosh failed build

2022-03-25 Thread Mark Eggers

Hi,

Thanks for responding.

I can't check since the Macintosh user is not around at present. 
However, while reading brew documentation it says that there are soft 
links to /usr/local/bin for all the installations.


If I was writing an installation system, that's how I would do it. That 
way you can upgrade by installing software in one place and moving the 
links. If the upgrade causes grief, you can just move the links back. If 
the upgrade is good, you can then uninstall the older version.


I do that with lots of frequently  upgraded software on my Linux platforms.

. . . just my two cents
/mde/

On 3/25/2022 1:08 AM, Juan Miguel Escribano wrote:

Hi,

I think I installed Subversion with brew too, but my path to it is : 
/usr/local/opt/svn/bin
¿Could you check it?

Juan Miguel


El 25 mar 2022, a las 0:06, Mark Eggers  
escribió:

I'm trying to help a user on a Macintosh use NetBeans 13. I do not have a 
Macintosh.

Our pom.xml has the buildnumber-maven-plugin that runs in the validate phase. 
It populates some properties (revision and branch) to be added to a couple of 
files via resource filtering.

This works fine on Windows and Linux. It also works fine on the user's 
Macintosh on the command line.

The build failed error only occurs on a Macintosh when running from 
aproject->Clean and Build in NetBeans.

The error happens when executing the following (part of mvn -X):

Executing: /bin/sh -c cd '/Users/auser/NetBeansProjects/aproject' && 'svn'
'--username' 'auser' '--password' '*' '--no-auth-cache'
'--non-interactive' 'info'

The error is:

Failed to execute goal
org.codehaus.mojo:buildnumber-maven-plugin:3.0.0:create (default) on
project aproject:
Cannot get the revision information from the scm repository :
Exception while executing SCM command.:
Error while executing command.
Error while executing process.
Cannot run program "svn" (in directory
"/Users/auser/NetBeansProjects/aproject"): error=2,
No such file or directory

aproject->Subversion->Update->Update to HEAD works as expected.

The Preferences->Team->Subversion->Preferred Client (CLI) has the path 
/usr/local/bin.

Opening a Terminal window in NetBeans (Window->IDE Tools->Terminal), changing 
to /Users/auser/NetBeansProjects/aproject and executing mvn package works as expected.

Subversion was installed via brew. NetBeans was installed from the .dmg.

I'm currently at a loss.

Any ideas would be welcome.

. . . just my two cents
/mde/



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

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





OpenPGP_signature
Description: OpenPGP digital signature


Why is the JavaFX JavaDoc so bad?

2022-03-25 Thread Will Hartung
Why is the JavaFX JavaDoc so bad?

I'm using Maven, JavaFX 17.0.2. I've downloaded the javadocs, I've
downloaded the sources.

But during autocomplete, it seems most of the javadoc doesn't load. Not
all, there's certainly some, but if you go into autocomplete on something
(say a TextField), most of the entries are blank.

Or, something like a simple javafx.geometry.Point2D.

If you try to do a "new Point2D", and autocomplete just gives "double d,
double d1" instead of x, y.

But if you look at the javadoc:
https://openjfx.io/javadoc/18/javafx.graphics/javafx/geometry/Point2D.html#%3Cinit%3E(double,double)

The javadoc has "x, y".

This is systemic through the JavaFX libraries. Are they being built wrong?
I mean, it's JavaDoc. We've had this since 1996...

Just curious why it's so messed up with JavaFX.

Thanks,

Will Hartung


Re: NetBeans 13, subversion, buildnumber plugin, Macintosh failed build

2022-03-25 Thread Juan Miguel Escribano
Hi,

I think I installed Subversion with brew too, but my path to it is : 
/usr/local/opt/svn/bin
¿Could you check it?

Juan Miguel

> El 25 mar 2022, a las 0:06, Mark Eggers  
> escribió:
> 
> I'm trying to help a user on a Macintosh use NetBeans 13. I do not have a 
> Macintosh.
> 
> Our pom.xml has the buildnumber-maven-plugin that runs in the validate phase. 
> It populates some properties (revision and branch) to be added to a couple of 
> files via resource filtering.
> 
> This works fine on Windows and Linux. It also works fine on the user's 
> Macintosh on the command line.
> 
> The build failed error only occurs on a Macintosh when running from 
> aproject->Clean and Build in NetBeans.
> 
> The error happens when executing the following (part of mvn -X):
> 
> Executing: /bin/sh -c cd '/Users/auser/NetBeansProjects/aproject' && 'svn'
>'--username' 'auser' '--password' '*' '--no-auth-cache'
>'--non-interactive' 'info'
> 
> The error is:
> 
> Failed to execute goal
> org.codehaus.mojo:buildnumber-maven-plugin:3.0.0:create (default) on
> project aproject:
>Cannot get the revision information from the scm repository :
>Exception while executing SCM command.:
>Error while executing command.
>Error while executing process.
>Cannot run program "svn" (in directory
>"/Users/auser/NetBeansProjects/aproject"): error=2,
>No such file or directory
> 
> aproject->Subversion->Update->Update to HEAD works as expected.
> 
> The Preferences->Team->Subversion->Preferred Client (CLI) has the path 
> /usr/local/bin.
> 
> Opening a Terminal window in NetBeans (Window->IDE Tools->Terminal), changing 
> to /Users/auser/NetBeansProjects/aproject and executing mvn package works as 
> expected.
> 
> Subversion was installed via brew. NetBeans was installed from the .dmg.
> 
> I'm currently at a loss.
> 
> Any ideas would be welcome.
> 
> . . . just my two cents
> /mde/


-
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