On 16 October 2010 14:21, Mladen Turk <mt...@apache.org> wrote: > BTW for the examples there's no version requirement, so > you can use even java6. I don't care. > > Dunno if it's possible to have separate compiler settings > in build.xml for that.
Yes, that's certainly possible as it has a separate Ant build file. I'll update the build file and examples as necessary. > Anyhow, like said. common-daemon.jar is 1.3. In that case Main and DaemonConfiguration need to be fixed to remove Arrays.copyOf(). Do you want to do that? > Everything else is sugar added, so irrelevant. > > > On 10/16/2010 02:32 PM, sebb wrote: >> >> The current build files (Ant and Maven) assume that the Java source >> and target versions are 1.3. >> >> However, some of the Java source files make use of methods and classes >> that require later versions of Java >> >> For example: >> >> java.net.InterfaceAddress requires 1.6 >> java.net.NetworkInterface - 1.4 >> >> FileOutputStream(File file, boolean append) - 1.4 >> Arrays.copyOf - 1.6 >> java.lang.System.getenv() - 1.5 >> >> I think it's definitely time to abandon Java 1.3, and require at least >> 1.4 or perhaps 1.5; but I think requiring 1.6 is too much of a jump. >> >> Thoughts? >> > > Regards > -- > ^TM > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org