Opened 10 years ago

Closed 10 years ago

#899 closed enhancement (fixed)

Specify "source" and "target" options in <javac> tasks in our ant buildfile

Reported by: nicklas Owned by: nicklas
Priority: major Milestone: BASE 2.6
Component: core Version:
Keywords: Cc:

Description

The "source" specifies the java version of the source files. The "target" option specifies the minimum version of java required to use/run the compiled code. I think we can still use 1.5 for both values.

Note that specifying source=1.5 doesn't stop you from compiling code that references classes/methods added in java 1.6 if you are using a 1.6 compiler.

Change History (3)

comment:1 Changed 10 years ago by nicklas

  • Type changed from defect to enhancement

comment:2 Changed 10 years ago by nicklas

  • Owner changed from everyone to nicklas
  • Status changed from new to assigned

comment:3 Changed 10 years ago by nicklas

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [4085]) Fixes #899: Specify "source" and "target" options in <javac> tasks in our ant buildfile

Also added an option for the 'encoding' attribute

Note: See TracTickets for help on using tickets.