<snip>


Problem 2: I can't get compilerarg values into the compile task.
Again, I've tried to pass these values a few different ways with no success. How do I get compilerarg values into the task? My sample Ant is:

  <target name="check-interning" depends="clean">
    <javac ...
           executable="${env.JSR308}/jdk1.7.0/bin/javac">
      <compilerarg value="-version"/>
      <compilerarg line="-target 5"/>
<compilerarg line="-processor checkers.interning.InterningChecker"/>
      ...
    </javac>
  </target>



The compile task does not currently support compiler args. Could you file a JIRA issue?

This is fixed now and will be available with the 0.5.1 release which is shipped within the next days.

<snip>

- Hans

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to