Re: Anyone else building NetBeans behind a proxy server?

2022-06-21 Thread Matthias Bläsing
Hi,

I ran a clean build (after removing ~/.hgexternal). The build with a
direct connection still works.

Without cache ~ 12 minutes
With cache ~ 9 minutes

So for me as home user this is ok.

Greetings

Matthias

Am Donnerstag, dem 09.06.2022 um 21:03 -0700 schrieb John Neffenger:
> If you build NetBeans behind a proxy server, I would greatly appreciate 
> your help in testing the following pull request:
> 
>Make one connection to download a file, not three
>https://github.com/apache/netbeans/pull/4206
> 
> The test involves deleting the external cache (742 MB) and building 
> NetBeans from my pull request branch as follows:
> 
> $ rm -r ~/.hgexternalcache/*
> $ git clone -b go-gentle-on-proxies --depth 1 
> https://github.com/jgneff/netbeans.git
> $ cd netbeans
> $ ant -quiet -Dmetabuild.branch=master
> 
> Building from scratch takes about 13 minutes on my machine. Note that 
> it's important to start off with a clean clone of the repository to test 
> downloading all 565 external files.
> 
> Then post your results on the mailing list or in the pull request.
> 
> It would also be helpful to know how you're informing the build of the 
> proxy servers. For example, are you setting ANT_OPTS, exporting the 
> standard proxy environment variables, or using some other method?
> 
>export ANT_OPTS=-Dhttp.proxyHost=10.10.10.1 -Dhttp.proxyPort=8222 \
>-Dhttps.proxyHost=10.10.10.1 -Dhttps.proxyPort=8222
> 
>export https_proxy=http://10.10.10.1:8222/
>export http_proxy=http://10.10.10.1:8222/
> 


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

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





Re: 12.4 Can we fix cut and paste before release?

2022-06-21 Thread Eric Bresie
Not sure if this is related but I seem to recall a paste discussion on copy 
paste issue (with NB with the cursor) which had to do with HiDPI behavior.   
Are you in HiDPI setup?

I think the discussion may have be related to this issue (1) but not sure.


  1.  https://issues.apache.org/jira/plugins/servlet/mobile#issue/NETBEANS-585


Get Outlook for iOS

From: Neil C Smith 
Sent: Tuesday, June 21, 2022 9:53:25 AM
To: dev@netbeans.apache.org 
Subject: Re: 12.4 Can we fix cut and paste before release?

On Mon, 20 Jun 2022 at 14:27, Joachim Rohde
 wrote:
> I realized that any NetBeans RCP project which uses Java 17 is unable to
> use any copy/paste functionality. The IDE itself works (most of the
> times) but if I start a small RCP project from within NetBeans the RCP
> project is unable to copy/paste anything. Never.
> I observed this under Linux and Windows. I'm not sure if it's the same
> bug but maybe it could be an approach that's worthwhile investigating.

The RCP issue with 17 might be JPMS and other JDK change related?
Have you checked your add-opens and add-exports, as well as
-Djava.security.manager=allow, against the IDE defaults?

Best wishes,

Neil

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

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





Re: 12.4 Can we fix cut and paste before release?

2022-06-21 Thread Neil C Smith
On Mon, 20 Jun 2022 at 14:27, Joachim Rohde
 wrote:
> I realized that any NetBeans RCP project which uses Java 17 is unable to
> use any copy/paste functionality. The IDE itself works (most of the
> times) but if I start a small RCP project from within NetBeans the RCP
> project is unable to copy/paste anything. Never.
> I observed this under Linux and Windows. I'm not sure if it's the same
> bug but maybe it could be an approach that's worthwhile investigating.

The RCP issue with 17 might be JPMS and other JDK change related?
Have you checked your add-opens and add-exports, as well as
-Djava.security.manager=allow, against the IDE defaults?

Best wishes,

Neil

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

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





Re: 12.4 Can we fix cut and paste before release?

2022-06-21 Thread Jean-Marc Borer
Hi there,

May two cents. It started having this issue when I switched from Java8 to
Java11+ (Actually JDK 17). I never had such issues with NB12.4 and Java 8
before. It didn't happen either with our NB based applications with this
combination. Still wondering if we will switch to 14 and Java 17+... Well
not yet.

Cheers,

JM

On Mon, Jun 20, 2022 at 1:27 PM Joachim Rohde 
wrote:

> I realized that any NetBeans RCP project which uses Java 17 is unable to
> use any copy/paste functionality. The IDE itself works (most of the
> times) but if I start a small RCP project from within NetBeans the RCP
> project is unable to copy/paste anything. Never.
> I observed this under Linux and Windows. I'm not sure if it's the same
> bug but maybe it could be an approach that's worthwhile investigating.
>
> Joachim
>
> On 6/17/22 21:10, Scott Palmer wrote:
> > Well I installed NB14 and forgot to add
> > -J-Dorg.netbeans.NbClipboard.level=FINEST to the conf file and of
> > course the clipboard has failed twice already...
> >
> > So frustrating. Why does it happen exactly when I don't have the logging
> > enabled?  Perhaps that is a clue, maybe the logging affects some race
> > condition? I don't know.
> >
> > Scott
> >
> > On Fri, Aug 6, 2021 at 11:27 AM Geertjan Wielenga
> >  wrote:
> >
> >> will/won’t have.
> >>
> >> Start with a fresh userdir and a standard NetBeans.conf, just with
> >> -J-Dorg.netbeans.NbClipboard.level=FINEST.
> >>
> >> Then Neil can investigate since he nor I nor others wanting to help can
> >> reproduce this so far.
> >>
> >> Gj
> >>
> >> On Fri, 6 Aug 2021 at 17:24, Geertjan Wielenga <
> >> geertjan.wiele...@googlemail.com> wrote:
> >>
> >>> Indeed, please test without settings that regular installs will have.
> >>>
> >>> Gj
> >>>
> >>> On Fri, 6 Aug 2021 at 17:22, Scott Palmer  wrote:
> >>>
>  Thanks,
> 
>  I’ve updated my netbeans.conf file to have
>  -J-Dorg.netbeans.NbClipboard.level=FINEST as well as
>  -J-Dnetbeans.slow.system.clipboard.hack=false
>  Though I should probably test without that last property as well, as
> it
>  isn’t what regular installs will have.
> 
>  I’m just doing whatever I can to avoid the frustration of a broken
>  clipboard at this point though.  You can imagine how infuriating it is
> >> when
>  something so basic just stops working when you need it.  Restarting
> the
> >> IDE
>  so I can paste something is rather disruptive.
> 
>  Cheers,
> 
>  Scott
> 
> 
> > On Aug 6, 2021, at 9:54 AM, Neil C Smith 
> >> wrote:
> >
> > On Fri, 6 Aug 2021 at 04:23, Scott Palmer 
> wrote:
> >> It would be great if the clipboard would work on Windows for
> NetBeans
>  12.5
> >
> > Yes, although that would involve understanding what's broken.  Just
> > spent some time having a look on my Win 10 machine (which I don't
> > usually use for development), but so far can't replicate.
> >
> > However ...
> >
> > On Fri, 14 May 2021 at 23:45, Scott Palmer 
> >> wrote:
> >> My netbeans.conf file contains
> >> ...
> >> -J-Dorg.netbeans.core.NbClipboard=-1
> >
> > I think that should be -J-Dorg.netbeans.NbClipboard.level=FINEST
> >
> > With that I do get a lot of output from the clipboard in the log.
> > Hopefully the logging if / when it fails may tell us something.
> >
> > Incidentally, your other log output about System clipboard not
> > available is I think because the Windows clipboard can only be opened
> > by one application at a time.  Not sure if it's related or not.
> >
> > Best wishes,
> >
> > Neil
> 
> 
>  -
>  To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
>  For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>