* To install the development update center
Select to Tools | Plug-ins from the menu and go to the Settings tab. click Add. Enter the following:
Name: dev (or any name of your choice)
URL: http://deadlock.netbeans.org/hudson/job/javadoc-nbms/lastSuccessfulBuild/artifact/nbbuild/nbms/ ...
You can use:
File udir = new File(System.getProperty("netbeans.user"));
or you can use:
FileObject root = Repository.getDefault().getDefaultFileSystem().getRoot();
File udir = FileUtil.toFile(root).getParentFile();
//notice get parent called on the File instance instead
//of the root FileObject as ...
- 23:46
- 浏览 (89)
- 评论 (0)
The core snippet is here:
public class Installer extends ModuleInstall {
public void restored() {
modifyAutoupdateSettings();
}
private void modifyAutoupdateSettings () {
Settings autoupdateSettings =
(Settings)SharedClassObject.findObject(Settings.class);
...
1、adding a META-INF/services for java.util.logging.Handler
2、#-org.netbeans.core.NbErrorManager
my.company.MyErrorHandler
1、Run Terminal
http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=2876
打开操作系统的shell,windows下就是cmd了,直接在项目目录打开,用途不多说了,有时候挺管用。
2、Explore From Here
http://sourceforge.net/projects/efhnbm/
打开文件浏览器,并定位到项目所在目录。
1、下载netbeans源代码,解压,例如:e:/netbeans/source。
2、用netbeans打开源码路径中的nbbuild
3、修改defaults-properties.xml中的
<dirname property="nb_all" file="${ant.file.default-properties}/..">
为<property name="nb_all" value="e:/netbeans/source"/>
4、编译nbbuild,如果安装的是jdk1.6,需要安装jdk1.5,在nbbuild项目中新建
user.build.properties文 ...
- 10:17
- 浏览 (169)
- 评论 (0)







评论排行榜