Subversion Repositories DevTools

Rev

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

Rev 852 Rev 854
Line 192... Line 192...
192
            MutableString isRipple = new MutableString();
192
            MutableString isRipple = new MutableString();
193
            MutableString packageVersionId = new MutableString();
193
            MutableString packageVersionId = new MutableString();
194
            MutableString fullyPublished = new MutableString();
194
            MutableString fullyPublished = new MutableString();
195
            MutableString newLabel = new MutableString();
195
            MutableString newLabel = new MutableString();
196
            MutableString doesNotRequireSourceControlInteraction = new MutableString();
196
            MutableString doesNotRequireSourceControlInteraction = new MutableString();
-
 
197
            boolean buildOccurred = false;
-
 
198
            
-
 
199
            try
-
 
200
            {
197
            boolean buildOccurred = retrieveLastPackage(mRtagId,
201
              buildOccurred = retrieveLastPackage(mRtagId,
198
                                                        packageName, 
202
                                                  packageName, 
199
                                                        packageExtension, 
203
                                                  packageExtension, 
200
                                                        packageVersion, 
204
                                                  packageVersion, 
201
                                                        packageDepends, 
205
                                                  packageDepends, 
202
                                                        isRipple,
206
                                                  isRipple,
203
                                                        packageVersionId, 
207
                                                  packageVersionId, 
204
                                                        fullyPublished,
208
                                                  fullyPublished,
205
                                                        newLabel,
209
                                                  newLabel,
206
                                                        doesNotRequireSourceControlInteraction);
210
                                                  doesNotRequireSourceControlInteraction);
-
 
211
            }
-
 
212
            catch( IOException e )
-
 
213
            {
-
 
214
              // this is caught here to ensure an exception cannot circumvent the deletion of the build file below
-
 
215
              mLogger.warn("run IOException");
-
 
216
            }
-
 
217
            
207
            if ( buildOccurred )
218
            if ( buildOccurred )
208
            {
219
            {
209
              // buildOccurred simply means a dummy build file did not apply ie the build file had attempted a build
220
              // buildOccurred simply means a dummy build file did not apply ie the build file had attempted a build
210
              // by now it has been labelled
221
              // by now it has been labelled
211
              tearViewDown();
222
              tearViewDown();
212
              
223
              
-
 
224
              // DEVI 47395 delete the build file now
-
 
225
              // this will prevent any chance of multiply publishing a package version
-
 
226
              File buildFile = new File(mRtagId + "build.xml");
-
 
227
              
-
 
228
              if ( buildFile.exists() )
-
 
229
              {
-
 
230
                buildFile.delete();
-
 
231
              }
-
 
232
 
213
              boolean buildErrorOccurred = true;
233
              boolean buildErrorOccurred = true;
214
              try
234
              try
215
              {
235
              {
216
                
236
                
217
                if ( fullyPublished.value.compareTo("yes") == 0 )
237
                if ( fullyPublished.value.compareTo("yes") == 0 )