Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132911 - with jdk-1.5 not possible to compile. missing flag in build.xml: source="1.4" in target compile. same with amd64
Summary: with jdk-1.5 not possible to compile. missing flag in build.xml: source="1.4"...
Status: RESOLVED DUPLICATE of bug 79206
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-10 09:04 UTC by wolfhead
Modified: 2006-05-10 11:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wolfhead 2006-05-10 09:04:44 UTC
tested with sun-jdk-1.5.0_06
fails to compile. 
reason : enum used as variable -> not allowed in java 1.5
fixed by hand and works this way

   <target name="compile" depends="init" description="compiles source files">
      <mkdir dir="${build.classes.dir}"/>
      <javac destdir="${build.classes.dir}"
             srcdir="${src.java.dir}"
             classpath="${classpath}"
             debug="${javac.debug}"
             deprecation="${javac.deprecation}"
             optimize="${javac.optimize}"
             source="1.4"/>
   </target>
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-10 11:43:25 UTC

*** This bug has been marked as a duplicate of 79206 ***