~ubuntu-branches/ubuntu/vivid/tomcat7/vivid-proposed

« back to all changes in this revision

Viewing changes to BUILDING.txt

  • Committer: Package Import Robot
  • Author(s): tony mancill, Gianfranco Costamagna, tony mancill
  • Date: 2013-12-24 16:46:34 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20131224164634-2racvo4wty70t0za
Tags: 7.0.47-1
[ Gianfranco Costamagna ]
* Team upload.
* New upstream release, patch refresh.
* Renamed patch fix-manager-webapp.path
  to fix-manager-webapp.patch (extension typo).
* Refresh patches for upstream release.
* Removed -Djava.net.preferIPv4Stack=true
  from init script (lp: #1088681),
  thanks Hendrik Haddorp.
* Added webapp manager path patch (lp: #1128067)
  thanks TJ.

[ tony mancill ]
* Bump Standards-Version to 3.9.5.
* Change copyright year in javadocs to 2013.
* Add patch to include the distribution name in error pages.
  (Closes: #729840)

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
  limitations under the License.
16
16
================================================================================
17
17
 
18
 
$Id: BUILDING.txt 1457383 2013-03-17 06:22:36Z kkolinko $
 
18
$Id: BUILDING.txt 1515813 2013-08-20 13:10:50Z markt $
19
19
 
20
20
            ====================================================
21
21
            Building The Apache Tomcat @VERSION_MAJOR_MINOR@ Servlet/JSP Container
33
33
source distribution, do the following:
34
34
 
35
35
 
36
 
(1) Download and Install a Java Development Kit
37
 
 
38
 
 1. If the JDK is already installed, skip to (2).
39
 
 
40
 
 2. Download a version 6 of Java Development Kit (JDK) release (use the
 
36
(1) Download and Install a Java 6 and Java 7 Development Kit
 
37
 
 
38
 1. If the JDKs are already installed, skip to (2).
 
39
 
 
40
 2. Download a version 6 of the Java Development Kit (JDK) release (use the
41
41
    latest update available for your chosen version) from
42
42
 
43
43
        http://www.oracle.com/technetwork/java/javase/downloads/index.html
45
45
 
46
46
    Note regarding later versions of Java:
47
47
 
48
 
      As documented elsewhere, one of components in Apache Tomcat includes
 
48
      As documented elsewhere, one of the components in Apache Tomcat includes
49
49
      a private copy of the Apache Commons DBCP library. The source code
50
50
      for this library is downloaded, processed by the build script
51
51
      (renaming the packages) and compiled.
53
53
      Due to changes in JDBC interfaces implemented by the library between
54
54
      versions of Java SE specification, the library has to target specific
55
55
      version of Java and can be compiled only with the JDK version
56
 
      implementing this version of specification.
 
56
      implementing this version of specification. Therefore, the build Tomcat
 
57
      build process must be executed with a Java 6 JDK.
57
58
 
58
59
      See Apache Commons DBCP project web site for more details on
59
60
      available versions of the library and its requirements,
64
65
      several workarounds are possible. One of them is to skip building
65
66
      the component (tomcat-dbcp.jar).
66
67
 
67
 
 3. Install the JDK according to the instructions included with the release.
 
68
 3. Install the Java 6 JDK according to the instructions included with the
 
69
    release.
68
70
 
69
71
 4. Set an environment variable JAVA_HOME to the pathname of the directory
70
72
    into which you installed the JDK release.
71
73
 
 
74
 5. Download a version 7 of the Java Development Kit (JDK) release (use the
 
75
    latest update available for your chosen version) from
 
76
 
 
77
        http://www.oracle.com/technetwork/java/javase/downloads/index.html
 
78
        or from another JDK vendor.
 
79
 
 
80
 6. Install the Java 7 JDK according to the instructions included with the
 
81
    release.
 
82
 
 
83
* NOTE: The Java 7 JDK is only required if you wish to build Tomcat with
 
84
  JSR-356 (Java WebSocket 1.0) support.
 
85
 
72
86
 
73
87
(2) Install Apache Ant 1.8.x on your computer
74
88
 
158
172
 
159
173
  See Apache Ant documentation for the <setproxy> task for details.
160
174
 
 
175
* NOTE: Users wishing to build Tomcat with JSR-356 (Java WebSocket 1.0) support
 
176
  must also set the java.7.home build property to the location of the Java 7 JDK
 
177
  installation.
 
178
 
161
179
 3. Go to the sources directory and run Ant:
162
180
 
163
181
        cd ${tomcat.source}