March

This is the archive for March, 2008.

Dive into the archives.


  • Set Encoding in Eclipse

    Problem was, when i check out our project, all ‘»’ characters were being replaced with ‘�’.
    I didn’t knew this was happening until Ken told me.
    Ken figured out that it was an encoding issue.
    I was using Eclipse 3.2 and Ken was using 3.3.
    So when i went to my Eclipse Edit menu –> Set Encoding.
    My eclipse default […]

  • Dual Boot Issues: Reinstalled Windows

    My windows did get a virus. Did try to remove it, a system restore, but none worked. Last resort… REINSTALL
    After re-installation I needed my GRUB(the that lets you choose your operating system when booting) back.
    1. Boot Ubuntu Live CD
    2. open a terminal, if your in GUI mode
    3. run #sudo grub
    4. find your grub in preparation […]

  • Eclipse/maven-jetty plugin: Couldn’t restart my listener

    related to my blog: Eclipse: running your project via mvn jetty:run and debugging it
    So there i was using my eclipse, running the external tool for debugging.
    I recompiled my source code and needed to re-run the debugger.
    But when I restarted the listener(part of external tool) it wouldn’t start.
    My guess was on the port. So I asked […]

  • Finding Memory Leaks

    As Jon Bentley said, “Make it work before you make it work fast.”
    I got this line in the JMP user guide. By the way, JMP stands for Java Memory Profiler.
    Oh yeah, we’re now looking for possible memory leaks.
    I also found out that JMP can be installed in Gutsy Gibbon using apt-get.
    After installing, I tried running […]

  • Java to DWR - decrease the file size of your javascript

    It was until yesterday i realized I was doing something wrong with regards to JAVA-DWR interfacing as pointed out by Cata.
    Backgrounder: in dwr.xml we define the classes(services) we use, which generates javasript which we will call facades and these can be imported in our javascript files.
    My practice: In my js file, i simply import those […]