I am very new to Appfuse and Java/Netbeans, so my apologies if this turns out to be a newbie question.
1. I created a skeleton 2.0-M5 app: mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=2.0-m5 -DgroupId=net.bernatowicz.etf -DartifactId=etf 2. I added a dependency for ehcache 1.3.0 to workaround an exception regarding gzipped output: [...] <dependency> <groupId>org.subethamail</groupId> <artifactId>subethasmtp-wiser</artifactId> <version>${wiser.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <version>1.3.0</version> </dependency> </dependencies> [...] 3. I created src/main/java/resources/velocity.properties to workaround a permission denied on the velocity log in Netbeans: runtime.log.logsystem.class=org.apache.velocity.runtime.log.NullLogSystem 4. I opened the project in Netbeans 5.5 and built and ran it successfully in the embedded Tomcat 5.5.17. 5. I copied target/etf-0.1/viewstream.jsp to src/main/webapp/ and modified the title tag. 6. I set a breakpoint in the modified viewstream.jsp and it is never hit. I verified the changed title appears in the browser, and then inserted a divide by zero to force an exception, which was confirmed in Tomcat, but still no breakpoints were hit. 7. After hours of tinkering, I set a breakpoint in src/main/webapp/common/menu.jsp and it DID stop. (But the breakpoint in viewstream.jsp still did not stop.) Debug pane output: Attaching to localhost:11555 User program running Breakpoint reached at line 187 in menu.jsp by thread http-8084-Processor21. *** Unknown type "request.getContextPath" *** Thread http-8084-Processor21 stopped at menu.jsp:3. User program running Breakpoint reached at line 3 in menu.jsp by thread http-8084-Processor21. *** [...] What am I missing here? Do I have to do something special to debug the sources "auto-magically" pulled in at build time by Maven (even though I can verify that a modified copy of them in my src tree is executing???) Many thanks, Jim -- View this message in context: http://www.nabble.com/Appfuse-2.0-M5-in-Netbeans-5.5%3A-%28some%29-breakpoints-not-hit-tf3973762s2369.html#a11279861 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
