<Swing Dev> Compilation problems

Pavel Porvatov Pavel.Porvatov at Sun.COM
Mon Sep 8 08:46:13 UTC 2008


Hi Florian,

I don't know info about the make/netbeans/swing project. But as I 
understand you have an old build of jdk and it's the main problem.
Sometimes (when there are a lot of changes in repository) you have to 
rebuild WHOLE jdk (or get a fresh build).

Here are some ideas:
1. Build schedule is here:
http://openjdk.java.net/projects/jdk7/builds/
So, a fresh build will be available at 2008/09/11.

2. You can try to modify your netbeans project for rebuild whole jdk

3. You can try to rebuild jdk without netbeans project. Info about this 
process is available in the make/README-builds.html file.

Regards, Pavel.

> Hi Pavel,
> 
> yes, that class is there. Note however that I would like to build the Swing 
> project only. Some months ago this was possible using a binary version of 
> jdk7 and the make/netbeans/swing project. Then I usually could just use the 
> IDEs context menu and call "Clean and Build". This seems not to be possible 
> anymore. I tried to manipulate the build.properties file by once 
> adding "sun/awt/" and once replacing "sun/swing/" with "sun/" in the value 
> of "includes". Both times I got various other errors, though.
> 
> Could somebody fix this or tell me how I can easily build the Swing (or the 
> whole JDK) project?
> 
> Against which build of the jdk should the Swing project compile? The latest 
> jdk version is b34 but at http://hg.openjdk.java.net/jdk7/swing/jdk the last 
> tag is "jdk7-b32".
> 
> Thanks for your help.
> 
> -Florian
> 
> 
> Am Freitag, 5. September 2008 schrieb Pavel Porvatov:
>> Hi Florian,
>>
>> I've cloned the repository http://hg.openjdk.java.net/jdk7/swing/jdk
>> today and built jdk without problems. Do you have
>> \src\share\classes\sun\awt\EventQueueDelegate.java in your repository?
>>
>> Regards, Pavel.
>>
>>> Can anybody help me? Thanks
>>>
>>> -Florian
>>>
>>> Am Sonntag, 31. August 2008 schrieb Florian Brunner:
>>>> Hi,
>>>>
>>>> I cloned the repository http://hg.openjdk.java.net/jdk7/swing/jdk but I
>>>> get "cannot find symbol" errors. (eg. sun.awt.EventQueueDelegate in
>>>> com.sun.java.swing.SwingUtilities3) when compiling the Swing project (I
>>>> use NetBeans 6.1).
>>>>
>>>> I tried with the binary build of the jdk7 version b32, b33 and b34.
>>>>
>>>> How can I build the Swing sources?
>>>>
>>>> -Florian
> 
> 




More information about the swing-dev mailing list