- more read is at jetty and jetty-maven
- jrebel options is at jrebel
- my way of working with eclipse and refresh with jetty is as follows:
- org.mortbay.jetty; jetty-maven-plugin;7.2.2.v20101205
- put this in my-rsynch.sh
exclude_files=pom.xml from_dir=./target/classes/ copy_dir=./src/main/webapp/WEB-INF/classes/ rsync -avz --stats --exclude=$exclude_files $from_dir $copy_dir
| grep "Number of files transferred"
- Create a trigger from eclipse auto build
- Goto Projcet=Properties=Builders, Choose ="Program"
- Select workspace/my-rsynch.sh and workspace at "Main" tab
- at "Build Options" Tab make sure "During Auto Builds" is enabled
- If you want more, you can use the "resources to be monitored for build to be triggered too (use full in multi-module project".
- Also make sure "Project" = "Build Automatically" is also checked.
- to use jrebel along with maven
- in console do as (once) export MAVEN_OPTS="-noverify -javaagent:$REBEL_HOME/jrebel.jar $MAVEN_OPTS"
- then run mvn jetty:run
- include this in .project file
org.eclipse.ui.externaltools.ExternalToolBuilder auto,full,incremental, LaunchConfigHandle <project>/.externalToolBuilders/myRsyncClasses.launch
inside file named ".externalToolBuilders/myRsyncClasses.launch"
make sure "jpetstore" is changed to your workspace name!
java work and references
Saturday, June 4, 2011
using Jetty 7
Tuesday, April 19, 2011
my java references
projectlombok for getting scala case class like !
stripesframework best of java web framework
http://stackoverflow.com/questions/316265/tricks-to-speed-up-eclipse eclipse to launch faster
stripesframework best of java web framework
http://stackoverflow.com/questions/316265/tricks-to-speed-up-eclipse eclipse to launch faster
Subscribe to:
Posts (Atom)