[nbusers] Re: is this a bug?

  • From: trhouse < >
  • To:
  • Subject: [nbusers] Re: is this a bug?
  • Date: Mon, 26 Nov 2012 16:14:42 -0500

Hey great answer. Thank you so much.


On 11/26/2012 3:52 PM, Ion Iovu wrote:
" type="cite">trhouse, 
got it.

You created a NetBeans Module, you specified com.mycompany.myproduct.mymodule in the 'Code Name Base'.
As a result the com.mycompany.myproduct.mymodule package was created.
You renamed that package to org.myorg and you expect that the name of code name base to change respectively.

Those are actually different things. The Code Name base is the unique identifier of a module in the universe. Having a package with the same name is convenient resemblance only.
When it comes to packages, you could have any number of different packages within a module, e.g.
  biz.cherry.gan
  info.pear.style
which do not affect how the module is identified in the universe.

This is needed so.
Say you start with org.mymoduleid as the id and a package with the same name. You release it to the public. For version 2 you need to copy things from a MIT style licence project to modify and use in your module, say org.very.open. What is supposed to happen to the way the package is identified now.
If you change the module code name base, you'll surprise your users.

On Mon, Nov 26, 2012 at 10:32 PM, Ion Iovu < " target="_blank"> > wrote:
trhouse,

could you attach a sample project as an example and instructions on how to reproduce that?

Regards


On Mon, Nov 26, 2012 at 10:00 PM, trhouse < " target="_blank"> > wrote:
Refactoring a directory which is part of a module via:

 rt popup->refactor->rename of directory

does not push through the name change to at least the following files which use the folder name:

1 manifest.mf
2 build.xml
     <project name="name is now wrong"
    <description = description is now wrong







[nbusers] is this a bug?

trhouse 11/26/2012

[nbusers] Re: is this a bug?

Ion Iovu 11/26/2012

[nbusers] Re: is this a bug?

Ion Iovu 11/26/2012

[nbusers] Re: is this a bug?

trhouse 11/26/2012

[nbusers] Re: is this a bug?

trhouse 11/26/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close