I guess you need to do it on your own I just did a proof of concept and it can be done (easily? :) ), not sure if it's feasible to have it in the config by default, problems I've seen: 1) JDK1.6.0_12 and Netbeans 6.5 - broken editing of web app servers 2) you have a lot of choices for servers there ... setting up a default is almost impossible (people would still have to select it's own) 3) it seems just after quick setup(below) I missed css in my webapp, so the targets need to be played with to deliver everything to final dir
otherwise I was able to debug the webapp in glassfish 2.1 and tomcat 6.0.18 by simply importing the clean sources (move ./nbproject aside, but keep it for reference) as Java web project with existing sources and moving opengroks adjustments from original build.xml to the new build.xml , adding "generatedsrc" as new source dir (see Sources generated by JFlex) + adjusting ./nbproject/project.properties to include ant.jar in classpath (see old ./nbproject how to do it) try it, we'll see if it gets integrated into head by default, a lot of targets are changed between current project type and web app project type so it might need some effort Lubos Chris wrote: > Hello, > > I am using netbeans 6.1 with a clone of opengrok. I would like to be > able to launch opengrok from netbeans (via the tomcat plugin) and > debug the application when its running inside tomcat. > > I have poked around the source a bit but did not notice anything out > of the box for this. Am I just missing something here, or is this > something i just need to do on my own? > > Any advice is appreciated! > _______________________________________________ > opengrok-discuss mailing list > opengrok-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss >