Setup OpenJDK Netbeans project - Please help!

Ulf Zibis Ulf.Zibis at gmx.de
Mon Mar 23 12:38:57 UTC 2009


Am 22.03.2009 20:29, Alan Bateman schrieb:
> Ulf Zibis wrote:
>> Hi Alan,
>>
>> I've opened the JConsole project from JDK7 b51 sources and ran into 
>> some errors. See attachment.
>>
>> Can you give me some hints?
>>
>> When I set .openjdk\build.properties to:
>>     bootstrap.jdk=C:/Programme/Java/jdk1.7.0
>> the compile warning disappears, but the errors in editor remain.
>>
>> I think, JConsole project would be a good "template" to create my own 
>> "nio-charset" project.
>>
>> Additionally, I don't see how to connect to the Mercurial repository. 
>> There is no "Mercurial" menu item on projects node, although there 
>> are plenty .hg* files in the project..
>> From Subversion I'm used to have "Subversion" menu item automatically 
>> if the .svn folders are present in project.
>>
>> -Ulf
> Ulf - I'm not very familiar with the NB projects that are in the 
> repository but if you send mail to nb-projects-dev at openjdk.java.net 
> then I'm sure that Daniel Fuchs or others will be able to help you get 
> this running. As there is some code generation during the build then 
> it may be challenging to setup as a standalone project. AFAIK, the 
> mercurial plugin is part of the base IDE (Versioning menu -> Mercurial).
>
> -Alan.
>

Thanks Alan.
I hesitated to post to nb-projects-dev at openjdk.java.net, because there 
was no traffic since August 2008. But I'll give it a try.

The error annotations in NetBeans for JConsole project, I guess, are 
result of a NB bug, because the build runs without error.

The hg support from NetBeans didn't work, because the local .hg 
repository wasn't existent, so I created it by "Create Repository". 
After this, I think, I should commit the WC into it, but I hesitate, 
because I don't want to have an additional 250 MB copy of the whole jdk 
on my harddisk. I have to be economic with diskspace. I would be happy, 
if there would be a way, only to push the parts in the repository which 
I'm working on. Do you have some hint, how to solve this problem? Does 
it work, if I only commit the folder, which I'm working on?
I also did a clone of http://hg.openjdk.java.net/jdk7/jdk7. This clone 
only contained some few make files, so I don't know what to do with it.

-Ulf







More information about the core-libs-dev mailing list