Opened 17 years ago

Closed 17 years ago

#899 closed enhancement (fixed)

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

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
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 by Nicklas Nordborg, 17 years ago

Type: defectenhancement

comment:2 by Nicklas Nordborg, 17 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:3 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: assignedclosed

(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.