You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Will Glass-Husain (JIRA)" <de...@velocity.apache.org> on 2007/02/24 10:21:05 UTC

[jira] Commented: (VELOCITY-521) please do not force to use JDK 1.4 for running the package target in build.xml

    [ https://issues.apache.org/jira/browse/VELOCITY-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475619 ] 

Will Glass-Husain commented on VELOCITY-521:
--------------------------------------------

Gump runs the package target?  I hadn't realized that.  I thought we only ran this for creating final distributions.  Thanks for catching this.

Does it really work to set target=1.4, source=1.4 and have the resulting jar work with JDK 1.3, 1.4, 1.5 no matter which JDK you compile with?

> 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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org