File: integrate.xml

package info (click to toggle)
dita-ot 1.5.3-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 17,656 kB
  • ctags: 3,643
  • sloc: xml: 27,152; java: 23,846; makefile: 23
file content (59 lines) | stat: -rw-r--r-- 2,351 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN"
 "../../../../dtd/task.dtd">
 <!-- 
     This file is part of the DITA Open Toolkit project hosted on
     Sourceforge.net. See the accompanying license.txt file for
     applicable licenses.
     
     (C) Copyright Shawn McKenzie, 2007. All Rights Reserved.
     *-->
     <?xml-stylesheet href="../../../../xsl/ditaview_shell.xsl" type="text/xsl"?>
<task id="tocjs_integrate" xml:lang="en-us">
    <title>Integrate and test</title>
    <taskbody>
        <context>
            <p>Once you have obtained the latest tocjs plugin, you need to install and integrate it
                into the DITA Open Toolkit</p>
        </context>
        <steps>
            <step>
                <cmd>Obtain the latest version of the tocjs plugin.</cmd>
            </step>

            <step>
                <cmd>Unzip the plugin in your demo directory.</cmd>
                <stepresult>This should give you a <filepath>tocjs</filepath>
                directory.</stepresult>
            </step>
            <step>
                <cmd>From your base DITA directory, type:<userinput>ant -f
                    integrator.xml</userinput>.</cmd>
                <stepresult>You should see output similar to the following message:
                    <screen>
Buildfile: integrator.xml
                        
BUILD SUCCESSFUL
Total time: 1 seconds     
                     </screen>
                    The tocjs transtype should be registered with the Open Toolkit.</stepresult>
            </step>
            <step>
                <cmd>Type: <userinput>ant -f demo/tocjs/buildsample.xml sample2tocjs</userinput>.</cmd>
                <stepresult>The end of the message output should say:
                    <screen>
dita2tocjs:
                        
BUILD SUCCESSFUL
Total time: 6 seconds
                    </screen></stepresult>
            </step>
            <step>
                <cmd>Open <filepath>demo/tocjs/out/sample/frameset.html</filepath> in a browser.</cmd>
                <stepresult>This documentation should be displayed in a frameset that includes a
                    JavaScript TOC in the left pane.</stepresult>
            </step>
        </steps>

    </taskbody>
</task>