Re: netbeans launchers source code location

2019-04-05 Thread Gary Bello
Thanks for the location info.

When netbeans refused to start there is no popup or error msg seen.
It seems that any errors detected/reported by netbeans launcher do not
appear in the netbeans log,
ie S:\Sun\nb\userdir\9.0\var\log\messages.log

Anyone know if there is a logfile that can be examined that is used by the
launcher ?

Thanks
-Gary


On Fri, Apr 5, 2019 at 5:16 PM Wade Chandler 
wrote:

> On Fri, Apr 5, 2019, 19:27 Gary Bello  wrote:
>
> >
> > Wondering where the source code that causes this behavior is located ?
> >
>
> https://github.com/apache/incubator-netbeans/tree/master/nb/ide.launcher
>
> Wade
>


Re: netbeans launchers source code location

2019-04-05 Thread Gary Bello
I am using the incubator netbeans release versions.
each has etc/netbeans.conf configured with its own user dir, and cache dirs
- all different

i am running windows 10 64 bit,;

yes - i do build from source - but these were downloaded apache release
versions.

anyone with multiple versions of netbeans can also run the test - just try
to get 1 of each version running at same time.

Thanks
-Gary


On Fri, Apr 5, 2019 at 5:13 PM Wade Chandler 
wrote:

> Are you using the releases or something else like dev builds on your own?
> It sounds like you are using the same user directory.
>
> Wade
>
> On Fri, Apr 5, 2019, 19:27 Gary Bello  wrote:
>
> > Have noticed for some time that nb9, nb10, nb11 consider each version the
> > same when trying to run  one instance of nb9, nb10, or nb11 at same time.
> >
> > In other words.
> > when running nb9 cannot run nb10 or nb11
> > when running nb10 cannot run nb9 or nb11
> > when running nb11 cannot run nb9 or nb10;
> >
> > For all prior versions of netbeans from nb4.1 to nb8.2 can run different
> > versions of netbeans at same time - and I have done so many times for
> > various reasons.
> >
> > Wondering where the source code that causes this behavior is located ?
> >
> > I can run nb82 and nb9 or nb10 or nb11 at same time.
> >
> > Thanks
> > -Gary
> >
>


netbeans launchers source code location

2019-04-05 Thread Gary Bello
Have noticed for some time that nb9, nb10, nb11 consider each version the
same when trying to run  one instance of nb9, nb10, or nb11 at same time.

In other words.
when running nb9 cannot run nb10 or nb11
when running nb10 cannot run nb9 or nb11
when running nb11 cannot run nb9 or nb10;

For all prior versions of netbeans from nb4.1 to nb8.2 can run different
versions of netbeans at same time - and I have done so many times for
various reasons.

Wondering where the source code that causes this behavior is located ?

I can run nb82 and nb9 or nb10 or nb11 at same time.

Thanks
-Gary


Re: What to do with features for EARs and EJBs?

2019-01-28 Thread Gary Bello
+1 for ejb/ear support

On Mon, Jan 28, 2019 at 11:52 AM Andreas Ernst  wrote:

> +1 to keep the EAR and EJB support. YES, please.
>
> Am 28.01.19 um 20:42 schrieb Gaurav Gupta:
> > +1 to keep the EAR and EJB support.
> >
> > On Tue, 29 Jan 2019 at 1:07 AM, Antonio  wrote:
> >
> >> Hi,
> >>
> >> Last year I had to help out a customer that was stuck in Java 6 /
> >> WebLogic 8. NetBeans was of great help for me.
> >>
> >> I'd try to keep the EAR/EJB functionality. Don't know if as a plugin or
> >> bundled in the IDE, though.
> >>
> >> Maybe it saves the day to somebody else in the future.
> >>
> >> Cheers,
> >> Antonio
> >>
> >> El 28/1/19 a las 20:05, Geertjan Wielenga escribió:
> >>> Hi all,
> >>>
> >>> Especially to Java/Jakarta EE people out there, e.g., Ivar, Josh,
> David,
> >> at
> >>> least -- please advise what should be done with the EAR and EJB
> support,
> >> as
> >>> described here:
> >>>
> >>>
> >>
> https://blogs.apache.org/netbeans/entry/enterprise-cluster-integrated-into-apache
> >>>
> >>> And, hurray, thanks Matthias especially, and Vikas, Arunava, Sarvesh,
> and
> >>> Reema, for a lot of work on relicensing, for getting the enterprise
> >> cluster
> >>> integrated!
> >>>
> >>> Gj
> >>>
> >>
> >> -
> >> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> >> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> >>
> >> For further information about the NetBeans mailing lists, visit:
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >>
> >>
> >>
> >> --
> > Thanks and kind regards,
> > Gaurav Gupta
> >   
> > 
> >
>
>
> --
> ae | Andreas Ernst | IT Spektrum
> Postfach 5, 65612 Beselich
> Schupbacher Str. 32, 65614 Beselich, Germany
> Tel: +49-6484-91002 Fax: +49-6484-91003
> a...@ae-online.de | www.ae-online.de
> www.tachyon-online.de
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: Cannot build NetBeans from source

2018-12-29 Thread Gary Bello
i keep multiple version of nb installed;
so i build nb git soure with nb82/jdk8 without issue;

you could build with nb10 if you started it with jdk8 i would bet.
-Gary


On Sat, Dec 29, 2018 at 10:28 AM Peter Nabbefeld 
wrote:

> The README describes how to build NB from the console - I don't want
> that. If I cannot use an IDE for building, I could just use a text
> editor. BTW, memory is not a problem on my system - 4GB should be
> sufficient for NB, otherwise I could increase -Xmx.
>
> P.
>
>
> Am 29.12.18 um 18:44 schrieb Geertjan Wielenga:
> > There is nothing in the README about nbjdk.home. Please follow the
> > instructions in the README:
> >
> > https://github.com/apache/incubator-netbeans/blob/master/README.md
> >
> > Gj
> >
> >
> > On Sat, Dec 29, 2018 at 6:41 PM Peter Nabbefeld 
> > wrote:
> >
> >> Conditions are all met, simply the build file for applemenu module does
> >> not respect the settings for nbjdk.home. My best bet will be just to
> >> remove the module from cluster.properties file. However, the build file
> >> should be fixed, probably ...
> >>
> >> P.
> >>
> >>
> >> Am 29.12.18 um 15:14 schrieb Geertjan Wielenga:
> >>> https://github.com/apache/incubator-netbeans/blob/master/README.md
> >>>
> >>> Gj
> >>>
> >>> On Sat, Dec 29, 2018 at 1:29 PM Peter Nabbefeld <
> peter.nabbef...@gmx.de>
> >>> wrote:
> >>>
>  Hello,
> 
>  cannot build NetBeans from source:
>  - using git sources/master branch from
>  https://github.com/apache/incubator-netbeans.git
>  - using NB10 with java-11-openjdk on Arch Linux
>  - ~/incubator-netbeans/nbbuild/user.build.properties contains
>  nbjdk.home=/usr/lib64/jvm/java-8-openjdk
> 
> 
>  The problem cause is probably direct use of  in the
> applemenu
>  module's build script, as I get the following error messages:
> 
> 
> >>
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:22:
>  error: package java.awt.desktop does not exist
>  import java.awt.desktop.AboutEvent;
> 
> >>
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:23:
>  error: package java.awt.desktop does not exist
>  import java.awt.desktop.AboutHandler;
> 
> >>
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:24:
>  error: package java.awt.desktop does not exist
>  import java.awt.desktop.OpenFilesEvent;
> 
> >>
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:25:
>  error: package java.awt.desktop does not exist
>  import java.awt.desktop.OpenFilesHandler;
> 
> >>
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:26:
>  error: package java.awt.desktop does not exist
>  import java.awt.desktop.PreferencesEvent;
> 
> >>
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:27:
>  error: package java.awt.desktop does not exist
>  import java.awt.desktop.PreferencesHandler;
> 
> >>
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:28:
>  error: package java.awt.desktop does not exist
>  import java.awt.desktop.QuitEvent;
> 
> >>
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:29:
>  error: package java.awt.desktop does not exist
>  import java.awt.desktop.QuitHandler;
> 
> >>
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:30:
>  error: package java.awt.desktop does not exist
>  import java.awt.desktop.QuitResponse;
> 
> >>
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:40:
>  error: cannot find symbol
>  public class NbApplicationAdapterJDK9 extends NbApplicationAdapter
>  implements AboutHandler, OpenFilesHandler, PreferencesHandler,
> >> QuitHandler
>  {
>   symbol: class AboutHandler
> 
>  It seems, the desktop classes are missing because the module does not
>  respect nbjdk.home setting, so JDK 11 is used instead.
> 
>  Kind regards
> 
>  Peter
> 
> 
>  -
>  To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
>  For additional commands, e-mail:
> dev-h...@netbeans.incubator.apache.org
> 
>  For further information about the NetBeans mailing lists, visit:
>  https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 
> 
> >>
> >> 

Re: Cannot build NetBeans from source

2018-12-29 Thread Gary Bello
re building netbeans source;
i can always successfully build netbeans with nb82 - since it is running
jdk8 in my case;
when running nb9+ netbeans with jdk newer than jdk8 builds usually fail.

this seems to be documented - to build suppose to use jdk8;

i also would like to know how to build netbeans with newer jdk than jdk8,
-Gary



On Sat, Dec 29, 2018 at 9:44 AM Geertjan Wielenga
 wrote:

> There is nothing in the README about nbjdk.home. Please follow the
> instructions in the README:
>
> https://github.com/apache/incubator-netbeans/blob/master/README.md
>
> Gj
>
>
> On Sat, Dec 29, 2018 at 6:41 PM Peter Nabbefeld 
> wrote:
>
> > Conditions are all met, simply the build file for applemenu module does
> > not respect the settings for nbjdk.home. My best bet will be just to
> > remove the module from cluster.properties file. However, the build file
> > should be fixed, probably ...
> >
> > P.
> >
> >
> > Am 29.12.18 um 15:14 schrieb Geertjan Wielenga:
> > > https://github.com/apache/incubator-netbeans/blob/master/README.md
> > >
> > > Gj
> > >
> > > On Sat, Dec 29, 2018 at 1:29 PM Peter Nabbefeld <
> peter.nabbef...@gmx.de>
> > > wrote:
> > >
> > >> Hello,
> > >>
> > >> cannot build NetBeans from source:
> > >> - using git sources/master branch from
> > >> https://github.com/apache/incubator-netbeans.git
> > >> - using NB10 with java-11-openjdk on Arch Linux
> > >> - ~/incubator-netbeans/nbbuild/user.build.properties contains
> > >> nbjdk.home=/usr/lib64/jvm/java-8-openjdk
> > >>
> > >>
> > >> The problem cause is probably direct use of  in the
> applemenu
> > >> module's build script, as I get the following error messages:
> > >>
> > >>
> >
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:22:
> > >>
> > >> error: package java.awt.desktop does not exist
> > >> import java.awt.desktop.AboutEvent;
> > >>
> >
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:23:
> > >>
> > >> error: package java.awt.desktop does not exist
> > >> import java.awt.desktop.AboutHandler;
> > >>
> >
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:24:
> > >>
> > >> error: package java.awt.desktop does not exist
> > >> import java.awt.desktop.OpenFilesEvent;
> > >>
> >
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:25:
> > >>
> > >> error: package java.awt.desktop does not exist
> > >> import java.awt.desktop.OpenFilesHandler;
> > >>
> >
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:26:
> > >>
> > >> error: package java.awt.desktop does not exist
> > >> import java.awt.desktop.PreferencesEvent;
> > >>
> >
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:27:
> > >>
> > >> error: package java.awt.desktop does not exist
> > >> import java.awt.desktop.PreferencesHandler;
> > >>
> >
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:28:
> > >>
> > >> error: package java.awt.desktop does not exist
> > >> import java.awt.desktop.QuitEvent;
> > >>
> >
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:29:
> > >>
> > >> error: package java.awt.desktop does not exist
> > >> import java.awt.desktop.QuitHandler;
> > >>
> >
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:30:
> > >>
> > >> error: package java.awt.desktop does not exist
> > >> import java.awt.desktop.QuitResponse;
> > >>
> >
> /home/peter/incubator-netbeans/platform/applemenu/src/org/netbeans/modules/applemenu/NbApplicationAdapterJDK9.java:40:
> > >>
> > >> error: cannot find symbol
> > >> public class NbApplicationAdapterJDK9 extends NbApplicationAdapter
> > >> implements AboutHandler, OpenFilesHandler, PreferencesHandler,
> > QuitHandler
> > >> {
> > >> symbol: class AboutHandler
> > >>
> > >> It seems, the desktop classes are missing because the module does not
> > >> respect nbjdk.home setting, so JDK 11 is used instead.
> > >>
> > >> Kind regards
> > >>
> > >> Peter
> > >>
> > >>
> > >> -
> > >> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> > >> For additional commands, e-mail:
> dev-h...@netbeans.incubator.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.incubator.apache.org
> > For additional 

2nd windows screen icon for nb9 shows nb82 shape/color icon

2018-07-13 Thread Gary Bello
main screen icon show new nb9 icon

i have windows 10 with 2 displays - 2nd display is extended from the main -
not a duplicate.

Both displays have a task bar that show icons of running programs.

I built nb9 from the master git branch - not the release90 branch.

This if from a build just a few minutes ago and fresh git pull of master
branch;

do clean, then build-nozip;


-Gary


Re: NB 9 RC1 Updating Failes on Win 10

2018-07-01 Thread Gary Bello
I would suggest you insure your profile and cache directories used by
nb9rc1 are new for the initial startup
- do not use previous data.
check etc/netbeans.conf and see where the cache/profile directories are
located,
or in you netbeans use help/about and note the cache/userdir locations,
exit netbeeans, and then remove/empty those directories,
then restart netbeans and proceed from there.

-Gary


On Sun, Jul 1, 2018 at 2:10 PM, Geertjan Wielenga <
geertjan.wiele...@googlemail.com.invalid> wrote:

> So, don't update the IDE and simply use it.
>
> Gj
>
> On Sun, Jul 1, 2018 at 10:27 PM, Joseph Jalbert 
> wrote:
>
> > I have the "Java Source Base Plugin" error as well.  Had no idea how to
> > report that error or what it was in fact.  I will be listening to this
> > thread!
> >
> > I get the error on booting NetBeans, don't know how to update this
> version.
> > Downloaded netbeans.exe not built.  Windows 10  Preview Evaluation Build
> > 17704.rs Latest.
> >
> >
> >
> > From: Kenneth Fogel [mailto:kfo...@dawsoncollege.qc.ca]
> > Sent: Sunday, July 01, 2018 1:43 PM
> > To: dev@netbeans.incubator.apache.org
> > Subject: NB 9 RC1 Updating Failes on Win 10
> >
> >
> >
> > If there is a better place to report then then please let me know.
> >
> >
> >
> > When I install the RC1 binaries and go to update plugins I get:
> >
> >
> >
> >
> >
> >
> >
> > This happens when using a Java 8 SDK and a Java 10 SDK. Only difference
> > between 8 and 10 is that NetBeans does not show Ant as an update with
> Java
> > 8. Otherwise both want Java Source Base plugin installed. What is and
> where
> > is Java Source Base plugin.
> >
> >
> >
> > I'm using:
> >
> > Win 10 Pro
> >
> > Version 1803
> >
> > OS Build: 17134.112
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Ken
> >
> >
> >
> >
>


Re: Questions about contributing code and developing on top of Platform 9.0

2018-06-16 Thread Gary Bello
I debug netbeans by adding to etc/netbeans.conf netbeans_default_options
string
-J-agentlib:jdwp=transport=dt_socket,suspend=n,server=y,address=
127.0.0.1:61826

then run that netbeans and use a 2nd instance of netbeans to attach to the
address above
and set breakpoints/etc.

The relevant source code of netbeans is opened as a project so the
debugging netbeans
can show source for breakpoints.

one netbeans is used as the target for debugging and the 2nd for the
debugging.
-Gary


On Sat, Jun 16, 2018 at 4:24 AM, Jan Lahoda  wrote:

> Hi,
>
> On Fri, Jun 15, 2018 at 8:58 PM, Peter Steele 
> wrote:
>
> > Is there a guide any where for building netbeans in the netbeans ide so
> you
> > can use netbeans to debug things?
> >
>
> To work on NetBeans itself (on a module or a set of modules from the main
> repository), I think this approach is used typically:
> -ensure the IDE is built (either using command line or from IDE as show in
> the Geertjan's page) (this typically does only need to be done when
> significant changes are made to the sources, often by pulling in external
> changes).
> -open the set of modules you want to work on
> -then "Run", "Debug" and "Test" should work, when opening a single test
> file, it should be possible to run and debug the test, etc. These should be
> fairly fast, as these don't need to rebuild everything.
>
> Jan
>
>
> >
> > On Fri, 15 Jun 2018, 19:48 Dmitry Avtonomov, <
> dmitriy.avtono...@gmail.com>
> > wrote:
> >
> > > Thanks Matthias and Gj!
> > >
> > > I've added the extra Debug line to confluence wiki:
> > >
> > > https://cwiki.apache.org/confluence/display/NETBEANS/
> > Development+Environment
> > >
> > > On Fri, Jun 15, 2018 at 11:33 AM Matthias Bläsing <
> > > mblaes...@doppel-helix.eu>
> > > wrote:
> > >
> > > > Hi Dmitry,
> > > >
> > > > Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> > > > > Just wanted to point out that:
> > > > > 1) The Netbeans project is potentially loosing lots of people who
> > would
> > > > > have liked to contribute, but can't find a way how.
> > > >
> > > > the insight is good, so you obvisually went through this and could
> > > > improve the documentation. That would help the project and you.
> > > >
> > > > Remember: Many current contributors are around for a long time, so
> they
> > > > now the places to look and the thinks to do.
> > > >
> > > > > 2) 10 minute turnaround time for fix-build-run-test cycle is too
> > much.
> > > >
> > > > This will require some one to step up and look through the build
> where
> > > > the time is spend. But normally you don't need to rebuild the whole
> > > > IDE. You build once and if you need to modify a set of modules, you
> > > > just rebuild these.
> > > >
> > > > > 3) Most importantly I don't know how to start the whole thing in
> > debug
> > > > > mode. Do I need to modify the ant script to make it wait for
> debugger
> > > > > connection?
> > > >
> > > > You can pass java options through the netbeans launcher via
> > > > "-J". This will run netbeans with debugging enabled:
> > > >
> > > > /bin/netbeans
> > > > -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
> > > >
> > > > To run a freshly build netbeans you can invoke:
> > > >
> > > > ant -Ddebug.port=9009 tryme
> > > >
> > > > This will start the build IDE with a test userdir and it will wait on
> > > > tcp port 9009 for debugger connections.
> > > >
> > > > > 4) Just people fiddling around in debugger can lead to some fixes
> and
> > > > > contributions as we're observing system's behavior.
> > > >
> > > > Sure.
> > > >
> > > > I hope you stay and improve the situation.
> > > >
> > > > Matthias
> > > >
> > > > 
> -
> > > > To unsubscribe, e-mail: dev-unsubscribe@netbeans.
> incubator.apache.org
> > > > For additional commands, e-mail: dev-help@netbeans.incubator.
> > apache.org
> > > >
> > > > For further information about the NetBeans mailing lists, visit:
> > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > > >
> > > >
> > > >
> > > >
> > >
> >
>


Re: NetBeans user dir per release

2018-06-06 Thread Gary Bello
I keep multiple NB versions on each machine I use NB on. I even still have
nb4.1 on 1 machine and yes it requires an old JDK to run.
I keep separate user dirs. And edit each etc/netbean.conf file to insure no
compflict.
I also at times run multiple versions of NB at same time.

What ever you decide to do please don't break my ability to have old
versions and run different versions at same time.

The current nb9rc1 is still using "dev" as the userdir - it has not yet
been updated to something unique.
It should be changed before the final release.

Thanks
-Gary



On Wed, Jun 6, 2018 at 9:24 AM, Laszlo Kishalmi 
wrote:

> Thank you Jarda for the summary!
>
> Just checked the Upgrader code it is going to check for 8.2 installation.
>
>
>
> On 06/05/2018 08:49 PM, Jaroslav Tulach wrote:
>
>> Dne úterý 5. června 2018 21:40:55 CEST, Laszlo Kishalmi napsal(a):
>>
>>> Dear all,
>>>
>>> I just would like to start some discussion on the default user directory.
>>>
>> As usually I can point to https://platform.netbeans.org/
>> articles/installation.html where this
>> topic has been analyzed. To quote:
>>
>> "It is not reasonable to share this directory between different
>> /Products/ - the cache would
>> be useless, the logs would get confusing and also the user modifications
>> to the *config*
>> would could be ambiguous. That is why each /Product/ shall define its own
>> directory prefix
>> (based on its name)"
>>
>> Historically each NetBeans release has been treated as a separate
>> Product. The caches
>> would obviously be useless when switching between 8.1 and 8.2 and sharing
>> the same
>> directory.
>>
>> In addition to that modules do not guarantee forward compatiblity of
>> settings (e.g. 8.1
>> being able to read 8.2 settings). They could, but the module writers
>> usually have tons of
>> problems to be at least backward compatible (e.g. make sure 8.2 reads 8.1
>> settings).
>>
>> Originaly we always copied the whole 8.1 directory to 8.2 and used it,
>> but it turned out the
>> compatibility issues pop up everywhere. As such there is now the
>> "settings import" utility
>> which allows each module to explictly say which options/files to copy.
>>
>> The current state is a relatively stable balance between user experience
>> and module
>> developer capabilities. I wouldn't change it much.
>> -jt
>>
>> Btw. has anyone updated the import tool to detect 8.2 settings and copy
>> them?
>>
>> So far each and every NetBeans release had its distinct user directory
>>> like $HOME/.netbeans/8.0, $HOME/.netbeans/8.2rc1, etc. Do we want to
>>> follow this with Apache NetBeans (we are using dev at these moment) or
>>> just make a difference between dev and release, or if we plan to do more
>>> frequent releases in the future, shall we do something else?
>>>
>>> This is just came across my mind and thought it might worth to share it.
>>>
>>
>>
>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: netbeans maven support breaks trying to build JGit source

2018-03-25 Thread Gary Bello
update  -

modifying 2 pom.xml in jGit so that can use maven 3.3.9 yields
successful build from command line for jGit.

maven 3.3.9 is bundled version in nb9.

building jGit with netbeans bundled maven results in same errors reported.

-Gary


On Sun, Mar 25, 2018 at 2:30 AM, John McDonnell <mcdonnell.j...@gmail.com>
wrote:

> Apologies, the rest of this email thread only loaded in my mail client
> after responding.
>
>
>
> On 25 March 2018 at 10:04, John McDonnell <mcdonnell.j...@gmail.com>
> wrote:
>
> > What error are you getting?
> >
> > Does it build from the command line at all, or is the issue only
> happening
> > in NetBeans?
> >
> >
> >
> >
> > On 25 March 2018 at 04:06, Gary Bello <gary.be...@gmail.com> wrote:
> >
> >> To clarify ...
> >> I am not trying to have a build of netbeans make use of latest JGIt.
> >>
> >> I am simply trying to get netbeans to open the JGit maven project and
> do a
> >> build.
> >>
> >> -Gary
> >>
> >> On Sat, Mar 24, 2018 at 7:51 PM, Christian Bourque <
> >> christian.bour...@gmail.com> wrote:
> >>
> >> > Hi Gary,
> >> >
> >> > I've just sent a PR for the latest version of JGit with NetBeans:
> >> > https://github.com/apache/incubator-netbeans/pull/465
> >> >
> >> > Some dependencies of NetBeans need to be updated to be able to build
> the
> >> > latest JGit version...
> >> >
> >> > Christian
> >> >
> >> >
> >> > On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello <gary.be...@gmail.com>
> >> wrote:
> >> >
> >> > > JGit repository https://github.com/eclipse/jgit.git
> >> > >
> >> > > I have been trying to debug/fix the maven issue without success.
> >> > > So decided to alert the mail list.
> >> > >
> >> > > I have filed a bug report.
> >> > >
> >> > > Just checkout the JGit master and try to build with netbeans.
> >> > >
> >> > > The subprojects of JGit build separately with netbeans OK.
> >> > > The top level build is what fails.
> >> > >
> >> > > Thanks
> >> > > -Gary
> >> > >
> >> >
> >>
> >
> >
>


Re: netbeans maven support breaks trying to build JGit source

2018-03-24 Thread Gary Bello
The errors are NPE and the code that fails is building/maintaining a tree
to model the maven output for folding purposes
in the output window.

Also a command line invocation of maven works just fine without any
problems - its the invocation of maven from within netbeans,
where the problem occurs.

I hope that since jGit requires newer maven than 3.3.9 we don't ignore this
issue.

FYI I build Glassfish and Jersey with maven 3.5.2 from Netbeans 8.2 without
problems/issues.
I build many maven projects with Maven 3.5.2 from nb82 without issue - this
jGit is the 1st that has demonstrated this bug that I know of.

I hope we can update nb9 to use a newest maven or much newer than the
current bundled version 3.3.9 .

Perhaps I should see if I can build jGit with older maven 3.3.9 ? - would
require some POM changes.

-Gary






On Sat, Mar 24, 2018 at 10:39 PM, cowwoc <cow...@bbs.darktech.org> wrote:

> FYI, I don't think any committers are testing with Maven versions newer
> than 3.3.9. If they were, they would have run into this issue:
> https://issues.apache.org/jira/browse/NETBEANS-245
>
> Maybe other parts of Netbeans have compatibility problems with newer
> versions.
>
> Gili
>
>
> On 2018-03-25 1:36 AM, Gary Bello wrote:
>
>> Yes - https://issues.apache.org/jira/browse/NETBEANS-457
>> is the bug I filed.
>>
>> It was discovered building jGIt and have spent 2+ days trying to
>> debug/understand,
>> but I have been unable to figure it out.
>>
>> The issue happens with nb82 or nb9beta or latest incubator netbeans git
>> pull/build.
>>
>> A requirement of jGit maven config is a newer version of maven.
>> I needed to dnload a newer version of maven - jGit requires 3.5.2 (if i
>> remember).
>> and configure maven in netbeans to use the dnloaded version - not the
>> builtin,
>>
>> nb82 has maven has 3.0.5 bundled, and current nb9 git pull version has
>> maven 3.3.9 bundled.
>>
>> I am testing with maven 3.5.2 configured within nb9 current git
>> pull/build.
>>
>> -Gary
>>
>>
>> On Sat, Mar 24, 2018 at 9:14 PM, cowwoc <cow...@bbs.darktech.org> wrote:
>>
>> I assume you are referring to https://issues.apache.org/jira
>>> /browse/NETBEANS-457
>>>
>>> The stacktrace does not seem to be specific to JGit so this is a general
>>> bug.
>>>
>>> Gili
>>>
>>>
>>> On 2018-03-24 11:06 PM, Gary Bello wrote:
>>>
>>> To clarify ...
>>>> I am not trying to have a build of netbeans make use of latest JGIt.
>>>>
>>>> I am simply trying to get netbeans to open the JGit maven project and
>>>> do a
>>>> build.
>>>>
>>>> -Gary
>>>>
>>>> On Sat, Mar 24, 2018 at 7:51 PM, Christian Bourque <
>>>> christian.bour...@gmail.com> wrote:
>>>>
>>>> Hi Gary,
>>>>
>>>>> I've just sent a PR for the latest version of JGit with NetBeans:
>>>>> https://github.com/apache/incubator-netbeans/pull/465
>>>>>
>>>>> Some dependencies of NetBeans need to be updated to be able to build
>>>>> the
>>>>> latest JGit version...
>>>>>
>>>>> Christian
>>>>>
>>>>>
>>>>> On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello <gary.be...@gmail.com>
>>>>> wrote:
>>>>>
>>>>> JGit repository https://github.com/eclipse/jgit.git
>>>>>
>>>>>> I have been trying to debug/fix the maven issue without success.
>>>>>> So decided to alert the mail list.
>>>>>>
>>>>>> I have filed a bug report.
>>>>>>
>>>>>> Just checkout the JGit master and try to build with netbeans.
>>>>>>
>>>>>> The subprojects of JGit build separately with netbeans OK.
>>>>>> The top level build is what fails.
>>>>>>
>>>>>> Thanks
>>>>>> -Gary
>>>>>>
>>>>>>
>>>>>> -
>>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
>>> For additional commands, e-mail: dev-h...@netbeans.incubator.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.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: netbeans maven support breaks trying to build JGit source

2018-03-24 Thread Gary Bello
Yes - https://issues.apache.org/jira/browse/NETBEANS-457
is the bug I filed.

It was discovered building jGIt and have spent 2+ days trying to
debug/understand,
but I have been unable to figure it out.

The issue happens with nb82 or nb9beta or latest incubator netbeans git
pull/build.

A requirement of jGit maven config is a newer version of maven.
I needed to dnload a newer version of maven - jGit requires 3.5.2 (if i
remember).
and configure maven in netbeans to use the dnloaded version - not the
builtin,

nb82 has maven has 3.0.5 bundled, and current nb9 git pull version has
maven 3.3.9 bundled.

I am testing with maven 3.5.2 configured within nb9 current git pull/build.

-Gary


On Sat, Mar 24, 2018 at 9:14 PM, cowwoc <cow...@bbs.darktech.org> wrote:

> I assume you are referring to https://issues.apache.org/jira
> /browse/NETBEANS-457
>
> The stacktrace does not seem to be specific to JGit so this is a general
> bug.
>
> Gili
>
>
> On 2018-03-24 11:06 PM, Gary Bello wrote:
>
>> To clarify ...
>> I am not trying to have a build of netbeans make use of latest JGIt.
>>
>> I am simply trying to get netbeans to open the JGit maven project and do a
>> build.
>>
>> -Gary
>>
>> On Sat, Mar 24, 2018 at 7:51 PM, Christian Bourque <
>> christian.bour...@gmail.com> wrote:
>>
>> Hi Gary,
>>>
>>> I've just sent a PR for the latest version of JGit with NetBeans:
>>> https://github.com/apache/incubator-netbeans/pull/465
>>>
>>> Some dependencies of NetBeans need to be updated to be able to build the
>>> latest JGit version...
>>>
>>> Christian
>>>
>>>
>>> On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello <gary.be...@gmail.com>
>>> wrote:
>>>
>>> JGit repository https://github.com/eclipse/jgit.git
>>>>
>>>> I have been trying to debug/fix the maven issue without success.
>>>> So decided to alert the mail list.
>>>>
>>>> I have filed a bug report.
>>>>
>>>> Just checkout the JGit master and try to build with netbeans.
>>>>
>>>> The subprojects of JGit build separately with netbeans OK.
>>>> The top level build is what fails.
>>>>
>>>> Thanks
>>>> -Gary
>>>>
>>>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: netbeans maven support breaks trying to build JGit source

2018-03-24 Thread Gary Bello
To clarify ...
I am not trying to have a build of netbeans make use of latest JGIt.

I am simply trying to get netbeans to open the JGit maven project and do a
build.

-Gary

On Sat, Mar 24, 2018 at 7:51 PM, Christian Bourque <
christian.bour...@gmail.com> wrote:

> Hi Gary,
>
> I've just sent a PR for the latest version of JGit with NetBeans:
> https://github.com/apache/incubator-netbeans/pull/465
>
> Some dependencies of NetBeans need to be updated to be able to build the
> latest JGit version...
>
> Christian
>
>
> On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello <gary.be...@gmail.com> wrote:
>
> > JGit repository https://github.com/eclipse/jgit.git
> >
> > I have been trying to debug/fix the maven issue without success.
> > So decided to alert the mail list.
> >
> > I have filed a bug report.
> >
> > Just checkout the JGit master and try to build with netbeans.
> >
> > The subprojects of JGit build separately with netbeans OK.
> > The top level build is what fails.
> >
> > Thanks
> > -Gary
> >
>


netbeans maven support breaks trying to build JGit source

2018-03-24 Thread Gary Bello
JGit repository https://github.com/eclipse/jgit.git

I have been trying to debug/fix the maven issue without success.
So decided to alert the mail list.

I have filed a bug report.

Just checkout the JGit master and try to build with netbeans.

The subprojects of JGit build separately with netbeans OK.
The top level build is what fails.

Thanks
-Gary


Re: Possible Removal of SVN

2018-03-09 Thread Gary Bello
I don't understand - It is available in my Netbeans 8.2 Team dropdown.
Perhaps installed from plugin - is that not part of Netbeans ?

-Gary

On Fri, Mar 9, 2018 at 1:36 AM, Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> On Fri, Mar 9, 2018 at 10:16 AM, emiddio-frontier 
> wrote:
>
> > my vote is keep both CVS and SVN .
> >
>
>
> We can't keep something that already isn't kept. CVS has not been part of
> NetBeans for several years now. We can decide to reintroduce it, though I
> wonder if there's a need for that.
>
> Gj
>
>
>
>
> >
> > -Gary
> >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> > For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>


nb9 beta

2018-02-04 Thread Gary Bello
Please correct me where wrong.

I have noticed when I get exceptions in nb9 beta or the build I make from
the git repo nb9 asks to report the error/exceptions.

Those exception reports seem to be going to the old netbeans location and
do not appear in the apache bug reports for netbeans.

Also the plugins seem to be coming from netbeans rather than apache.

When does nb9 begin to log exceptions to the correct location, and when do
plugins begin to come form apache location ?

Thanks
-Gary


using a self built incubator netbeans current git checkout

2018-01-27 Thread Gary Bello
Every few days I update and build current git repo of incubator netbeans.

I then configure to run with jdk9.

There are a lot of plugin options to choose from -
do we know how safe/reliable/bug-free the available plugins are at this
time ?

or which of the avail plugins should only be used at this time?

Recently I added a bunch of plugins and then noticed some problems - for
instance I could not get tools/options panel to open.

Thank
-Gary


Re: [VOTE] Release Apache NetBeans 9.0 Beta (incubating) rc2

2018-01-15 Thread Gary Bello
vote +1, works on jdk8 and jdk9 so far; builds fine;
-Gary

On Mon, Jan 15, 2018 at 12:34 AM, Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> Hi all,
>
> Please vote on releasing Apache NetBeans 9.0 Beta (incubating) rc2! If
> this voting passes, another similar voting will be started on
> gene...@incubator.apache.org, and if that passes too, then we can
> release this version.
>
> Apache NetBeans 9.0 Beta (incubating) constitutes all the modules in
> the Apache NetBeans Git repo, which together provide the NetBeans
> Platform (i.e., the underlying application framework), which was
> released as Apache NetBeans 9.0 Alpha (incubating), as well as all the
> modules that provide the Java SE-related features of Apache NetBeans.
> In short, Apache NetBeans 9.0 Beta (incubating) is a full IDE for Java
> SE development.
>
> Build artifacts available here:
>
> https://dist.apache.org/repos/dist/dev/incubator/netbeans/
> incubating-netbeans-java/incubating-9.0-beta-rc2/
>
> The specific artifact to be voted on:
>
> https://dist.apache.org/repos/dist/dev/incubator/netbeans/
> incubating-netbeans-java/incubating-9.0-beta-rc2/
> incubating-netbeans-java-9.0-beta-source.zip
>
> Included in the above are the DEPENDENCIES, DISCLAIMER, LICENSE, and
> NOTICE files, as well as a README file with build instructions, which
> are the same as these:
>
> https://github.com/apache/incubator-netbeans/blob/master/README.md
>
> MD5: d74b2816d4f4f253c04ee6d9bf258dec
> SHA1: 808faea759d76b6d0e27512fbf36e9e22d5d4c65
>
> Apache NetBeans Git Repo tag: 9.0-beta-rc2
>
> Rat report shows no unknown licenses:
>
> https://builds.apache.org/job/incubator-netbeans-release/
> lastSuccessfulBuild/artifact/rat-java-temp/nbbuild/build/rat-report.txt
>
> Included as a convenience is a binary, not relevant for the voting
> purposes, but as a convenience only, unzip it and run it and you'll
> see Apache NetBeans:
>
> https://dist.apache.org/repos/dist/dev/incubator/netbeans/
> incubating-netbeans-java/incubating-9.0-beta-rc2/
> incubating-netbeans-java-9.0-beta-bin.zip
>
> New & Noteworthy features of the 9.0 Release:
> https://cwiki.apache.org/confluence/display/NETBEANS/
> Apache+NetBeans+9.0+New+and+Noteworthy
>
> Just like the Alpha release, the Beta release is focused specifically
> on IP clearance. With Beta, everything in Apache NetBeans Git complies
> with Apache IP clearance requirements:
>
> https://cwiki.apache.org/confluence/display/NETBEANS/
> Apache+NetBeans+9.0+Beta
>
> Changes between rc1 and rc2 -- binaries wrongly included in source zip
> have been removed:
> https://issues.apache.org/jira/browse/NETBEANS-276
>
> How to try out the Beta release:
>
> 1. Download the artifact to be voted on and unzip it.
> 2. Build it using the README provided by the artifact.
> 3. Look in nbbuild/netbeans for the NetBeans installation created by
> the build process.
> 4. Run the NetBeans executable and (if you're running on JDK 8) you'll
> be prompted to install nb-javac, after agreeing to its licensing
> terms, and (if you're running on JDK 9), you'll be able to use javac
> directly from JDK 9 and, optionally, you'll be prompted to install
> nb-javac, after agreeing to its licensing terms.
>
> If the above succeeds, i.e., Apache NetBeans installs and starts up,
> you will have a development environment that complies with Apache IP
> requirements and you should vote +1 in this thread. Bugs you encounter
> are irrelevant for the Beta release, after Beta, when the final
> release is put together, the bug fixing will begin via the NetCAT
> program.
>
> Please try out the package, using the instructions above, and vote!
>
> The vote is open for a minimum of 72 hours or until the necessary
> number of votes (3 binding +1s) is reached.
>
> [ ] +1 Release this package as Apache NetBeans 9.0 Beta (incubating)
> [ ] 0 I don't feel strongly about it, but I'm okay with the release
> [ ] -1 Do not release this package because...
>
> Please add "(binding)" if your vote is binding, i.e., you are an
> Apache NetBeans committer, i.e., your name is on this page:
> https://wiki.apache.org/incubator/NetBeansProposal, although note the
> only real binding votes in the incubator are those of the IPMC, i.e.,
> in the next vote thread, after this one passes.
>
> Geertjan
> on behalf of the Apache NetBeans PPMC
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: building netbeans with jdk9

2018-01-04 Thread Gary Bello
Builds with jdk8 do work.
-Gary

On Thu, Jan 4, 2018 at 11:45 AM, Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> Here: https://github.com/apache/incubator-netbeans/blob/master/README.md
>
> Gj
>
> On Thu, Jan 4, 2018 at 8:38 PM, Geertjan Wielenga
> <geertjan.wiele...@googlemail.com> wrote:
> > Sorry, JDK 8.
> >
> > Gj
> >
> >
> > On Thursday, January 4, 2018, Geertjan Wielenga
> > <geertjan.wiele...@googlemail.com> wrote:
> >>
> >> Please see the README at Apache NetBeans Git which very explicitly tells
> >> you that JDK 7 must be used to build Apache NetBeans. Also save time
> and see
> >> there the version of Ant to use.
> >>
> >> Gj
> >>
> >> On Thursday, January 4, 2018, Gary Bello <gary.be...@gmail.com> wrote:
> >>>
> >>> Using abt a 12/25/17 nightly incubator build with jdk9.0.1 yest build
> try
> >>> on current git update is not successful.
> >>>
> >>> user.build.properties has permit.jdk9.builds=true
> >>>
> >>> Should it work ?
> >>>
> >>> Thanks
> >>>
> >>> -Gary
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


building netbeans with jdk9

2018-01-04 Thread Gary Bello
Using abt a 12/25/17 nightly incubator build with jdk9.0.1 yest build try
on current git update is not successful.

user.build.properties has permit.jdk9.builds=true

Should it work ?

Thanks

-Gary