If the change is NOT in a .java file (which needs recompilation anyway), you can use the option -DunpackTo. This will:
1. Remove the .jar file corresponding to that bundle (or all of them if you run it from the Matterhorn root directory) 2. Deploy a directory with the same contents of the .jar, but unpacked. Then you can modify, say, .css or .js files and see the changes immediately after reloading the pages. In your case, as the Java file has to be compiled before being copied to its final destination, running -DdeployTo or -DunpackTo in the specific project folder (in your case, /opt/matterhorn/opencast/1.3.**1 /modules/matterhorn-workflow-**service-impl/) is probably better. Rubén Pérez TELTEK Video Research www.teltek.es 2012/11/7 David Horwitz <[email protected]> > you can run the: > > mvn clean install -DdeployTo=... > > in: > > /opt/matterhorn/opencast/1.3.**1/modules/matterhorn-workflow-** > service-impl/ > > and it will rebuild (and deploy) just the workflow service impl > > D > > On 11/07/2012 09:54 AM, Andreas Krieger wrote: > >> Hi, >> >> what is the easiest way to recompile a slightly changed file, >> /opt/matterhorn/opencast/1.3.**1/modules/matterhorn-workflow-** >> service-impl/src/main/java/**org/opencastproject/workflow/**impl/WorkflowServiceImpl.java >> in this case, into a running system without having to go through the >> complete install again? >> >> ... for debugging purposes. >> >> Regards, Andreas >> ----------------------- >> BSc [email protected] >> 01/58801 DW 41523 >> mobil: 0664/60 588 4523 >> TU Wien >> DVR-Nummer: 0005886 >> ----------------------- >> ______________________________**_________________ >> Matterhorn mailing list >> [email protected] >> http://lists.opencastproject.**org/mailman/listinfo/**matterhorn<http://lists.opencastproject.org/mailman/listinfo/matterhorn> >> >> >> To unsubscribe please email >> matterhorn-unsubscribe@**opencastproject.org<[email protected]> >> ______________________________**_________________ >> >> > > ______________________________**_________________ > Matterhorn mailing list > [email protected] > http://lists.opencastproject.**org/mailman/listinfo/**matterhorn<http://lists.opencastproject.org/mailman/listinfo/matterhorn> > > > To unsubscribe please email > matterhorn-unsubscribe@**opencastproject.org<[email protected]> > ______________________________**_________________ >
_______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
