Re: eclipse deploying in webby

2013-06-17 Thread Greg Huber
wow, give webby a look, will save time/grey hairs. Install the plugin, run maven install on roller, create a webby launcher in run configurations, run debug as the launcher. Simple. https://docs.sonatype.org/display/M2ECLIPSE/Integration+with+Maven+WAR+Plugin Cheers Greg. On 17 June 2013 16:33

Re: eclipse deploying in webby

2013-06-17 Thread Glen Mazza
BTW, Greg, so long as you place your roller-custom.properties here: http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/WEB-INF/classes/ *and* add it to your .svnignore file (so you won't accidentally check it in), it should get read by the deployed roller webapp without any change to

Re: eclipse deploying in webby

2013-06-17 Thread Glen Mazza
Yes, debugging with standalone Tomcat in Eclipse is not too bad: http://www.jroller.com/gmazza/entry/eclipse_debug_web_services (just follow step #1 to slurp in the Roller code, step in #3 to start the code tracing.) Glen On 06/17/2013 11:16 AM, Greg Huber wrote: Glen, Does this allow inte

Re: eclipse deploying in webby

2013-06-17 Thread Greg Huber
Glen, Does this allow interactive debugging in eclipse? Thought redeploy just copies the jar and then explodes it into tomcat, and does not interact with the IDE. Without the debugger I would be xx... (Webby is similar to the old faithful Sysdeo Eclipse Tomcat Plugin) Cheers Greg On 17 Ju

Re: eclipse deploying in webby

2013-06-17 Thread Glen Mazza
Hmm, that sounds painful, it looks like you're violating the Ben Franklin Rule[1] of good software development. All I do is configure my Maven settings.xml and Tomcat-users.xml file as here: http://www.jroller.com/gmazza/entry/web_service_tutorial#maventomcat, and then just run "mvn clean ins

Re: eclipse deploying in webby

2013-06-17 Thread Greg Huber
Glen, Webby uses cargo, where it creates loads of stuff under /roller-webapp/target/m2e-webby folder, which keeps getting zapped on each clean. Will have to do a bit more checking on how $CATALINA_HOME/lib would work. :( I add the custom-roller.properties into a "do not commit" change set, so

Re: eclipse deploying in webby

2013-06-17 Thread Greg Huber
Glen, OK, will try the $CATALINA_HOME/lib folder. :) Webby is the eclipse jetty/tomcat plugin for development. https://github.com/tesla/m2eclipse-webby https://docs.sonatype.org/display/M2ECLIPSE/Integration+with+Maven+WAR+Plugin Makes development :( slightly more bearable... Cheers Gre

Re: eclipse deploying in webby

2013-06-17 Thread Glen Mazza
The roller-custom.properties is dependent for each user (mail settings, database settings, etc.), I don't think we should hardcode it into the pom.xml files or place it in src/main/resources, as it might end up getting checked into SVN that way. We already have common defaults in roller.proper

eclipse deploying in webby

2013-06-17 Thread Greg Huber
I was testing the new layout with webby and was unable to start the app without this dependency: org.apache.httpcomponents httpclient 4.0.1 checking: org.openid4java openid4java-consumer 0.9.6