sbsv2/raptor/bin/sbs_filter.py
changeset 616 24e4ef208cca
parent 591 22486c9c7b15
child 674 37ee82a83d43
equal deleted inserted replaced
613:839712f5a78c 616:24e4ef208cca
     1 #!/usr/bin/python
     1 #!/usr/bin/python
     2 
     2 
     3 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 # All rights reserved.
     4 # All rights reserved.
     5 # This component and the accompanying materials are made available
     5 # This component and the accompanying materials are made available
     6 # under the terms of the License "Eclipse Public License v1.0"
     6 # under the terms of the License "Symbian Foundation License v1.0"
     7 # which accompanies this distribution, and is available
     7 # which accompanies this distribution, and is available
     8 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 # at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
     9 #
     9 #
    10 # Initial Contributors:
    10 # Initial Contributors:
    11 # Nokia Corporation - initial contribution.
    11 # Nokia Corporation - initial contribution.
    12 #
    12 #
    13 # Contributors:
    13 # Contributors:
    44 if not "HOSTPLATFORM_DIR" in os.environ:
    44 if not "HOSTPLATFORM_DIR" in os.environ:
    45 	sys.stderr.write("HOSTPLATFORM_DIR is not set ... try running gethost.sh\n")
    45 	sys.stderr.write("HOSTPLATFORM_DIR is not set ... try running gethost.sh\n")
    46 	sys.exit(1)
    46 	sys.exit(1)
    47 
    47 
    48 # construct a Raptor object from our command-line (less the name of this script)
    48 # construct a Raptor object from our command-line (less the name of this script)
    49 the_raptor = raptor.Raptor.CreateCommandlineBuild(sys.argv[1:])
    49 the_raptor = raptor.Raptor.CreateCommandlineAnalysis(sys.argv[1:])
    50 
    50 
    51 # from Raptor.OpenLog()
    51 # from Raptor.OpenLog()
    52 try:
    52 try:
    53 	# Find all the raptor plugins and put them into a pluginbox.
    53 	# Find all the raptor plugins and put them into a pluginbox.
    54 	if not the_raptor.systemPlugins.isAbsolute():
    54 	if not the_raptor.systemPlugins.isAbsolute():