Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

Saturday, December 1, 2007

creating an eclipse plugin

hey, today lets talk about creating a basic eclipse plug in 1) start an eclipse application, go to file -> new.. -> Other.. -> Plugin Development -> Plug in Project 2) Select a name for the plug in project click next and fill in the details for the plug in 3) click next and choose from the different types of templates and click finish. Well now we have the plug in displayed in the package explorer 4) right click on the plugin.xml file and select pde tools -> ant build file. We now have an ant script generated by name build.xml 5) So far we created the sample "Hello World" plug in 6) To run the application open the run dialog and create a new configuration of "Eclipse application" 7) we can now see that a new eclipse application is opened and an additional menu bar is added or a tool bar button is generated based on the template that we choose during the plugin project creation 8) Clicking on that application will have the plug in started This is just a basic plug in application where additional functionalities can be added to the application to make more complex plug ins

Tuesday, November 6, 2007

using CVS with eclipse

CVS (Concurrent Versioning System) CVS as the name specifies is a version control system. Its uses a client / server architecture that helps developers to work on a single project as a team. The versioning system is usually used because the developers can access the files from a single repository and work on their local machines, finally updating the repository with the changes to the files for others to access. Server software usually runs on linux/unix Now lets talk about how to access CVS from eclipse. 1) Set up the server on the unix machine. 2) In eclipse, go to Windows -> open perspective -> CVS repository 3) Create a new repository by right clicking in the CVS explorer and setting the server to the CVS server that is present on the same machine or on a different one 4) Sharing projects: Go to projects -> share project. and choose the repository that we want to store the files to . And there we go, finally we have the files version history and files stored on the CVS server. Coming to accessing the data from the CVS, 1) Right Click on the package explorer and choose import -> CVS-> projects from CVS. 2) Choose the repository and choose the project that is needed for import and have them extracted to work on them on the local machine.