equal
deleted
inserted
replaced
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(): |