home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / libxerces2-java / README < prev    next >
Encoding:
Text File  |  2004-02-20  |  1.6 KB  |  41 lines

  1.                 Xerces Java Build Instructions
  2.                 ------------------------------
  3.  
  4. Before building Xerces, you need the source package and tools
  5. package available from the Apache XML Project's distribution
  6. web page:
  7.  
  8.     http://xml.apache.org/dist/xerces-j/
  9.  
  10. Download both the Xerces-J-src.X.Y.Z.zip and Xerces-J-tools.X.Y.Z.zip 
  11. files for the appropriate Xerces release (where "X.Y.Z" is the version
  12. number) and extract them in the same directory. If you are using Unix, 
  13. download the equivalent .tar.gz files instead of the .zip files.
  14.  
  15. You also need to have a Java Development Kit (JDK) version 1.2 (or 
  16. higher) installed on your system. Before initiating any part of the 
  17. build, set the JAVA_HOME environment variable to the installation 
  18. directory of your JDK.
  19.  
  20. The Ant program is used to build everything in Xerces, including
  21. the documentation. This tool, and the others needed (besides the
  22. pre-requisite JDK) are contained within the tools package. To
  23. make building the packages easier, a Windows batch file and a Unix 
  24. shell script are included.
  25.  
  26. If you only want to compile the source code and make the JAR files,
  27. run the following command on Windows:
  28.  
  29.     build.bat jars
  30.  
  31. or from Unix (make sure that build.sh is executable):
  32.  
  33.     build.sh jars
  34.  
  35. This will compile all of the source code and generate the JAR
  36. files that are available as part of the binary package. After
  37. building, these files will be located in the build/ directory.
  38.  
  39. If you want to build everything, including the documentation,
  40. run the build batch file (or shell script) specifying the "all"
  41. target instead of "jars".