View RSS Feed

Eclipse

  1. Working with SVN in Eclipse

    by , 02-29-2012 at 11:26 AM
    In a team work environment, using a version control system has been becoming standard approach to foster collaboration among team members, increase productivity, centralize resources management, reduce risks and development time…Subversion (SVN) is a version control system which is very popular and widely used in software development, and Subclipse is an Eclipse plug-in that supports Subversion within the Eclipses IDE. Subclipse has been widely used to develop Java projects in Eclipse IDE for team-oriented ...
  2. Create new Form in Eclipse

    by , 02-11-2012 at 02:59 PM
    Click the JFormDesigner button in toolbar of Eclipse. Also it can be initiated using following short keys.
    • For Windows (Ctrl+Shift+V)
    • For Mac (Shift+Command+V)

    To create a new form using Eclipse’s Package Explorer, select destination folder and right click. It will open following dialog box.

    Name:  1.JPG
Views: 8994
Size:  52.8 KB

    Create new Form in Eclipse
    Tags: eclipse, new form Add / Edit Tags
    Categories
    Eclipse GUI
  3. Benefits of using Eclipse Plug-ins

    by , 02-11-2012 at 02:56 PM
    Eclipse Plug-ins provides following benefits as compared to other development environments.

    • Integrated editor to create and design in Eclipse.
    • It uses current project’s source folders and classpath.
    • When you make changes in design, it changes in code accordingly.
    • In Java editor, you can fold generated Java code.
    • In Java editor, you can navigate to event handlers.
    • Strings in designer and properties file have two way synchronization. ...
  4. Conditional breakpoints in Eclipse

    by , 02-11-2012 at 02:55 PM
    To debug a Java Program in Eclipse, it allow to setup “conditional break points”. Conditional break points are based on conditions. Your debugging thread will stop when the specified condition is matched at the break point line.

    To setup a new conditional break point follow these steps.

    • Double click on the required line in your code on which you are interested to setup break point.
    • Right click -> Properties -> Insert condition.

    The ...
    Categories
    Eclipse Debug
  5. Increasing Eclipse Memory’s setting for Android Project

    by , 02-11-2012 at 02:49 PM
    The Android project has a large size and it causes memory issues while compiling this project. To avoid such memory issues, increase memory size. To increase the memory size, edit “eclipse.ini” file. This file is located at following location:

    Java Code:
    /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini
    Default memory parameters are as shown below.

    Java Code:
    -Xms40m 
    -Xmx256m 
    -XX:MaxPermSize=256m
    Following ...
  6. Eclipse Remote Debugging

    by , 02-11-2012 at 02:46 PM
    Follow these steps to set up remote debugging in Eclipse.

    • Open your java project.
    • Select project.
    • Click Run -> Debug Configurations as shown below.

    Name:  1.JPG
Views: 597
Size:  12.5 KB

    Debug Configurations


    • A new dialog box will open with different configuration options. Select “Remote Java Application as shown below.

    Name:  1.JPG
Views: 614
Size:  19.2 KB

    Debug Configurations Option with Remote Java
    ...

    Updated 02-11-2012 at 03:50 PM by Eclipse

    Categories
    Eclipse Remote
  7. Eclipse Memory Analyzer (MAT)

    by , 02-11-2012 at 02:41 PM
    Eclipse Memory analyzer (MAT) is used to analyze memory leaks in your application. If an object has no reference, it is released by Java Garbage Collector. In a situation you get OutOfMemoryError, you can instruct Java Virtual Machine to create heap dump. The Eclipse Memory Analyzer provides a visual image of Java heap dump and helps to identify memory leaks. Use the following command to guide JVM to create a heapdump.

    XX:+HeapDumpOnOutOfMemoryError

    Name:  1.JPG
Views: 752
Size:  36.0 KB
    ...
  8. Installing Eclipse Plug-ins

    by , 02-11-2012 at 02:38 PM
    Eclipse is an extendible integrated development environment, which is open source platform and supports integration of new plug-ins. Eclipse supports building of new tools that can be integrated with it. Other than core runtime environment, everything in Eclipse is a plug-in. All the plug-ins are developed and integrated in almost same way.

    In this section, we will discuss on installing an Eclipse plug-in. below image shows the Eclipse SDK folder.

    Name:  1.JPG
Views: 659
Size:  4.9 KB
    ...

    Updated 02-11-2012 at 03:46 PM by Eclipse

    Categories
    Eclipse Plugin , Eclipse Install
  9. Eclipse Plug-in Deployment

    by , 02-11-2012 at 02:33 PM
    To deploy an Eclipse plug-in, deploy following into Eclipse intallation’s plug-in folder.

    • Manifest File
    • Jar Files
    • Any other resources

    Now Eclipse can activate this plug-in when it is required to perform some functionality. To activate a plug-in:

    • Load runtime class
    • Instantiate it
    • Initialize it

    Plug-in class is responsible for doing special tasks like allocation and reallocation of resources. For some ...
  10. The Eclipse Plug-in Model

    by , 02-11-2012 at 02:31 PM
    Plug-in is a component that supports a particular service or functionality in the Eclipse workbench. This component can be integrated into system at deployment time. Eclipse supports a wide variety of these plug-ins that can work together to support an environment for development. A plug-in in Eclipse is embodied in plug-in runtime class instance. This class provides some configuration functionality for the plug-in instance. A plug-in class must extend org.eclipse.core.runtime.Plugin which is an ...
  11. What is Eclipse?

    by , 02-11-2012 at 02:22 PM
    Eclipse is an integrated development environment (IDE) that provides a software development environment and supports plug-ins. Eclipse is developed mostly in Java and it is used to develop Java applications with the help of plug-ins. Eclipse is also know as Eclipse ADT(Ada Development Toolkit) for Ada, for C/C++ it is called CDT, for Java it is called JDT and for PHP it is called PDT.

    It is released under Eclipse Public License; it is open source and free software. Below figure shows ...
    Tags: eclipse Add / Edit Tags
    Categories
    Eclipse Framework
  12. Start writing a plug-in for Eclipse

    by , 02-06-2012 at 05:13 AM
    The Eclipse IDE has an open architecture which allows third party developers to extend or add new functionalities to the Eclipse’s core platform. This architecture follows the OSGi framework which is a specification for application and component life cycle management.

    This article will guide you to develop a sample plug-in from creating fundamental blocks to testing and installing as a feature to the IDE. The version of Eclipse targeted by this article is the 3.7 (Indigo).
    ...
    Categories
    Plug-ins
  13. Using WindowBuilder to design GUI in Eclipse

    by , 02-06-2012 at 03:57 AM
    WindowBuilder is a great Eclipse plug-in that allows developers to visually design graphical user interface (GUI) for Java applications. It supports developing both Swing and SWT applications. In addition, it also supports Google Web Toolkit (GWT) and XML Windowing Toolkit (XWT). This article introduces this plug-in to Java developers about installation and working within Eclipse IDE environment.

    Install WindowBuilder plug-in

    WindowBuilder is already integrated into ...
  14. Working with databases in Eclipse using QuantumDB

    by , 02-05-2012 at 12:32 PM
    Database is an important part of a software program. There are a number of tools/editors for popular RMDBS such as MySQL Query Browser, SQL Server Management Studio, TOAD… for database administrators and/or developers. For those who are working with Java and database using Eclipse IDE, a plug-in for database integrated in an IDE would be a necessary tool, and QuantumDB is such a plug-in. It is easy to setup and helps developers working with the most popular database systems smoothly.
    ...
  15. Using custom Ant build script for Eclipse projects

    by , 02-05-2012 at 05:25 AM
    Ant is XML-based script for building Java applications. Ant is popularly used in Java development because of its powerful and flexibility. It makes developer’s life easier by automatically processing repetitive tasks that happen before, during and after building of Java applications. Eclipse is a great IDE which supports Ant by integrating Ant’s libraries as its plug-in.

    Generally, you may not deal with any Ant script during development of a Java project in Eclipse. However if your ...
    Tags: ant, eclipse Add / Edit Tags
    Categories
    Eclipse Ant
  16. Working with Java Servlets in Eclipse

    by , 02-04-2012 at 05:56 PM
    Servlet is a Java program that runs on a web server to handle requests and returns response to clients. It is widely used for Java enterprise development, and Eclipse is one of the best IDE for Java development. So this article will walk you through a Java project using Eclipse IDE to create a web application that plays around with a Java servlet.

    Set up Eclipse development environment
    The following software programs are required to be installed on your computer:
    ...