Release note: Raptor cannot report error or warning message in wrong implib project fix
authoryiluzhu
Tue, 23 Feb 2010 11:55:49 +0000
branchfix
changeset 246 b9b473d0d6df
parent 245 cbc11ebd788f
child 247 8426d4dedf84
Release note: Raptor cannot report error or warning message in wrong implib project
sbsv2/raptor/RELEASE-NOTES.txt
sbsv2/raptor/python/raptor_meta.py
--- a/sbsv2/raptor/RELEASE-NOTES.txt	Fri Feb 19 15:26:40 2010 +0000
+++ b/sbsv2/raptor/RELEASE-NOTES.txt	Tue Feb 23 11:55:49 2010 +0000
@@ -3,6 +3,7 @@
 next version
 
 Defect Fixes:
+- SF Bug 1571 - Raptor cannot report error or warning message in wrong implib project
 - DPDEF142718 Incremental rebuild fails if dependent files deleted
   --no-depend-generate added to suppress the generation and processing of dependency files
   .DEFAULT target introduced for all non --no-depend-generate and/or --no-depend-include builds
--- a/sbsv2/raptor/python/raptor_meta.py	Fri Feb 19 15:26:40 2010 +0000
+++ b/sbsv2/raptor/python/raptor_meta.py	Tue Feb 23 11:55:49 2010 +0000
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+# Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
 # All rights reserved.
 # This component and the accompanying materials are made available
 # under the terms of the License "Eclipse Public License v1.0"
@@ -2276,7 +2276,8 @@
 		explicitly or implicitly, otherwise it is an error
 		""" 
 		if self.getTargetType() == 'implib' and defFile == '':
-			self.__Raptor.Error("No DEF File for IMPLIB target type in " + self.__currentMmpFile)
+			self.__Raptor.Error("No DEF File for IMPLIB target type in " + \
+							self.__currentMmpFile, bldinf=self.__bldInfFilename)
 
 	def resolveDefFile(self, aTARGET, aBuildPlatform):
 		"""Returns a fully resolved DEFFILE entry depending on .mmp file location and TARGET, DEFFILE and NOSTRICTDEF