Thanks!

15 okt 2007 kl. 18.03 skrev Erik Hatcher:

Set the properties *before* importing contrib-build.xml. Ant properties are first come first serve, so you have to be sure to set the value you want before to "override" them, interestingly.

        Erik

On Oct 15, 2007, at 11:31 AM, Karl Wettin wrote:

I have problems getting this build.xml of mine to accept java 1.5 in tests. I compiles the source with generics and all that just fine, but the tests fail with the error javac -source 1.4 is set. Well..

<project name="didyoumean" default="default">

  <description>
Extended spell checker with phrase support and adaptive user session analysis.
  </description>

  <import file="../contrib-build.xml"/>

  <property name="javac.source" value="1.5" />
  <property name="javac.target" value="1.5" />

</project>


What more do I need to do? I see that gdata use 1.5, but I can't figure out what it does that I do not.



--
karl

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


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



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

Reply via email to