Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [pde-dev] Automatically setup workspace for a project

Hi
To achieve this you can use IResourceAdapters and its corresponding listeners. following thing you have to do.

1. Write a Plugin which listens tothe workspace events (refer IResource/IAdaptable) API interfaces. 2. In the listening events do what ever you want. -> for eg. if a project p is opened an event will be fired with Id of OPEN simly, close and refresh, move and delete.

the best way to write listeners. one more advantage if you want to set up classpath and all, you can use of ProjectBuilder APIs so that you can map some entries from CVS to classpath.

do get back to me if its not clear.

regards,
Pradheep.


----Original Message Follows----
From: "Veerasamy, Thirumalai (Cognizant)" <VThiruma1@xxxxxxxxxxxxxxxxx>
To: "PRADHEEP THIRUVENGADAM" <pradheept@xxxxxxxxxxx>,<pde-dev@xxxxxxxxxxx>
Subject: RE: [pde-dev] Automatically setup workspace for a project
Date: Mon, 7 Jun 2004 17:35:01 +0530

I want to do this through Eclipse/WSAD since after the workspace is
setup through automation, if I open my workspace through eclipse/WSAD it
should be the same as if I do it without the automation.

But I don't want to do it through UI since it is bit slow sometimes and
people don't know how to set up some jars, etc., Run the tool, do
everything, people should be able start working on the project, that's
it.

Thiru

-----Original Message-----
From: PRADHEEP THIRUVENGADAM [mailto:pradheept@xxxxxxxxxxx]
Sent: Monday, June 07, 2004 4:47 PM
To: pde-dev@xxxxxxxxxxx
Cc: Veerasamy, Thirumalai (Cognizant)
Subject: RE: [pde-dev] Automatically setup workspace for a project

there are quite possible ways.

1. CVS.org provides APIs for checking out/in you can write a appl. which

does this.
2. Invoke a antscript (to check out and configure files ....

apart from these instead of doing with out opening IDE you can do this
work
when ever eclipse starts ??? See IResource and its change Listeners.


Pradheep

----Original Message Follows----
From: "Veerasamy, Thirumalai (Cognizant)" <VThiruma1@xxxxxxxxxxxxxxxxx>
Reply-To: pde-dev@xxxxxxxxxxx
To: <pde-dev@xxxxxxxxxxx>
Subject: [pde-dev] Automatically setup workspace for a project
Date: Mon, 7 Jun 2004 15:23:43 +0530

Hi,

    I am planning to write a tool, which will automatically checkout the
source from CVS, change the .classpath settings and do some more
activities without invoking eclipse IDE. I mean headless operation. Is
it possible? If yes how?

Thanks
Thiru

<< InterScan_Disclaimer.txt >>

_________________________________________________________________
The new MSN toolbar! As convenient as it gets! http://toolbar.msn.co.in/

Click here to download now!

<< InterScan_Disclaimer.txt >>

_________________________________________________________________
Contact brides & grooms FREE! http://www.shaadi.com/index.php?ptnr=hmltag Only on www.shaadi.com. Register now!



Back to the top