Add 'javatarget' attribute to ant task so that it behaves like ant javac task
-----------------------------------------------------------------------------

         Key: XMLBEANS-180
         URL: http://issues.apache.org/jira/browse/XMLBEANS-180
     Project: XMLBeans
        Type: Improvement
  Components: Tools  
    Versions: Version 2    
    Reporter: Rob Moore
    Priority: Minor
     Fix For: Version 2


I am on a machine running the 1.5 JDK. However, I must generate xmlbean jar 
files that are compatible with 1.4 JDKs. I expected there to be an attribute 
similar to that found in the ant javac task that allows one to generate class 
files for specific VM version, like so:

  <javac srcdir="${src}"
         destdir="${build}"
         source="1.4"
         target="1.4"
  />

I thought that setting the javasource attribute might have this effect, but it 
does not. As a result of not having this feature, I am unable to generate 
compatible jars from within ant using my current build process which makes use 
of the above-mentioned javac attribute.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to