Bug 230695 - New Incremental Builder wizard generates incorrect reference to nature class when non-default builder class/pkg specified
Summary: New Incremental Builder wizard generates incorrect reference to nature class ...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: IMP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Stan Sutton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 230712 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-06 19:21 EDT by Robert M. Fuhrer CLA
Modified: 2014-01-09 15:04 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert M. Fuhrer CLA 2008-05-06 19:21:37 EDT
The New Incremental Builder wizard generates an incorrect reference (with the wrong package) to the nature class when the user specifies a non-default builder class or package.
Comment 1 Stan Sutton CLA 2008-08-05 11:59:58 EDT
In the NewBuilder wizard, the value used to specify the location of the implementation class for the natures extension (i.e., in the plugin.xml file) is calculated according to a formula that assumes that the nature class will be in a particular location:

    { "runtime.run:class",
      fLanguageName + ".imp.builders." + fClassNamePrefix + "Nature" }

The nature class is intended to be co-located with the corresponding builder class, and that is where the nature class is actually generated (currently users have no control over this).  The formula used to calculate the location of the nature class is based on the assumed location of the builder class.  However, the user can put the builder class into a non-default location, in which case the value computed for the location of the nature class will be wrong.
Comment 2 Stan Sutton CLA 2008-08-05 12:01:18 EDT
*** Bug 230712 has been marked as a duplicate of this bug. ***