builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/error/parsers/MakeSisErrorParser.java
changeset 501 c39dede7ad37
parent 101 508f2f2592b2
equal deleted inserted replaced
499:25d5d03df940 501:c39dede7ad37
    43 		// (c)
    43 		// (c)
    44 		// filename(lineno) : Error: description
    44 		// filename(lineno) : Error: description
    45 		// OR
    45 		// OR
    46 		// (lineno) : Error: description
    46 		// (lineno) : Error: description
    47 		
    47 		
    48 		if (   aLine.contains("makesis.exe ")) {
    48 		if (aLine.contains("makesis.exe ")) {
    49 			int packageStart = aLine.indexOf("makesis.exe ") + "makesis.exe ".length();
    49 			int packageStart = aLine.indexOf("makesis.exe ") + "makesis.exe ".length();
    50 			int packageEnd   = aLine.indexOf(' ', packageStart);
    50 			int packageEnd   = aLine.indexOf(' ', packageStart);
    51 			// store the name of the package file for cases above where
    51 			// store the name of the package file for cases above where
    52 			// the line number is shown without the package filename
    52 			// the line number is shown without the package filename
    53 			if (packageEnd != -1)
    53 			if (packageEnd != -1)
    78 		if (!setFirstColon(aLine)) {
    78 		if (!setFirstColon(aLine)) {
    79 			return false;
    79 			return false;
    80 		}
    80 		}
    81 		setDescription(aLine);
    81 		setDescription(aLine);
    82 		
    82 		
    83 		if (aLine.contains(CarbideCPPBuilder.RESOLVED_PKG_PREFIX)){
    83 //		if (aLine.contains(CarbideCPPBuilder.RESOLVED_PKG_PREFIX)){
    84 			aLine = aLine.replaceAll(CarbideCPPBuilder.RESOLVED_PKG_PREFIX, "");
    84 //			aLine = aLine.replaceAll(CarbideCPPBuilder.RESOLVED_PKG_PREFIX, "");
    85 		}
    85 //		}
    86 		
    86 		
    87 		if (!setFileNameAndLineNumber(aLine)) {
    87 		if (!setFileNameAndLineNumber(aLine)) {
    88 			return false;
    88 			return false;
    89 		}
    89 		}
    90 		String[] extensionsToExclude = {".rss", ".def"};
    90 		String[] extensionsToExclude = {".rss", ".def"};