Technology definitions loader

* Added "dummy" data file for technologies (for now it simply copies the
old, line-based technologies) and corresponding XML schema

* Added missing SQL stored procedure to clear all dependencies and
reverse dependencies from a technology

* Added import classes, loader and import tool for the technology graph

* Added tech graph import tool to post-build tests
This commit is contained in:
Emmanuel BENOîT 2012-02-27 20:04:02 +01:00
parent c5464212bc
commit 1f3c7a9202
24 changed files with 1731 additions and 43 deletions
legacyworlds-server-tests/TestFiles/technology-loader

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<lw-tech-graph>
<does-not-exist />
</lw-tech-graph>

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<lw-tech-graph xmlns="http://www.deepclone.com/lw/b6/m2/tech-graph"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.deepclone.com/lw/b6/m2/tech-graph tech-graph.xsd">
<technology />
</lw-tech-graph>

View file

@ -0,0 +1,2 @@
This is not an XML file, obviously.
We'll make that even more confusing: <<<<<< & >>!!!

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<lw-tech-graph xmlns="http://www.deepclone.com/lw/b6/m2/tech-graph"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.deepclone.com/lw/b6/m2/tech-graph tech-graph.xsd">
<technology name="test" category="test" discovery="test"
description="test" cost="12" points="34" />
</lw-tech-graph>