Re: NB17 Extra lines after Run??

2023-04-29 Thread joe foe
It's due to debug mode. Set  Tools >options>java> verbosity level to
Normal.

The extra lines won't be output.

On Sat, Apr 29, 2023, 3:42 AM Tim de Vries  wrote:

> probably, you've got an ANSIBlock setting your display settings.
>
>
> You probably need a test method to determine what's real.
>
> Tim
>
>
> probably  a static {this, that} block within a class within your
> classpath.., yes/no? , ...
>
>
> James
> On 2023-04-28 6:15 p.m., Amn Ojee Uw wrote:
>
> Hey folks!
>
> I might have done some tweaking  and being the newbie that I am I ended up
> messing up NB17. Now when I Click on Run, I get the proper output as well
> as the following lines:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *BUILD SUCCESSFUL (total time: 0 seconds) Could not load a dependent class
> (jdepend/textui/JDepend) for type jdepend Could not load a dependent class
> (javax/media/jai/PlanarImage) for type image Could not load class
> (org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.JUnitLauncherTask)
> for type junitlauncher Could not load a dependent class
> (org/tukaani/xz/FilterOptions) for type xzresource Could not load class
> (org.apache.tools.ant.taskdefs.optional.image.ImageIOTask) for type imageio
> Could not load a dependent class (org/tukaani/xz/FilterOptions) for type xz
> Could not load a dependent class (jdepend/textui/JDepend) for type jdepend
> Could not load a dependent class (javax/media/jai/PlanarImage) for type
> image Could not load class
> (org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.JUnitLauncherTask)
> for type junitlauncher Could not load a dependent class
> (org/tukaani/xz/FilterOptions) for type xzresource Could not load class
> (org.apache.tools.ant.taskdefs.optional.image.ImageIOTask) for type imageio
> Could not load a dependent class (org/tukaani/xz/FilterOptions) for type xz
> *
>
> Anyone here can tell me what changed? Why am I getting all those lines?
>
> Thanks in advance
>
>


Re: Netbeans 15 release

2022-09-06 Thread joe foe
Awesome, thanks for the update!

On Tue, 6 Sep 2022, 13:27 Neil C Smith,  wrote:

> On Tue, 6 Sept 2022 at 12:23, joe foe  wrote:
> >  The vscode plugin has been auto updated to 15 but I don't see any
> release notes for that and under
> dist.apache.org/repos/dist/release/netbeans/netbeans-installers/15 the
> Linux package is missing.
> >
> > Question, when will be the Linux installer be available and where can I
> see what's changed in the vscode plugin?
>
> The announcement is currently in progress.  Changes at
> https://github.com/apache/netbeans/releases/tag/15
>
> There won't be an ASF Linux installer.  You can use the binary zip,
> Snap package, the .AppImage or .deb from the linked community
> installers (already up at https://www.codelerity.com/netbeans/ ) or
> another community source (eg. flatpak, distro).
>
> Best wishes,
>
> Neil
>


Netbeans 15 release

2022-09-06 Thread joe foe
Hello ,

 The vscode plugin has been auto updated to 15 but I don't see any release
notes for that and under
dist.apache.org/repos/dist/release/netbeans/netbeans-installers/15 the
Linux package is missing.

Question, when will be the Linux installer be available and where can I see
what's changed in the vscode plugin?

Thanks,
Regards
Joe


Re: Adding dependencies in Gradle

2021-04-22 Thread joe foe
You have to add the project as a dependency.

See

https://docs.gradle.org/current/userguide/declaring_dependencies.html#sub:project_dependencies

Regards,
JoeFoe

On Thu, 22 Apr 2021, 16:25 Don,  wrote:

> With the reduction of support for Ant, which I have been using for my
> Java projects since 2004 or so, I decided to start learning Gradle.  I
> downloaded NetBeans 12.3 and proceeded to re-create the library/.jar
> files I use to implement some basic classes that are specialized for our
> environment.  In Ant, it was easy to add a library to another library
> project but I do not see any way to tell Project B that it needs to
> include the .jar from Project A. What am I missing?
>
>
>
> -
> 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
>
>


Vscode Netbeans gradle project issues

2021-03-10 Thread joe foe
Hello ,

I am using the VSCode Netbeans extension with a gradle Multiproject where I
also have local dependencies defined. The project was working in VSCode
version 12.2 but with the version 12.3 all the external  dependencies are
not resolved.

Initially I  had the same issue with 12.2 version of VSCode but after a
clean build it wasn't present but with the 12.3 version it doesn't work.

In the output of the Apache Language Server when I turn on verbose I see
the following line

INFO [org.netbeans.modules.java.hints.Wrongpackagesuggestion] source cp is
either null or  does not contain the compiled source.

This same project works without any issue under Netbeans 12.2 and 12.3

I use jdk 11.

Anyone else have such issues and any tips on how to resolve this ?

Thanks !
Joe


Re: [POLL] Gradle Task Navigator with Favorite Task UI

2020-12-15 Thread joe foe
I vote for 2

On Tue, 15 Dec 2020, 13:10 Fred Welland,  wrote:

> I prefer the 2nd one!
>
> (Thanks for the great work!)
>
> On Mon, Dec 14, 2020 at 11:30 PM Laszlo Kishalmi <
> laszlo.kisha...@gmail.com> wrote:
>
>> Well, I've created two UI implementation of displaying Favorite Task in
>> Gradle Navigator.
>>
>> The implementations:
>>
>>
>> https://issues.apache.org/jira/secure/attachment/13017035/GradleFavoritesCut.mp4
>>
>>
>> https://issues.apache.org/jira/secure/attachment/13017110/GradleFavoritesCut2.mp4
>>
>>
>> You can vote on your favorite implementation at:
>>
>> - Here in the mailing list.
>>
>> - Twitter:  https://twitter.com/KishalmiLaszlo
>>
>> - Telegram: https://t.me/apache_netbeans
>>
>> The poll is open for 3 days.
>>
>>
>> -
>> 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
>>
>>


Grade attach javadoc

2020-11-10 Thread joe foe
Hello ,

I have a question about javadoc for a grade project.

I have a grade project that is dependent on some local jars. When importing
classes from the library the autocomplete suggests that the javadoc for the
said classes are not available and to attach them .

One can either specify a URL or path, I had specified a wrong URL and now I
get the message that the javadoc is invalid .

Question: how to get back to the previous stage where I can specify the URL
again.

Thanks !


Re: NB 11.2 change default project path

2020-02-20 Thread joe foe
You learn something new everyday! . Is there a complete list of all these
parameters?



Regards,
JoeFoe

On Thu, 20 Feb 2020, 20:09 Mark Eggers, 
wrote:

> I did not know that - cool!
>
> . . . just my two cents
> /mde/
> On 2/20/2020 10:59 AM, Laszlo Kishalmi wrote:
> > Start Netbeans with:
> >
> > -J-Dnetbeans.projects.dir=
> >
> > you can add that option into your etc/netbeans.conf as well
> >
> > On 2/20/20 6:59 AM, Mark Eggers wrote:
> >> I don't really understand why you described a disk crash, recovery, and
> >> then said that the default project folder wasn't to your liking / wasn't
> >> easy to change.
> >>
> >> Instead, how about the following:
> >>
> >> I would like to change the default location of where File->New Project
> >> creates projects. I didn't find an easy or effective way to do this. Is
> >> there one?
> >>
> >> Can we have a start-up switch (somewhat like Eclipse) that allows us to
> >> chose a base project location? Or maybe a GUI in Tools->Options that
> >> allows us to set it easily? I will be happy to discuss my use case on
> >> the mailing list. Thanks.
> >>
> >> Is the above an accurate description of your issue? If it is, that
> >> sounds like a simple (and possibly reasonable) request.
> >>
> >> Personally, I don't mind browsing around to a different location during
> >> project creation. Since I store different clusters of projects in
> >> different parent directories, browsing around to open projects is part
> >> of my normal work flow. YMMV
> >>
> >> . . . just my two cents.
> >> /mde/
> >>
> >> On 2/19/2020 9:22 PM, cryptearth wrote:
> >>> TBH I didn'T read all of your reply, but from the first few lines I did
> >>> read: no, you got me wrong.
> >>> My question is as simple as that: Is it possible, and if so: How?, to
> >>> change the default project folder where new projects supposed to get
> >>> created on disk? I didn't found any setting in whatever the GUI gives
> me
> >>> (as someone else on this list a few ago said: "Netbeans is basically a
> >>> graphical wrapper around maven.") and I didn't found any config file.
> >>> The one mentioned on many search results on the net doesn'T seem to
> have
> >>> an effect either, and the other user replied to my question seem to
> >>> didn't got my question at all and pointed me to a file wich has nothing
> >>> to do with per-user settings at all.
> >>> Yes, Netbeans has many flaws - and obvious a lot of them exists since
> >>> 15(!) years (I found a bug report wich evolved into a discusion from
> >>> back late 2004 about this very topic). Is it really that much to ask
> >>> just for a simple input dialog right at the first time start up where
> >>> the user wants his default project location to be? And is it that hard
> >>> to at least somewhat follow the style many graphical programms followed
> >>> for the past three decades where you have a menu bar, starting with
> >>> File, then Edit, then maybe some more, and end with Extras and Help -
> >>> and to just put an "options" or "settings" into one of those - and
> offer
> >>> the same settings dialog as mentioned before? How old is Netbeans? 15+
> >>> years? And it's menus are that - sorry to say it this directly:
> >>> immature? It's like an early not feature complete alpha where someone
> >>> couldn't decide just where to put it.
> >>> Back to modern days: Java 11 doesn't allow compiling for Java 5 any
> >>> more. It's a simple if() just to check for the version of the compiler
> -
> >>> and if it's 11 or above set the minimum target compiling level to at
> >>> least 6 and disable any lower versions. C'mon - don't tell me 100s of
> >>> devs could get this done in the time this exists.
> >>> All made fun about me cause I'm using just a simple editor with some
> >>> basic syntax highlight and a terminal to compile. If I see what a mess
> >>> and overhead all this fancy IDEs and build-tools costs - wich in fact
> >>> they're supposed to do for the dev - not in addition to it - what's the
> >>> benefit of wasting time to figure out how to get around simplest fails
> >>> done in every beginners for dummies book?
> >>>
> >>> I'm done with it - back to the old style - that at least did what I
> told
> >>> to do ..
> >>>
> >>> Am 20.02.2020 um 03:45 schrieb Mark Eggers:
>  First of all, I'm just a happy NetBeans user.
> 
>  Second of all, this is just my opinion.
> 
>  So let me try to understand your problem first.
> 
>  1. You crashed what appears to be a Windows data and programs disk
> 
>  This is different than where your user profile is stored. I understand
>  this, since I do the same thing to minimize usage of a small OS SSD
>  drive.
> 
>  2. You reinstalled NetBeans on a new disk
> 
>  3. You recovered your NetBeans projects on a new disk
> 
>  The problem is that the 'Recent Projects' list links to the wrong
>  location. I'm guessing that this is the case since either drive
> letters
>  have 

Netbeans 11.3 Beta2 Gradle Project not showing up on Navigation tree

2020-02-01 Thread joe foe
Hello,

I downloaded and  ran the Netbeans 11.3 Beta2 released yesterday. Started
with a clean userdir. Created a new Gradle Project and the process
completed smoothly but i don't see the project on the navigation bar . See
attached picture

Anyone else having this problem?
Configuration

Windows 10 64 Bit pro
OpenJDK 13

[image: image.png]


Netbeans 11.3 beta

2020-01-29 Thread joe foe
Is the next beta coming this week  ?

Regards,
Jfoe


Re: Gradle Build struck in Collecting Project Dependencies Netbeans 11.2

2020-01-12 Thread joe foe
Thanks for the response. I have created the JIRA issue 3683 as suggested.




On Sun, 12 Jan 2020, 06:35 Laszlo Kishalmi, 
wrote:

> Well, you might create an issue on jira, please attach the IDE log and
> do a self-sampling snapshot (alt+shift+y) as well.
>
> I might not help too much as I'm lucky enough not to have any Windows
> around.
>
> Also you might try to set: Tools > Options > Java > Gradle >
> Dependencies > Download Dependencies on Project: Always
>
> On 1/11/20 10:48 AM, joe foe wrote:
> > Hello ,
> >
> > I have an issue with a gradle project that has dependencies on a
> > network drive.
> >
> > My Configuration
> >
> > WIndows 10 64 Bit pro
> > Netbeans 11.2
> > JDK 13
> > Gradle 5.6 and also 6.0
> >
> >
> > My build.gradle for a sample project is as follows
> >
> > ```
> > plugins {
> >
> > id 'java-library'
> >
> > }
> >
> > repositories{
> > }
> >
> > dependencies {
> >
> > implementation fileTree (dir 'L:/installationpath/platform' ,include :
> > ['**/*.jar'])
> >
> > }
> >
> > ```
> > "L: Drive"  is a mapped network drive under windows
> >
> > Problem is , Building this project works in powershell. But as soon as
> > i open this project in Netbeans the GUI is permanently struck in
> > Collecting Project dependencies.
> >
> > I tried the same with Netbeans 11.0 and also with JDK 8 till 13
> > without any success.
> >
> > Any tips / solutions for this?
> >
> > Thanks!
> >
> >
>
> -
> 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
>
>


Gradle Build struck in Collecting Project Dependencies Netbeans 11.2

2020-01-11 Thread joe foe
Hello ,

I have an issue with a gradle project that has dependencies on a network
drive.

My Configuration

WIndows 10 64 Bit pro
Netbeans 11.2
JDK 13
Gradle 5.6 and also 6.0


My build.gradle for a sample project is as follows

```
plugins {

id 'java-library'

}

repositories{
}

dependencies {

implementation fileTree (dir 'L:/installationpath/platform' ,include :
['**/*.jar'])

}

```
"L: Drive"  is a mapped network drive under windows

Problem is , Building this project works in powershell. But as soon as i
open this project in Netbeans the GUI is permanently struck in Collecting
Project dependencies.

I tried the same with Netbeans 11.0 and also with JDK 8 till 13 without any
success.

Any tips / solutions for this?

Thanks!


Re: [Netbeans platform] Maven build for custom netbeans platform

2019-11-17 Thread joe foe
Hello Mr. Reynolds,

Thanks for the response. I think I will stick to ant for now. The way with
setting up a separate maven repo seems too much work to me.

In addition I also came across another email to the Dev mailing list where
someone had asked for something similar and this seems to be a restriction
of the current nbm maven plugin.

Regards,
Joefoe



On Thu, 14 Nov 2019, 01:00 William Reynolds, 
wrote:

> Presumably your new pom.xml has all sorts of dependency for the netbeans
> platform poms, eg:
>
>  
>  org.netbeans.api
> org-openide-util-lookup
>  RELEASE111
>  
>
>  
>  
>  org.netbeans.api
>  org-openide-util
>  RELEASE111
>  
>
> (etc, etc - my application has 11 RCP modules in the dependency section)
>
>
> So you can select a given platform using properties:
>
>
> 
> RELEASE111
> 
>
> 
>  org.netbeans.api
> org-openide-util-lookup
>  ${netbeans.version}
> 
>
> (etc, etc)
>
> Now if you've got your own version of the the platform jars, then you
> will have to set up poms for them and install them to a maven repository
> (either your local .m2 directory, done by doing a 'mvn install' in the
> build directory for each of your RCP modules, or push them up to an
> artifactory). Presumably, your custom modules have their own version
> string (or artifactId). For this case you would something like:
>
>  
> MY_HACKED_NETBEANS_VERSION
>  
> 
>  org.netbeans.api
> org-openide-util-lookup
>  ${netbeans.version}
>  
>
> (etc, etc)
>
>
> Does this help?
>
> On 11/13/2019 1:55 PM, joe foe wrote:
> > Hello,
> >
> > I have a module that is a toolbar with couple of actions developed in
> > ant for a custom netbeans platform application. I would like to move
> > the build  it to maven .
> >
> > Issue is , if I want to build this module for a specific version of a
> > netbeans platform in Ant , First I add the platform thorough Options
> > -> Netbeans  platforms and then I just right click  the project -
> > >Project properties -> choose platform .
> >
> > How would I do this with maven? I only see the standard netbeans
> > versions and don't have any option to select a custom netbeans
> > platform (also in project properties) .
> >
> > Any help would be appreciated.
> >
> > Thanks !
> >
> > Regards
> > Joefoe
>
> --
> William Reynolds, Ph.D.
> Stellar Science, LLC
> wnreyno...@stellarscience.com
> www.stellarscience.com
> 877-763-8268 x710 (v)
>
>


[Netbeans platform] Maven build for custom netbeans platform

2019-11-13 Thread joe foe
Hello,

I have a module that is a toolbar with couple of actions developed in ant
for a custom netbeans platform application. I would like to move the build
it to maven .

Issue is , if I want to build this module for a specific version of a
netbeans platform in Ant , First I add the platform thorough Options ->
Netbeans  platforms and then I just right click  the project - >Project
properties -> choose platform .

How would I do this with maven? I only see the standard netbeans versions
and don't have any option to select a custom netbeans platform (also in
project properties) .

Any help would be appreciated.

Thanks !

Regards
Joefoe