project/com.nokia.carbide.cpp.epoc.engine.tests/data/pkg/example/conditional.pkg
author tzelaw
Fri, 24 Apr 2009 14:48:12 -0500
changeset 125 b878114e8cc2
parent 2 d760517a8095
permissions -rw-r--r--
Overhaul of RCOMP/GCCE error parsing to fix 8901: -RCOMP error parser will defer C preprocessor errors to GCCECompiler error parser. -GCCE error parser is splited into compiler/assembler/linker, calling their counterpart in CDT respectively before handling special cases. -Updated error messages RCOMP error parser according to latest copy of RCOMP source. -WINSCW build configuration is using CDT GCC error parser instead of GCCE(for RCOMP C preprocessor error) Updated test case for error parsing -Added Bugzilla regression for GCC and make error parser -Converted test case from hardcoded SDK_ID to picking up the first SDK from device.xml with the build config specified by the test. -Fixed bug in test harness for input file ends on the last line so it was processed in the same run. -Fixed bug in test harness for not clearing problem view before each run(for visual cross check). -Rewritten test harness to use JDOM XML handling(from JAXP), to solve deployment issue in newer JRE.

;
; Copyright (c) 2009 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"
; which accompanies this distribution, and is available
; at the URL "http://www.eclipse.org/legal/epl-v10.html".
;
; Initial Contributors:
; Nokia Corporation - initial contribution.
;
; Contributors:
;
; Description: 
;
; PKG file designed to show conditional installation

&EN

%{"Symbian Software Ltd."}

:"Symbian Software Ltd."

#{"ConditionalInstall"}, (0x10000041), 1, 2, 3

!({"Option1"},{"Option2"},{"Option3"})

if exists("c:\private\10000041\import\InstTest\romeo.txt")
    "text\romeo.txt"-"!:\private\10000042\import\InstTest\romeo1.txt"
else
    "text\romeo.txt"-"!:\private\10000042\import\InstTest\romeo.txt"
endif

if (option1 = 1) AND (option2 = 1)
    "files\tbit.gif"-"!:\private\10000042\import\InstTest\tbit.gif"
endif