blob: 5cd7090f9048f1b92bcec9604e3ed9adf105b222 [file] [log] [blame]
david_williams4e08c5c2007-10-23 22:32:49 +00001#!/bin/sh
nickboldt03a6f082019-02-12 15:17:11 -05002#*******************************************************************************
3# Copyright (c) 2007, 2019 IBM Corporation and others.
4# This program and the accompanying materials
5# are made available under the terms of the Eclipse Public License 2.0
6# which accompanies this distribution, and is available at
7# https://www.eclipse.org/legal/epl-2.0/
8#
9# SPDX-License-Identifier: EPL-2.0
10#
11# Contributors:
12# IBM Corporation - initial API and implementation
13#*******************************************************************************
david_williamsb1a981c2007-10-23 19:55:06 +000014
15. mainparams.shsource
16
17. copyAndRemove.sh
18
david_williams56374422007-11-12 09:03:46 +000019echo;
20echo " performing $0";
21echo;
22
david_williamsb1a981c2007-10-23 19:55:06 +000023
24oldBaseDir=${oldcvsdir}/jst/components/common/plugins
25newBaseDir=${newcvsdir}/jeetools/plugins
26
27wtpmodule=org.eclipse.jst.common.annotations.controller
28oldDir=${oldBaseDir}/${wtpmodule}
29newDir=${newBaseDir}
30copyAndRemove $oldDir $newDir
31
32wtpmodule=org.eclipse.jst.common.annotations.core
33oldDir=${oldBaseDir}/${wtpmodule}
34newDir=${newBaseDir}
35copyAndRemove $oldDir $newDir
36
37wtpmodule=org.eclipse.jst.common.annotations.ui
38oldDir=${oldBaseDir}/${wtpmodule}
39newDir=${newBaseDir}
40copyAndRemove $oldDir $newDir
41
42wtpmodule=org.eclipse.jst.common.frameworks
43oldDir=${oldBaseDir}/${wtpmodule}
44newDir=${newBaseDir}
45copyAndRemove $oldDir $newDir
46
david_williams278986c2007-11-01 22:37:42 +000047newBaseDir=${newcvsdir}/jeetools/archive
48copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.sample.web.project
49copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.common.navigator.java
50copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.common.launcher.ant
51copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.common.frameworks.ui
david_williamsb1a981c2007-10-23 19:55:06 +000052
david_williamsb1a981c2007-10-23 19:55:06 +000053
david_williamsb1a981c2007-10-23 19:55:06 +000054
david_williamsb1a981c2007-10-23 19:55:06 +000055
56oldBaseDir=${oldcvsdir}/wst/components/web/plugins
57newBaseDir=${newcvsdir}/jeetools/plugins
58wtpmodule=org.eclipse.wst.web
59oldDir=${oldBaseDir}/${wtpmodule}
60newDir=${newBaseDir}
61copyAndRemove $oldDir $newDir
62
63oldBaseDir=${oldcvsdir}/wst/components/web/plugins
64newBaseDir=${newcvsdir}/jeetools/plugins
65wtpmodule=org.eclipse.wst.web.ui
66oldDir=${oldBaseDir}/${wtpmodule}
67newDir=${newBaseDir}
68copyAndRemove $oldDir $newDir
69
70
71oldBaseDir=${oldcvsdir}/jst/components/jem
72newBaseDir=${newcvsdir}/jeetools/plugins
73
74wtpmodule=org.eclipse.jem
75oldDir=${oldBaseDir}/${wtpmodule}
76newDir=${newBaseDir}
77copyAndRemove $oldDir $newDir
78
79wtpmodule=org.eclipse.jem.beaninfo
80oldDir=${oldBaseDir}/${wtpmodule}
81newDir=${newBaseDir}
82copyAndRemove $oldDir $newDir
83
84wtpmodule=org.eclipse.jem.beaninfo.common
85oldDir=${oldBaseDir}/${wtpmodule}
86newDir=${newBaseDir}
87copyAndRemove $oldDir $newDir
88
89wtpmodule=org.eclipse.jem.beaninfo.ui
90oldDir=${oldBaseDir}/${wtpmodule}
91newDir=${newBaseDir}
92copyAndRemove $oldDir $newDir
93
94wtpmodule=org.eclipse.jem.proxy
95oldDir=${oldBaseDir}/${wtpmodule}
96newDir=${newBaseDir}
97copyAndRemove $oldDir $newDir
98
99wtpmodule=org.eclipse.jem.ui
100oldDir=${oldBaseDir}/${wtpmodule}
101newDir=${newBaseDir}
102copyAndRemove $oldDir $newDir
103
104wtpmodule=org.eclipse.jem.workbench
105oldDir=${oldBaseDir}/${wtpmodule}
106newDir=${newBaseDir}
107copyAndRemove $oldDir $newDir
108
109oldBaseDir=${oldcvsdir}/jst/components/servlet/plugins
110wtpmodule=org.eclipse.jst.servlet.ui
111oldDir=${oldBaseDir}/${wtpmodule}
112newDir=${newBaseDir}
113copyAndRemove $oldDir $newDir
114
115oldBaseDir=${oldcvsdir}/jst/components/jem
116newBaseDir=${newcvsdir}/jeetools/features
117wtpmodule=org.eclipse.jem-feature
118oldDir=${oldBaseDir}/${wtpmodule}
119newDir=${newBaseDir}
120copyAndRemove $oldDir $newDir
121
122oldBaseDir=${oldcvsdir}/jst/components/jem/tests
123newBaseDir=${newcvsdir}/jeetools/features
124wtpmodule=org.eclipse.jem.tests-feature
125oldDir=${oldBaseDir}/${wtpmodule}
126newDir=${newBaseDir}
127copyAndRemove $oldDir $newDir
128
129oldBaseDir=${oldcvsdir}/jst/components/servlet/tests
130newBaseDir=${newcvsdir}/jeetools/tests
131wtpmodule=org.eclipse.jst.servlet.tests
132oldDir=${oldBaseDir}/${wtpmodule}
133newDir=${newBaseDir}
134copyAndRemove $oldDir $newDir
135
136
137oldBaseDir=${oldcvsdir}/jst/components/jem/tests
138newBaseDir=${newcvsdir}/jeetools/tests
139wtpmodule=org.eclipse.jem.tests
140oldDir=${oldBaseDir}/${wtpmodule}
141newDir=${newBaseDir}
142copyAndRemove $oldDir $newDir
143
144oldBaseDir=${oldcvsdir}/jst/components/ejb/features
145newBaseDir=${newcvsdir}/jeetools/features
146wtpmodule=org.eclipse.jst.enterprise_core.feature
147oldDir=${oldBaseDir}/${wtpmodule}
148newDir=${newBaseDir}
149copyAndRemove $oldDir $newDir
150
151wtpmodule=org.eclipse.jst.enterprise_sdk.feature
152oldDir=${oldBaseDir}/${wtpmodule}
153newDir=${newBaseDir}
154copyAndRemove $oldDir $newDir
155
156wtpmodule=org.eclipse.jst.enterprise_tests.feature
157oldDir=${oldBaseDir}/${wtpmodule}
158newDir=${newBaseDir}
159copyAndRemove $oldDir $newDir
160
161wtpmodule=org.eclipse.jst.enterprise_ui.feature
162oldDir=${oldBaseDir}/${wtpmodule}
163newDir=${newBaseDir}
164copyAndRemove $oldDir $newDir
165
166wtpmodule=org.eclipse.jst.enterprise_ui.feature.patch
167oldDir=${oldBaseDir}/${wtpmodule}
168newDir=${newBaseDir}
169copyAndRemove $oldDir $newDir
170
171wtpmodule=org.eclipse.jst.enterprise_userdoc.feature
172oldDir=${oldBaseDir}/${wtpmodule}
173newDir=${newBaseDir}
174copyAndRemove $oldDir $newDir
175
176wtpmodule=org.eclipse.jst.servlet.ui.patch
177oldDir=${oldBaseDir}/${wtpmodule}
178newDir=${newBaseDir}
179copyAndRemove $oldDir $newDir
180
david_williamsb1a981c2007-10-23 19:55:06 +0000181oldBaseDir=${oldcvsdir}/jst/components/doc/features
182newBaseDir=${newcvsdir}/jeetools
183oldDir=${oldBaseDir}
184newDir=${newBaseDir}
185copyAndRemove $oldDir $newDir
186
187oldBaseDir=${oldcvsdir}/jst/components/doc/plugins
188newBaseDir=${newcvsdir}/jeetools/docs
189
190wtpmodule=org.eclipse.jst.doc.isv
191oldDir=${oldBaseDir}/${wtpmodule}
192newDir=${newBaseDir}
193copyAndRemove $oldDir $newDir
194
195wtpmodule=org.eclipse.jst.j2ee.doc.user
196oldDir=${oldBaseDir}/${wtpmodule}
197newDir=${newBaseDir}
198copyAndRemove $oldDir $newDir
199
200wtpmodule=org.eclipse.jst.j2ee.infopop
201oldDir=${oldBaseDir}/${wtpmodule}
202newDir=${newBaseDir}
203copyAndRemove $oldDir $newDir
204
205wtpmodule=org.eclipse.jst.servlet.ui.infopop
206oldDir=${oldBaseDir}/${wtpmodule}
207newDir=${newBaseDir}
208copyAndRemove $oldDir $newDir
209
david_williamsb1a981c2007-10-23 19:55:06 +0000210oldBaseDir=${oldcvsdir}/wst/components/web/features
211newBaseDir=${newcvsdir}/jeetools/features
david_williams56374422007-11-12 09:03:46 +0000212wtpmodule=org.eclipse.wst.web_core.feature.patch
213oldDir=${oldBaseDir}/${wtpmodule}
214newDir=${newBaseDir}
215copyAndRemove $oldDir $newDir
david_williamsb1a981c2007-10-23 19:55:06 +0000216
217wtpmodule=org.eclipse.wst.web_core.feature
218oldDir=${oldBaseDir}/${wtpmodule}
219newDir=${newBaseDir}
220copyAndRemove $oldDir $newDir
221
222wtpmodule=org.eclipse.wst.web_sdk.feature
223oldDir=${oldBaseDir}/${wtpmodule}
224newDir=${newBaseDir}
225copyAndRemove $oldDir $newDir
226
227wtpmodule=org.eclipse.wst.web_tests.feature
228oldDir=${oldBaseDir}/${wtpmodule}
229newDir=${newBaseDir}
230copyAndRemove $oldDir $newDir
231
232wtpmodule=org.eclipse.wst.web_ui.feature
233oldDir=${oldBaseDir}/${wtpmodule}
234newDir=${newBaseDir}
235copyAndRemove $oldDir $newDir
236
237wtpmodule=org.eclipse.wst.web_userdoc.feature
238oldDir=${oldBaseDir}/${wtpmodule}
239newDir=${newBaseDir}
240copyAndRemove $oldDir $newDir
241
242oldBaseDir=${oldcvsdir}/wst/components/doc/plugins
243newBaseDir=${newcvsdir}/jeetools/docs
244
245wtpmodule=org.eclipse.wst.web.ui.infopop
246oldDir=${oldBaseDir}/${wtpmodule}
247newDir=${newBaseDir}
248copyAndRemove $oldDir $newDir
249
david_williams6387d9a2007-10-24 04:18:09 +0000250oldBaseDir=${oldcvsdir}/jst/components/j2ee
251newBaseDir=${newcvsdir}/jeetools
252
253wtpmodule=development
254oldDir=${oldBaseDir}/${wtpmodule}
255newDir=${newBaseDir}
256copyAndRemove $oldDir $newDir
257
258oldBaseDir=${oldcvsdir}/jst/components/j2ee/plugins
259newBaseDir=${newcvsdir}/jeetools/plugins
260
261copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee
262copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee.core
263copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee.jca
264copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee.jca.ui
265copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee.navigator.ui
266copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee.ui
267copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee.web
268copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee.webservice
269copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee.webservice.ui
270copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.jee
271copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.jee.ui
272copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.jee.web
david_williams6387d9a2007-10-24 04:18:09 +0000273
david_williams6387d9a2007-10-24 04:18:09 +0000274oldBaseDir=${oldcvsdir}/jst/components/j2ee/tests
275newBaseDir=${newcvsdir}/jeetools/tests
276
277copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee.core.tests
278copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee.core.tests.performance
279copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee.tests
280copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.j2ee.tests.performance
281copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.validation.sample
282copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.validation.test
david_williams278986c2007-11-01 22:37:42 +0000283
284newBaseDir=${newcvsdir}/jeetools/archive
david_williams6387d9a2007-10-24 04:18:09 +0000285copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.validation.test.fwk
286
david_williams334e8902007-11-05 04:39:42 +0000287oldDir=${oldcvsdir}/jst/components/ejb/features/*
288newDir=${newcvsdir}/jeetools/features
289copyAndRemove $oldDir $newDir
290
david_williams56374422007-11-12 09:03:46 +0000291oldDir=${oldcvsdir}/wst/components/web/features/*
david_williams334e8902007-11-05 04:39:42 +0000292newDir=${newcvsdir}/jeetools/features
293copyAndRemove $oldDir $newDir