home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / libxerces2-java / README < prev    next >
Encoding:
Text File  |  2006-09-13  |  2.3 KB  |  58 lines

  1.  
  2.                 Xerces Java Build Instructions
  3.                 ------------------------------
  4.  
  5. ===========================================================================
  6.  * Copyright 1999-2001,2004 The Apache Software Foundation.
  7.  *
  8.  * Licensed under the Apache License, Version 2.0 (the "License");
  9.  * you may not use this file except in compliance with the License.
  10.  * You may obtain a copy of the License at
  11.  *
  12.  *     http://www.apache.org/licenses/LICENSE-2.0
  13.  *
  14.  * Unless required by applicable law or agreed to in writing, software
  15.  * distributed under the License is distributed on an "AS IS" BASIS,
  16.  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17.  * See the License for the specific language governing permissions and
  18.  * limitations under the License.
  19. ===========================================================================
  20.  
  21. Before building Xerces, you need the source package and tools
  22. package available from the Apache XML Project's distribution
  23. web page:
  24.  
  25.     http://xml.apache.org/dist/xerces-j/
  26.  
  27. Download both the Xerces-J-src.X.Y.Z.zip and Xerces-J-tools.X.Y.Z.zip 
  28. files for the appropriate Xerces release (where "X.Y.Z" is the version
  29. number) and extract them in the same directory. If you are using Unix, 
  30. download the equivalent .tar.gz files instead of the .zip files.
  31.  
  32. You also need to have a Java Development Kit (JDK) version 1.2 (or 
  33. higher) installed on your system. Before initiating any part of the 
  34. build, set the JAVA_HOME environment variable to the installation 
  35. directory of your JDK.
  36.  
  37. The Ant program is used to build everything in Xerces, including
  38. the documentation. This tool, and the others needed (besides the
  39. pre-requisite JDK) are contained within the tools package. To
  40. make building the packages easier, a Windows batch file and a Unix 
  41. shell script are included.
  42.  
  43. If you only want to compile the source code and make the JAR files,
  44. run the following command on Windows:
  45.  
  46.     build.bat jars
  47.  
  48. or from Unix (make sure that build.sh is executable):
  49.  
  50.     build.sh jars
  51.  
  52. This will compile all of the source code and generate the JAR
  53. files that are available as part of the binary package. After
  54. building, these files will be located in the build/ directory.
  55.  
  56. If you want to build everything, including the documentation,
  57. run the build batch file (or shell script) specifying the "all"
  58. target instead of "jars".