Re: Netbeans migration 8.2 => 11, annotation processor uncaught exceptions

2019-07-18 Thread Geertjan Wielenga
Yes, great -- and everything you learn in this migration process, please
make notes, and then we can put a document together based on your findings.
That will help the next person/team going through this process.

Gj

On Thu, Jul 18, 2019 at 11:09 PM Jerome Lelasseux 
wrote:

> I have not found the origin of the problem but I found a workaround: I did
> a clean reinstall of NB11 and this time I did not let NB11 "import settings
> from NB8.2", and everything compiled OK !
>
>
>
> Le jeudi 18 juillet 2019 à 21:35:18 UTC+2, Geertjan Wielenga <
> geert...@apache.org> a écrit :
>
>
> OK, I'd suggest since you're seeing that, to see if making that change
> will fix this problem.
>
> You're going to encounter a lot of things you need to change, small and
> large, between 8.2 and 11.0, so this is a small step in that direction,
> please be prepared for more.
>
> Gj
>
> On Thu, Jul 18, 2019 at 9:24 PM Jerome Lelasseux 
> wrote:
>
> I don't think the message is clear, it does not even mention the file name
> where problem occured...
>
> And I had checked the doc, the enabledOn parameter is only for context
> aware actions, here my action is a simple always-enabled action.
>
>
> Le jeudi 18 juillet 2019 à 21:06:05 UTC+2, Geertjan Wielenga <
> geert...@apache.org> a écrit :
>
>
> The message is clear:
>
> java.lang.annotation.IncompleteAnnotationException: 
> org.openide.awt.ActionRegistration
> missing element enabledOn
>
> See:
>
>
> http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/ActionRegistration.html#enabledOn--
>
> It sounds like you need to add that attribute to the ActionRegistration
> annotation, everywhere where you're using it.
>
> Gj
>
>
>
>
> On Thu, Jul 18, 2019 at 8:27 PM Jerome Lelasseux
>  wrote:
>
> So I tried recompiling my RCP application with Netbeans 11 (Win10, Oracle
> JDK 8).
>
> I get these annotation exceptions for all registered actions:
>
> An annotation processor threw an uncaught exception.Consult the following
> stack trace for details.
> java.lang.annotation.IncompleteAnnotationException:
> org.openide.awt.ActionRegistration missing element enabledOn
> at
> sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:81)
> at com.sun.proxy.$Proxy371.enabledOn(Unknown Source)
> at
> org.netbeans.modules.openide.awt.ActionProcessor.handleProcess(ActionProcessor.java:302)
>
>
> Here is an example of source code which fails :
>
> @ActionID(category = "Help", id = "org.jjazzlab.base.actions.AboutAction")
> @ActionRegistration(displayName = "#CTL_About", lazy=true)
> @ActionReference(path = "Menu/Help", position = 2000)
> @Messages("CTL_About=About")
> public final class AboutAction implements ActionListener
> {
> @Override
> public void actionPerformed(ActionEvent e)
> {
> AboutDialog dialog = new AboutDialog();
> dialog.setVisible(true);
> }
> }
>
>
> I removed all module dependencies and readded them in Netbeans 11 to make
> sure I have the appropriate versions but it did not solve the problem...
>
> Any idea ?
>
>
>
>
> Le jeudi 18 juillet 2019 à 15:45:12 UTC+2, Geertjan Wielenga <
> geert...@apache.org> a écrit :
>
>
> Stop using 8.2 and use the latest Apache NetBeans instead, see
> netbeans.apache.org.
>
> Gj
>
> On Thu, Jul 18, 2019 at 3:37 PM Jerome Lelasseux
>  wrote:
>
> Hello,
>
> Sometimes Netbeans takes forever at startup (more than 5 min of splash
> screen, usually it's about 10-20sec) and I don't understand why. During
> general use (compilation etc) it also became much slower than it used to
> be. I have not done changes to my PC which could explain this, other apps
> run fine. I tried reinstall, cleaning Netbeans cache, disabling antivirus,
> ...
>
> What should I try to identify the source of the problem ?
>
> Thank you.
>
>
> *Product Version:* NetBeans IDE 8.2 (Build 201610071157)
>
> *Updates:* NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> 
>
> *Java:* 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
>
> *Runtime:* Java(TM) SE Runtime Environment 1.8.0_221-b11
>
> *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>
> *User directory:*
> C:\Users\Administrateur.000\AppData\Roaming\NetBeans\8.2
>
> *Cache directory:*
> C:\Users\Administrateur.000\AppData\Local\NetBeans\Cache\8.2
>
>
> Jerome
>
>


Re: Netbeans migration 8.2 => 11, annotation processor uncaught exceptions

2019-07-18 Thread Jerome Lelasseux
 I have not found the origin of the problem but I found a workaround: I did a 
clean reinstall of NB11 and this time I did not let NB11 "import settings from 
NB8.2", and everything compiled OK !


Le jeudi 18 juillet 2019 à 21:35:18 UTC+2, Geertjan Wielenga 
 a écrit :  
 
 OK, I'd suggest since you're seeing that, to see if making that change will 
fix this problem.
You're going to encounter a lot of things you need to change, small and large, 
between 8.2 and 11.0, so this is a small step in that direction, please be 
prepared for more.
Gj
On Thu, Jul 18, 2019 at 9:24 PM Jerome Lelasseux  wrote:

 I don't think the message is clear, it does not even mention the file name 
where problem occured...

And I had checked the doc, the enabledOn parameter is only for context aware 
actions, here my action is a simple always-enabled action.


Le jeudi 18 juillet 2019 à 21:06:05 UTC+2, Geertjan Wielenga 
 a écrit :  
 
 The message is clear:

java.lang.annotation.IncompleteAnnotationException: 
org.openide.awt.ActionRegistration missing element enabledOn

See:
http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/ActionRegistration.html#enabledOn--

It sounds like you need to add that attribute to the ActionRegistration 
annotation, everywhere where you're using it.
Gj



On Thu, Jul 18, 2019 at 8:27 PM Jerome Lelasseux  
wrote:

So I tried recompiling my RCP application with Netbeans 11 (Win10, Oracle JDK 
8).

I get these annotation exceptions for all registered actions:

An annotation processor threw an uncaught exception.Consult the following stack 
trace for details.java.lang.annotation.IncompleteAnnotationException: 
org.openide.awt.ActionRegistration missing element enabledOn
    at 
sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:81)
    at com.sun.proxy.$Proxy371.enabledOn(Unknown Source)
    at 
org.netbeans.modules.openide.awt.ActionProcessor.handleProcess(ActionProcessor.java:302)

Here is an example of source code which fails :

@ActionID(category = "Help", id = "org.jjazzlab.base.actions.AboutAction")
@ActionRegistration(displayName = "#CTL_About", lazy=true)
@ActionReference(path = "Menu/Help", position = 2000)
@Messages("CTL_About=About")
public final class AboutAction implements ActionListener
{    
    @Override
    public void actionPerformed(ActionEvent e)
    {
    AboutDialog dialog = new AboutDialog();
    dialog.setVisible(true);
    }
}

I removed all module dependencies and readded them in Netbeans 11 to make sure 
I have the appropriate versions but it did not solve the problem... 

Any idea ? 




Le jeudi 18 juillet 2019 à 15:45:12 UTC+2, Geertjan Wielenga 
 a écrit :  
 
 Stop using 8.2 and use the latest Apache NetBeans instead, see 
netbeans.apache.org.
Gj
On Thu, Jul 18, 2019 at 3:37 PM Jerome Lelasseux  
wrote:

Hello,
Sometimes Netbeans takes forever at startup (more than 5 min of splash screen, 
usually it's about 10-20sec) and I don't understand why. During general use 
(compilation etc) it also became much slower than it used to be. I have not 
done changes to my PC which could explain this, other apps run fine. I tried 
reinstall, cleaning Netbeans cache, disabling antivirus, ...
What should I try to identify the source of the problem ? 

Thank you.


  
 Product Version: NetBeans IDE 8.2 (Build 201610071157) 
 
 Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2 
 
 Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11 
 
 Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11 
 
 System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) 
 
 User directory: C:\Users\Administrateur.000\AppData\Roaming\NetBeans\8.2 
 
 Cache directory: C:\Users\Administrateur.000\AppData\Local\NetBeans\Cache\8.2 
  

Jerome

  
  
  

RE: [platform] Migration guide to Apache NetBeans?

2019-07-18 Thread Eric Barboni
Hi Konrad, 

 I try to build your app and  to also run it. 

On jdk 8 at runtime its ok. 

On jdk 12 at runtime it complains on missing jaxb class.

 

Maybe some part of the nb-repository-plugin or nbm-plugin should be changed.

 

Regards

Eric 

 

 

 

De : Rokicki, Konrad  
Envoyé : mercredi 17 juillet 2019 21:20
À : users@netbeans.apache.org
Objet : [platform] Migration guide to Apache NetBeans?

 

Hi everyone,

 

I have a NetBeans Platform application using RELEASE82 currently. In order to 
upgrade to Apache NetBeans, I tried simply changing the release version in my 
pom file to RELEASE110. It compiled without issue, and when running it claims 
it’s using version “incubator-netbeans-release-404-on-20190319”. But it only 
shows the menu bar with “About” and “Preferences”, and the main window never 
appears. The log shows a few errors along the lines of 
“java.lang.RuntimeException: Uncompilable source code” and 
“java.lang.ClassNotFoundException: Will not load classes from default package”. 

 

Is there any migration guide for this upgrade, or notes from anyone who has 
tried it? I’ve searched this list and the new wiki, but haven’t found anything 
yet. If nothing else, I’d like to know what I should generally expect. Should 
this be a seamless upgrade, or do I need to look into upgrading some Maven 
plugins, or are there code changes required in my modules? Any hints would be 
appreciated.

 

When I converted from Ant to Maven earlier this year, there were several guides 
that were invaluable, and I hope that they get preserved with the move to 
Apache:

http://wiki.netbeans.org/DevFaqMavenHowToMigrateFromANT

http://wiki.netbeans.org/Maven_NBM_comments

 

Best regards,

Konrad

 



Re: Netbeans migration 8.2 => 11, annotation processor uncaught exceptions

2019-07-18 Thread Geertjan Wielenga
OK, I'd suggest since you're seeing that, to see if making that change will
fix this problem.

You're going to encounter a lot of things you need to change, small and
large, between 8.2 and 11.0, so this is a small step in that direction,
please be prepared for more.

Gj

On Thu, Jul 18, 2019 at 9:24 PM Jerome Lelasseux 
wrote:

> I don't think the message is clear, it does not even mention the file name
> where problem occured...
>
> And I had checked the doc, the enabledOn parameter is only for context
> aware actions, here my action is a simple always-enabled action.
>
>
> Le jeudi 18 juillet 2019 à 21:06:05 UTC+2, Geertjan Wielenga <
> geert...@apache.org> a écrit :
>
>
> The message is clear:
>
> java.lang.annotation.IncompleteAnnotationException: 
> org.openide.awt.ActionRegistration
> missing element enabledOn
>
> See:
>
>
> http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/ActionRegistration.html#enabledOn--
>
> It sounds like you need to add that attribute to the ActionRegistration
> annotation, everywhere where you're using it.
>
> Gj
>
>
>
>
> On Thu, Jul 18, 2019 at 8:27 PM Jerome Lelasseux
>  wrote:
>
> So I tried recompiling my RCP application with Netbeans 11 (Win10, Oracle
> JDK 8).
>
> I get these annotation exceptions for all registered actions:
>
> An annotation processor threw an uncaught exception.Consult the following
> stack trace for details.
> java.lang.annotation.IncompleteAnnotationException:
> org.openide.awt.ActionRegistration missing element enabledOn
> at
> sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:81)
> at com.sun.proxy.$Proxy371.enabledOn(Unknown Source)
> at
> org.netbeans.modules.openide.awt.ActionProcessor.handleProcess(ActionProcessor.java:302)
>
>
> Here is an example of source code which fails :
>
> @ActionID(category = "Help", id = "org.jjazzlab.base.actions.AboutAction")
> @ActionRegistration(displayName = "#CTL_About", lazy=true)
> @ActionReference(path = "Menu/Help", position = 2000)
> @Messages("CTL_About=About")
> public final class AboutAction implements ActionListener
> {
> @Override
> public void actionPerformed(ActionEvent e)
> {
> AboutDialog dialog = new AboutDialog();
> dialog.setVisible(true);
> }
> }
>
>
> I removed all module dependencies and readded them in Netbeans 11 to make
> sure I have the appropriate versions but it did not solve the problem...
>
> Any idea ?
>
>
>
>
> Le jeudi 18 juillet 2019 à 15:45:12 UTC+2, Geertjan Wielenga <
> geert...@apache.org> a écrit :
>
>
> Stop using 8.2 and use the latest Apache NetBeans instead, see
> netbeans.apache.org.
>
> Gj
>
> On Thu, Jul 18, 2019 at 3:37 PM Jerome Lelasseux
>  wrote:
>
> Hello,
>
> Sometimes Netbeans takes forever at startup (more than 5 min of splash
> screen, usually it's about 10-20sec) and I don't understand why. During
> general use (compilation etc) it also became much slower than it used to
> be. I have not done changes to my PC which could explain this, other apps
> run fine. I tried reinstall, cleaning Netbeans cache, disabling antivirus,
> ...
>
> What should I try to identify the source of the problem ?
>
> Thank you.
>
>
> *Product Version:* NetBeans IDE 8.2 (Build 201610071157)
>
> *Updates:* NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> 
>
> *Java:* 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
>
> *Runtime:* Java(TM) SE Runtime Environment 1.8.0_221-b11
>
> *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>
> *User directory:*
> C:\Users\Administrateur.000\AppData\Roaming\NetBeans\8.2
>
> *Cache directory:*
> C:\Users\Administrateur.000\AppData\Local\NetBeans\Cache\8.2
>
>
> Jerome
>
>


Re: Netbeans migration 8.2 => 11, annotation processor uncaught exceptions

2019-07-18 Thread Jerome Lelasseux
 I don't think the message is clear, it does not even mention the file name 
where problem occured...

And I had checked the doc, the enabledOn parameter is only for context aware 
actions, here my action is a simple always-enabled action.


Le jeudi 18 juillet 2019 à 21:06:05 UTC+2, Geertjan Wielenga 
 a écrit :  
 
 The message is clear:

java.lang.annotation.IncompleteAnnotationException: 
org.openide.awt.ActionRegistration missing element enabledOn

See:
http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/ActionRegistration.html#enabledOn--

It sounds like you need to add that attribute to the ActionRegistration 
annotation, everywhere where you're using it.
Gj



On Thu, Jul 18, 2019 at 8:27 PM Jerome Lelasseux  
wrote:

So I tried recompiling my RCP application with Netbeans 11 (Win10, Oracle JDK 
8).

I get these annotation exceptions for all registered actions:

An annotation processor threw an uncaught exception.Consult the following stack 
trace for details.java.lang.annotation.IncompleteAnnotationException: 
org.openide.awt.ActionRegistration missing element enabledOn
    at 
sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:81)
    at com.sun.proxy.$Proxy371.enabledOn(Unknown Source)
    at 
org.netbeans.modules.openide.awt.ActionProcessor.handleProcess(ActionProcessor.java:302)

Here is an example of source code which fails :

@ActionID(category = "Help", id = "org.jjazzlab.base.actions.AboutAction")
@ActionRegistration(displayName = "#CTL_About", lazy=true)
@ActionReference(path = "Menu/Help", position = 2000)
@Messages("CTL_About=About")
public final class AboutAction implements ActionListener
{    
    @Override
    public void actionPerformed(ActionEvent e)
    {
    AboutDialog dialog = new AboutDialog();
    dialog.setVisible(true);
    }
}

I removed all module dependencies and readded them in Netbeans 11 to make sure 
I have the appropriate versions but it did not solve the problem... 

Any idea ? 




Le jeudi 18 juillet 2019 à 15:45:12 UTC+2, Geertjan Wielenga 
 a écrit :  
 
 Stop using 8.2 and use the latest Apache NetBeans instead, see 
netbeans.apache.org.
Gj
On Thu, Jul 18, 2019 at 3:37 PM Jerome Lelasseux  
wrote:

Hello,
Sometimes Netbeans takes forever at startup (more than 5 min of splash screen, 
usually it's about 10-20sec) and I don't understand why. During general use 
(compilation etc) it also became much slower than it used to be. I have not 
done changes to my PC which could explain this, other apps run fine. I tried 
reinstall, cleaning Netbeans cache, disabling antivirus, ...
What should I try to identify the source of the problem ? 

Thank you.


  
 Product Version: NetBeans IDE 8.2 (Build 201610071157) 
 
 Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2 
 
 Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11 
 
 Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11 
 
 System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) 
 
 User directory: C:\Users\Administrateur.000\AppData\Roaming\NetBeans\8.2 
 
 Cache directory: C:\Users\Administrateur.000\AppData\Local\NetBeans\Cache\8.2 
  

Jerome

  
  

Re: [platform] Migration guide to Apache NetBeans?

2019-07-18 Thread Geertjan Wielenga
I don't think there could be a generic migration guide that covers
everything, but it would be best to start by looking at what's new in terms
of APIs in each release since 8.2:

https://bits.netbeans.org/9.0/javadoc/apichanges.html
https://bits.netbeans.org/10.0/javadoc/apichanges.html
https://bits.netbeans.org/11.0/javadoc/apichanges.html
https://bits.netbeans.org/11.1/javadoc/apichanges.html

For help with the specific problems you're encountering, you're going to
need to provide specific error messages, specific descriptions, etc.

Gj


On Wed, Jul 17, 2019 at 9:20 PM Rokicki, Konrad 
wrote:

> Hi everyone,
>
>
>
> I have a NetBeans Platform application using RELEASE82 currently. In order
> to upgrade to Apache NetBeans, I tried simply changing the release version
> in my pom file to RELEASE110. It compiled without issue, and when running
> it claims it’s using version “incubator-netbeans-release-404-on-20190319”.
> But it only shows the menu bar with “About” and “Preferences”, and the main
> window never appears. The log shows a few errors along the lines of
> “java.lang.RuntimeException: Uncompilable source code” and
> “java.lang.ClassNotFoundException: Will not load classes from default
> package”.
>
>
>
> Is there any migration guide for this upgrade, or notes from anyone who
> has tried it? I’ve searched this list and the new wiki, but haven’t found
> anything yet. If nothing else, I’d like to know what I should generally
> expect. Should this be a seamless upgrade, or do I need to look into
> upgrading some Maven plugins, or are there code changes required in my
> modules? Any hints would be appreciated.
>
>
>
> When I converted from Ant to Maven earlier this year, there were several
> guides that were invaluable, and I hope that they get preserved with the
> move to Apache:
>
> http://wiki.netbeans.org/DevFaqMavenHowToMigrateFromANT
>
> http://wiki.netbeans.org/Maven_NBM_comments
>
>
>
> Best regards,
>
> Konrad
>
>
>


Re: Netbeans migration 8.2 => 11, annotation processor uncaught exceptions

2019-07-18 Thread Geertjan Wielenga
The message is clear:

java.lang.annotation.IncompleteAnnotationException:
org.openide.awt.ActionRegistration
missing element enabledOn

See:

http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/ActionRegistration.html#enabledOn--

It sounds like you need to add that attribute to the ActionRegistration
annotation, everywhere where you're using it.

Gj




On Thu, Jul 18, 2019 at 8:27 PM Jerome Lelasseux
 wrote:

> So I tried recompiling my RCP application with Netbeans 11 (Win10, Oracle
> JDK 8).
>
> I get these annotation exceptions for all registered actions:
>
> An annotation processor threw an uncaught exception.Consult the following
> stack trace for details.
> java.lang.annotation.IncompleteAnnotationException:
> org.openide.awt.ActionRegistration missing element enabledOn
> at
> sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:81)
> at com.sun.proxy.$Proxy371.enabledOn(Unknown Source)
> at
> org.netbeans.modules.openide.awt.ActionProcessor.handleProcess(ActionProcessor.java:302)
>
>
> Here is an example of source code which fails :
>
> @ActionID(category = "Help", id = "org.jjazzlab.base.actions.AboutAction")
> @ActionRegistration(displayName = "#CTL_About", lazy=true)
> @ActionReference(path = "Menu/Help", position = 2000)
> @Messages("CTL_About=About")
> public final class AboutAction implements ActionListener
> {
> @Override
> public void actionPerformed(ActionEvent e)
> {
> AboutDialog dialog = new AboutDialog();
> dialog.setVisible(true);
> }
> }
>
>
> I removed all module dependencies and readded them in Netbeans 11 to make
> sure I have the appropriate versions but it did not solve the problem...
>
> Any idea ?
>
>
>
>
> Le jeudi 18 juillet 2019 à 15:45:12 UTC+2, Geertjan Wielenga <
> geert...@apache.org> a écrit :
>
>
> Stop using 8.2 and use the latest Apache NetBeans instead, see
> netbeans.apache.org.
>
> Gj
>
> On Thu, Jul 18, 2019 at 3:37 PM Jerome Lelasseux
>  wrote:
>
> Hello,
>
> Sometimes Netbeans takes forever at startup (more than 5 min of splash
> screen, usually it's about 10-20sec) and I don't understand why. During
> general use (compilation etc) it also became much slower than it used to
> be. I have not done changes to my PC which could explain this, other apps
> run fine. I tried reinstall, cleaning Netbeans cache, disabling antivirus,
> ...
>
> What should I try to identify the source of the problem ?
>
> Thank you.
>
>
> *Product Version:* NetBeans IDE 8.2 (Build 201610071157)
>
> *Updates:* NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> 
>
> *Java:* 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
>
> *Runtime:* Java(TM) SE Runtime Environment 1.8.0_221-b11
>
> *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>
> *User directory:*
> C:\Users\Administrateur.000\AppData\Roaming\NetBeans\8.2
>
> *Cache directory:*
> C:\Users\Administrateur.000\AppData\Local\NetBeans\Cache\8.2
>
>
> Jerome
>
>


Netbeans migration 8.2 => 11, annotation processor uncaught exceptions

2019-07-18 Thread Jerome Lelasseux
So I tried recompiling my RCP application with Netbeans 11 (Win10, Oracle JDK 
8).

I get these annotation exceptions for all registered actions:

An annotation processor threw an uncaught exception.Consult the following stack 
trace for details.java.lang.annotation.IncompleteAnnotationException: 
org.openide.awt.ActionRegistration missing element enabledOn
    at 
sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:81)
    at com.sun.proxy.$Proxy371.enabledOn(Unknown Source)
    at 
org.netbeans.modules.openide.awt.ActionProcessor.handleProcess(ActionProcessor.java:302)

Here is an example of source code which fails :

@ActionID(category = "Help", id = "org.jjazzlab.base.actions.AboutAction")
@ActionRegistration(displayName = "#CTL_About", lazy=true)
@ActionReference(path = "Menu/Help", position = 2000)
@Messages("CTL_About=About")
public final class AboutAction implements ActionListener
{    
    @Override
    public void actionPerformed(ActionEvent e)
    {
    AboutDialog dialog = new AboutDialog();
    dialog.setVisible(true);
    }
}

I removed all module dependencies and readded them in Netbeans 11 to make sure 
I have the appropriate versions but it did not solve the problem... 

Any idea ? 




Le jeudi 18 juillet 2019 à 15:45:12 UTC+2, Geertjan Wielenga 
 a écrit :  
 
 Stop using 8.2 and use the latest Apache NetBeans instead, see 
netbeans.apache.org.
Gj
On Thu, Jul 18, 2019 at 3:37 PM Jerome Lelasseux  
wrote:

Hello,
Sometimes Netbeans takes forever at startup (more than 5 min of splash screen, 
usually it's about 10-20sec) and I don't understand why. During general use 
(compilation etc) it also became much slower than it used to be. I have not 
done changes to my PC which could explain this, other apps run fine. I tried 
reinstall, cleaning Netbeans cache, disabling antivirus, ...
What should I try to identify the source of the problem ? 

Thank you.


  
 Product Version: NetBeans IDE 8.2 (Build 201610071157) 
 
 Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2 
 
 Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11 
 
 Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11 
 
 System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) 
 
 User directory: C:\Users\Administrateur.000\AppData\Roaming\NetBeans\8.2 
 
 Cache directory: C:\Users\Administrateur.000\AppData\Local\NetBeans\Cache\8.2 
  

Jerome

  

Re : Re: Netbeans 8.2 became too slow

2019-07-18 Thread Jerome Lelasseux
Ok i will try.


Envoyé depuis Yahoo Mail pour iPhone


Le jeudi, juillet 18, 2019, 3:45 PM, Geertjan Wielenga  a 
écrit :

Stop using 8.2 and use the latest Apache NetBeans instead, see 
netbeans.apache.org.
Gj
On Thu, Jul 18, 2019 at 3:37 PM Jerome Lelasseux  
wrote:

Hello,
Sometimes Netbeans takes forever at startup (more than 5 min of splash screen, 
usually it's about 10-20sec) and I don't understand why. During general use 
(compilation etc) it also became much slower than it used to be. I have not 
done changes to my PC which could explain this, other apps run fine. I tried 
reinstall, cleaning Netbeans cache, disabling antivirus, ...
What should I try to identify the source of the problem ? 

Thank you.


  
 Product Version: NetBeans IDE 8.2 (Build 201610071157) 
 
 Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2 
 
 Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11 
 
 Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11 
 
 System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) 
 
 User directory: C:\Users\Administrateur.000\AppData\Roaming\NetBeans\8.2 
 
 Cache directory: C:\Users\Administrateur.000\AppData\Local\NetBeans\Cache\8.2 
  

Jerome






Re: Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Geertjan Wielenga
Added it to the umbrella clean up issue as a sub task:
https://issues.apache.org/jira/browse/NETBEANS-2716

Gj

On Thu, Jul 18, 2019 at 4:01 PM Josh Juneau  wrote:

> Thanks Richard and Geertjan.  It probably makes sense to remove this
> functionality since this application style is not very relevant nowadays.
> With respect to the error, it looks like the Maven archetype for that
> particular project type must be missing from Maven central.
>
> Josh Juneau
> http://jj-blogger.blogspot.com
> https://www.apress.com/index.php/author/author/view/id/1866
>
>
> On Jul 18, 2019, at 6:36 AM, Geertjan Wielenga 
> wrote:
>
> Yes, that goes without saying. An issue is needed and then we can take a
> look, probably we need to examine whether Enterprise Applications still
> make sense in the Java/Jakarta EE space.
>
> Gj
>
> On Thu, Jul 18, 2019 at 1:33 PM Richard Grin <
> richard.g...@univ-cotedazur.fr> wrote:
>
>> Yes Geertjan, perhaps, but, if it is a bug, it would be better to try to
>> repair it, or to remove the functionality if it is no longer useful.
>>
>> Richard
>>
>>
>>
>> Envoyé depuis mon smartphone Samsung Galaxy.
>>
>>
>>  Message d'origine 
>> De : Geertjan Wielenga 
>> Date : 18/07/2019 13:05 (GMT+01:00)
>> À : Richard Grin 
>> Cc : NetBeans Mailing List 
>> Objet : Re: Error message during creation of an Entreprise Application
>> with Maven
>>
>> Probably better to create standard Web Applications in Maven nowadays,
>> rather than Enterprise Applications.
>>
>> Gj
>>
>> On Thu, Jul 18, 2019 at 12:20 PM Richard Grin <
>> richard.g...@univ-cotedazur.fr> wrote:
>>
>>> Hi,
>>>
>>> I have just tested NetBeans 11.1 beta 4.
>>>
>>> Payara 5.192 installed.
>>>
>>> In the properties of the project :
>>>
>>>- Source/Binary Format: 1.8.
>>>- Build > Compile JDK 10 (Default).
>>>
>>> Creation of a Java EE 8 Entreprise Application. The attached window is
>>> displayed and I click on "Finish".
>>>
>>> An error is displayed in the logs (tab "Ouput - Priming
>>> tpCustomerApplication-ear":
>>>
>>> 
>>>
>>> Building tpCustomerApplication-ear-1.0-SNAPSHOT 1.0-SNAPSHOT
>>> 
>>> The POM for fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT is
>>> missing, no dependency information available
>>> The POM for fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT is
>>> missing, no dependency information available
>>> 
>>> BUILD FAILURE
>>> 
>>> Total time: 0.331 s
>>> Finished at: 2019-07-18T12:04:02+02:00
>>> Final Memory: 7M/37M
>>> 
>>> Failed to execute goal on project tpCustomerApplication-ear: Could not
>>> resolve dependencies for project
>>> fr.grin:tpCustomerApplication-ear:war:1.0-SNAPSHOT: The following artifacts
>>> could not be resolved: fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT,
>>> fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT: Could not find artifact
>>> fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT -> [Help 1]
>>>
>>> To see the full stack trace of the errors, re-run Maven with the -e
>>> switch.
>>> Re-run Maven using the -X switch to enable full debug logging.
>>>
>>> For more information about the errors and possible solutions, please
>>> read the following articles:
>>> [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>>>
>>> =
>>>
>>> I have modified nothing; all was generated by NetBeans.
>>>
>>> I am not used to Maven. Did I missed something or is it a bug?
>>>
>>> Richard Grin
>>>
>>>
>>> -
>>> 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: Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Josh Juneau
Thanks Richard and Geertjan.  It probably makes sense to remove this 
functionality since this application style is not very relevant nowadays.  With 
respect to the error, it looks like the Maven archetype for that particular 
project type must be missing from Maven central.  

Josh Juneau
http://jj-blogger.blogspot.com
https://www.apress.com/index.php/author/author/view/id/1866


> On Jul 18, 2019, at 6:36 AM, Geertjan Wielenga  wrote:
> 
> Yes, that goes without saying. An issue is needed and then we can take a 
> look, probably we need to examine whether Enterprise Applications still make 
> sense in the Java/Jakarta EE space.
> 
> Gj
> 
>> On Thu, Jul 18, 2019 at 1:33 PM Richard Grin 
>>  wrote:
>> Yes Geertjan, perhaps, but, if it is a bug, it would be better to try to 
>> repair it, or to remove the functionality if it is no longer useful.
>> 
>> Richard 
>> 
>> 
>> 
>> Envoyé depuis mon smartphone Samsung Galaxy.
>> 
>> 
>>  Message d'origine 
>> De : Geertjan Wielenga 
>> Date : 18/07/2019 13:05 (GMT+01:00)
>> À : Richard Grin 
>> Cc : NetBeans Mailing List 
>> Objet : Re: Error message during creation of an Entreprise Application with 
>> Maven
>> 
>> Probably better to create standard Web Applications in Maven nowadays, 
>> rather than Enterprise Applications.
>> 
>> Gj
>> 
>>> On Thu, Jul 18, 2019 at 12:20 PM Richard Grin 
>>>  wrote:
>>> Hi,
>>> 
>>> I have just tested NetBeans 11.1 beta 4.
>>> 
>>> Payara 5.192 installed.
>>> 
>>> In the properties of the project :
>>> 
>>> Source/Binary Format: 1.8. 
>>> Build > Compile JDK 10 (Default).
>>> Creation of a Java EE 8 Entreprise Application. The attached window is 
>>> displayed and I click on "Finish". 
>>> 
>>> An error is displayed in the logs (tab "Ouput - Priming 
>>> tpCustomerApplication-ear":
>>> 
>>> 
>>> 
>>> Building tpCustomerApplication-ear-1.0-SNAPSHOT 1.0-SNAPSHOT
>>> 
>>> The POM for fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT is missing, 
>>> no dependency information available
>>> The POM for fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT is missing, 
>>> no dependency information available
>>> 
>>> BUILD FAILURE
>>> 
>>> Total time: 0.331 s
>>> Finished at: 2019-07-18T12:04:02+02:00
>>> Final Memory: 7M/37M
>>> 
>>> Failed to execute goal on project tpCustomerApplication-ear: Could not 
>>> resolve dependencies for project 
>>> fr.grin:tpCustomerApplication-ear:war:1.0-SNAPSHOT: The following artifacts 
>>> could not be resolved: fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT, 
>>> fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT: Could not find artifact 
>>> fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT -> [Help 1]
>>> 
>>> To see the full stack trace of the errors, re-run Maven with the -e switch.
>>> Re-run Maven using the -X switch to enable full debug logging.
>>> 
>>> For more information about the errors and possible solutions, please read 
>>> the following articles:
>>> [Help 1] 
>>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>>> 
>>> =
>>> 
>>> I have modified nothing; all was generated by NetBeans.
>>> 
>>> I am not used to Maven. Did I missed something or is it a bug?
>>> 
>>> Richard Grin
>>> 
>>> -
>>> 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: property 'do.jlink.internal' not set

2019-07-18 Thread Emma Atkinson
SOLVED

I have solved the problem.  There may be a minor bug to be addressed
depending on one's view about reducing the likelihood of users making
avoidable mistakes..

If one create a non-modular application the Netbeans Ant scripts skip
generating the jlink image.  This makes sense as jlink images need to
select the modules used by the application to avoid drawing in the whole
JRE.

I suggest the minor bug was that a non-modular application allowed the user
to check the Create jlink box on without a warning. I do not know if
detecting whether the application has a modular structure in a reliable
manner is particularly easy.  Could it be as simple as displaying a warning
recommending the user converts the application into a modular application
if the Create jlink box is enabled but no module-info.java file?

Regards

Emma




On Thu, 18 Jul 2019 at 11:38, Emma Atkinson 
wrote:

> Hello
> I do not know if this is a bug.  I have checked JIRA and nothing appeared
> to me.
>
> I am using Product Version: Apache NetBeans IDE 11.0 (Build
> incubator-netbeans-release-404-on-20190319) on JDK-11.
>
> Create New Project
> Select "Java with Ant
> Select "Java Application"
> Accept all defaults and tick box "Create Main Class"
> Go to Project Properties > Build > Packaging
> Enable the box "Create JLINK distribution"
> Enable "Create Launcher"
> Click OK to save properties.
> Using RMB select "Clean and Build"
> The Output window shows
> 
> To run this application from the command line without Ant, try:
> /usr/java/jdk-11/bin/java -cp
> /home/emma/NetBeansProjects/JavaApplication28/dist/JavaApplication28.jar
> javaapplication28.JavaApplication28
> -init-macrodef-copylibs:
> creating macro  http://www.netbeans.org/ns/j2se-project/3:copylibs
> -do-jar-copylibs:
> Skipped because property 'do.mkdist' not set.
> -do-jar-delete-manifest:
> Deleting /home/emma/NetBeansProjects/JavaApplication28/build/null939241021
> -do-jar-without-libraries:
> -do-jar-with-libraries:
> -post-jar:
> -do-jar:
> -pre-deploy:
> -check-jlink:
>
>
> *-do-deploy:Skipped because property 'do.jlink.internal' not
> set.-post-deploy:*
> deploy:
> jar:
> BUILD SUCCESSFUL (total time: 0 seconds)
>
> The build script does not build a jlink image.
> I cannot find property* 'do.jlink.internal' *anywhere.
>
> I have built a jlink image successfully in one of the previous Netbeans
> versions but cannot recall how I did it.
>
> Any clues on investigating this matter would be appreciated.
>
> Thank you.
>
>
>
>
>
>


Re: Netbeans 8.2 became too slow

2019-07-18 Thread Geertjan Wielenga
Stop using 8.2 and use the latest Apache NetBeans instead, see
netbeans.apache.org.

Gj

On Thu, Jul 18, 2019 at 3:37 PM Jerome Lelasseux
 wrote:

> Hello,
>
> Sometimes Netbeans takes forever at startup (more than 5 min of splash
> screen, usually it's about 10-20sec) and I don't understand why. During
> general use (compilation etc) it also became much slower than it used to
> be. I have not done changes to my PC which could explain this, other apps
> run fine. I tried reinstall, cleaning Netbeans cache, disabling antivirus,
> ...
>
> What should I try to identify the source of the problem ?
>
> Thank you.
>
>
> *Product Version:* NetBeans IDE 8.2 (Build 201610071157)
>
> *Updates:* NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> 
>
> *Java:* 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
>
> *Runtime:* Java(TM) SE Runtime Environment 1.8.0_221-b11
>
> *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>
> *User directory:*
> C:\Users\Administrateur.000\AppData\Roaming\NetBeans\8.2
>
> *Cache directory:*
> C:\Users\Administrateur.000\AppData\Local\NetBeans\Cache\8.2
>
>
> Jerome
>


Netbeans 8.2 became too slow

2019-07-18 Thread Jerome Lelasseux
Hello,
Sometimes Netbeans takes forever at startup (more than 5 min of splash screen, 
usually it's about 10-20sec) and I don't understand why. During general use 
(compilation etc) it also became much slower than it used to be. I have not 
done changes to my PC which could explain this, other apps run fine. I tried 
reinstall, cleaning Netbeans cache, disabling antivirus, ...
What should I try to identify the source of the problem ? 

Thank you.


  
 Product Version: NetBeans IDE 8.2 (Build 201610071157) 
 
 Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2 
 
 Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11 
 
 Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11 
 
 System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) 
 
 User directory: C:\Users\Administrateur.000\AppData\Roaming\NetBeans\8.2 
 
 Cache directory: C:\Users\Administrateur.000\AppData\Local\NetBeans\Cache\8.2 
  

Jerome


Re: Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Geertjan Wielenga
Yes, that goes without saying. An issue is needed and then we can take a
look, probably we need to examine whether Enterprise Applications still
make sense in the Java/Jakarta EE space.

Gj

On Thu, Jul 18, 2019 at 1:33 PM Richard Grin 
wrote:

> Yes Geertjan, perhaps, but, if it is a bug, it would be better to try to
> repair it, or to remove the functionality if it is no longer useful.
>
> Richard
>
>
>
> Envoyé depuis mon smartphone Samsung Galaxy.
>
>
>  Message d'origine 
> De : Geertjan Wielenga 
> Date : 18/07/2019 13:05 (GMT+01:00)
> À : Richard Grin 
> Cc : NetBeans Mailing List 
> Objet : Re: Error message during creation of an Entreprise Application
> with Maven
>
> Probably better to create standard Web Applications in Maven nowadays,
> rather than Enterprise Applications.
>
> Gj
>
> On Thu, Jul 18, 2019 at 12:20 PM Richard Grin <
> richard.g...@univ-cotedazur.fr> wrote:
>
>> Hi,
>>
>> I have just tested NetBeans 11.1 beta 4.
>>
>> Payara 5.192 installed.
>>
>> In the properties of the project :
>>
>>- Source/Binary Format: 1.8.
>>- Build > Compile JDK 10 (Default).
>>
>> Creation of a Java EE 8 Entreprise Application. The attached window is
>> displayed and I click on "Finish".
>>
>> An error is displayed in the logs (tab "Ouput - Priming
>> tpCustomerApplication-ear":
>>
>> 
>>
>> Building tpCustomerApplication-ear-1.0-SNAPSHOT 1.0-SNAPSHOT
>> 
>> The POM for fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT is
>> missing, no dependency information available
>> The POM for fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT is
>> missing, no dependency information available
>> 
>> BUILD FAILURE
>> 
>> Total time: 0.331 s
>> Finished at: 2019-07-18T12:04:02+02:00
>> Final Memory: 7M/37M
>> 
>> Failed to execute goal on project tpCustomerApplication-ear: Could not
>> resolve dependencies for project
>> fr.grin:tpCustomerApplication-ear:war:1.0-SNAPSHOT: The following artifacts
>> could not be resolved: fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT,
>> fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT: Could not find artifact
>> fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT -> [Help 1]
>>
>> To see the full stack trace of the errors, re-run Maven with the -e
>> switch.
>> Re-run Maven using the -X switch to enable full debug logging.
>>
>> For more information about the errors and possible solutions, please read
>> the following articles:
>> [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>>
>> =
>>
>> I have modified nothing; all was generated by NetBeans.
>>
>> I am not used to Maven. Did I missed something or is it a bug?
>>
>> Richard Grin
>>
>>
>> -
>> 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: Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Richard Grin
Yes Geertjan, perhaps, but, if it is a bug, it would be better to try to repair 
it, or to remove the functionality if it is no longer useful.

Richard



Envoyé depuis mon smartphone Samsung Galaxy.


 Message d'origine 
De : Geertjan Wielenga 
Date : 18/07/2019 13:05 (GMT+01:00)
À : Richard Grin 
Cc : NetBeans Mailing List 
Objet : Re: Error message during creation of an Entreprise Application with 
Maven

Probably better to create standard Web Applications in Maven nowadays, rather 
than Enterprise Applications.

Gj

On Thu, Jul 18, 2019 at 12:20 PM Richard Grin 
mailto:richard.g...@univ-cotedazur.fr>> wrote:

Hi,

I have just tested NetBeans 11.1 beta 4.

Payara 5.192 installed.

In the properties of the project :

  *   Source/Binary Format: 1.8.
  *   Build > Compile JDK 10 (Default).

Creation of a Java EE 8 Entreprise Application. The attached window is 
displayed and I click on "Finish".

An error is displayed in the logs (tab "Ouput - Priming 
tpCustomerApplication-ear":



Building tpCustomerApplication-ear-1.0-SNAPSHOT 1.0-SNAPSHOT

The POM for fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT is missing, no 
dependency information available
The POM for fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT is missing, no 
dependency information available

BUILD FAILURE

Total time: 0.331 s
Finished at: 2019-07-18T12:04:02+02:00
Final Memory: 7M/37M

Failed to execute goal on project tpCustomerApplication-ear: Could not resolve 
dependencies for project fr.grin:tpCustomerApplication-ear:war:1.0-SNAPSHOT: 
The following artifacts could not be resolved: 
fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT, 
fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT: Could not find artifact 
fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the 
following articles:
[Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

=

I have modified nothing; all was generated by NetBeans.

I am not used to Maven. Did I missed something or is it a bug?

Richard Grin

-
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: Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Geertjan Wielenga
Probably better to create standard Web Applications in Maven nowadays,
rather than Enterprise Applications.

Gj

On Thu, Jul 18, 2019 at 12:20 PM Richard Grin <
richard.g...@univ-cotedazur.fr> wrote:

> Hi,
>
> I have just tested NetBeans 11.1 beta 4.
>
> Payara 5.192 installed.
>
> In the properties of the project :
>
>- Source/Binary Format: 1.8.
>- Build > Compile JDK 10 (Default).
>
> Creation of a Java EE 8 Entreprise Application. The attached window is
> displayed and I click on "Finish".
>
> An error is displayed in the logs (tab "Ouput - Priming
> tpCustomerApplication-ear":
>
> 
>
> Building tpCustomerApplication-ear-1.0-SNAPSHOT 1.0-SNAPSHOT
> 
> The POM for fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT is missing,
> no dependency information available
> The POM for fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT is missing,
> no dependency information available
> 
> BUILD FAILURE
> 
> Total time: 0.331 s
> Finished at: 2019-07-18T12:04:02+02:00
> Final Memory: 7M/37M
> 
> Failed to execute goal on project tpCustomerApplication-ear: Could not
> resolve dependencies for project
> fr.grin:tpCustomerApplication-ear:war:1.0-SNAPSHOT: The following artifacts
> could not be resolved: fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT,
> fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT: Could not find artifact
> fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT -> [Help 1]
>
> To see the full stack trace of the errors, re-run Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.
>
> For more information about the errors and possible solutions, please read
> the following articles:
> [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>
> =
>
> I have modified nothing; all was generated by NetBeans.
>
> I am not used to Maven. Did I missed something or is it a bug?
>
> Richard Grin
>
>
> -
> 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


property 'do.jlink.internal' not set

2019-07-18 Thread Emma Atkinson
Hello
I do not know if this is a bug.  I have checked JIRA and nothing appeared
to me.

I am using Product Version: Apache NetBeans IDE 11.0 (Build
incubator-netbeans-release-404-on-20190319) on JDK-11.

Create New Project
Select "Java with Ant
Select "Java Application"
Accept all defaults and tick box "Create Main Class"
Go to Project Properties > Build > Packaging
Enable the box "Create JLINK distribution"
Enable "Create Launcher"
Click OK to save properties.
Using RMB select "Clean and Build"
The Output window shows

To run this application from the command line without Ant, try:
/usr/java/jdk-11/bin/java -cp
/home/emma/NetBeansProjects/JavaApplication28/dist/JavaApplication28.jar
javaapplication28.JavaApplication28
-init-macrodef-copylibs:
creating macro  http://www.netbeans.org/ns/j2se-project/3:copylibs
-do-jar-copylibs:
Skipped because property 'do.mkdist' not set.
-do-jar-delete-manifest:
Deleting /home/emma/NetBeansProjects/JavaApplication28/build/null939241021
-do-jar-without-libraries:
-do-jar-with-libraries:
-post-jar:
-do-jar:
-pre-deploy:
-check-jlink:


*-do-deploy:Skipped because property 'do.jlink.internal' not
set.-post-deploy:*
deploy:
jar:
BUILD SUCCESSFUL (total time: 0 seconds)

The build script does not build a jlink image.
I cannot find property* 'do.jlink.internal' *anywhere.

I have built a jlink image successfully in one of the previous Netbeans
versions but cannot recall how I did it.

Any clues on investigating this matter would be appreciated.

Thank you.