david_williams | 4e08c5c | 2007-10-23 22:32:49 +0000 | [diff] [blame] | 1 | #!/bin/sh |
nickboldt | 03a6f08 | 2019-02-12 15:17:11 -0500 | [diff] [blame] | 2 | #******************************************************************************* |
| 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_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 14 | |
| 15 | . mainparams.shsource |
| 16 | . copyAndRemove.sh |
| 17 | |
david_williams | 5637442 | 2007-11-12 09:03:46 +0000 | [diff] [blame] | 18 | echo; |
| 19 | echo " performing $0"; |
| 20 | echo; |
| 21 | |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 22 | oldDir=${oldcvsdir}/wst/components/xml/thirdparty |
david_williams | 0db199a | 2007-11-01 06:24:26 +0000 | [diff] [blame] | 23 | newDir=${newcvsdir}/sourceediting/archive |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 24 | copyAndRemove $oldDir $newDir |
| 25 | |
david_williams | 278986c | 2007-11-01 22:37:42 +0000 | [diff] [blame] | 26 | newDir=${newcvsdir}/sourceediting/docs |
| 27 | oldDir=${oldcvsdir}/wst/components/jsdt/plugins/org.eclipse.wst.jsdt.doc |
| 28 | copyAndRemove $oldDir $newDir |
| 29 | |
| 30 | newDir=${newcvsdir}/sourceediting/archive |
| 31 | oldDir=${oldcvsdir}/wst/components/xsd/plugins/org.eclipse.wst.xsd.contentmodel |
| 32 | copyAndRemove $oldDir $newDir |
| 33 | |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 34 | newDir=${newcvsdir}/sourceediting |
| 35 | |
david_williams | aff215c | 2007-10-24 07:15:10 +0000 | [diff] [blame] | 36 | # remember final slash needed here to include all, but correctly flatten |
| 37 | oldDir=${oldcvsdir}/wst/components/sse/ |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 38 | copyAndRemove $oldDir $newDir |
david_williams | aff215c | 2007-10-24 07:15:10 +0000 | [diff] [blame] | 39 | oldDir=${oldcvsdir}/wst/components/xml/ |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 40 | copyAndRemove $oldDir $newDir |
david_williams | aff215c | 2007-10-24 07:15:10 +0000 | [diff] [blame] | 41 | oldDir=${oldcvsdir}/wst/components/xsd/ |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 42 | copyAndRemove $oldDir $newDir |
david_williams | aff215c | 2007-10-24 07:15:10 +0000 | [diff] [blame] | 43 | oldDir=${oldcvsdir}/wst/components/dtd/ |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 44 | copyAndRemove $oldDir $newDir |
david_williams | aff215c | 2007-10-24 07:15:10 +0000 | [diff] [blame] | 45 | oldDir=${oldcvsdir}/wst/components/javascript/ |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 46 | copyAndRemove $oldDir $newDir |
david_williams | aff215c | 2007-10-24 07:15:10 +0000 | [diff] [blame] | 47 | oldDir=${oldcvsdir}/wst/components/jsdt/ |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 48 | copyAndRemove $oldDir $newDir |
david_williams | aff215c | 2007-10-24 07:15:10 +0000 | [diff] [blame] | 49 | oldDir=${oldcvsdir}/wst/components/css/ |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 50 | copyAndRemove $oldDir $newDir |
david_williams | aff215c | 2007-10-24 07:15:10 +0000 | [diff] [blame] | 51 | oldDir=${oldcvsdir}/wst/components/html/ |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 52 | copyAndRemove $oldDir $newDir |
david_williams | aff215c | 2007-10-24 07:15:10 +0000 | [diff] [blame] | 53 | oldDir=${oldcvsdir}/jst/components/jsp/ |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 54 | copyAndRemove $oldDir $newDir |
| 55 | |
david_williams | aff215c | 2007-10-24 07:15:10 +0000 | [diff] [blame] | 56 | |
david_williams | 9826bfe | 2007-11-05 00:58:00 +0000 | [diff] [blame] | 57 | oldBaseDir=${oldcvsdir}/wst/components/web/plugins |
| 58 | newBaseDir=${newcvsdir}/sourceediting/plugins |
| 59 | copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.wst.standard.schemas |
| 60 | |
| 61 | oldBaseDir=${oldcvsdir}/jst/components/j2ee/plugins |
| 62 | newBaseDir=${newcvsdir}/sourceediting/plugins |
| 63 | copyAndRemoveModule $oldBaseDir $newBaseDir org.eclipse.jst.standard.schemas |
david_williams | b1a981c | 2007-10-23 19:55:06 +0000 | [diff] [blame] | 64 | |
| 65 | |
| 66 | oldBaseDir=${oldcvsdir}/wst/components/doc/plugins |
| 67 | newBaseDir=${newcvsdir}/sourceediting/docs |
| 68 | |
| 69 | wtpmodule=org.eclipse.wst.dtdeditor.doc.user |
| 70 | oldDir=${oldBaseDir}/${wtpmodule} |
| 71 | newDir=${newBaseDir} |
| 72 | copyAndRemove $oldDir $newDir |
| 73 | |
| 74 | wtpmodule=org.eclipse.wst.dtd.ui.infopop |
| 75 | oldDir=${oldBaseDir}/${wtpmodule} |
| 76 | newDir=${newBaseDir} |
| 77 | copyAndRemove $oldDir $newDir |
| 78 | |
| 79 | wtpmodule=org.eclipse.wst.html.ui.infopop |
| 80 | oldDir=${oldBaseDir}/${wtpmodule} |
| 81 | newDir=${newBaseDir} |
| 82 | copyAndRemove $oldDir $newDir |
| 83 | |
| 84 | wtpmodule=org.eclipse.wst.javascript.ui.infopop |
| 85 | oldDir=${oldBaseDir}/${wtpmodule} |
| 86 | newDir=${newBaseDir} |
| 87 | copyAndRemove $oldDir $newDir |
| 88 | |
| 89 | wtpmodule=org.eclipse.wst.sse.doc.user |
| 90 | oldDir=${oldBaseDir}/${wtpmodule} |
| 91 | newDir=${newBaseDir} |
| 92 | copyAndRemove $oldDir $newDir |
| 93 | |
| 94 | wtpmodule=org.eclipse.wst.sse.ui.infopop |
| 95 | oldDir=${oldBaseDir}/${wtpmodule} |
| 96 | newDir=${newBaseDir} |
| 97 | copyAndRemove $oldDir $newDir |
| 98 | |
| 99 | wtpmodule=org.eclipse.wst.xmleditor.doc.user |
| 100 | oldDir=${oldBaseDir}/${wtpmodule} |
| 101 | newDir=${newBaseDir} |
| 102 | copyAndRemove $oldDir $newDir |
| 103 | |
| 104 | wtpmodule=org.eclipse.wst.xml.ui.infopop |
| 105 | oldDir=${oldBaseDir}/${wtpmodule} |
| 106 | newDir=${newBaseDir} |
| 107 | copyAndRemove $oldDir $newDir |
| 108 | |
| 109 | wtpmodule=org.eclipse.wst.xsdeditor.doc.user |
| 110 | oldDir=${oldBaseDir}/${wtpmodule} |
| 111 | newDir=${newBaseDir} |
| 112 | copyAndRemove $oldDir $newDir |
| 113 | |
david_williams | 0e6d36a | 2007-10-24 00:19:46 +0000 | [diff] [blame] | 114 | oldBaseDir=${oldcvsdir}/jst/components/doc/plugins |
| 115 | newBaseDir=${newcvsdir}/sourceediting/docs |
| 116 | wtpmodule=org.eclipse.jst.jsp.ui.infopop |
| 117 | oldDir=${oldBaseDir}/${wtpmodule} |
| 118 | newDir=${newBaseDir} |
| 119 | copyAndRemove $oldDir $newDir |