Home » Language IDEs » ServerTools (WTP) » How to build an old version of WTP (2.0.2)? (How to build an old version of WTP (2.0.2)? )
|Re: How to build an old version of WTP (2.0.2)? [message #516467 is a reply to message #516331]
||Wed, 24 February 2010 06:48
| David Williams
Registered: July 2009
Good grief. Do I pity you! You have a tough row to hoe! :)|
No chance of moving up? To at least 2.0.3? (but I'd recommend moving up
to the latest release!
I can give you a few pointers, but you'll need to do a lot of
investigation and sleuthing to reconstruct such an old build.
Off hand, I'd guess a month of full time effort. But, maybe you mean you
just need to create a patch for 2.0.2, and not literally rebuild it all?
And, I don't mean to be pessimistic ... maybe you'll figure everything
out easily with these few pointers. If you do ... how about you right up
your experience for others to learn from?!
> I found
> http://archive.eclipse.org/webtools/downloads/drops/R2.0/R-2 .0.2-20080223205547/
> but the wtp-sdk-R-2.0.2-20080223205547.zip contains a lot of plugins
> without source code and I don't think all of these plugins are necessary.
Well, they are all necessary if you want a full "wtp". The source is
there, but I suspect way back then it was in source zips and in any
case, sdk source is not be in a form useful for re-building. But you
should be able to "import from target" with "include source" to get the
source in your dev. env.
> I found this howto
> http://www.eclipse.org/webtools/community/tutorials/Developi ngWTP/DevelopingWTP.html
> It looks quite old and just explains how to checkout a particular plugin
> without giving the whole list of plugins needed for a full WTP
You might want to read
but that's hard enough to do on current code. I'm not sure its accurate
for such old code. Well, I'm sure its not. But, the principles would be
the same. But, again, I sort of doubt you really need to do a full
re-build. That'd be rare. Doable, in theory, and interesting, but pretty
> I found the CVS repo but I am confused by all the directories in it.
> Which are to checkout?
That's the right repo. (except for the mailto part? :)
> So basically: is there an archive somewhere that contains all sources
> for WTP 2.0.2?
No. Just CVS.
> Can I get the sources via the CVS? If yes,
> which plugins/directories are
> to be retrieved for a full WTP 2.0.2?
One key bit of knowledge you'll find helpful, I hope, is that we build
based on _map files_ and those map files _are_ included on the each
download page. So for the build at
you'll see the "map files" link points to
You can see from this long file, exactly what was pulled in to build
with. For example, the first entry is
email@example.com_core.feature=v200706041905,:pserver:firstname.lastname@example.org :/cvsroot/webtools,,common/features/org.eclipse.jst.common_c ore.feature
Which means the org.eclipse.jst.common_core.feature module tagged with
v200706041905. And that module, if not listed obviously in cvs explorer,
can be found under the 'common/features' directory in cvs.
There is a tool, provided by the Eclipse Platform releng team, call
releng tools, that is at the bottom of their build pages. You need to
get the version of releng tools that is specific to your dev. env. Once
installed, it provides an option, under 'Team' to "Load projects from
map files" (if a map file is selected). You'd need to create a map file,
and paste in the content of that directory.txt file. You might want to
start off with small pits until you are familar with it, what you need,
and how long it will take.
If you just need a few fixes to WTP code, I'd suggest you create a PDE
target based on 2.0.2 (and its pre-reqs) and then pull in exactly what
you need to patch, and then create feature patches to fix exactly what
> Anyone having a little "howto" or tips on how to do that?
> Any help would be greatly appreciated!
Current Time: Tue Mar 09 10:46:04 GMT 2021
Powered by FUDForum
. Page generated in 0.02301 seconds