https://bz.apache.org/bugzilla/show_bug.cgi?id=58404

            Bug ID: 58404
           Summary: Duplicate property definitions compile.[source|target]
                    in build.properties.default and build.xml
           Product: Tomcat Native
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Library
          Assignee: dev@tomcat.apache.org
          Reporter: s...@apache.org

See Bug 58083; same applies to TC native:

The build.xml file imports properties from build.properties.default (amongst
other places).

version.major=1
version.minor=2
version.build=0
version.patch=0
version.suffix=-dev

compile.source=1.8
compile.target=1.8
compile.debug=off
compile.deprecation=on
compile.optimize=on

junit.home=${base.path}/junit${junit.version}
junit.jar=${junit.home}/junit.jar

However it also defines the same properties itself:

<property name="compile.source" value="1.8"/>
<property name="compile.target" value="1.8"/>
<property name="compile.debug" value="off"/>
<property name="compile.optimize" value="on"/>
<property name="compile.deprecation" value="on"/>

<property name="version.major" value="1"/>
<property name="version.minor" value="2"/>
<property name="version.build" value="0"/>
<property name="version.patch" value="0"/>
<property name="version.suffix" value="-dev"/>

<property name="junit.home" value="/usr/local/junit3.8"/>
<property name="junit.jar" value="${junit.home}/junit.jar"/>

This seems wrong; surely these properties should be defined once - either in
the properties.default file or in the build.xml file.

Note that build.properties has
junit.version=3.8.2
This disagrees with build.xml which uses 3.8 AFAICT

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to