Skip to content

Commit

Permalink
Build instructions added/updated in the src/Nottingham and src/site
Browse files Browse the repository at this point in the history
folders
  • Loading branch information
torinfo committed Mar 1, 2015
1 parent 919e7fd commit 54bbf8c
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/Nottingham/buildXWD.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
Open a command prompt
change directory to build folder of your xerte installation e.g. c:\xerte\build
To rebuild the data.xwd file needed by the template itself,

at the command prompt enter
On Windows:

rebuildNottingham.bat (on Windows)
rebuildNottingham.sh (on Linux)
1. Go to <git repo>\build\
2. Double click on rebuildNottingham.bat

The new data.xwd file is created in the c:\xerte\modules\xerte\parent_temples\Nottingham\wizards\en-GB folder.
On Linux
1. open a terminal
2. Go to <git repo>/build/
3. run rebuildNottingham.sh

I look at the convert.log file in Flash Develop
The new data.xwd file is created in the modules\xerte\parent_temples\Nottingham\wizards\en-GB folder.

Check the convert.log file for errors

Error messages are preceded with a line such as

Expand Down Expand Up @@ -37,6 +41,3 @@ parser error : Comment not terminated
parser error : Attribute height redefined
- an attribute has been defined twice - in this example "height"

Kind regards

Johnathan
43 changes: 43 additions & 0 deletions src/site/buildXWD.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
To rebuild the data.xwd file needed by the template itself,

On Windows:

1. Go to <git repo>\build\
2. Double click on rebuildNottingham.bat

On Linux
1. open a terminal
2. Go to <git repo>/build/
3. run rebuildNottingham.sh

The new data.xwd file is created in the modules\xerte\parent_temples\Nottingham\wizards\en-GB folder.

Check the convert.log file for errors

Error messages are preceded with a line such as

xwd:12

which indicates the error is on line 12

sample error messages include


attributes construct error
- probably a missing space between two definitions of items
e.g. <text label="Text"type="TextArea"

correct is <text label="Text" type="TextArea"

parser error : xmlParseEntityRef: no name
- has been caused by use of "&" - solution replace with "and"

parser error : Premature end of data in tag wizard line 1
- caused by missing closing </wizard> tag.

parser error : Comment not terminated
- caused by inclusion of original --------- rather than =========

parser error : Attribute height redefined
- an attribute has been defined twice - in this example "height"

0 comments on commit 54bbf8c

Please sign in to comment.