Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-180

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Version 2
    • Fix Version/s: Version 2.1
    • Component/s: Tools
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              robmoore Rob Moore

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment