Subversion Repositories DevTools

Rev

Rev 902 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 902 Rev 906
Line 201... Line 201...
201
                    {
201
                    {
202
                      Integer rtagId = new Integer(mRtagId);
202
                      Integer rtagId = new Integer(mRtagId);
203
                      
203
                      
204
                      if ( mGbeGatherMetricsOnly == null )
204
                      if ( mGbeGatherMetricsOnly == null )
205
                      {
205
                      {
206
                        if ( mReportingDoesNotRequireSourceControlInteraction.compareTo("false") == 0 )
-
 
207
                        {
-
 
208
                          // requires source control interaction ie labelled in ClearCase
-
 
209
                          // publish to release manager
206
                        // publish to release manager
210
                          mReleaseManager.autoMakeRelease(rtagId.toString(), mReportingPackageName, mReportingPackageExtension, mReportingPackageVersion, reportingNewLabel, mReportingPackageDepends, mReportingIsRipple);
-
 
211
                        }
-
 
212
                        else
-
 
213
                        {
-
 
214
                          // trigger release note generation and on_make_official.wsf, which changes ownership and write access in the archive
-
 
215
                          // this should not be through autoMakeRelease (sledgehammer, the package is already official in release manager in this scenario)
-
 
216
                          // at the time of writing, calling autoMakeRelease does not help if the package was 'released' more than 24 hours ago
-
 
217
                          // this seems to be a business rule in the generate_release_notes package
-
 
218
                          // the buildtool has no option but to call autoMakeRelease at present
-
 
219
                          mReleaseManager.autoMakeRelease(rtagId.toString(), mReportingPackageName, mReportingPackageExtension, mReportingPackageVersion, reportingNewLabel, mReportingPackageDepends, mReportingIsRipple);
207
                        mReleaseManager.autoMakeRelease(rtagId.toString(), mReportingPackageName, mReportingPackageExtension, mReportingPackageVersion, reportingNewLabel, mReportingPackageDepends, mReportingIsRipple);
220
                        }
-
 
221
                      }
208
                      }
222
                      
209
                      
223
                      FileInputStream abtmetrics = new FileInputStream( rtagId.toString() + "abtmetrics.txt" );
210
                      FileInputStream abtmetrics = new FileInputStream( rtagId.toString() + "abtmetrics.txt" );
224
                      DataInputStream din = new DataInputStream( abtmetrics );
211
                      DataInputStream din = new DataInputStream( abtmetrics );
225
                      InputStreamReader isr = new InputStreamReader( din );
212
                      InputStreamReader isr = new InputStreamReader( din );