Skip to content

Commit

Permalink
Workarounds for jdk 1.3 compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
psteitz committed Dec 11, 2005
1 parent 7d31cde commit 09db756
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
30 changes: 30 additions & 0 deletions build.properties.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
###############################################################################
# Copyright 2005 The Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###############################################################################
# Additional maven build customizations to support compilation in jdk 1.3.
# To compile and jar under jdk 1.3, rename this file to "build.properties" and
# set the maven.compile.executable property to the full path to javac in your
# local jdk 1.3 installation.
#
# Note: Release 1.1 of commons math was built using jdk 1.3.1_16 with this
# setup.
###############################################################################

maven.dist.crlf.filter=**/*.txt
maven.compile.source=${null}
maven.compile.fork=true
maven.compile.executable=${user.home}/jdk1.3.1_16/bin/javac
maven.jar.manifest=${basedir}/src/conf/manifestMods.txt
5 changes: 5 additions & 0 deletions project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
#
##
# Properties that override Maven build defaults
#
# Note: To compile/jar under jdk 1.3 (to reproduce the math 1.1 release),
# additional properties in build.properties.sample need to be set.
# Settings below will compile with 1.3 source and target compiler settings
# but will use the jdk used to launch maven.
##

maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory
Expand Down
1 change: 1 addition & 0 deletions src/conf/manifestMods.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Build-Jdk: 1.3.1_16

0 comments on commit 09db756

Please sign in to comment.