quote

giovedì, ottobre 11, 2012

mercurial and mercurialEclipse plugin in ubuntu

Install the latest version of mercurial

  • $ sudo add-apt-repository ppa:mercurial-ppa/releases
  • sudo apt-get update
  • $ sudo apt-get install mercurial
  • check version of mercurial: $ hg --version

Mercurial eclipse plugin

  • Help/Eclipse marketplace
  • Find: Mercurial
  • Install MercurialEclipse (requires at least mercurial 2.0)
Resources


mercoledì, ottobre 10, 2012

Creating a shortcut to eclipse on the ubuntu desktop

Proceed in this way:
  • right click on desktop: Create Launcher
  • set the proper icon eclipse_home/icon.xpm
  • Set the command: eclipse_home/eclipse
Troubleshooting
Issue: "A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations "
Solution
  • $ cd eclipse_home
  • $ mkdir jre
  • $ cd jre
  • $ ln -s /opt/jdk1.6.0_35/jre/bin/ bin
Resources:

martedì, maggio 08, 2012

filesync eclipse plugin

Nice eclipse plugin to synchronize resources.
http://andrei.gmxhome.de/filesync/index.html
Adopting it will speed up your development process without need to rebuild each time you edit a resource in the src folder, for instances a jsp.

venerdì, gennaio 27, 2012

Remotely debug tomcat on linux

Create this simple shell script: debugtomcat.sh

#leave this command for future reference
#export currentdir=`pwd`
export JAVA_OPTS='-Xmx1024m -XX:MaxPermSize=512m
-Xdebug -Xrunjdwp:transport=dt_socket,
address=8000,server=y,suspend=n'
echo JAVA_OPTS: $JAVA_OPTS
/$HOME/MyPrograms/apache-tomcat-6.0.35/bin/catalina.sh run


resource