textinput/ptienginev2/group/VariantParser.pl
branchRCL_3
changeset 5 a47de9135b21
parent 0 eb1f2e154e89
child 9 e6a39382bb9c
equal deleted inserted replaced
3:f5a1e66df979 5:a47de9135b21
    52     { 
    52     { 
    53 	  die "Could not create bld.inf file for language databases!"; 
    53 	  die "Could not create bld.inf file for language databases!"; 
    54     } 
    54     } 
    55 
    55 
    56 print(INFFILE "/*\n");
    56 print(INFFILE "/*\n");
    57 print(INFFILE "* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).\n");
    57 print(INFFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n");
    58 print(INFFILE "* All rights reserved.\n");
    58 print(INFFILE "* All rights reserved.\n");
    59 print(INFFILE "* This component and the accompanying materials are made available\n");
    59 print(INFFILE "* This component and the accompanying materials are made available\n");
    60 print(INFFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
    60 print(INFFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
    61 print(INFFILE "* which accompanies this distribution, and is available\n");
    61 print(INFFILE "* which accompanies this distribution, and is available\n");
    62 print(INFFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n");
    62 print(INFFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n");
    63 print(INFFILE "*\n");
    63 print(INFFILE "*\n");
    64 print(INFFILE "* Initial Contributors:\n");
    64 print(INFFILE "* Initial Contributors:\n");
    65 print(INFFILE "* Nokia Corporation - initial contribution.\n");
    65 print(INFFILE "* Nokia Corporation - initial contribution.\n");
    66 print(INFFILE "*\n");
    66 print(INFFILE "*\n");
    67 print(INFFILE "* Contributors:\n");
    67 print(INFFILE "* Contributors:\n");
   192 				{
   192 				{
   193 					die "Could not create res file for $language";
   193 					die "Could not create res file for $language";
   194 				}
   194 				}
   195 
   195 
   196 				print(RESFILE "/*\n");
   196 				print(RESFILE "/*\n");
   197 				print(RESFILE "* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).\n");
   197 				print(RESFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n");
   198 				print(RESFILE "* All rights reserved.\n");
   198 				print(RESFILE "* All rights reserved.\n");
   199 				print(RESFILE "* This component and the accompanying materials are made available\n");
   199 				print(RESFILE "* This component and the accompanying materials are made available\n");
   200 				print(RESFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
   200 				print(RESFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
   201 				print(RESFILE "* which accompanies this distribution, and is available\n");
   201 				print(RESFILE "* which accompanies this distribution, and is available\n");
   202 				print(RESFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n");
   202 				print(RESFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n");
   203 				print(RESFILE "*\n");
   203 				print(RESFILE "*\n");
   204 				print(RESFILE "* Initial Contributors:\n");
   204 				print(RESFILE "* Initial Contributors:\n");
   205 				print(RESFILE "* Nokia Corporation - initial contribution.\n");
   205 				print(RESFILE "* Nokia Corporation - initial contribution.\n");
   206 				print(RESFILE "*\n");
   206 				print(RESFILE "*\n");
   207 				print(RESFILE "* Contributors:\n");
   207 				print(RESFILE "* Contributors:\n");
   252 				{
   252 				{
   253 					die "Could not create mmp file for variant $variant_name \n";
   253 					die "Could not create mmp file for variant $variant_name \n";
   254 				}
   254 				}
   255 
   255 
   256 				print(MMPFILE "/*\n");
   256 				print(MMPFILE "/*\n");
   257 				print(MMPFILE "* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).\n");
   257 				print(MMPFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n");
   258 				print(MMPFILE "* All rights reserved.\n");
   258 				print(MMPFILE "* All rights reserved.\n");
   259 				print(MMPFILE "* This component and the accompanying materials are made available\n");
   259 				print(MMPFILE "* This component and the accompanying materials are made available\n");
   260 				print(MMPFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
   260 				print(MMPFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
   261 				print(MMPFILE "* which accompanies this distribution, and is available\n");
   261 				print(MMPFILE "* which accompanies this distribution, and is available\n");
   262 				print(MMPFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n");
   262 				print(MMPFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n");
   263 				print(MMPFILE "*\n");
   263 				print(MMPFILE "*\n");
   264 				print(MMPFILE "* Initial Contributors:\n");
   264 				print(MMPFILE "* Initial Contributors:\n");
   265 				print(MMPFILE "* Nokia Corporation - initial contribution.\n");
   265 				print(MMPFILE "* Nokia Corporation - initial contribution.\n");
   266 				print(MMPFILE "*\n");
   266 				print(MMPFILE "*\n");
   267 				print(MMPFILE "* Contributors:\n");
   267 				print(MMPFILE "* Contributors:\n");
   333 				{
   333 				{
   334 					die "ERROR: Could not create variation iby-file\n";
   334 					die "ERROR: Could not create variation iby-file\n";
   335 				}
   335 				}
   336 
   336 
   337 				print(IBYFILE "/*\n");
   337 				print(IBYFILE "/*\n");
   338 				print(IBYFILE "* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).\n");
   338 				print(IBYFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n");
   339 				print(IBYFILE "* All rights reserved.\n");
   339 				print(IBYFILE "* All rights reserved.\n");
   340 				print(IBYFILE "* This component and the accompanying materials are made available\n");
   340 				print(IBYFILE "* This component and the accompanying materials are made available\n");
   341 				print(IBYFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
   341 				print(IBYFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
   342 				print(IBYFILE "* which accompanies this distribution, and is available\n");
   342 				print(IBYFILE "* which accompanies this distribution, and is available\n");
   343 				print(IBYFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n");
   343 				print(IBYFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n");
   344 				print(IBYFILE "*\n");
   344 				print(IBYFILE "*\n");
   345 				print(IBYFILE "* Initial Contributors:\n");
   345 				print(IBYFILE "* Initial Contributors:\n");
   346 				print(IBYFILE "* Nokia Corporation - initial contribution.\n");
   346 				print(IBYFILE "* Nokia Corporation - initial contribution.\n");
   347 				print(IBYFILE "*\n");
   347 				print(IBYFILE "*\n");
   348 				print(IBYFILE "* Contributors:\n");
   348 				print(IBYFILE "* Contributors:\n");
   387 				{
   387 				{
   388 					die "Could not create main cpp file for variant ${variant_name}\n";
   388 					die "Could not create main cpp file for variant ${variant_name}\n";
   389 				}
   389 				}
   390 
   390 
   391 				print(CPPFILE "/*\n");
   391 				print(CPPFILE "/*\n");
   392 				print(CPPFILE "* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).\n");
   392 				print(CPPFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n");
   393 				print(CPPFILE "* All rights reserved.\n");
   393 				print(CPPFILE "* All rights reserved.\n");
   394 				print(CPPFILE "* This component and the accompanying materials are made available\n");
   394 				print(CPPFILE "* This component and the accompanying materials are made available\n");
   395 				print(CPPFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
   395 				print(CPPFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
   396 				print(CPPFILE "* which accompanies this distribution, and is available\n");
   396 				print(CPPFILE "* which accompanies this distribution, and is available\n");
   397 				print(CPPFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n");
   397 				print(CPPFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n");
   398 				print(CPPFILE "*\n");
   398 				print(CPPFILE "*\n");
   399 				print(CPPFILE "* Initial Contributors:\n");
   399 				print(CPPFILE "* Initial Contributors:\n");
   400 				print(CPPFILE "* Nokia Corporation - initial contribution.\n");
   400 				print(CPPFILE "* Nokia Corporation - initial contribution.\n");
   401 				print(CPPFILE "*\n");
   401 				print(CPPFILE "*\n");
   402 				print(CPPFILE "* Contributors:\n");
   402 				print(CPPFILE "* Contributors:\n");
   423 				{
   423 				{
   424 					die "Could not create main header file for variant ${variant_name}\n";
   424 					die "Could not create main header file for variant ${variant_name}\n";
   425 				}
   425 				}
   426 
   426 
   427 				print(CHHFILE "/*\n");
   427 				print(CHHFILE "/*\n");
   428 				print(CHHFILE "* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).\n");
   428 				print(CHHFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n");
   429 				print(CHHFILE "* All rights reserved.\n");
   429 				print(CHHFILE "* All rights reserved.\n");
   430 				print(CHHFILE "* This component and the accompanying materials are made available\n");
   430 				print(CHHFILE "* This component and the accompanying materials are made available\n");
   431 				print(CHHFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
   431 				print(CHHFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
   432 				print(CHHFILE "* which accompanies this distribution, and is available\n");
   432 				print(CHHFILE "* which accompanies this distribution, and is available\n");
   433 				print(CHHFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n");
   433 				print(CHHFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n");
   434 				print(CHHFILE "*\n");
   434 				print(CHHFILE "*\n");
   435 				print(CHHFILE "* Initial Contributors:\n");
   435 				print(CHHFILE "* Initial Contributors:\n");
   436 				print(CHHFILE "* Nokia Corporation - initial contribution.\n");
   436 				print(CHHFILE "* Nokia Corporation - initial contribution.\n");
   437 				print(CHHFILE "*\n");
   437 				print(CHHFILE "*\n");
   438 				print(CHHFILE "* Contributors:\n");
   438 				print(CHHFILE "* Contributors:\n");
   460 				{
   460 				{
   461 					die "Could not create main cpp file for variant ${variant_name}\n";
   461 					die "Could not create main cpp file for variant ${variant_name}\n";
   462 				}
   462 				}
   463 
   463 
   464 				print(CFFFILE "/*\n");
   464 				print(CFFFILE "/*\n");
   465 				print(CFFFILE "* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).\n");
   465 				print(CFFFILE "* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).\n");
   466 				print(CFFFILE "* All rights reserved.\n");
   466 				print(CFFFILE "* All rights reserved.\n");
   467 				print(CFFFILE "* This component and the accompanying materials are made available\n");
   467 				print(CFFFILE "* This component and the accompanying materials are made available\n");
   468 				print(CFFFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
   468 				print(CFFFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n");
   469 				print(CFFFILE "* which accompanies this distribution, and is available\n");
   469 				print(CFFFILE "* which accompanies this distribution, and is available\n");
   470 				print(CFFFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n");
   470 				print(CFFFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n");
   471 				print(CFFFILE "*\n");
   471 				print(CFFFILE "*\n");
   472 				print(CFFFILE "* Initial Contributors:\n");
   472 				print(CFFFILE "* Initial Contributors:\n");
   473 				print(CFFFILE "* Nokia Corporation - initial contribution.\n");
   473 				print(CFFFILE "* Nokia Corporation - initial contribution.\n");
   474 				print(CFFFILE "*\n");
   474 				print(CFFFILE "*\n");
   475 				print(CFFFILE "* Contributors:\n");
   475 				print(CFFFILE "* Contributors:\n");