[
https://issues.apache.org/jira/browse/VELOCITY-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Levy-Lambert updated VELOCITY-521:
------------------------------------------
Hello Will,
As an indication, Ant 1.7.0 has been built under JDK 1.5 with source and target
1.2.
It runs perfectly under JDK 1.4. I am not sure whether we have had to change
our code for 1.3 to make method calls go to the right JDK method. Ant does not
run under 1.2 any more, but this is due to our implementation, not to
compilation.
See these postings concerning the risks of compiling under 1.5
http://article.gmane.org/gmane.comp.jakarta.ant.devel/44616/
http://article.gmane.org/gmane.comp.jakarta.ant.devel/44751/
> please do not force to use JDK 1.4 for running the package target in build.xml
> ------------------------------------------------------------------------------
>
> Key: VELOCITY-521
> URL: https://issues.apache.org/jira/browse/VELOCITY-521
> Project: Velocity
> Issue Type: Bug
> Components: Build
> Affects Versions: 1.6
> Environment: all
> Reporter: Antoine Levy-Lambert
> Priority: Minor
> Attachments: patch.txt
>
>
> build.xml target package forces to use exactly JDK 1.4.
> Would it not be better to build with target=1.4, source=1.4 and to simply
> check that the JDK version is >= 1.4
> I will attach a patch to this effect.
> Regards,
> Antoine
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]