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: java-dev-unsubscribe lucene.apache.org
>> For additional commands, e-mail: java-dev-help lucene.apache.org
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: java-dev-unsubscribe lucene.apache.org
> For additional commands, e-mail: java-dev-help lucene.apache.org
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: java-dev-unsubscribe lucene.apache.org
For additional commands, e-mail: java-dev-help lucene.apache.org
|