NetBeans New Features$Revision: 1.3 $ special thanks to for the xsl and ant scripts and for original ideas. Abstract:
Changes: available in CVS Contents:
1. OverviewThe main reson of this proposal is to simplify the work with new features proposals and plans in NetBeans. It will allow to write xsl files, which will generate the exact collection of features you need (e.g. only significant features for the whole release). An example can be the generation of "WhatIsNew.html" file at the end of release cycle. The features will be collected per module in one plan.xml file. Using xsl it is possible to generate html files for every module and also features for whole release. In order to to track the implementation progress during different phases of release the features can and are suggested to link into an issue in issuezilla. The actual information (progress, status, target version, responsible persons) will be extracted from the associated issue and updated dynamically each time the pages are regenerated. The whole infrastructure consists of the following parts:
2. How to write features for your module
Three Examples
Example fully generated from IssueZillaFill planned issue into IssueZilla. There is conventionally introduced status whileboard attribute named "duration" that maps directly to plan.xml'sMark somehow issues that you have planned. I used a "mykeyword" placed in status whiteboard. Create a build script that will generate plan.xml draft:
<taskdef name="noplans"
classname="org.netbeans.nbbuild.NoPlans"
classpath="${nbbuild_root}/nbantext.jar"
/>
<!-- For those behind firewall. -->
<property name="http.proxyPort" value="..." />
<property name="http.proxyHost" value="..." />
<target name="generate-plans">
<noplans target="plans.xml"
query="component=mycomponent&target_milestone=4.0&status_whiteboard=mykeyword&status_whiteboard_type=allwords"
group="MyPlan"
/>
</target>
where:
Let PlanPreprocess task genereates all requirement details from Issuezilla connection. Example of one requirement that uses connection with issuezilla
<requirement issue="14234" duration="5" user-impact="high">
<short-description>
Create list of planned features for NetBeans release 3.3.
</short-description>
<long-description>
<body><p>Make features list for NetBeans 3.3.</p><p>
All modules will have own list in $modulehome/www/plans/plan.xml
This features will be collected to one list for whole NetBeans 3.3</p></body>
</long-description>
<req-link href="http://www.netbeans.org/release33/">NetBeans - Release 3.3 Homepage</req-link>
<req-link href="http://www.netbeans.org/release33/features/infrastructure/index.html">Instructions</>
</requirement>
Another example that overrides name, roles and percentage-complete
<requirement issue="17132" name="Features list" percentage-complete="90" user-impact="high">
<short-description>
Create list of planned features for NetBeans release 3.3.
</short-description>
<long-description>
<body><p>Make features list for NetBeans 3.3.</p><p>
All modules will have own list in $modulehome/www/plans/plan.xml
This features will be collected to one list for whole NetBeans 3.3</p></body>
</long-description>
<roles>
<person nickname="Petr Hamernik">
<e-mail>petr.hamernik@czech.sun.com</e-mail>
<role name="owner"/>
</person>
</roles>
<req-link href="http://www.netbeans.org/release33/">NetBeans - Release 3.3 Homepage</req-link>
<req-link href="http://www.netbeans.org/release33/features/infrastructure/index.html">Instructions</>
</requirement>
FAQs:
3. XSL styles
4. Strengths and weaknessesStrengths of this solution are:
Weaknesses:
Please send comments to or to directly to me: . Thanks.
|
Releases & PlanningHow Do IGet Connected |