From 451df2a01502ef04ef32973f4a80d90195d47b3d Mon Sep 17 00:00:00 2001
From: Adrian Kummerlaender
Date: Sat, 23 Aug 2014 21:08:33 +0200
Subject: Separated task planning and processing into separate transformations
* "plan.xsl" traverses the file-tree provided by "list.xsl" and determines
the tasks to be executed * "process.xsl" executes the tasks planned by
"plan.xsl" in a sensible order * this change was implemented to be able to
e.g. schedule the linkage tasks for last ** performing them in tree-order
caused problems when the generator tried to create symlinks inside
non-existing directories ** additionally this further modularizes the
processing chain
---
make.xsl | 35 ++++---
plan.xsl | 89 ++++++++++++++++++
process.xsl | 186 +++++++++++++++++++++++++++++++++++++
source/99_result/stream.xsl | 1 -
traverse.xsl | 217 --------------------------------------------
5 files changed, 295 insertions(+), 233 deletions(-)
create mode 100644 plan.xsl
create mode 100644 process.xsl
delete mode 100644 traverse.xsl
diff --git a/make.xsl b/make.xsl
index a62a017..159e232 100644
--- a/make.xsl
+++ b/make.xsl
@@ -32,26 +32,31 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ list.xsl
+
+
+
+
+
+
+
- list.xsl
-
-
-
-
-
-
+ plan.xsl
- traverse.xsl
+ process.xsl
diff --git a/plan.xsl b/plan.xsl
new file mode 100644
index 0000000..6754d14
--- /dev/null
+++ b/plan.xsl
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/process.xsl b/process.xsl
new file mode 100644
index 0000000..d8f2aab
--- /dev/null
+++ b/process.xsl
@@ -0,0 +1,186 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl
index 355314c..526b8db 100644
--- a/source/99_result/stream.xsl
+++ b/source/99_result/stream.xsl
@@ -47,7 +47,6 @@
-
| Adrian Kummerländer
diff --git a/traverse.xsl b/traverse.xsl
deleted file mode 100644
index 6814312..0000000
--- a/traverse.xsl
+++ /dev/null
@@ -1,217 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
--
cgit v1.2.3