Set the
PATH environment variable to
include the directory where you installed the Ant bin
directory. |
-
Find the
PATH environment variable in
the list. If
PATH is not listed, click on
New under the System variables
section.
-
Type
%ANT_HOME%\bin;%JAVA_HOME%\bin;
Important:
If there are other variables listed, create
a new variable separated by a semicolon. Ensure there are no
spaces before or after the semicolon.
|
Set the
ANT_HOME environment variable
to the directory where you installed Ant. |
-
Click on
New under the System
variables section.
-
Type
ANT_HOME in the variable name
field.
-
Type
C:\ant in the variable value
field.
|
Set the
JAVA_HOME environment variable
to the directory where you installed the J2SE SDK
application. |
-
Click on
New under the System
variables section.
-
Type
JAVA_HOME in the variable name
field.
-
Type
C:\j2sdk1.4.2_08 in the variable
value field.
|
Set the
JHHOME environment variable to
the directory where you installed the JavaHelp
application. |
-
Click on
New under the System
variables section.
-
Type
JHHOME in the variable name
field.
-
Type
C:\javahelp\jh2.0 in the
variable value field.
|
Set the
CLASSPATH environment variable
for DITA-OT. |
-
Find the
CLASSPATH environment variable
in the list. If
CLASSPATH is not listed,
click on
New under the System
variables section.
-
Type
C:\ditaot\lib;C:\ditaot\lib\dost.jar;C:\ditaot\lib\resolver.jar
Important:
If there are other variables listed, create
new variable separated by a semicolon. Ensure there are no
spaces before or after the semicolon.
|
Set the
CLASSPATH environment variable
for the Apache FOP application. |
-
Find the
CLASSPATH environment variable
in the list. If
CLASSPATH is not listed,
click on
New under the System
variables section.
-
Type
C:\fop-0.20.5\build\fop.jar;C:\fop-0.20.5\lib\batik.jar;C:\fop-0.20.5\lib \avalon-framework-cvs-20020806.jar
Important:
If there are other variables listed, create
new variable separated by a semicolon. Ensure there are no
spaces before or after the semicolon.
|
Set environment variables for Saxon. |
If you use the Saxon,
-
Find the
CLASSPATH environment variable in the list. If
CLASSPATH is not listed, click on
New under the System variables
section.
-
Type
C:\saxon\saxon.jar
Important:
If there are other variables listed, create a
new variable separated by a semicolon. Ensure there are no spaces
before or after the semicolon.
-
Set up ANT_OPTS. For example:
set ANT_OPTS=%ANT_OPTS% -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl
|
Set the
CLASSPATH environment variable
for Xalan. |
If you use the Xalan,
-
Find the
CLASSPATH environment variable in the list. If
CLASSPATH is not listed, click on
New under the System variables
section.
-
Type
C:\xalan\bin
Important:
If there are other variables listed, create a
new variable separated by a semicolon. Ensure there are no spaces
before or after the semicolon.
|