Re: RE: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-08 Thread Carl Mosca
But it would be cool to figure out how to trigger it because the installer
is a nice fallback IMHO.

On Tue, Mar 8, 2022 at 5:52 PM Peter Ream  wrote:

> Dave, thanks for your input. It is not necessary to have Security &
> Privacy unlocked before the trigger. Unlocking is necessary for deleting
> the app from Files and Folders. I was able to delete NB12.6 from Files and
> Folders, and get the retriggerr on first ~/Documents access. This mechanism
> I didn’t understand and now is clear. Installing NB13 thru Carl’s installer
> (basically downloading and manually building “Apache Netbeans 13.app)
> does not get this trigger mechanism. I am able to move forward with NB13,
> just with my projects outside ~/Documents, no big deal. Hopefully, the
> MacOS installer will resolve that when it is ready.
>
-- 
Regards,
Carl


RE: RE: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-08 Thread Peter Ream
Dave, thanks for your input. It is not necessary to have Security & Privacy
unlocked before the trigger. Unlocking is necessary for deleting the app
from Files and Folders. I was able to delete NB12.6 from Files and Folders,
and get the retriggerr on first ~/Documents access. This mechanism I didn’t
understand and now is clear. Installing NB13 thru Carl’s installer
(basically downloading and manually building “Apache Netbeans 13.app) does
not get this trigger mechanism. I am able to move forward with NB13, just
with my projects outside ~/Documents, no big deal. Hopefully, the MacOS
installer will resolve that when it is ready.


Re: Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Carl Mosca
Sorry, typo on the OS version.

On Sun, Mar 6, 2022 at 4:48 PM Carl Mosca  wrote:

> Yes I am running an M1 with the same 22.2.1 macOS. Also tried same on my
> Intel Mac.
>
> Both are working with no mods.
>
> On Sun, Mar 6, 2022 at 4:42 PM Peter Ream  wrote:
>
>> Are you running same environment as me? Latest release Monterey 12.2.1 on
>> Apple Silicon? I modified init.sh as I outlined in my last post with xattr.
>> I don’t think this had any affect.
>>
>> Gj, this has to be an installer issue and not related to the project. I
>> created a “Java with Maven | Java Application” on NB13. This generates main
>> class “Hello World.” It runs, no problem. I opened on NB12.6 and it ran
>> fine. I changed it on NB12.6, no problem and opened on NB13, no problem.
>> Deleted project. Created on NB12.6 same way, but had to make my own main
>> class as it does not. It ran no problem. Opened on NB13, unloadable. None
>> of my NB12.6 projects will load on NB13. Either there is a problem with
>> this method of installation or there is a problem with NB13 in my
>> environment.
>>
>> On 2022/03/06 21:03:15 Carl Mosca wrote:
>>
>> What were the modifications?  The script has a fair number of options that
>>
>> folks contributed so that it shouldn’t need modification.
>>
>>
>> I used it to install 13 unmodified and I am not having application, file
>> or
>>
>> directory read write or execute permission issues.
>>
>>
>> But it’s difficult to diagnose without an example as Gj has pointed out.
>>
>>
>>
>>
>>
>> On 2022/03/06 21:03:15 Carl Mosca wrote:
>>
>> What were the modifications?  The script has a fair number of options
>> tha,
>>
>> folks contributed so that it shouldn’t need modification.
>>
>>
>> I used it to install 13 unmodified and I am not having application, file
>> or
>>
>> directory read write or execute permission issues.
>>
>>
>> But it’s difficult to diagnose without an example as Gj has pointed out.
>>
>>
>>
>> --
> Regards,
> Carl
>
-- 
Regards,
Carl


Re: Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Carl Mosca
Yes I am running an M1 with the same 22.2.1 macOS. Also tried same on my
Intel Mac.

Both are working with no mods.

On Sun, Mar 6, 2022 at 4:42 PM Peter Ream  wrote:

> Are you running same environment as me? Latest release Monterey 12.2.1 on
> Apple Silicon? I modified init.sh as I outlined in my last post with xattr.
> I don’t think this had any affect.
>
> Gj, this has to be an installer issue and not related to the project. I
> created a “Java with Maven | Java Application” on NB13. This generates main
> class “Hello World.” It runs, no problem. I opened on NB12.6 and it ran
> fine. I changed it on NB12.6, no problem and opened on NB13, no problem.
> Deleted project. Created on NB12.6 same way, but had to make my own main
> class as it does not. It ran no problem. Opened on NB13, unloadable. None
> of my NB12.6 projects will load on NB13. Either there is a problem with
> this method of installation or there is a problem with NB13 in my
> environment.
>
> On 2022/03/06 21:03:15 Carl Mosca wrote:
>
> What were the modifications?  The script has a fair number of options that
>
> folks contributed so that it shouldn’t need modification.
>
>
> I used it to install 13 unmodified and I am not having application, file or
>
> directory read write or execute permission issues.
>
>
> But it’s difficult to diagnose without an example as Gj has pointed out.
>
>
>
>
>
> On 2022/03/06 21:03:15 Carl Mosca wrote:
>
> What were the modifications?  The script has a fair number of options tha,
>
> folks contributed so that it shouldn’t need modification.
>
>
> I used it to install 13 unmodified and I am not having application, file or
>
> directory read write or execute permission issues.
>
>
> But it’s difficult to diagnose without an example as Gj has pointed out.
>
>
>
> --
Regards,
Carl


RE: Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Peter Ream
Are you running same environment as me? Latest release Monterey 12.2.1 on
Apple Silicon? I modified init.sh as I outlined in my last post with xattr.
I don’t think this had any affect.

Gj, this has to be an installer issue and not related to the project. I
created a “Java with Maven | Java Application” on NB13. This generates main
class “Hello World.” It runs, no problem. I opened on NB12.6 and it ran
fine. I changed it on NB12.6, no problem and opened on NB13, no problem.
Deleted project. Created on NB12.6 same way, but had to make my own main
class as it does not. It ran no problem. Opened on NB13, unloadable. None
of my NB12.6 projects will load on NB13. Either there is a problem with
this method of installation or there is a problem with NB13 in my
environment.

On 2022/03/06 21:03:15 Carl Mosca wrote:

What were the modifications?  The script has a fair number of options that

folks contributed so that it shouldn’t need modification.


I used it to install 13 unmodified and I am not having application, file or

directory read write or execute permission issues.


But it’s difficult to diagnose without an example as Gj has pointed out.





On 2022/03/06 21:03:15 Carl Mosca wrote:

What were the modifications?  The script has a fair number of options tha,

folks contributed so that it shouldn’t need modification.


I used it to install 13 unmodified and I am not having application, file or

directory read write or execute permission issues.


But it’s difficult to diagnose without an example as Gj has pointed out.


Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Carl Mosca
What were the modifications?  The script has a fair number of options that
folks contributed so that it shouldn’t need modification.

I used it to install 13 unmodified and I am not having application, file or
directory read write or execute permission issues.

But it’s difficult to diagnose without an example as Gj has pointed out.

On Sun, Mar 6, 2022 at 3:52 PM Peter Ream  wrote:

> Still not there, but have a different result. I’m still using 
> carljmosca/netbeans-macos-bundle:
> NetBeans installation script for Mac OS X (github.com)
> . After downloading
> the code, I modified install.sh. After the netbeans download, I added xattr
> to downloaded zip.
>
> .
> .
> .
> echo "Unpacking Netbeans archive..."
> *xattr -dr com.apple.quarantine "${TMPFILE}"*
> ${SUDO_COMMAND}unzip ${QUIETUNZIP} "${TMPFILE}" -d
> "${INSTALL_DIR}/NetBeans/Apache NetBeans
> ${NETBEANS_VERSION}.app/Contents/Resources/“
> .
> .
> .
>
> Now when I try to open an existing project, I get, “project is not a valid
> Netbeans project.”
>
> Might just have to wait for MacOS installer.
>
> On 2022/03/06 17:16:59 Giles Winstanley wrote:
>
> The downloaded zip file would likely be flagged by macOS as quarantined,
>
> so it's very likely needs the flag removed for the application to
>
> function as expected. This can either be done on the zip file before
>
> unzipping, or on the contents afterwards.
>
>  xattr -r -d com.apple.quarantine 
>
>
> Clearly you need to have trust in the contents of the folder to take
>
> this avenue, so I'm assuming the PGP/SHA checks have been done as
>
> appropriate. Once the quarantine flag is removed it should hopefully be
>
> back working as expected, although since you've already tried opening
>
> the application previously, it's probably worth giving it a fresh start
>
> before launch by deleting the new configuration it made and letting it
>
> import from a previous version as needed:
>
>  rm -rf "$HOME/Library/Application Support/NetBeans/13"
>
>
> Hope that helps,
>
>
> Stan
>
>
>
>
>
> On 2022/03/06 17:16:59 Giles Winstanley wrote:
>
> The downloaded zip file would likely be flagged by macOS as quarantined,
>
> so it's very likely needs the flag removed for the application to
>
> function as expected. This can either be done on the zip file before
>
> unzipping, or on the contents afterwards.
>
>  xattr -r -d com.apple.quarantine
>
>
> Clearly you need to have trust in the contents of the folder to take
>
> this avenue, so I'm assuming the PGP/SHA checks have been done as
>
> appropriate. Once the quarantine flag is removed it should hopefully be
>
> back working as expected, although since you've already tried opening
>
> the application previously, it's probably worth giving it a fresh start
>
> before launch by deleting the new configuration it made and letting it
>
> import from a previous version as needed:
>
>  rm -rf "$HOME/Library/Application Support/NetBeans/13"
>
>
> Hope that helps,
>
>
> Stan
>
>
>
>
>
> --
Regards,
Carl


Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Geertjan Wielenga
Nobody is going to be able to help you, with or without the installer,
without the project or a similar project, that can be used to
reproduce the problem.

Gj

On Sun, Mar 6, 2022 at 9:52 PM Peter Ream  wrote:
>
> Still not there, but have a different result. I’m still using 
> carljmosca/netbeans-macos-bundle: NetBeans installation script for Mac OS X 
> (github.com). After downloading the code, I modified install.sh. After the 
> netbeans download, I added xattr to downloaded zip.
>
> .
> .
> .
> echo "Unpacking Netbeans archive..."
> xattr -dr com.apple.quarantine "${TMPFILE}"
> ${SUDO_COMMAND}unzip ${QUIETUNZIP} "${TMPFILE}" -d 
> "${INSTALL_DIR}/NetBeans/Apache NetBeans 
> ${NETBEANS_VERSION}.app/Contents/Resources/“
> .
> .
> .
>
> Now when I try to open an existing project, I get, “project is not a valid 
> Netbeans project.”
>
> Might just have to wait for MacOS installer.
>
> On 2022/03/06 17:16:59 Giles Winstanley wrote:
>
> The downloaded zip file would likely be flagged by macOS as quarantined,
>
> so it's very likely needs the flag removed for the application to
>
> function as expected. This can either be done on the zip file before
>
> unzipping, or on the contents afterwards.
>
>  xattr -r -d com.apple.quarantine 
>
>
> Clearly you need to have trust in the contents of the folder to take
>
> this avenue, so I'm assuming the PGP/SHA checks have been done as
>
> appropriate. Once the quarantine flag is removed it should hopefully be
>
> back working as expected, although since you've already tried opening
>
> the application previously, it's probably worth giving it a fresh start
>
> before launch by deleting the new configuration it made and letting it
>
> import from a previous version as needed:
>
>  rm -rf "$HOME/Library/Application Support/NetBeans/13"
>
>
> Hope that helps,
>
>
> Stan
>
>
>
>
>
> On 2022/03/06 17:16:59 Giles Winstanley wrote:
>
> The downloaded zip file would likely be flagged by macOS as quarantined,
>
> so it's very likely needs the flag removed for the application to
>
> function as expected. This can either be done on the zip file before
>
> unzipping, or on the contents afterwards.
>
>  xattr -r -d com.apple.quarantine
>
>
> Clearly you need to have trust in the contents of the folder to take
>
> this avenue, so I'm assuming the PGP/SHA checks have been done as
>
> appropriate. Once the quarantine flag is removed it should hopefully be
>
> back working as expected, although since you've already tried opening
>
> the application previously, it's probably worth giving it a fresh start
>
> before launch by deleting the new configuration it made and letting it
>
> import from a previous version as needed:
>
>  rm -rf "$HOME/Library/Application Support/NetBeans/13"
>
>
> Hope that helps,
>
>
> Stan
>
>
>
>
>

-
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: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Peter Ream
Still not there, but have a different result. I’m still using
carljmosca/netbeans-macos-bundle:
NetBeans installation script for Mac OS X (github.com)
. After downloading
the code, I modified install.sh. After the netbeans download, I added xattr
to downloaded zip.

.
.
.
echo "Unpacking Netbeans archive..."
*xattr -dr com.apple.quarantine "${TMPFILE}"*
${SUDO_COMMAND}unzip ${QUIETUNZIP} "${TMPFILE}" -d
"${INSTALL_DIR}/NetBeans/Apache NetBeans
${NETBEANS_VERSION}.app/Contents/Resources/“
.
.
.

Now when I try to open an existing project, I get, “project is not a valid
Netbeans project.”

Might just have to wait for MacOS installer.

On 2022/03/06 17:16:59 Giles Winstanley wrote:

The downloaded zip file would likely be flagged by macOS as quarantined,

so it's very likely needs the flag removed for the application to

function as expected. This can either be done on the zip file before

unzipping, or on the contents afterwards.

 xattr -r -d com.apple.quarantine 


Clearly you need to have trust in the contents of the folder to take

this avenue, so I'm assuming the PGP/SHA checks have been done as

appropriate. Once the quarantine flag is removed it should hopefully be

back working as expected, although since you've already tried opening

the application previously, it's probably worth giving it a fresh start

before launch by deleting the new configuration it made and letting it

import from a previous version as needed:

 rm -rf "$HOME/Library/Application Support/NetBeans/13"


Hope that helps,


Stan





On 2022/03/06 17:16:59 Giles Winstanley wrote:

The downloaded zip file would likely be flagged by macOS as quarantined,

so it's very likely needs the flag removed for the application to

function as expected. This can either be done on the zip file before

unzipping, or on the contents afterwards.

 xattr -r -d com.apple.quarantine


Clearly you need to have trust in the contents of the folder to take

this avenue, so I'm assuming the PGP/SHA checks have been done as

appropriate. Once the quarantine flag is removed it should hopefully be

back working as expected, although since you've already tried opening

the application previously, it's probably worth giving it a fresh start

before launch by deleting the new configuration it made and letting it

import from a previous version as needed:

 rm -rf "$HOME/Library/Application Support/NetBeans/13"


Hope that helps,


Stan


RE: Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Peter Ream
Last login: Sun Mar  6 12:42:40 on ttys000

userid@Peters-MacBook-Air Handicap % ls -l

total 32

-rw-r--r--  1 userid  staff  1028 Jan 25 12:42 nb-configuration.xml

-rw-r--r--  1 userid  staff  2309 Jan 25 12:42 nbactions.xml

-rw-r--r--  1 userid  staff  5336 Nov 16 14:14 pom.xml

drwxr-xr-x  5 userid  staff   160 Jan 25 12:42 src

userid@Peters-MacBook-Air Handicap %


Userid is me.


Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Carl Mosca
Peter,

Can you provide the output from ls -l for the project(s) that you're trying
to open?  Are you signed in to this computer as "user"?

Carl

On Sun, Mar 6, 2022 at 12:46 PM Peter Ream  wrote:

> Carl, I think permission/ownership is the problem. Not sure what I need
> to do. I substituted “user” for my userid.
>
> Stan. I think you are onto something. I have always used the installers to
> install NB. Used this script for the first time. Took awhile to figure it
> out. I do see this:
>
> userid@Peters-MacBook-Air NetBeans % ls -l
>
> total 0
>
> drwxrwxr-x  4 userid admin  128 Dec  6 13:50 Apache NetBeans 12.6.app
>
> drwxr-xr-x  3 root   wheel   96 Mar  6 10:56 Apache NetBeans 13.app
>
> userid@Peters-MacBook-Air NetBeans %
>
>
> I see NB13 is owned by root where NB12.6 is owned by me. Could this be
> causing the issue?
>
>
> All checksums are in order. I have run into that quarantining issue
> before, but not sure that is the issue here.
>
> Peter
>


-- 
Carl J. Mosca


RE: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Peter Ream
Carl, I think permission/ownership is the problem. Not sure what I need to
do. I substituted “user” for my userid.

Stan. I think you are onto something. I have always used the installers to
install NB. Used this script for the first time. Took awhile to figure it
out. I do see this:

userid@Peters-MacBook-Air NetBeans % ls -l

total 0

drwxrwxr-x  4 userid admin  128 Dec  6 13:50 Apache NetBeans 12.6.app

drwxr-xr-x  3 root   wheel   96 Mar  6 10:56 Apache NetBeans 13.app

userid@Peters-MacBook-Air NetBeans %


I see NB13 is owned by root where NB12.6 is owned by me. Could this be
causing the issue?


All checksums are in order. I have run into that quarantining issue before,
but not sure that is the issue here.

Peter