From: Pavel V. <va...@us...> - 2002-07-15 21:04:04
|
Update of /cvsroot/javaprofiler/patches In directory usw-pr-cvs1:/tmp/cvs-serv6378 Added Files: readme.txt Log Message: readme for patches --- NEW FILE: readme.txt --- PATCHES TO NETBEANS IDE: ------------------------ 1) Compile openide directory. You have to add <NbDir>/lib/openide.jar to your CLASSPATH. Create jar file with name openide-javaprof.jar. 2) Compile java directory. You have to add former openide-javaprof.jar, <NbDir>/modules/java.jar and <NbDir>/lib/openide.jar to your CLASSPATH. Let the name of jar file is java-javaprof.jar The openide-javaprof.jar must be in CLASSPATH BEFORE <NbDir>/lib/openide.jar, that is crucial for successful compilation. It's difficult to garantee this if you are using netbeans IDE, because it has openide.jar added to system CLASSPATH. The easiest way is to use just javac e.g javac.exe -classpath .;d:\programs\netbeans\modules\java.jar;d:\programs\netbeans\lib\patches\openide-javaprofiler.jar;d:\programs\netbeans\lib\openide.jar org\netbeans\modules\java\JavaExecSupport.java 3) Copy openide-javaprof.jar to <NbDir>/lib/patches and than copy java-javaprof.jar to your <NbDir>/modules/patches/org-netbeans-modules-java directory. |