[
http://jira.codehaus.org/browse/MANT-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=173209#action_173209
]
Eric Gulatee edited comment on MANT-48 at 4/16/09 4:16 PM:
-----------------------------------------------------------
>From what I saw, it wasn't working. I didn't realize it's supposed to extract
>the source/target values.
When I looked inside the code, All I saw were hard coded values.
In any case, let me create you a POM.
The purpose (At least in my case) was that I can pass properties on the ANT
command line :) which allows me to retarget to 1.5 without changing the xml
files.
But if this is supposed to work and extract the javac source & target from the
pom.xml, then apologies.
was (Author: egulatee):
From what I saw, it wasn't working. I didn't realize it's supposed to
extract the source/target values.
When I looked inside the code, All I saw were hard coded values.
In any case, let me create you a POM.
The purpose (At least in my case) was that I can pass properties on the ANT
command line :)
> Allow customization of source/target options for javac
> ------------------------------------------------------
>
> Key: MANT-48
> URL: http://jira.codehaus.org/browse/MANT-48
> Project: Maven 2.x Ant Plugin
> Issue Type: Improvement
> Reporter: Eric Gulatee
> Attachments: patch1.txt
>
>
> As of right now, mvn ant:ant generates a hard coded value for the source &
> target for the javac command.
> Is it possible to:
> - Customize this value through properties?
> or
> - See if there is a maven plugin [maven-compiler-plugin] and use that source
> and target.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira