[ 
https://issues.apache.org/jira/browse/NETBEANS-1906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Lenz updated NETBEANS-1906:
-------------------------------------
    Description: 
If I have an ant based NetBeans module and I run or debug it, I have an action 
on the project called "Reload in Target platform". That means, that it will 
apply code changes on the running instance of NetBeans where it runs my plugin. 
This is really nice and works often quite good. So I don't need to restart my 
instance.

When I have a maven based NetBeans module, the action is also there, but this 
is not working. Instead of applying the code changes, I always got this message 
dialog (See screenshot)

 !image-2019-01-09-11-32-09-446.png|thumbnail! 

I attached my project, where this happens.

Steps:
* Open my project in NetBeans
* Build it
* Run it
* Change smth (Not needed)
* Right click the project
* Choose "Reload in Target platform
* See this dialog.

I don't know why this happens, but I expect the same result as for an ant based 
NetBeans module. If this is not possible, for whatever reason, the action 
shouldn't be there.

Cheers

Chris

  was:
If I have an ant based NetBeans module and I run or debug it, I have an action 
on the project called "Reload in Target platform". That means, that it will 
apply code changes on the running instance of NetBeans where it runs my plugin. 
This is really nice and works often quite good. So I don't need to restart my 
instance.

When I have a maven based NetBeans module, the action is also there, but this 
is not working. Instead of applying the code changes, I always got this message 
dialog:

 !image-2019-01-09-11-32-09-446.png|thumbnail! 

I attached my project, where this happens.

Steps:
* Open my project in NetBeans
* Build it
* Run it
* Change smth (Not needed)
* Right click the project
* Choose "Reload in Target platform
* See this dialog.

I don't know why this happens, but I expect the same result as for an ant based 
NetBeans module. If this is not possible, for whatever reason, the action 
shouldn't be there.

Cheers

Chris


> Reload in target platform doesn't work for maven based NetBeans module
> ----------------------------------------------------------------------
>
>                 Key: NETBEANS-1906
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1906
>             Project: NetBeans
>          Issue Type: Bug
>          Components: platform - Module System, projects - Maven
>    Affects Versions: 8.2, 9.0, 10.0
>            Reporter: Christian Lenz
>            Priority: Major
>         Attachments: NBShowMimeType.7z, image-2019-01-09-11-32-09-446.png
>
>
> If I have an ant based NetBeans module and I run or debug it, I have an 
> action on the project called "Reload in Target platform". That means, that it 
> will apply code changes on the running instance of NetBeans where it runs my 
> plugin. This is really nice and works often quite good. So I don't need to 
> restart my instance.
> When I have a maven based NetBeans module, the action is also there, but this 
> is not working. Instead of applying the code changes, I always got this 
> message dialog (See screenshot)
>  !image-2019-01-09-11-32-09-446.png|thumbnail! 
> I attached my project, where this happens.
> Steps:
> * Open my project in NetBeans
> * Build it
> * Run it
> * Change smth (Not needed)
> * Right click the project
> * Choose "Reload in Target platform
> * See this dialog.
> I don't know why this happens, but I expect the same result as for an ant 
> based NetBeans module. If this is not possible, for whatever reason, the 
> action shouldn't be there.
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to