For profiling with netbeans, I followed the steps as described in the Netbeans IDE 6.8 under "Profile > Profile Project" and "Profile > Attach Profiler". At first, I created a new ant target as:
<target name="run-prof">
<exec dir="${deploy.dir}" executable="cmd" os="Windows 2003" output="runmaster.output.txt">
<env key="HOME" value="C:code">
</env>
<arg line="/c run.bat">
</arg>
</exec></target>
and then to attach the target to the profiler, I replaced the call to "run.bat" with a call to "run_nbproject.bat" as described under the "Attach Profiler" widget. I also set the filters to include "jboss.*".
Stuckness shouldn't be avoided. It's the psychic predecessor of all real understanding. An egoless acceptance of stuckness is a key to an understanding of Quality, in mechanical work as in other endeavors. It's this understanding of Quality as revealed by stuckness which so often makes self-taught mechanics so superior to institute-trained men who have learned how to handle everything except a new situation. - Robert Pirsig, Zen and the Art of Motorcycle Maintenance
Showing posts with label netbeans. Show all posts
Showing posts with label netbeans. Show all posts
Saturday, June 26, 2010
Subscribe to:
Posts (Atom)