This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 42306 - Introduce property evaluator API
Summary: Introduce property evaluator API
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2004-04-21 23:49 UTC by Jesse Glick
Modified: 2004-08-13 12:10 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Patch against current trunk sources (already some work in trunk, but private) (51.79 KB, patch)
2004-04-21 23:51 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-04-21 23:49:13 UTC
Currently many things in the ant/project module
hardcode the precise sequence of property loads
which are used for the J2SE project type. However
other project types have slightly different needs
for how to evaluate Ant properties.

This API change introduces new interfaces
PropertyProvider and PropertyEvaluator; factory
methods in PropertyUtils and AntProjectHelper to
create useful impls; and changes existing
convenience impls of various interfaces in the
module to accept a PropertyEvaluator for greater
flexibility.
Comment 1 Jesse Glick 2004-04-21 23:51:23 UTC
Created attachment 14518 [details]
Patch against current trunk sources (already some work in trunk, but private)
Comment 2 Jesse Glick 2004-04-22 04:27:54 UTC
committed   * Up-To-Date  1.7        
ant/project/src/org/netbeans/spi/project/support/ant/AntProjectHelper.java
committed   * Up-To-Date  1.5        
ant/project/src/org/netbeans/spi/project/support/ant/GlobFileBuiltQuery.java
added       * Up-To-Date  1.1        
ant/project/src/org/netbeans/spi/project/support/ant/ProjectProperties.java
committed   * Up-To-Date  1.2        
ant/project/src/org/netbeans/spi/project/support/ant/PropertyEvaluator.java
committed   * Up-To-Date  1.2        
ant/project/src/org/netbeans/spi/project/support/ant/PropertyProvider.java
committed   * Up-To-Date  1.6        
ant/project/src/org/netbeans/spi/project/support/ant/PropertyUtils.java
committed   * Up-To-Date  1.6        
ant/project/src/org/netbeans/spi/project/support/ant/ReferenceHelper.java
committed   * Up-To-Date  1.3        
ant/project/src/org/netbeans/spi/project/support/ant/SharabilityQueryImpl.java
committed   * Up-To-Date  1.5        
ant/project/src/org/netbeans/spi/project/support/ant/SimpleAntArtifact.java
committed   * Up-To-Date  1.3        
ant/project/src/org/netbeans/spi/project/support/ant/SubprojectProviderImpl.java
committed   * Up-To-Date  1.5        
ant/project/test/unit/src/org/netbeans/spi/project/support/ant/AntProjectHelperTest.java
committed   * Up-To-Date  1.5        
ant/project/test/unit/src/org/netbeans/spi/project/support/ant/PropertyUtilsTest.java
committed   * Up-To-Date  1.4        
ant/project/test/unit/src/org/netbeans/spi/project/support/ant/ReferenceHelperTest.java
committed   * Up-To-Date  1.21       
apisupport/project/src/org/netbeans/modules/apisupport/project/ClassPathProviderImpl.java
committed   * Up-To-Date  1.32       
apisupport/project/src/org/netbeans/modules/apisupport/project/NbModuleProject.java
committed   * Up-To-Date  1.5        
apisupport/project/src/org/netbeans/modules/apisupport/project/UnitTestForSourceQueryImpl.java
committed   * Up-To-Date  1.9        
java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEProject.java
committed   * Up-To-Date  1.3        
java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/BootClassPathImplementation.java
committed   * Up-To-Date  1.4        
java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/ClassPathProviderImpl.java
committed   * Up-To-Date  1.3        
java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/ProjectClassPathImplementation.java
committed   * Up-To-Date  1.3        
java/j2seproject/src/org/netbeans/modules/java/j2seproject/queries/CompiledSourceForBinaryQuery.java
committed   * Up-To-Date  1.3        
java/j2seproject/src/org/netbeans/modules/java/j2seproject/queries/JavadocForBinaryQueryImpl.java
committed   * Up-To-Date  1.3        
java/j2seproject/src/org/netbeans/modules/java/j2seproject/queries/UnitTestForSourceQueryImpl.java
committed   * Up-To-Date  1.5        
java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SECustomizerProvider.java
committed   * Up-To-Date  1.5        
java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SEPhysicalViewProvider.java
committed   * Up-To-Date  1.5        
java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SEViews.java
committed   * Up-To-Date  1.6        
java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/J2SEProjectProperties.java