Hello Ralph, Can you comment on how you debug Cocoon with IDEA (isn't IntelliJ/Jetbrains the name of the company?)? Can you set breakpoints and step through the code? Just for your reference, this is how I debug a Cocoon block: Have to do this one time: - Build the whole Cocoon thing with Ant (the default build) and deploy it. - Remove the jar of the block from WEB-INF/lib - Create an IDEA project, set the src dir to the src dir of the block. Set the output dir to WEB-INF/classes. And repeat this many times: - Modify some code . Add some print statements - Compile - Restart the container (Tomcat) - Test the result in a browser (and check the print statements)
This is brain damaged (debugging source code with print statements while we are living in 2005). So any comments on how I can improve this workflow is appreciated. Hugo Burm, also a big fan of IDEA by the way BTW, I bought a personal license for IDEA. IntelliJ/Jetbrains offer these licenses mostly during a short period at 50%. > -----Original Message----- > From: Ralph Goers [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 08, 2005 9:38 PM > To: [email protected] > Subject: Re: IntelliJ Open Source developer's license > > > Yeah, that is annoying. I happen to have a commercial > license through > my employer, but I can use this on a different machine then I use for > that. I find that if I have two Cocoon projects open (1 for > 2.1.x and 1 > for trunk) it is kind of pointless to open any others. Cocoon > is rather > huge as a project. But IntelliJ has been great for debugging Cocoon. > > Ralph > > Bertrand Delacretaz wrote: > > > > > Le 8 f�vr. 05, � 21:20, Ralph Goers a �crit : > > > >> For anyone who is interested, you can now use IntelliJ for > free to do > >> Cocoon development > >> > >> http://www.jetbrains.com/idea/opensource/ > > > > > > I had a look > > but...http://www.jetbrains.com/idea/opensource/license.html > says "You > > may: (i) save and use the Software for the purpose of open source > > development only;" > > > > I'm wondering if there are many such "pure" open source > developers who > > never write a line of commercial code, or if people are > really going > > to switch to another environment when they do commercial (or just > > company internal) work ;-) > > > > -Bertrand, big fan of IDEA by the way > > >
