# HG changeset patch # User Bob Rosenberg # Date 1283792573 -3600 # Node ID 123b46675feae4d615408bc689859f6ae5ff76bf # Parent 1cd75ad5b51286edb07346a0145043a3c6945fdf# Parent a47fc547d2e32efbbb3a0aa889823bb94881537c Merge branch diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/filter-module.xsl --- a/sysdeftools/filter-module.xsl Mon Sep 06 18:02:15 2010 +0100 +++ b/sysdeftools/filter-module.xsl Mon Sep 06 18:02:53 2010 +0100 @@ -46,7 +46,7 @@ - + diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/filtering.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysdeftools/filtering.bat Mon Sep 06 18:02:53 2010 +0100 @@ -0,0 +1,16 @@ +@rem Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +@rem All rights reserved. +@rem This component and the accompanying materials are made available +@rem under the terms of the License "Eclipse Public License v1.0" +@rem which accompanies this distribution, and is available +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html". +@rem +@rem Initial Contributors: +@rem Nokia Corporation - initial contribution. +@rem +@rem Contributors: +@rem +@rem Description: +@rem +@setlocal +@ java -jar %~dp0xalan.jar -xsl %~dpn0.xsl %* diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/joinsysdef-module.xsl --- a/sysdeftools/joinsysdef-module.xsl Mon Sep 06 18:02:15 2010 +0100 +++ b/sysdeftools/joinsysdef-module.xsl Mon Sep 06 18:02:53 2010 +0100 @@ -488,96 +488,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - / - - - - - - - - - - - - - - - - - - - - - ../ - - - - - - - - - - - / - - - - - - - - - - - - - - - - - - - - - / - - - - - - - - - - + diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/joinsysdef.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysdeftools/joinsysdef.bat Mon Sep 06 18:02:53 2010 +0100 @@ -0,0 +1,17 @@ +@rem Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +@rem All rights reserved. +@rem This component and the accompanying materials are made available +@rem under the terms of the License "Eclipse Public License v1.0" +@rem which accompanies this distribution, and is available +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html". +@rem +@rem Initial Contributors: +@rem Nokia Corporation - initial contribution. +@rem +@rem Contributors: +@rem +@rem Description: +@rem +@setlocal +@perl %~dpn0.pl %* + diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/mergesysdef-module.xsl --- a/sysdeftools/mergesysdef-module.xsl Mon Sep 06 18:02:15 2010 +0100 +++ b/sysdeftools/mergesysdef-module.xsl Mon Sep 06 18:02:53 2010 +0100 @@ -10,7 +10,10 @@ Nokia Corporation - initial contribution. Contributors: Description: - XSLT module for merging only two sysdef files according to the 3.0.0 rules. Old syntax not supported and must be converetd before calling. + XSLT module for merging only two sysdef files according to the 3.0.1 rules. + 2.x and older syntax not supported and must be converetd before calling. + + Requires the including XSLT to also include path-module.xsl --> http://www.symbian.org/system-definition @@ -290,7 +293,7 @@ don't copy if the before ID is found in $base --> - + @@ -381,7 +384,7 @@ - + @@ -407,7 +410,7 @@ - + @@ -417,7 +420,7 @@ - + @@ -476,7 +479,7 @@ - + @@ -492,7 +495,7 @@ - + @@ -505,7 +508,6 @@ - @@ -543,8 +545,6 @@ - - @@ -553,6 +553,7 @@ + @@ -613,7 +614,21 @@ - + + + + + + + + + + + + + + + @@ -627,28 +642,12 @@ - - - / + + + + - - - - - - - - - - - - - - - - - diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/mergesysdef.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysdeftools/mergesysdef.bat Mon Sep 06 18:02:53 2010 +0100 @@ -0,0 +1,16 @@ +@rem Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +@rem All rights reserved. +@rem This component and the accompanying materials are made available +@rem under the terms of the License "Eclipse Public License v1.0" +@rem which accompanies this distribution, and is available +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html". +@rem +@rem Initial Contributors: +@rem Nokia Corporation - initial contribution. +@rem +@rem Contributors: +@rem +@rem Description: +@rem +@setlocal +@ java -jar %~dp0xalan.jar -xsl %~dpn0.xsl %* -XSLTC diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/mergesysdef.xsl --- a/sysdeftools/mergesysdef.xsl Mon Sep 06 18:02:15 2010 +0100 +++ b/sysdeftools/mergesysdef.xsl Mon Sep 06 18:02:53 2010 +0100 @@ -119,5 +119,14 @@ + + + + + + + + + diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/path-module.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysdeftools/path-module.xsl Mon Sep 06 18:02:53 2010 +0100 @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + + + + + + + + + + + + + + + + + + + + + ../ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + + + + + + + diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/readme.txt --- a/sysdeftools/readme.txt Mon Sep 06 18:02:15 2010 +0100 +++ b/sysdeftools/readme.txt Mon Sep 06 18:02:53 2010 +0100 @@ -1,28 +1,36 @@ Filtering tools: filtering.xsl - Filter a sysdef in the 2.0 or 3.0 syntax +filtering.bat - Call filtering.xsl using xalan-j filter-module.xsl - XSLT module which contains the logic to process the filter attribute in the system definition Joining tools: joinsysdef.pl - Create a stand-alone sysdef from a linked set of fragments. Supports confguring via an .hrh file. +joinsysdef.bat - Call joinsysdef.pl joinsysdef.xsl - Create a stand-alone sysdef from a linked set of fragments joinandparesysdef.xsl - Create a stand-alone sysdef from a linked set of fragments, paring down to just a set of items of the desired rank. joinsysdef-module.xsl - XSLT module which contains the logic to join a system definition file Merging tools: mergesysdef.xsl - Merge two 3.x syntax stand-alone system definitions +mergesysdef.bat - Call mergesysdef.xsl using xalan-j mergesysdef-module.xsl - XSLT module for merging only two sysdef files according to the 3.0.0 rules Other tools: -sysdefdowngrade.xsl - Convert a 3.0.0 sysdef to 2.0.1 sytnax +sysdefdowngrade.xsl - Convert a 3.0.x sysdef to 2.0.1 sytnax +sysdefdowngrade.bat - Call sysdefdowngrade.xsl using xalan-j rootsysdef.pl - Generate a root system definition from a template root sysdef and a set of wildcard paths to look for pkgdef files +rootsysdef.bat - Call rootsysdef.pl XSLT Processing: xalan.jar xercesImpl.jar xml-apis.jar +serializer.jar Validation tools: validate/checklinks.pl - check all referenced files in units exist at the specified locations -validate/modelcheck.xsl - Validate a sysdef file, reporting any errors in HTML format. Can validate a sysdef in a web browser by using +validate/checklinks.bat - call checklinks.pl +validate/modelcheck.xsl - Validate a sysdef file, reporting any errors in HTM format. Can validate a sysdef in a web browser by using validate/validate-sysdef.xsl - Validate a sysdef file, reporting any errors as plain text +validate/validate-sysdef.bat - Call validate-sysdef.xsl using xalan-j validate/test-model.xsl - common module which actually does the validation diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/rootsysdef.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysdeftools/rootsysdef.bat Mon Sep 06 18:02:53 2010 +0100 @@ -0,0 +1,17 @@ +@rem Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +@rem All rights reserved. +@rem This component and the accompanying materials are made available +@rem under the terms of the License "Eclipse Public License v1.0" +@rem which accompanies this distribution, and is available +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html". +@rem +@rem Initial Contributors: +@rem Nokia Corporation - initial contribution. +@rem +@rem Contributors: +@rem +@rem Description: +@rem +@setlocal +@perl %~dpn0.pl %* + diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/sysdefdowngrade.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysdeftools/sysdefdowngrade.bat Mon Sep 06 18:02:53 2010 +0100 @@ -0,0 +1,16 @@ +@rem Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +@rem All rights reserved. +@rem This component and the accompanying materials are made available +@rem under the terms of the License "Eclipse Public License v1.0" +@rem which accompanies this distribution, and is available +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html". +@rem +@rem Initial Contributors: +@rem Nokia Corporation - initial contribution. +@rem +@rem Contributors: +@rem +@rem Description: +@rem +@setlocal +@ java -jar %~dp0xalan.jar -xsl %~dpn0.xsl %* -XSLTC diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/validate/checklinks.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysdeftools/validate/checklinks.bat Mon Sep 06 18:02:53 2010 +0100 @@ -0,0 +1,17 @@ +@rem Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +@rem All rights reserved. +@rem This component and the accompanying materials are made available +@rem under the terms of the License "Eclipse Public License v1.0" +@rem which accompanies this distribution, and is available +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html". +@rem +@rem Initial Contributors: +@rem Nokia Corporation - initial contribution. +@rem +@rem Contributors: +@rem +@rem Description: +@rem +@setlocal +@perl %~dpn0.pl %* + diff -r 1cd75ad5b512 -r 123b46675fea sysdeftools/validate/validate-sysdef.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysdeftools/validate/validate-sysdef.bat Mon Sep 06 18:02:53 2010 +0100 @@ -0,0 +1,16 @@ +@rem Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +@rem All rights reserved. +@rem This component and the accompanying materials are made available +@rem under the terms of the License "Eclipse Public License v1.0" +@rem which accompanies this distribution, and is available +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html". +@rem +@rem Initial Contributors: +@rem Nokia Corporation - initial contribution. +@rem +@rem Contributors: +@rem +@rem Description: +@rem +@setlocal +@ java -jar %~dp0..\xalan.jar -xsl %~dpn0.xsl %*