Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172493 - dev-java/sun-jmx-1.2 - build.xml uses incorrect target
Summary: dev-java/sun-jmx-1.2 - build.xml uses incorrect target
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High minor
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-28 01:52 UTC by James Hutton
Modified: 2007-03-28 14:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.xml patch (build.patch,546 bytes, patch)
2007-03-28 01:56 UTC, James Hutton
Details | Diff
Modified r2 ebuild (sun-jmx-1.2.1-r2.ebuild,1.56 KB, text/plain)
2007-03-28 01:57 UTC, James Hutton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Hutton 2007-03-28 01:52:03 UTC
the build.xml given for sun-jmx-1.2-r2 uses an incorrect target (1.2).  This should be more reasonable.  Hand compiling sun-jmx shows the errors (won't compile).  patch fixes it.

Reproducible: Always

Steps to Reproduce:
1.Unpack/Configure sun-jmx-1.2-r2
2.execute 'ant -v -k' in work/sun-jmx-1.2-r2 directory
3.

Actual Results:  
Had a build error due to inconsistencies of build targets.  failed to build

Expected Results:  
should have completed build cleanly.

will attach a patch that works, gives warnings but works.
Comment 1 James Hutton 2007-03-28 01:56:41 UTC
Created attachment 114692 [details, diff]
build.xml patch
Comment 2 James Hutton 2007-03-28 01:57:09 UTC
Created attachment 114693 [details]
Modified r2 ebuild
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-03-28 14:53:20 UTC
I already changed this yesterday to use java-ant-2 to rewrite the build.xml file so this should be in order in 1.2-r2. Thanks for reporting and please reopen if you still have issues after emerge --sync.

betelgeuse@pena /var/tmp/portage/dev-java/sun-jmx-1.2.1-r2/work/jmx-1_2_1-src $ grep target= build.xml
        <javac includeJavaRuntime="no" includeAntRuntime="no" destdir="${dir.build}/classes" source="1.4" debuglevel="lines,source" debug="on" srcdir="${dir.src}" optimize="on" target="1.4" ></javac>
        <javac debug="${flag.debug}" srcdir="${dir.examples}/BaseAgent" source="1.4" destdir="${dir.build}/examples/BaseAgent" deprecation="${flag.deprecation}" target="1.4" >
        <javac debug="${flag.debug}" srcdir="${dir.examples}/DynamicMBean" source="1.4" destdir="${dir.build}/examples/DynamicMBean" deprecation="${flag.deprecation}" target="1.4" >
        <javac debug="${flag.debug}" srcdir="${dir.examples}/ModelMBean" source="1.4" destdir="${dir.build}/examples/ModelMBean" deprecation="${flag.deprecation}" target="1.4" >
        <javac debug="${flag.debug}" srcdir="${dir.examples}/MonitorMBean" source="1.4" destdir="${dir.build}/examples/MonitorMBean" deprecation="${flag.deprecation}" target="1.4" >
        <javac debug="${flag.debug}" srcdir="${dir.examples}/OpenMBean" source="1.4" destdir="${dir.build}/examples/OpenMBean" deprecation="${flag.deprecation}" target="1.4" >
        <javac debug="${flag.debug}" srcdir="${dir.examples}/Relation" source="1.4" destdir="${dir.build}/examples/Relation" deprecation="${flag.deprecation}" target="1.4" >
        <javac debug="${flag.debug}" srcdir="${dir.examples}/StandardMBean" source="1.4" destdir="${dir.build}/examples/StandardMBean" deprecation="${flag.deprecation}" target="1.4" >