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.
Created attachment 114692 [details, diff] build.xml patch
Created attachment 114693 [details] Modified r2 ebuild
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" >