Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Setting up a workspace for WTP Development
Setting up a workspace for WTP Development [message #146800] Thu, 10 November 2005 16:13 Go to next message
Eclipse UserFriend
Originally posted by: scott.anderson.genuitec.com

I looked all through the project documentation for an answer to this
question and apologize in advance if I missed it.

What I'd like to do is set up a workspace connected to the WTP repository so
I can build, launch and debug WTP locally. When I looked at the repository,
I noticed that each component has a rather deep hierarchy to get to their
plugins.

My question is simply what's the best way to quickly setup a buildable
workspace for WTP? Is everyone expected to navigate the CVS hierarchy and
individually select every plugin and feature? Is there a list somewhere of
which ones are required? Is there a team project set or some other
mechanism that will allow me to create such a debuggable workspace quickly?
Any help would be greatly appreciated.

Thanks in advance,
--Scott
Re: Setting up a workspace for WTP Development [message #146805 is a reply to message #146800] Thu, 10 November 2005 18:06 Go to previous messageGo to next message
Eclipse UserFriend
How to check out the WTP plugins from CVS

It is recommended to check out the plugins via the releng tools.
The advantage is to have plugin versions that correspond to CVS tags,
which you can specify if you are talking about your intallation (-bugs).

First, download the current releng tools version (you will find it at
the bottom of the download pages for eclipse project builds).

For example 3.2 M3 - look at the bottom of the page:
http://download.eclipse.org/eclipse/downloads/drops/S-3.2M3- 200511021600/index.php

Then you will need the map files of the webtools build that you plan to
load into your workspace. A link to the map file is included on all
download pages at the top of the page, e.g for the Nov 5 IBuild:
http://download.eclipse.org/webtools/downloads/drops/I-I2005 1105-200511051946/directory.txt

Create a new simple project in your workspace. Create a new file with an
..map extension. Paste the content from the above mentioned map file into
this file.

Right-click on the .map file in your workspace. Select: Team - Load Map
Projects. (If you copyed all map files entries into the file, it may
take a little while to check out all projects).

Done! You should now have checked out all WTP plugins into your workspace.

Hope this helps

Jochen


Scott Anderson wrote:
> I looked all through the project documentation for an answer to this
> question and apologize in advance if I missed it.
>
> What I'd like to do is set up a workspace connected to the WTP repository so
> I can build, launch and debug WTP locally. When I looked at the repository,
> I noticed that each component has a rather deep hierarchy to get to their
> plugins.
>
> My question is simply what's the best way to quickly setup a buildable
> workspace for WTP? Is everyone expected to navigate the CVS hierarchy and
> individually select every plugin and feature? Is there a list somewhere of
> which ones are required? Is there a team project set or some other
> mechanism that will allow me to create such a debuggable workspace quickly?
> Any help would be greatly appreciated.
>
> Thanks in advance,
> --Scott
>
>
Re: Setting up a workspace for WTP Development [message #146841 is a reply to message #146805] Fri, 11 November 2005 13:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scott.anderson.genuitec.com

Jochen,

Thanks for responding with these steps so quickly! I really appreciate it.
I'll give this a try by Monday at the latest and follow up with any
additional questions or clarifications then.

Best regards,
--Scott


"Jochen Krause" <jkrause@innoopract.de> wrote in message
news:dl0jr0$irm$1@news.eclipse.org...
> How to check out the WTP plugins from CVS
>
> It is recommended to check out the plugins via the releng tools.
> The advantage is to have plugin versions that correspond to CVS tags,
> which you can specify if you are talking about your intallation (-bugs).
>
> First, download the current releng tools version (you will find it at the
> bottom of the download pages for eclipse project builds).
>
> For example 3.2 M3 - look at the bottom of the page:
> http://download.eclipse.org/eclipse/downloads/drops/S-3.2M3- 200511021600/index.php
>
> Then you will need the map files of the webtools build that you plan to
> load into your workspace. A link to the map file is included on all
> download pages at the top of the page, e.g for the Nov 5 IBuild:
> http://download.eclipse.org/webtools/downloads/drops/I-I2005 1105-200511051946/directory.txt
>
> Create a new simple project in your workspace. Create a new file with an
> .map extension. Paste the content from the above mentioned map file into
> this file.
>
> Right-click on the .map file in your workspace. Select: Team - Load Map
> Projects. (If you copyed all map files entries into the file, it may take
> a little while to check out all projects).
>
> Done! You should now have checked out all WTP plugins into your workspace.
>
> Hope this helps
>
> Jochen
>
>
> Scott Anderson wrote:
>> I looked all through the project documentation for an answer to this
>> question and apologize in advance if I missed it.
>>
>> What I'd like to do is set up a workspace connected to the WTP repository
>> so I can build, launch and debug WTP locally. When I looked at the
>> repository, I noticed that each component has a rather deep hierarchy to
>> get to their plugins.
>>
>> My question is simply what's the best way to quickly setup a buildable
>> workspace for WTP? Is everyone expected to navigate the CVS hierarchy
>> and individually select every plugin and feature? Is there a list
>> somewhere of which ones are required? Is there a team project set or
>> some other mechanism that will allow me to create such a debuggable
>> workspace quickly? Any help would be greatly appreciated.
>>
>> Thanks in advance,
>> --Scott
Re: Setting up a workspace for WTP Development [message #146942 is a reply to message #146805] Mon, 14 November 2005 10:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scott.anderson.genuitec.com

Jochen,

I had a chance to try it out using the 1.0M8 map and everything worked just
great! Thank you very much for the assistance.

I just have one more question: is there a map available for whatever is
considered "HEAD" or the current working build for the dev team? How does
the dev team know what's "current" for all the projects?

Thanks again,
--Scott


"Jochen Krause" <jkrause@innoopract.de> wrote in message
news:dl0jr0$irm$1@news.eclipse.org...
> How to check out the WTP plugins from CVS
>
> It is recommended to check out the plugins via the releng tools.
> The advantage is to have plugin versions that correspond to CVS tags,
> which you can specify if you are talking about your intallation (-bugs).
>
> First, download the current releng tools version (you will find it at the
> bottom of the download pages for eclipse project builds).
>
> For example 3.2 M3 - look at the bottom of the page:
> http://download.eclipse.org/eclipse/downloads/drops/S-3.2M3- 200511021600/index.php
>
> Then you will need the map files of the webtools build that you plan to
> load into your workspace. A link to the map file is included on all
> download pages at the top of the page, e.g for the Nov 5 IBuild:
> http://download.eclipse.org/webtools/downloads/drops/I-I2005 1105-200511051946/directory.txt
>
> Create a new simple project in your workspace. Create a new file with an
> .map extension. Paste the content from the above mentioned map file into
> this file.
>
> Right-click on the .map file in your workspace. Select: Team - Load Map
> Projects. (If you copyed all map files entries into the file, it may take
> a little while to check out all projects).
>
> Done! You should now have checked out all WTP plugins into your workspace.
>
> Hope this helps
>
> Jochen
>
>
> Scott Anderson wrote:
>> I looked all through the project documentation for an answer to this
>> question and apologize in advance if I missed it.
>>
>> What I'd like to do is set up a workspace connected to the WTP repository
>> so I can build, launch and debug WTP locally. When I looked at the
>> repository, I noticed that each component has a rather deep hierarchy to
>> get to their plugins.
>>
>> My question is simply what's the best way to quickly setup a buildable
>> workspace for WTP? Is everyone expected to navigate the CVS hierarchy
>> and individually select every plugin and feature? Is there a list
>> somewhere of which ones are required? Is there a team project set or
>> some other mechanism that will allow me to create such a debuggable
>> workspace quickly? Any help would be greatly appreciated.
>>
>> Thanks in advance,
>> --Scott
Re: Setting up a workspace for WTP Development [message #147331 is a reply to message #146805] Wed, 16 November 2005 13:35 Go to previous messageGo to next message
Eclipse UserFriend
Jochen Krause wrote:
> How to check out the WTP plugins from CVS

Thanks very much for this info. I succesfully followed it. However...

I am now in a situation that I have MAP files from two specific I-builds
and my workspace is already loaded with the CVS tags for the old I-build.

I then did some work on WTP itself.

I now wish process the new MAP file and keep the existing projects but
simply run the equivalent of "cvs update -r v2005MMDD_tag" on each
project to bring the version I have pulled in line with the new MAP file
for the new I-build.

Is this possible ?


The option Team -> Tag Map Projects (did allow me to select the first
time around, then came back with a "This is not setup or allowed or
something" error) Now "Tag Map Projects" is greyed out.

If I do a "Load Map Projects" Eclipse wants to delete and pull fresh.
If I do this I loose my work.


Thanks

Darryl
Re: Setting up a workspace for WTP Development [message #147355 is a reply to message #147331] Wed, 16 November 2005 18:59 Go to previous messageGo to next message
Eclipse UserFriend
Darryl L. Miles wrote:
> Jochen Krause wrote:
>
>> How to check out the WTP plugins from CVS
>
>
> Thanks very much for this info. I succesfully followed it. However...

Hmm.. I've taken a look at the code for the releng module and I don't
think it can do what I want as-is. :(


What I would like is a new action to releng that can:

* Iterate through the MAP file. (this code is already in
org.eclipse.releng.tools).

* Lookup in the workspace for an existing project with label from map
file entry, is one does not exist then continue silently. (must be easy)

* Confirm all resources in the project are tagged with the same CVS
version we are wanting, if they are we are done with this project. (must
be easy, some similar looking code exists in o.e.releng.tools already)

* Otherwise drive CVS Team syncing to "Switch to another Version" with
the new version from the map file entry. (Duh???)

* Then run CVS update / synchronize to start the process of merging any
conflicts with possible user interaction (or defer the conflict
resoltion until the end). (Duh???)

* Repeat for every project in the MAP file.



Darryl
Re: Setting up a workspace for WTP Development [message #147370 is a reply to message #146942] Wed, 16 November 2005 19:43 Go to previous messageGo to next message
Eclipse UserFriend
You can get HEAD if you delete the tags from the map file e.g.

plugin@org.eclipse.ui.externaltools=,:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse

will checkout from head.

Jochen

Scott Anderson wrote:
> Jochen,
>
> I had a chance to try it out using the 1.0M8 map and everything worked just
> great! Thank you very much for the assistance.
>
> I just have one more question: is there a map available for whatever is
> considered "HEAD" or the current working build for the dev team? How does
> the dev team know what's "current" for all the projects?
>
> Thanks again,
> --Scott
>
>
> "Jochen Krause" <jkrause@innoopract.de> wrote in message
> news:dl0jr0$irm$1@news.eclipse.org...
>
>>How to check out the WTP plugins from CVS
>>
>>It is recommended to check out the plugins via the releng tools.
>>The advantage is to have plugin versions that correspond to CVS tags,
>>which you can specify if you are talking about your intallation (-bugs).
>>
>>First, download the current releng tools version (you will find it at the
>>bottom of the download pages for eclipse project builds).
>>
>>For example 3.2 M3 - look at the bottom of the page:
>> http://download.eclipse.org/eclipse/downloads/drops/S-3.2M3- 200511021600/index.php
>>
>>Then you will need the map files of the webtools build that you plan to
>>load into your workspace. A link to the map file is included on all
>>download pages at the top of the page, e.g for the Nov 5 IBuild:
>> http://download.eclipse.org/webtools/downloads/drops/I-I2005 1105-200511051946/directory.txt
>>
>>Create a new simple project in your workspace. Create a new file with an
>>.map extension. Paste the content from the above mentioned map file into
>>this file.
>>
>>Right-click on the .map file in your workspace. Select: Team - Load Map
>>Projects. (If you copyed all map files entries into the file, it may take
>>a little while to check out all projects).
>>
>>Done! You should now have checked out all WTP plugins into your workspace.
>>
>>Hope this helps
>>
>>Jochen
>>
>>
>>Scott Anderson wrote:
>>
>>>I looked all through the project documentation for an answer to this
>>>question and apologize in advance if I missed it.
>>>
>>>What I'd like to do is set up a workspace connected to the WTP repository
>>>so I can build, launch and debug WTP locally. When I looked at the
>>>repository, I noticed that each component has a rather deep hierarchy to
>>>get to their plugins.
>>>
>>>My question is simply what's the best way to quickly setup a buildable
>>>workspace for WTP? Is everyone expected to navigate the CVS hierarchy
>>>and individually select every plugin and feature? Is there a list
>>>somewhere of which ones are required? Is there a team project set or
>>>some other mechanism that will allow me to create such a debuggable
>>>workspace quickly? Any help would be greatly appreciated.
>>>
>>>Thanks in advance,
>>>--Scott
>
>
>
Re: Setting up a workspace for WTP Development [message #147378 is a reply to message #147331] Wed, 16 November 2005 19:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jkrause.w4toolkit.com

You may want to take this to the platform or platform releng mailing
list. But these tools are created for committers and they have a
different use case (they commit to their plugins and replace the others).

If you improve the webtools code itself you are welcome to contribute
patches to the project (you may want to have a look at the EPL as well
if you make your code public). This might be a better way staying in
sync ...

Jochen


Darryl L. Miles wrote:
> Jochen Krause wrote:
>
>> How to check out the WTP plugins from CVS
>
>
> Thanks very much for this info. I succesfully followed it. However...
>
> I am now in a situation that I have MAP files from two specific I-builds
> and my workspace is already loaded with the CVS tags for the old I-build.
>
> I then did some work on WTP itself.
>
> I now wish process the new MAP file and keep the existing projects but
> simply run the equivalent of "cvs update -r v2005MMDD_tag" on each
> project to bring the version I have pulled in line with the new MAP file
> for the new I-build.
>
> Is this possible ?
>
>
> The option Team -> Tag Map Projects (did allow me to select the first
> time around, then came back with a "This is not setup or allowed or
> something" error) Now "Tag Map Projects" is greyed out.
>
> If I do a "Load Map Projects" Eclipse wants to delete and pull fresh. If
> I do this I loose my work.
>
>
> Thanks
>
> Darryl
Re: Setting up a workspace for WTP Development [message #147514 is a reply to message #147331] Thu, 17 November 2005 11:43 Go to previous messageGo to next message
Eclipse UserFriend
On Wed, 16 Nov 2005 13:35:21 -0500, Darryl L. Miles <darryl@netbauds.net=
> wrote:


> I am now in a situation that I have MAP files from two specific I-buil=
ds
> and my workspace is already loaded with the CVS tags for the old I-bui=
ld.
>

I can't follow all the "ins and outs" of this thread, but there is a few=

simple things to emphasize. 1. Once you have in your workspace, don't fo=
rget you can
simply use "replace..." with head (or what ever) version.

2. There's nothing too strict about the map files. you can import a map =
file, or directory.txt file
from a build's download page, edit it to include some sub set you want =
(or delete what you dont' want).
and then use same "load from map" action.

HTH
Re: Setting up a workspace for WTP Development [message #147608 is a reply to message #147514] Thu, 17 November 2005 19:08 Go to previous messageGo to next message
Eclipse UserFriend
David Williams wrote:
> On Wed, 16 Nov 2005 13:35:21 -0500, Darryl L. Miles
> <darryl@netbauds.net> wrote:
>
>
>> I am now in a situation that I have MAP files from two specific I-builds
>> and my workspace is already loaded with the CVS tags for the old I-build.
>>
>
> I can't follow all the "ins and outs" of this thread, but there is a few
> simple things to emphasize. 1. Once you have in your workspace, don't
> forget you can
> simply use "replace..." with head (or what ever) version.
>
> 2. There's nothing too strict about the map files. you can import a map
> file, or directory.txt file
> from a build's download page, edit it to include some sub set you want
> (or delete what you dont' want).
> and then use same "load from map" action.
>
> HTH

Thanks but... if I want to replace with HEAD (or whatever version) I
have to do this manually for upto 247 projects after I have manually
worked out the exact CVS TAG I need to pull for each indiviual project
and manually worked out which projects are dependancies.

But this is exactly whats described a MAP file.

The dependancies issue could be dealt with like the Eclipse core do by
publishing multiple map files. But I appreciate that currently WTP
intra-component dependancies are not 100% clean so its not going to work
just yet, thats ok by me.



Importing a MAP file means I have to delete the existing WTP project in
my workspace that I may have worked on. If you load another MAP file
the first thing it wants to do is delete the WTP project that already
exists. I don't want to do this. I'd loose my work.

It also means a complete CSV checkout of the entire module from scratch
when thats not necessary. Seems like increasing your server load when I
only need to pull the patches since last weeks I build.



What I want to do is be able to go from one I-build MAP file to another
each week, so that I can recompile / link my code against the newer
I-build before continuing development of it.

Currently it looks like I just have to pick an I-build version and stick
with it, because its just too much manual work to keep up.


Darryl
Re: Setting up a workspace for WTP Development [message #147624 is a reply to message #147608] Thu, 17 November 2005 20:20 Go to previous messageGo to next message
Eclipse UserFriend
On Thu, 17 Nov 2005 19:08:29 -0500, Darryl L. Miles <darryl@netbauds.net=
> wrote:

> What I want to do is be able to go from one I-build MAP file to anothe=
r each week, so that I can recompile / link my code
> against the newer I-build before continuing development of it.
>Currently it looks like I just have to pick an I-build version and stic=
k with it, because its just too much manual work to
> keep up.


Does using PDE Targets help accomplish what you want to do?
I know many who use a PDE target which had Eclipse 3.1.1,
all the prereq's, (EMF, GEF, etc.), and "the latest"
I-build from WTP.

Then all they have in their workspace (from head, typically) are the
plugins they have had to modify/patch and/or their own new plugins.
From week to week they upgrade their I-build "target" to make sure
still "in synch".

PDE is pretty good about using the "right" plugins for the "build path"
.... workspace first, even if in target, but if removed from workspace,
it'll use the target version.

Some of this is described in
http://www.eclipse.org/webtools/community/tutorials/Developi ngWTP/Develo=
pingWTP.html
if you haven't seen that yet.
Re: Setting up a workspace for WTP Development [message #147631 is a reply to message #147608] Thu, 17 November 2005 20:37 Go to previous messageGo to next message
Eclipse UserFriend
On Thu, 17 Nov 2005 19:08:29 -0500, Darryl L. Miles <darryl@netbauds.net=
> wrote:

> The dependancies issue could be dealt with like the Eclipse core do by=
publishing multiple map files. But I appreciate
> that currently WTP intra-component dependancies are not 100% clean so =
its not going to work just yet, thats ok by me.
>

We do have mutliple map files. They are in the
releng project, just like the base Eclipse.

The names of the files, such as wst-common-core.map,
wst-common-ui.map, etc, are meant to correspond to the
same names as outlined in
http://www.eclipse.org/webtools/development/arch_and_design/ subsystems/S=
ubsystemsAndFeatures.html

with the same dependancies as outlined in that document.
(And, there's probably a few "bugs" in that description, where
things are not quite right, or out of date, but should be close).

Hope this helps
Re: Setting up a workspace for WTP Development [message #148148 is a reply to message #147608] Mon, 21 November 2005 09:13 Go to previous message
Eclipse UserFriend
Darryl,

Would you be interested in a project set of the WTP plugins (no
features) at HEAD, with or without tests? That is typically what I uses
for the reasons you cite. There is a risk that you can pick up
unreleased changes and there will be errors in the build. Of late, some
simple local changes have been enough to keep things working if a
correction to such an error didn't arrive in a timely fashion.

Cheers,
Larry

Darryl L. Miles wrote:
> David Williams wrote:
>
>> On Wed, 16 Nov 2005 13:35:21 -0500, Darryl L. Miles
>> <darryl@netbauds.net> wrote:
>>
>>
>>> I am now in a situation that I have MAP files from two specific I-builds
>>> and my workspace is already loaded with the CVS tags for the old
>>> I-build.
>>>
>>
>> I can't follow all the "ins and outs" of this thread, but there is a few
>> simple things to emphasize. 1. Once you have in your workspace, don't
>> forget you can
>> simply use "replace..." with head (or what ever) version.
>>
>> 2. There's nothing too strict about the map files. you can import a
>> map file, or directory.txt file
>> from a build's download page, edit it to include some sub set you want
>> (or delete what you dont' want).
>> and then use same "load from map" action.
>>
>> HTH
>
>
> Thanks but... if I want to replace with HEAD (or whatever version) I
> have to do this manually for upto 247 projects after I have manually
> worked out the exact CVS TAG I need to pull for each indiviual project
> and manually worked out which projects are dependancies.
>
> But this is exactly whats described a MAP file.
>
> The dependancies issue could be dealt with like the Eclipse core do by
> publishing multiple map files. But I appreciate that currently WTP
> intra-component dependancies are not 100% clean so its not going to work
> just yet, thats ok by me.
>
>
>
> Importing a MAP file means I have to delete the existing WTP project in
> my workspace that I may have worked on. If you load another MAP file
> the first thing it wants to do is delete the WTP project that already
> exists. I don't want to do this. I'd loose my work.
>
> It also means a complete CSV checkout of the entire module from scratch
> when thats not necessary. Seems like increasing your server load when I
> only need to pull the patches since last weeks I build.
>
>
>
> What I want to do is be able to go from one I-build MAP file to another
> each week, so that I can recompile / link my code against the newer
> I-build before continuing development of it.
>
> Currently it looks like I just have to pick an I-build version and stick
> with it, because its just too much manual work to keep up.
>
>
> Darryl
Previous Topic:Debug Web Service
Next Topic:Editor extending StructuredTextEditorXML and the print icon is disabled
Goto Forum:
  


Current Time: Sun Apr 20 09:45:11 EDT 2025

Powered by FUDForum. Page generated in 0.04385 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top