I noticed that the build.xml in OpenJump/etc does not specify source and
target java versions. I don't know what the defaults are. Here is the
line from the build file:
<javac srcdir="${src.dir}"
destdir="${build.classes}"
debug="${debug}" //this is off
deprecation="${deprecation}" //this is off
optimize="${optimize}">
<classpath refid="base.classpath"/>
In SkyJUMP I explicitly specify that both source and target be 1.5.
SkyJUMP's build uses:
<javac srcdir="${src}"
destdir="${build}"
classpathref="buildpath"
deprecation="off"
debug="off"
optimize="on"
source="1.5"
target="1.5"
nowarn="off"/>
You can then run the executable on 1.5 and 1.6 but not 1.4. Note that under
Eclipse "project - properties - Java Compiler" there are three settings:
Compiler Compliance level, Source compatiblity, and Generated .class files
compatibility. I have all of these set to 5.0. I get some errors now if I
don't set for 5.0.
I run and build under 1.6 now, but sometimes test under 1.5 for comparison.
1.6 is much faster than 1.5.
regards,
Larry Becker
On 6/21/07, Paul Austin <[EMAIL PROTECTED]> wrote:
I would recommend for now that we stick with 1.5 for the core, plug-ins
can be free to do whatever they want I guess.
I did notice however that running under 1.6 or even 1.5 is a lot faster
than 1.4
Paul
Stefan Steiniger wrote:
> mhm... if we compile the nightly built with 1.5 is 1.6 a bit to much.
> But it depends whether you use 1.6 features.
>
> i use java 1.5. What about the others? Michael? Larry, is SkyJUMP still
> on 1.4? Sascha?
>
> stefan
>
> Sunburned Surveyor wrote:
>
>
>> Should I avoid using 1.6 in my development for plug-ins and the core?
>>
>> The Sunburned Surveyor
>>
>> On 6/21/07, Paul Austin <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>> Excellent, I want to use generics in my plug-ins to make lists more
type
>>> safe.
>>>
>>> Cheers,
>>> Paul
>>>
>>> Stefan Steiniger wrote:
>>>
>>>
>>>
>>>> at least 1.5
>>>>
>>>> at least the nightly built is (necessarily) compiled with java 1.5
>>>>
>>>> stefan
>>>>
>>>> Paul Austin wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Which Java version should we be developing plug-ins to. I notice
that
>>>>> some of the modules in the core require 1.5
>>>>>
>>>>> Paul
>>>>>
>>>>>
-------------------------------------------------------------------------
>>>>> This SF.net email is sponsored by DB2 Express
>>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>>> control of your XML. No limits. Just data. Click to get it now.
>>>>> http://sourceforge.net/powerbar/db2/
>>>>> _______________________________________________
>>>>> Jump-pilot-devel mailing list
>>>>> Jump-pilot-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
-------------------------------------------------------------------------
>>>> This SF.net email is sponsored by DB2 Express
>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>> control of your XML. No limits. Just data. Click to get it now.
>>>> http://sourceforge.net/powerbar/db2/
>>>> _______________________________________________
>>>> Jump-pilot-devel mailing list
>>>> Jump-pilot-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>
>>>>
>>>>
>>>>
>>>
-------------------------------------------------------------------------
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> Jump-pilot-devel mailing list
>>> Jump-pilot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>
>>>
>>>
>>>
>>
-------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
>>
>>
>>
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
--
http://amusingprogrammer.blogspot.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel