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

No, that's not what I want. Let me explain with what we do.

We have 4 projects, one EAR, one EJB and two WARs. Whenever we need to
create a workspace, we do the following.

1. create a folder
2. open wsad pointing to that folder
3. goto cvs perspective
4. create a connection to cvs server
5. locate the branch/version for each project
6. check out all 4 projects
7. need to set some jars since each developer may have the common jars
which won't be there in CVS in different folder structure
8. create WAS Test Environment 
9. rebuild all project and fix all the issues till you get 0 errors.

Though this seems to be a simple, in reality it could take at least 2-4
hours depends upon the memory, the developer's knowledge about the
projects and required depenedency jars, etc.,

I want to hide all these steps and want to do one task which will do at
least till step 8.

Hope I explained the scenario clearly.

Regards
Thiru

-----Original Message-----
From: PRADHEEP THIRUVENGADAM [mailto:pradheept@xxxxxxxxxxx] 
Sent: Monday, June 07, 2004 6:34 PM
To: Veerasamy, Thirumalai (Cognizant); pde-dev@xxxxxxxxxxx
Subject: 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!

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

		Visit us at http://www.cognizant.com

Back to the top