[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

  • From:
  • To:
  • Subject: [Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module
  • Date: Mon, 21 Jan 2013 20:55:37 +0000
  • Auto-submitted: auto-generated

http://netbeans.org/bugzilla/show_bug.cgi?id=221781

--- Comment #13 from Milos Kleint 
< >
 2013-01-21 20:55:37 UTC ---
do you have compile on save on or off? that's the only possible place where
netbeans IDE support could be involved, otherwise it's either maven itself 
(via
some of the plugins) and/or the annotation processor codebase.

I've tried with CoS off.
1. on the main project level, adding a @provider annotation gets correctly
processed (META-INF/services/FakeProvider file gets updated. However removing
the annotation does not update it. That seems correct to me. The update 
appears
to get transfered correctly from target/classes to jar to nbm (that's 
something
you can verify on your side as well)
2. on the app project level, we compare the dependency's nbm file timestamp  -
File.lastModified() -against the .lastModified timestamp file in the cluster
folder. If the nbm file is newer it's content gets copied into the
application's clusters. you can verify that by enabling debug message in maven
build and looking for something along these lines:
Copying
org.netbeans.modules.tests.issue-221781-maven:netbeans-221781-maven-main:nbm-file:1.0-SNAPSHOT
to cluster netbeans221781maven
The .lastModified files are touched after all the nbm files are updated.
This also seemed to work for me fine and the nbm file appeared to get properly
copied over.
3. the rest is runtime stuff, maybe some caches are in the way. I didn't try
that one. You can check this by deleting the user directory in
application/target/ after building the app and before running it.

-- 
Configure bugmail: http://netbeans.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/17/2013

<Possible follow-up(s)>

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/17/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/17/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/17/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/21/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

mkleint 01/21/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/23/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/23/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

mkleint 01/23/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/23/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/23/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/23/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/23/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/23/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/23/2013

[Bug 221781] Maven NB RCP changes to moduleType and various other module meta-data related features do not take effect without cleaning the module

wadechandler 01/23/2013

Project Features

About this Project

APIsupport was started in November 2009, is owned by Antonin Nebuzelsky, and has 117 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close