[xwiki-devs] Debugging XWiki with IntelliJ IDEA
Hi I tried to debug XWiki using IntelliJ IDEA and a remote Jetty server. Everything works fine except that the source code is off. I checked out the trunk (actually http://svn.xwiki.org/svnroot/xwiki/platform/trunks/) , built it with Maven 2. After that I created an installation from enterprise/trunk and installed it, started Jetty in debug mode and started the IDE debugger. Again everything works except that much of the code was pointing to classes. I guess this is because each module uses dependencies to Maven modules that other projects. In order to fix that I downloaded the sources but now the source code lines in the debugger are off. This is because many modules still refer 1.9.2 rather than 2.0- Snapshot or 2.0-m2. Does anyone knows how to make the debugger work? Thanks - Andy
Andreas, you can always adjust the module-settings to add the sources but beware of re-importing the pom. Alternatively you find a way to makes sure the sources of the release are downloaded by maven paul Le 01-août-09 à 20:09, Andreas Schaefer a écrit :
Hi
I tried to debug XWiki using IntelliJ IDEA and a remote Jetty server. Everything works fine except that the source code is off.
I checked out the trunk (actually http://svn.xwiki.org/svnroot/xwiki/platform/trunks/) , built it with Maven 2. After that I created an installation from enterprise/trunk and installed it, started Jetty in debug mode and started the IDE debugger.
Again everything works except that much of the code was pointing to classes. I guess this is because each module uses dependencies to Maven modules that other projects. In order to fix that I downloaded the sources but now the source code lines in the debugger are off. This is because many modules still refer 1.9.2 rather than 2.0- Snapshot or 2.0-m2.
Does anyone knows how to make the debugger work?
Thanks - Andy _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (2)
-
Andreas Schaefer -
Paul Libbrecht