Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/loginicon.gif')
-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/loginicon.gifbin346 -> 0 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/loginicon.gif b/docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/loginicon.gif
deleted file mode 100644
index ed510ca5f..000000000
--- a/docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/loginicon.gif
+++ /dev/null
Binary files differ

Back to the top

ols/webtools.javaee.git/diff/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/controller/AnnotationsControllerManager.java?h=R_1_1_M2'>plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/controller/AnnotationsControllerManager.java206
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationTagDynamicInitializer.java24
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationTagRegistry.java511
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationTagsetRegistry.java105
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationsControllerResources.java64
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AttributeValueProposalHelper.java79
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AttributeValuesHelper.java48
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/TagAttribSpec.java350
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/TagSpec.java331
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/TagsetDescriptor.java146
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/plugin.xml9
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/prepareforpii.xml36
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/property_files/annotationcontroller.properties23
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/schema/annotation-tag-info.exsd251
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/schema/annotation.tagset.exsd134
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/schema/annotationTagDynamicInitializer.exsd102
-rw-r--r--plugins/org.eclipse.jst.common.annotations.controller/schema/annotationsController.exsd106
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/.classpath8
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/.cvsignore4
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/.project28
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/META-INF/MANIFEST.MF12
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/build.properties18
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/plugin.xml6
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/prepareforpii.xml36
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/property_files/annotationcore.properties16
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotatedCommentHandler.java74
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationTagParser.java266
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationsAdapter.java161
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationsCoreResources.java53
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationsTranslator.java150
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/TagParseEventHandler.java55
-rw-r--r--plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/Token.java103
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/.classpath8
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/.cvsignore4
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/.project28
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/META-INF/MANIFEST.MF26
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/build.properties17
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/plugin.xml14
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/prepareforpii.xml36
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/property_files/taghandlerui.properties12
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/schema/AnnotationUI.exsd104
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagCompletionProc.java726
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagProposal.java158
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/IWRDResources.java53
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/UIAttributeValueProposalHelper.java41
-rw-r--r--plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/UiPlugin.java65
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/.classpath7
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/.cvsignore4
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/.project28
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/META-INF/MANIFEST.MF22
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/build.properties16
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/component.xml14
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/plugin.xml34
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/componentcore/util/ComponentUtilities.java204
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/frameworks/CommonFrameworksPlugin.java51
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/classpath/FlexibleProjectContainer.java322
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/IJavaProjectCreationProperties.java37
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/IJavaProjectMigrationDataModelProperties.java11
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaArtifactEditModel.java196
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaArtifactEditModelFactory.java63
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaInsertionHelper.java176
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectCreationDataModelProvider.java41
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectCreationOperation.java112
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectMigrationDataModelProvider.java60
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectMigrationOperation.java153
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectValidationHandler.java55
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WTPWorkingCopyManager.java532
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WorkingCopyManager.java49
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WorkingCopyManagerFactory.java57
-rw-r--r--plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WorkingCopyProvider.java60
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/.classpath11
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/.cvsignore4
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/.project28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/META-INF/MANIFEST.MF93
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/build.properties32
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive.properties94
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_de.properties94
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_es.properties94
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_fr.properties94
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_it.properties94
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_ja.properties94
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_ko.properties94
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_pt_BR.properties94
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_zh.properties94
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_zh_TW.properties94
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ApplicationClientFile.java45
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/Archive.java468
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ArchiveTypeDiscriminatorRegistry.java102
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ClientModuleRef.java25
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonArchiveFactoryRegistry.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonArchiveResourceHandler.java62
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonarchiveFactory.java445
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonarchivePackage.java1024
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ConnectorModuleRef.java24
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/Container.java83
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/EARFile.java299
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/EJBJarFile.java55
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/EJBModuleRef.java25
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/File.java256
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/GenericArchiveTypeDiscriminator.java47
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ModuleFile.java96
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ModuleRef.java178
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/RARFile.java66
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ReadOnlyDirectory.java36
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/RepairArchiveCommand.java159
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ValidateXmlCommand.java173
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/WARFile.java99
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/WebModuleRef.java24
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/XmlValidationResult.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ArchiveException.java32
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ArchiveRuntimeException.java60
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ArchiveWrappedException.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/DeploymentDescriptorLoadException.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/DuplicateObjectException.java68
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/EmptyResourceException.java36
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/IArchiveWrappedException.java22
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ManifestException.java51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NestedJarException.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NoEJB10DescriptorsException.java37
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NoModuleElementException.java36
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NoModuleFileException.java51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NotADeploymentDescriptorException.java37
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NotSupportedException.java54
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ObjectNotFoundException.java37
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/OpenFailureException.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ReopenException.java60
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ResourceLoadException.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/SaveFailureException.java56
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/SubclassResponsibilityException.java39
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/UncontainedModuleFileException.java36
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveConstants.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveInit.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveManifest.java116
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveManifestImpl.java323
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveOptions.java226
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveTypeDiscriminator.java80
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveTypeDiscriminatorImpl.java180
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveURIConverterImpl.java309
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ExportStrategy.java38
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/FileExtensionsFilterImpl.java143
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/FileIterator.java31
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/FileIteratorImpl.java52
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ManifestPackageEntryImpl.java110
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/NestedArchiveIterator.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ResourceProxyValidator.java107
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/RuntimeClasspathEntry.java54
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/RuntimeClasspathEntryImpl.java135
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/SaveFilter.java28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/SaveFilterImpl.java34
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/SelectedFilesFilterImpl.java83
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/AltResourceRegister.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ApplicationClientFileImpl.java359
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ArchiveCopySessionUtility.java108
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ArchiveCopyUtility.java239
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ArchiveImpl.java1602
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ClientModuleRefImpl.java193
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/CommonarchiveFactoryImpl.java1071
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/CommonarchivePackageImpl.java635
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ConnectorModuleRefImpl.java192
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ContainerImpl.java513
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EARFileImpl.java1324
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EJBJarFileImpl.java418
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EJBModuleRefImpl.java194
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/FileImpl.java680
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ModuleFileImpl.java408
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ModuleRefImpl.java544
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/RARFileImpl.java402
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ReadOnlyDirectoryImpl.java304
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/RootArchiveTypeDescriminatorImpl.java89
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/RootEJBJarDescriminatorImpl.java120
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/WARFileImpl.java589
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/WebModuleRefImpl.java197
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/LooseApplication.java28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/LooseArchive.java80
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/LooseConfigRegister.java358
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/LooseConfiguration.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/LooseLibrary.java33
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/LooseModule.java33
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/LooseWARFile.java28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/LooseconfigFactory.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/LooseconfigPackage.java334
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/impl/LooseApplicationImpl.java221
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/impl/LooseArchiveImpl.java335
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/impl/LooseConfigurationImpl.java140
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/impl/LooseLibraryImpl.java227
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/impl/LooseModuleImpl.java237
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/impl/LooseWARFileImpl.java236
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/impl/LooseconfigFactoryImpl.java114
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/impl/LooseconfigPackageImpl.java349
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/util/LooseconfigAdapterFactory.java168
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/looseconfig/util/LooseconfigSwitch.java156
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/AppClient12ExportStrategyImpl.java26
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/AppClient12ImportStrategyImpl.java91
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/ArchiveStrategy.java24
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/ArchiveStrategyImpl.java37
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/ConnectorDirectorySaveStrategyImpl.java217
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/DirectoryArchiveLoadStrategy.java20
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/DirectoryArchiveLoadStrategyImpl.java50
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/DirectoryLoadStrategyImpl.java244
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/DirectorySaveStrategyImpl.java245
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/Ear12ExportStrategyImpl.java26
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/Ear12ImportStrategyImpl.java91
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/EjbJar11ExportStrategyImpl.java26
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/EjbJar11ImportStrategyImpl.java90
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/ExportStrategyImpl.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/ImportStrategy.java34
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/ImportStrategyImpl.java41
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/LoadStrategy.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/LoadStrategyImpl.java557
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/NestedArchiveLoadStrategyImpl.java260
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/NullLoadStrategyImpl.java56
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/RarExportStrategyImpl.java26
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/RarImportStrategyImpl.java93
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/ReadOnlyDirectoryLoadStrategyImpl.java113
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/SaveStrategy.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/SaveStrategyImpl.java280
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/TempZipFileLoadStrategyImpl.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/War22ExportStrategyImpl.java26
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/War22ImportStrategyImpl.java91
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/XmlBasedImportStrategyImpl.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/ZipFileLoadStrategyImpl.java153
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/strategy/ZipStreamSaveStrategyImpl.java161
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/util/ArchiveFileDynamicClassLoader.java188
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/util/ArchiveUtil.java865
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/util/ClasspathUtil.java124
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/util/CommonarchiveAdapterFactory.java381
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/util/CommonarchiveSwitch.java479
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/util/EARFileUtil.java90
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/util/FileDups.java201
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/util/ObjectInputStreamCustomResolver.java102
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/util/RarFileDynamicClassLoader.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/util/WarFileDynamicClassLoader.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/component.xml1
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/applicationclientvalidation.properties65
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/applicationclientvalidation_de.properties65
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/applicationclientvalidation_es.properties65
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/applicationclientvalidation_fr.properties65
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/applicationclientvalidation_it.properties65
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/applicationclientvalidation_ja.properties65
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/applicationclientvalidation_ko.properties65
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/applicationclientvalidation_pt_BR.properties65
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/applicationclientvalidation_zh.properties65
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/applicationclientvalidation_zh_TW.properties65
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/earvalidation.properties139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/earvalidation_de.properties139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/earvalidation_es.properties139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/earvalidation_fr.properties139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/earvalidation_it.properties139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/earvalidation_ja.properties139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/earvalidation_ko.properties139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/earvalidation_pt_BR.properties139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/earvalidation_zh.properties139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/earvalidation_zh_TW.properties139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/ejbvalidator.properties1528
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/ejbvalidator_de.properties1528
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/ejbvalidator_es.properties1528
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/ejbvalidator_fr.properties1528
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/ejbvalidator_it.properties1528
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/ejbvalidator_ja.properties1528
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/ejbvalidator_ko.properties1528
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/ejbvalidator_pt_BR.properties1528
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/ejbvalidator_zh.properties1528
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/ejbvalidator_zh_TW.properties1527
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/erefvalidation.properties78
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/erefvalidation_de.properties78
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/erefvalidation_es.properties78
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/erefvalidation_fr.properties78
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/erefvalidation_it.properties78
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/erefvalidation_ja.properties78
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/erefvalidation_ko.properties78
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/erefvalidation_pt_BR.properties78
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/erefvalidation_zh.properties78
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/erefvalidation_zh_TW.properties78
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ABMPHomeVRule.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ABeanClassVRule.java506
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ACMPHomeVRule.java76
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AComponentVRule.java164
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AEntityBeanClassVRule.java44
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AEntityHomeVRule.java98
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AHomeVRule.java284
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AInterfaceTypeVRule.java151
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AKeyClassVRule.java79
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ASessionBeanClassVRule.java43
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ASessionHomeVRule.java24
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AStatelessHomeVRule.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ATypeVRule.java644
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AValidateBean.java673
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AValidateEJB.java375
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AValidateEntityBean.java1001
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AValidateEntityHome.java681
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AValidateHome.java420
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AValidateKeyClass.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AValidateRemote.java380
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AValidationRule.java123
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AbstractEJBValidationRuleFactory.java130
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/AbstractEJBValidator.java323
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ApplicationClientMessageConstants.java37
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ApplicationClientValidator.java142
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/BMPBeanClassVRule.java303
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/BMPKeyClassVRule.java130
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/BMPLocalComponentVRule.java114
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/BMPLocalHomeVRule.java125
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/BMPRemoteComponentVRule.java114
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/BMPRemoteHomeVRule.java129
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/CMPBeanClassVRule.java484
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/CMPKeyClassVRule.java211
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/CMPLocalComponentVRule.java113
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/CMPLocalHomeVRule.java131
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/CMPRemoteComponentVRule.java165
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/CMPRemoteHomeVRule.java131
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ClassUtility.java304
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ConnectorMessageConstants.java31
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ConnectorValidator.java104
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/DuplicatesTable.java152
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/EARMessageConstants.java49
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/EJBExt20VRule.java252
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/EJBJar11VRule.java595
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/EJBJar20VRule.java884
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/EJBValidationContext.java194
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/EJBValidationRuleFactory.java373
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/EJBValidator.java500
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/EJBValidatorModelEnum.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/EarValidator.java725
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/EnterpriseBean11VRule.java1071
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/EnterpriseBean20VRule.java1193
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IClassVRule.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IComponentType.java23
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IEJBInterfaceType.java33
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IEJBType.java38
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IEJBValidationContext.java55
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IEJBValidatorConstants.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IEJBValidatorMessageConstants.java114
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IFieldType.java24
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IHomeType.java23
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ILocalType.java21
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IMessagePrefixEjb11Constants.java91
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IMessagePrefixEjb20Constants.java200
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IMethodAndFieldConstants.java99
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IMethodType.java39
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IRemoteType.java21
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ITypeConstants.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IValidationRule.java80
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/IValidationRuleList.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/InvalidInputException.java41
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/J2EEMessageConstants.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/J2EEValidationResourceHandler.java499
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/J2EEValidator.java511
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/MessageDrivenBeanClassVRule.java291
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/MessageUtility.java358
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/MethodUtility.java2149
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/RoleHelper.java221
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/StatefulSessionBeanClassVRule.java250
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/StatefulSessionLocalComponentVRule.java110
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/StatefulSessionLocalHomeVRule.java114
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/StatefulSessionRemoteComponentVRule.java113
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/StatefulSessionRemoteHomeVRule.java113
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/StatelessSessionBeanClassVRule.java258
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/StatelessSessionLocalComponentVRule.java109
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/StatelessSessionLocalHomeVRule.java114
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/StatelessSessionRemoteComponentVRule.java112
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/StatelessSessionRemoteHomeVRule.java116
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ValidateBMPBean.java544
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ValidateBMPHome.java183
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ValidateBMPKey.java80
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ValidateBMPRemote.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ValidateCMPBean.java564
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ValidateCMPKey.java301
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ValidateCMPRemote.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ValidateSessionBean.java719
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ValidateSessionHome.java354
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ValidateSessionRemote.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ValidationCancelledException.java21
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/ValidationRuleUtility.java1548
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/WARMessageConstants.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/WARValidationResourceHandler.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/WarValidator.java1353
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/rarvalidation.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/rarvalidation_de.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/rarvalidation_es.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/rarvalidation_fr.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/rarvalidation_it.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/rarvalidation_ja.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/rarvalidation_ko.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/rarvalidation_pt_BR.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/rarvalidation_zh.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/rarvalidation_zh_TW.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/warvalidation.properties258
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/warvalidation_de.properties258
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/warvalidation_es.properties258
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/warvalidation_fr.properties258
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/warvalidation_it.properties258
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/warvalidation_ja.properties258
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/warvalidation_ko.properties258
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/warvalidation_pt_BR.properties258
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/warvalidation_zh.properties258
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2ee-validation/warvalidation_zh_TW.properties258
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2eeCorePlugin/org/eclipse/jst/j2ee/core/internal/plugin/EclipseEJBModelExtenderProvider.java161
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/j2eeCorePlugin/org/eclipse/jst/j2ee/core/internal/plugin/J2EECorePlugin.java70
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/ejb.properties51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/ejb_de.properties51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/ejb_es.properties51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/ejb_fr.properties51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/ejb_it.properties51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/ejb_ja.properties51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/ejb_ko.properties51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/ejb_pt_BR.properties51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/ejb_zh.properties51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/ejb_zh_TW.properties51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eeplugin.properties16
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eeplugin_de.properties16
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eeplugin_es.properties16
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eeplugin_fr.properties16
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eeplugin_it.properties16
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eeplugin_ja.properties16
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eeplugin_ko.properties16
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eeplugin_pt_BR.properties16
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eeplugin_zh.properties16
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eeplugin_zh_TW.properties16
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eexml.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eexml_de.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eexml_es.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eexml_fr.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eexml_it.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eexml_ja.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eexml_ko.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eexml_pt_BR.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eexml_zh.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/j2eexml_zh_TW.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/mofj2ee.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/mofj2ee_de.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/mofj2ee_es.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/mofj2ee_fr.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/mofj2ee_it.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/mofj2ee_ja.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/mofj2ee_ko.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/mofj2ee_pt_BR.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/mofj2ee_zh.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/mofj2ee_zh_TW.properties28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/application/Application.java116
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/application/ApplicationFactory.java74
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/application/ApplicationResource.java18
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/application/ConnectorModule.java24
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/application/EjbModule.java25
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/application/JavaClientModule.java25
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/application/Module.java75
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/application/WebModule.java38
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/client/ApplicationClient.java212
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/client/ApplicationClientResource.java19
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/client/ClientFactory.java43
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/client/ResAuthApplicationType.java133
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/CommonFactory.java231
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/CompatibilityDescriptionGroup.java147
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/DeploymentExtension.java103
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/Description.java101
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/DescriptionGroup.java89
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/DisplayName.java99
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/EJBLocalRef.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/EjbRef.java196
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/EjbRefType.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/EnvEntry.java142
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/EnvEntryType.java266
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/ExtensibleType.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/IconType.java152
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/Identity.java75
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/JNDIEnvRefsGroup.java160
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/Listener.java71
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/MessageDestination.java87
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/MessageDestinationRef.java189
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/MessageDestinationUsageType.java166
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/ParamValue.java145
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/QName.java150
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/ResAuthTypeBase.java173
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/ResSharingScopeType.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/ResourceEnvRef.java99
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/ResourceRef.java206
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/RunAsSpecifiedIdentity.java40
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/SecurityIdentity.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/SecurityRole.java68
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/SecurityRoleRef.java86
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/common/UseCallerIdentity.java26
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/AcknowledgeMode.java125
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/ActivationConfig.java81
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/ActivationConfigProperty.java108
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/AssemblyDescriptor.java120
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/CMPAttribute.java97
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/CMRField.java52
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/CommonRelationship.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/CommonRelationshipRole.java110
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/ContainerManagedEntity.java235
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/DestinationType.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/EJBExtensionFilter.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/EJBJar.java231
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/EJBMethodCategory.java24
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/EJBRelation.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/EJBRelationshipRole.java307
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/EJBResource.java38
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/EjbFactory.java183
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/EjbMethodElementComparator.java81
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/EjbMethodElementHelper.java436
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/EnterpriseBean.java328
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/Entity.java103
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/ExcludeList.java70
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/IRoleShapeStrategy.java34
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MessageDriven.java281
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MessageDrivenDestination.java132
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MethodElement.java368
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MethodElementKind.java214
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MethodPermission.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MethodTransaction.java139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/MultiplicityKind.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/Query.java197
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/QueryMethod.java45
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/Relationships.java82
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/ReturnTypeMapping.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/RoleSource.java84
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/Session.java163
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/SessionType.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/SubscriptionDurabilityKind.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/TransactionAttributeType.java206
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/ejb/TransactionType.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/DefaultEJBModelExtenderProvider.java51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/EJBModelExtenderManager.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/EjbModuleExtensionHelper.java42
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ExceptionHelper.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/IEJBModelExtenderManager.java37
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/IEJBModelExtenderProvider.java41
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/IWrappedException.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/J2EEConstants.java165
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/J2EEInit.java229
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/J2EEModuleExtensionHelper.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/J2EEVersionConstants.java73
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/J2EEVersionUtil.java181
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/MOFJ2EEResourceHandler.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/WrappedException.java91
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/WrappedRuntimeException.java94
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/ApplicationPackage.java354
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/impl/ApplicationFactoryImpl.java121
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/impl/ApplicationImpl.java434
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/impl/ApplicationPackageImpl.java364
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/impl/ApplicationResourceFactory.java75
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/impl/ApplicationResourceImpl.java147
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/impl/ConnectorModuleImpl.java176
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/impl/EjbModuleImpl.java177
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/impl/JavaClientModuleImpl.java177
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/impl/ModuleImpl.java307
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/impl/WebModuleImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/util/ApplicationAdapterFactory.java248
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/application/util/ApplicationSwitch.java254
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/client/ClientPackage.java278
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/client/impl/ApplicationClientImpl.java606
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/client/impl/ApplicationClientResourceFactory.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/client/impl/ApplicationClientResourceImpl.java154
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/client/impl/ClientFactoryImpl.java101
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/client/impl/ClientPackageImpl.java321
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/client/util/ClientAdapterFactory.java158
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/client/util/ClientSwitch.java140
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/CommonPackage.java2107
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/J2EEVersionResource.java26
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/J2EEXMIResource.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/J2EEXMIResourceFactory.java51
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/XMLResource.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/CommonFactoryImpl.java369
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/CommonPackageImpl.java1502
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/CompatibilityDescriptionGroupImpl.java601
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/DescriptionGroupAdapter.java119
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/DescriptionGroupImpl.java221
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/DescriptionImpl.java218
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/DisplayNameImpl.java218
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/EJBLocalRefImpl.java333
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/EjbRefImpl.java514
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/EnvEntryImpl.java371
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/IconTypeImpl.java272
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/IdentityImpl.java248
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/J2EEResouceFactorySaxRegistry.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/J2EEResourceFactoryDomRegistry.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/J2EEResourceFactoryRegistry.java30
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/JNDIEnvRefsGroupImpl.java454
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/ListenerImpl.java267
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/MessageDestinationImpl.java262
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/MessageDestinationRefImpl.java412
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/ParamValueImpl.java331
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/QNameImpl.java416
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/ResourceEnvRefImpl.java323
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/ResourceRefImpl.java508
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/RunAsSpecifiedIdentityImpl.java193
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/SecurityIdentityImpl.java214
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/SecurityRoleImpl.java289
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/SecurityRoleRefImpl.java288
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/UseCallerIdentityImpl.java137
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/XMLResourceFactory.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/XMLResourceImpl.java261
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/util/CommonAdapterFactory.java464
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/util/CommonSwitch.java571
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/util/CommonUtil.java82
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/util/Defaultable.java21
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/util/DefaultedAdapterImpl.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/util/Defaultor.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/util/IDUtility.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/util/XmlSpecifiedDataAdapter.java31
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/EjbPackage.java2776
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/AbstractRelationshipRoleAttributeFilter.java99
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/AbstractRequiredRelationshipRoleFilter.java115
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/ActivationConfigImpl.java191
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/ActivationConfigPropertyImpl.java218
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/AssemblyDescriptorImpl.java483
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/CMPAttributeImpl.java605
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/CMRFieldImpl.java470
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/ContainerManagedEntityFilter.java101
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/ContainerManagedEntityImpl.java1143
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/EJB20FlattenedRoleShapeStrategy.java157
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/EJBJarImpl.java817
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/EJBJarResourceFactory.java74
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/EJBMethodCategoryImpl.java41
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/EJBRelationImpl.java449
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/EJBRelationshipRoleImpl.java1011
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/EJBResourceImpl.java211
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/EjbFactoryImpl.java503
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/EjbPackageImpl.java1772
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/EnterpriseBeanImpl.java1447
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/EntityImpl.java643
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/ExcludeListImpl.java245
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/KeyRelationshipRoleAttributeFilter.java93
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/KeyRelationshipRoleFilter.java56
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/LocalKeyAttributeFilter.java102
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/LocalModelledPersistentAttributeFilter.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/LocalOppositeRelationshipRoleFilter.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/LocalPersistentAttributeFilter.java103
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/LocalRelationshipRoleAttributeFilter.java92
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/LocalRelationshipRoleKeyAttributeFilter.java52
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/MessageDrivenDestinationImpl.java359
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/MessageDrivenImpl.java982
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/MethodElementImpl.java1039
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/MethodPermissionImpl.java465
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/MethodTransactionImpl.java432
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/ModelledKeyAttributeFilter.java105
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/ModelledPersistentAttributeFilter.java105
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/NonKeyRequiredRoleFilter.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/QueryImpl.java513
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/QueryMethodImpl.java373
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/RelationshipRoleAttributeFilter.java92
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/RelationshipsImpl.java313
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/RequiredLocalRelationshipRoleFilter.java91
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/RequiredRelationshipRoleFilter.java60
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/RoleShapeStrategy.java171
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/RoleSourceImpl.java330
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/SessionImpl.java670
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/SupertypeCMPAttributeFilter.java117
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/util/CMPFieldDescriptor.java66
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/util/CMPHelper.java263
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/util/CMPKeySynchronizationAdapter.java398
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/util/CommonRelationshipAttributeMaintenanceAdapter.java173
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/util/ConvertedEJBAdapter.java68
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/util/EJBAttributeMaintenanceFactoryImpl.java47
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/util/EJBRelationAttributeMaintenanceAdapter.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/util/EjbAdapterFactory.java607
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/util/EjbSwitch.java743
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/util/MethodElementHelper.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/util/RelationshipsAttributeMaintenanceAdapter.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/JcaPackage.java2088
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/ActivationSpecImpl.java223
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/AdminObjectImpl.java277
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/AuthenticationMechanismImpl.java866
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/ConfigPropertyImpl.java357
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/ConnectionDefinitionImpl.java439
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/ConnectorImpl.java508
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/ConnectorResourceFactory.java71
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/ConnectorResourceImpl.java180
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/InboundResourceAdapterImpl.java181
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/JcaFactoryImpl.java422
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/JcaPackageImpl.java2107
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/LicenseImpl.java275
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/MessageAdapterImpl.java154
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/MessageListenerImpl.java248
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/OutboundResourceAdapterImpl.java383
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/RequiredConfigPropertyTypeImpl.java223
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/ResourceAdapterImpl.java817
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/impl/SecurityPermissionImpl.java246
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/util/JCADescriptionHelper.java157
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/util/JcaAdapterFactory.java392
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jca/util/JcaSwitch.java427
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jsp/JspPackage.java448
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jsp/impl/JSPConfigImpl.java191
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jsp/impl/JSPPropertyGroupImpl.java637
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jsp/impl/JspFactoryImpl.java102
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jsp/impl/JspPackageImpl.java398
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jsp/impl/TagLibRefTypeImpl.java218
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jsp/util/JspAdapterFactory.java196
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/jsp/util/JspSwitch.java184
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/migration/Connector14SpecificationMigrator.java135
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/migration/J2EEMigrationMultiStatus.java114
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/migration/J2EEMigrationStatus.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/migration/J2EESpecificationMigrationConstants.java39
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/migration/J2EESpecificationMigrator.java483
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/migration/SpecificationMigrator.java209
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/migration/War14SpecificationMigrator.java202
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/application/ApplicationTranslator.java90
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/application/ModuleTranslator.java144
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/client/ApplicationClientTranslator.java94
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/common/BooleanTranslator.java60
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/common/CommonTranslators.java423
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/common/EnvEntryTranslator.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/common/EnvEntryTypeTranslator.java47
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/common/JavaClassTranslator.java122
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/common/ResAuthTranslator.java92
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/connector/ConnectorTranslator.java300
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/AbstractEJBTranslator.java146
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/AcknowledgeModeTranslator.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/CMPFieldTranslator.java103
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/CMPVersionTranslator.java50
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/ContainerManagedEntityTranslator.java447
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/EJBJarTranslator.java426
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/EnterpriseBeansTranslator.java87
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/EntityTranslator.java118
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/MessageDrivenDestinationTypeTranslator.java62
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/MessageDrivenTranslator.java179
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/MethodElementKindTranslator.java74
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/MethodParamsTranslator.java103
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/MultiplicityTranslator.java49
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/PrimKeyFieldTranslator.java65
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/SecurityIdentityTranslator.java106
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/ejb/SessionTranslator.java92
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webapplication/ErrorPageTranslator.java76
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webapplication/WebAppTranslator.java548
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webapplication/WebTypeTranslator.java86
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webservices/EJBLinkTranslator.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webservices/ElementNameTranslator.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webservices/InterfaceMappingTranslator.java301
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webservices/JaxrpcmapTranslator.java225
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webservices/JaxrpcmapXmlMapperI.java66
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webservices/SOAPRoleTranslator.java66
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webservices/ServletLinkTranslator.java65
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webservices/WebServiceCommonXmlMapperI.java40
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webservices/WebServicesTranslator.java158
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webservices/WsddTranslator.java281
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/model/translator/webservices/WsddXmlMapperI.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/BodyContentType.java178
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/ExtensibleType.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/Function.java206
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/JSPScriptingVariableScope.java151
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/JSPTag.java227
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/JSPTagAttribute.java186
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/JSPVariable.java125
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/TagFile.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/TagLib.java162
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/TaglibFactory.java95
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/TaglibPackage.java1053
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/TldExtension.java76
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/Validator.java74
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/impl/ExtensibleTypeImpl.java164
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/impl/FunctionImpl.java431
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/impl/JSPTagAttributeImpl.java473
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/impl/JSPTagImpl.java599
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/impl/JSPVariableImpl.java397
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/impl/TagFileImpl.java370
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/impl/TagLibImpl.java594
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/impl/TaglibFactoryImpl.java183
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/impl/TaglibPackageImpl.java851
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/impl/TldExtensionImpl.java223
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/impl/ValidatorImpl.java245
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/util/TaglibAdapterFactory.java303
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/taglib/util/TaglibSwitch.java318
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/WebapplicationPackage.java2129
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/AuthConstraintImpl.java318
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/ContextParamImpl.java332
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/ErrorCodeErrorPageImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/ErrorPageImpl.java258
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/ExceptionTypeErrorPageImpl.java248
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/FilterImpl.java387
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/FilterMappingImpl.java341
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/FormLoginConfigImpl.java291
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/HTTPMethodTypeImpl.java164
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/InitParamImpl.java237
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/JSPTypeImpl.java153
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/LocalEncodingMappingImpl.java218
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/LocalEncodingMappingListImpl.java154
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/LoginConfigImpl.java445
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/MimeMappingImpl.java290
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/RoleNameTypeImpl.java147
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/SecurityConstraintImpl.java449
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/ServletImpl.java699
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/ServletMappingImpl.java349
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/ServletTypeImpl.java150
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/SessionConfigImpl.java281
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/TagLibRefImpl.java296
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/URLPatternTypeImpl.java243
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/UserDataConstraintImpl.java376
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/WebAppImpl.java1399
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/WebAppResourceFactory.java91
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/WebAppResourceImpl.java201
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/WebResourceCollectionImpl.java499
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/WebTypeImpl.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/WebapplicationFactoryImpl.java402
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/WebapplicationPackageImpl.java1833
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/WelcomeFileImpl.java245
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/impl/WelcomeFileListImpl.java234
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/util/WebapplicationAdapterFactory.java700
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webapplication/util/WebapplicationSwitch.java776
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webservice/util/DescriptionGroupHelper.java1577
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webservice/util/DescriptionGroupItem.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/webservice/util/QNameHelper.java130
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/CollectingErrorHandler.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/DeploymentDescriptorXmlMapperI.java102
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/EarDeploymentDescriptorXmlMapperI.java32
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/EjbDeploymentDescriptorXmlMapperI.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/GeneralXmlDocumentReader.java329
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/J2EEXMLResourceHandler.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/J2EEXmlDtDEntityResolver.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/MissingRequiredDataException.java33
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/NotSupportedException.java50
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/RarDeploymentDescriptorXmlMapperI.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/WarDeploymentDescriptorXmlMapperI.java81
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/WebServicesDeploymentDescriptorXmlMapperI.java32
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/XMLParseResourceHandler.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/XmlDocumentReader.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/ActivationSpec.java96
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/AdminObject.java130
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/AuthenticationMechanism.java463
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/AuthenticationMechanismType.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/ConfigProperty.java125
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/ConnectionDefinition.java255
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/Connector.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/ConnectorResource.java23
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/InboundResourceAdapter.java71
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/JcaFactory.java289
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/License.java89
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/MessageAdapter.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/MessageListener.java104
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/OutboundResourceAdapter.java203
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/RequiredConfigPropertyType.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/ResourceAdapter.java326
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/SecurityPermission.java75
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jca/TransactionSupportKind.java146
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jsp/JSPConfig.java73
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jsp/JSPPropertyGroup.java340
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jsp/JspFactory.java69
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/jsp/TagLibRefType.java106
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/AuthConstraint.java86
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/AuthMethodKind.java191
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ContextParam.java82
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/DispatcherType.java194
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ErrorCodeErrorPage.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ErrorPage.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ExceptionTypeErrorPage.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/Filter.java96
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FilterMapping.java104
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FormLoginConfig.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/HTTPMethodType.java54
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/HTTPMethodTypeEnum.java277
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/InitParam.java71
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/JSPType.java47
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LocalEncodingMapping.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LocalEncodingMappingList.java49
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LoginConfig.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/MimeMapping.java71
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ResAuthServletType.java130
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/RoleNameType.java44
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/SecurityConstraint.java120
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/Servlet.java186
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ServletMapping.java102
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ServletType.java44
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/SessionConfig.java82
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/TagLibRef.java90
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/TransportGuaranteeType.java151
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/URLPatternType.java70
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/UserDataConstraint.java129
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebApp.java363
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebAppResource.java42
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebResourceCollection.java147
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebType.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebapplicationFactory.java216
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WelcomeFile.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WelcomeFileList.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/WebServiceConstants.java45
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/WebServiceInit.java60
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsclient/Webservice_clientPackage.java730
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsclient/impl/ComponentScopedRefsImpl.java223
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsclient/impl/HandlerImpl.java473
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsclient/impl/PortComponentRefImpl.java226
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsclient/impl/ServiceRefImpl.java575
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsclient/impl/WebServicesClientImpl.java191
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsclient/impl/WebServicesClientResourceFactory.java75
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsclient/impl/WebServicesResourceImpl.java145
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsclient/impl/Webservice_clientFactoryImpl.java127
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsclient/impl/Webservice_clientPackageImpl.java531
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsclient/util/Webservice_clientAdapterFactory.java231
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsclient/util/Webservice_clientSwitch.java230
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wscommon/WscommonPackage.java444
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wscommon/impl/DescriptionTypeImpl.java113
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wscommon/impl/DisplayNameTypeImpl.java113
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wscommon/impl/InitParamImpl.java332
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wscommon/impl/PortNameImpl.java165
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wscommon/impl/SOAPHeaderImpl.java133
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wscommon/impl/SOAPRoleImpl.java165
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wscommon/impl/WscommonFactoryImpl.java140
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wscommon/impl/WscommonPackageImpl.java409
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wscommon/util/WscommonAdapterFactory.java269
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wscommon/util/WscommonSwitch.java268
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/WsddPackage.java1181
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/WsddResourceFactory.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/impl/BeanLinkImpl.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/impl/EJBLinkImpl.java164
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/impl/HandlerImpl.java431
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/impl/PortComponentImpl.java829
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/impl/ServiceImplBeanImpl.java316
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/impl/ServletLinkImpl.java164
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/impl/WSDLPortImpl.java133
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/impl/WebServiceDescriptionImpl.java969
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/impl/WebServicesImpl.java241
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/impl/WsddFactoryImpl.java176
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/impl/WsddPackageImpl.java783
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/impl/WsddResourceImpl.java181
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/util/WsddAdapterFactory.java323
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/internal/wsdd/util/WsddSwitch.java338
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsclient/ComponentScopedRefs.java80
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsclient/Handler.java177
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsclient/PortComponentRef.java109
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsclient/ServiceRef.java249
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsclient/WebServicesClient.java70
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsclient/WebServicesResource.java23
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsclient/Webservice_clientFactory.java87
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wscommon/DescriptionType.java27
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wscommon/DisplayNameType.java27
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wscommon/InitParam.java130
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wscommon/PortName.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wscommon/SOAPHeader.java32
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wscommon/SOAPRole.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wscommon/WscommonFactory.java96
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsdd/BeanLink.java27
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsdd/EJBLink.java71
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsdd/Handler.java145
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsdd/PortComponent.java364
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsdd/ServiceImplBean.java119
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsdd/ServletLink.java67
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsdd/WSDLPort.java32
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsdd/WebServiceDescription.java346
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsdd/WebServices.java55
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsdd/WsddFactory.java123
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webservice/wsdd/WsddResource.java24
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/xmlparse.properties18
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/xmlparse_de.properties18
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/xmlparse_es.properties18
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/xmlparse_fr.properties18
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/xmlparse_it.properties18
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/xmlparse_ja.properties18
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/xmlparse_ko.properties18
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/xmlparse_pt_BR.properties18
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/xmlparse_zh.properties18
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/xmlparse_zh_TW.properties18
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/plugin.properties14
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/plugin.xml159
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/prepareforpii.xml46
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/application.cat956
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/application.ecore70
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/client.cat1579
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/client.ecore71
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/common.cat6797
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/common.ecore408
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/commonArchive.genmodel153
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/commonArchive.mdl9301
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/commonArchiveCore.cat4370
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/commonarchivecore.ecore91
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/ejb.ecore586
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/ejbschema.cat13576
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/j2ee.genmodel869
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/j2ee.mdl5711
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/j2ee_codegen.scrapbook28
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/jaxrpcmap.cat4728
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/jca.ecore349
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/jca1_0.cat4353
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/jsp.ecore72
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/jsp_2_0.cat618
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/taglib.ecore223
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/taglib_1_1.cat3446
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/tcg.pty590
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/webapplication.cat10347
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/webapplication.ecore538
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/webservice-j2ee.mdl8928
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/webservice.genmodel89
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/webservice_client.ecore111
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/webservices_client_1_0.cat1815
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/wscommon.cat103
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/wscommon.ecore29
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/wsdd.cat4011
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/rose/wsdd.ecore120
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/JaxrpcmapPackage.java3003
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ClassTypeImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ConstructorParameterOrderImpl.java241
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ElementNameImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ExceptionMappingImpl.java453
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ExceptionTypeImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/InterfaceMappingImpl.java49
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaMethodNameImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaPortNameImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaVariableNameImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaWSDLMappingImpl.java358
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaXMLTypeMappingImpl.java481
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JaxrpcmapFactoryImpl.java514
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JaxrpcmapPackageImpl.java1989
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JaxrpcmapResourceImpl.java173
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/MethodParamPartsMappingImpl.java381
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/MethodReturnValueImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/PackageMappingImpl.java289
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/PackageTypeImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ParamPositionImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ParamTypeImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ParameterModeImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/PortMappingImpl.java289
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/QnameScopeImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/RootTypeQnameImpl.java143
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ServiceEndpointInterfaceMappingImpl.java440
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ServiceEndpointMethodMappingImpl.java517
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ServiceInterfaceMappingImpl.java368
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/VariableMappingImpl.java529
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLBindingImpl.java143
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLMessageImpl.java143
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLMessageMappingImpl.java473
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLMessagePartNameImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLOperationImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLPortTypeImpl.java143
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLReturnValueMappingImpl.java381
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLServiceNameImpl.java143
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/XMLElementNameImpl.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/util/JaxrpcmapAdapterFactory.java816
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/util/JaxrpcmapSwitch.java932
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/ClassType.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/ConstructorParameterOrder.java76
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/ElementName.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/ExceptionMapping.java166
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/ExceptionType.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/InterfaceMapping.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/JavaMethodName.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/JavaPortName.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/JavaVariableName.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/JavaWSDLMapping.java127
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/JavaXMLTypeMapping.java184
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/JaxrpcmapFactory.java348
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/JaxrpcmapResource.java24
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/JaxrpcmapResourceFactory.java67
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/MethodParamPartsMapping.java139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/MethodReturnValue.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/PackageMapping.java112
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/PackageType.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/ParamPosition.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/ParamType.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/ParameterMode.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/PortMapping.java112
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/QnameScope.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/RootTypeQname.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/ServiceEndpointInterfaceMapping.java156
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/ServiceEndpointMethodMapping.java211
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/ServiceInterfaceMapping.java129
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/VariableMapping.java247
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/WSDLBinding.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/WSDLMessage.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/WSDLMessageMapping.java193
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/WSDLMessagePartName.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/WSDLOperation.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/WSDLPortType.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/WSDLReturnValueMapping.java139
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/WSDLServiceName.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/XMLElementName.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/.classpath8
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/.cvsignore4
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/.project29
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/META-INF/MANIFEST.MF26
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/build.properties10
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/icons/full/ctool16/export_rar.gifbin346 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/icons/full/ctool16/import_rar.gifbin347 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/icons/full/ctool16/newconnectionprj_wiz.gifbin585 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/actions/ExportRARAction.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/actions/IConnectorArchiveConstants.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/actions/ImportRARAction.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/actions/NewConnectorComponentAction.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/actions/RARArchiveUIResourceHandler.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/plugin/JCAUIPlugin.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/util/JCAUIMessages.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/wizard/ConnectorComponentCreationWizard.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/wizard/ConnectorComponentCreationWizardPage.java47
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/wizard/ConnectorModuleExportWizard.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/wizard/ConnectorModuleImportWizardNew.java82
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/wizard/RARExportPage.java93
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/jca_ui/org/eclipse/jst/j2ee/jca/ui/internal/wizard/RARImportPageNew.java54
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/plugin.properties22
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/plugin.xml271
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca.ui/property_files/jca_ui.properties21
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/.classpath11
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/.cvsignore4
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/.project28
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/META-INF/MANIFEST.MF38
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/build.properties23
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/build/buildcontrol.properties16
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/build/package.xml17
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/build/wsBuild.xml17
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/component.xml1
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateActivationSpec_requiredConfigProperties_RequiredConfigPropertyType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateAdminObject_configProperties_ConfigProperty.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateAuthenticationMechanism_descriptions_Description.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateAuthenticationMechanism_descriptions_DescriptionType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateConfigProperty_descriptions_Description.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateConfigProperty_descriptions_DescriptionType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateConnectionDefinition_configProperties_ConfigProperty.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateConnector_license_License.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateConnector_resourceAdapter_ResourceAdapter.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateDescriptionGroup_descriptions_Description.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateDescriptionGroup_descriptions_DescriptionType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateDescriptionGroup_displayNames_DisplayName.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateDescriptionGroup_displayNames_DisplayNameType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateDescriptionGroup_icons_IconType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateInboundResourceAdapter_messageAdapter_MessageAdapter.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateLicense_descriptions_Description.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateLicense_descriptions_DescriptionType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateMessageAdapter_messageListeners_MessageListener.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateMessageListener_activationSpec_ActivationSpec.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateOutboundResourceAdapter_authenticationMechanisms_AuthenticationMechanism.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateOutboundResourceAdapter_connectionDefinitions_ConnectionDefinition.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateRequiredConfigPropertyType_descriptions_Description.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateRequiredConfigPropertyType_descriptions_DescriptionType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateResourceAdapter_adminObjects_AdminObject.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateResourceAdapter_authenticationMechanisms_AuthenticationMechanism.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateResourceAdapter_configProperties_ConfigProperty.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateResourceAdapter_inboundResourceAdapter_InboundResourceAdapter.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateResourceAdapter_outboundResourceAdapter_OutboundResourceAdapter.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateResourceAdapter_securityPermissions_SecurityPermission.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateSecurityPermission_descriptions_Description.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/ctool16/CreateSecurityPermission_descriptions_DescriptionType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/ActivationSpec.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/AdminObject.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/AuthenticationMechanism.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/ConfigProperty.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/ConnectionDefinition.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/Connector.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/InboundResourceAdapter.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/License.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/MessageAdapter.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/MessageListener.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/OutboundResourceAdapter.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/RequiredConfigPropertyType.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/ResourceAdapter.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/SecurityPermission.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/icons/full/obj16/connection_obj.gifbin200 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jca-validation/org/eclipse/jst/j2ee/internal/jca/validation/ConnectorHelper.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jca-validation/org/eclipse/jst/j2ee/internal/jca/validation/UIConnectorValidator.java97
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jca/org/eclipse/jst/j2ee/jca/internal/deployables/Connector1_3DeployableFactory.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jca/org/eclipse/jst/j2ee/jca/internal/deployables/ConnectorDeployable.java199
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jca/org/eclipse/jst/j2ee/jca/internal/plugin/JCAResourceHandler.java65
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jca/org/eclipse/jst/j2ee/jca/internal/plugin/JcaModuleExtensionImpl.java100
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jca/org/eclipse/jst/j2ee/jca/internal/plugin/JcaPlugin.java154
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/archive/operations/ConnectorComponentLoadStrategyImpl.java23
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/archive/operations/ConnectorModuleExportOperation.java116
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/archive/operations/ConnectorModuleExportOperationNEW.java50
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/archive/operations/NestedJARLoadStrategyImpl.java151
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/archive/operations/RARProjectLoadStrategyImpl.java263
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/ActivationSpecItemProvider.java156
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/AdminObjectItemProvider.java170
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/AuthenticationMechanismItemProvider.java285
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/ConfigPropertyItemProvider.java275
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/ConnectionDefinitionItemProvider.java214
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/ConnectorItemProvider.java280
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/InboundResourceAdapterItemProvider.java139
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/JcaEditPlugin.java122
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/JcaItemProviderAdapter.java69
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/JcaItemProviderAdapterFactory.java468
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/LicenseItemProvider.java241
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/MessageAdapterItemProvider.java139
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/MessageListenerItemProvider.java156
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/OutboundResourceAdapterItemProvider.java187
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/RequiredConfigPropertyTypeItemProvider.java159
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/ResourceAdapterItemProvider.java399
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/jcaedit/org/eclipse/jst/j2ee/internal/jca/providers/SecurityPermissionItemProvider.java242
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/plugin.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/plugin.xml111
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/prepareforpii.xml38
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/property_files/rar.properties22
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/property_files/rarvalidation.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/ConnectorComponentCreationDataModelProvider.java151
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/ConnectorComponentCreationOperation.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/ConnectorEditModel.java123
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/ConnectorEditModelFactory.java62
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/ConnectorModuleExportDataModel.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/ConnectorModuleExportDataModelProvider.java71
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/ConnectorModuleImportDataModelProvider.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/ConnectorModuleImportOperationNew.java80
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/ConnectorNatureRuntime.java378
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/IConnectorComponentCreationDataModelProperties.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/IConnectorComponentExportDataModelProperties.java32
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/IConnectorComponentImportDataModelProperties.java32
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/rartp10.xml39
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/internal/jca/operations/rartp15.xml10
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/jca/internal/module/util/ConnectorArtifactEditOperation.java34
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/jca/internal/module/util/ConnectorArtifactEditOperationDataModel.java27
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/jca/internal/module/util/ConnectorEditAdapterFactory.java34
-rw-r--r--plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/jca/modulecore/util/ConnectorArtifactEdit.java382
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/.cdtproject10
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/.classpath7
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/.cvsignore4
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/.project29
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/META-INF/MANIFEST.MF37
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/build.properties20
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/J2EEPerspective.gifbin1018 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/appclientgroup_obj.gifbin578 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/connectorgroup_obj.gifbin355 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/eargroup_obj.gifbin596 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/ejbgroup_obj.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/folder.gifbin216 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/appclient_export.gifbin356 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/appclient_import_wiz.gifbin358 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/export_ear.gifbin607 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/export_ejbjar_wiz.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/export_rar.gifbin346 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/exportwar_wiz.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/import_ear.gifbin595 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/import_ejbjar.gifbin565 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/import_rar.gifbin347 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/importwar_wiz.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/newappclient_wiz.gifbin364 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/newconnectionprj_wiz.gifbin585 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/newear_wiz.gifbin605 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/newejbprj_wiz.gifbin587 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ctool16/newwar_wiz.gifbin1039 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/cview16/j2ee_view.gifbin345 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/obj16/webapp_deploy.gifbin364 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ovr16/client_app_ovr.gifbin166 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ovr16/connector_ovr.gifbin166 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ovr16/ejb_module_ovr.gifbin167 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ovr16/enterprise_app_ovr.gifbin112 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/ovr16/web_module_ovr.gifbin273 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/appclient_wiz.gifbin2940 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/connector_wiz.gifbin2982 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/ear_wiz.gifbin3213 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/ejbproject_wiz.gifbin3091 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/export_appclient_wiz.gifbin2992 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/export_ear_wiz.gifbin3189 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/export_ejbjar_obj.gifbin3487 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/export_rar_wiz.gifbin3374 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/export_war_wiz.gifbin3574 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/import_appclient_wiz.gifbin2978 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/import_ear_wiz.gifbin3360 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/import_ejbjar_wiz.gifbin3533 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/import_rar_wiz.gifbin3520 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/import_war_wiz.gifbin3598 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/full/wizban/war_wiz.gifbin3526 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/jcu_obj.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/servlet.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/sessionBean_obj.gifbin583 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/srvce_elem_obj.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/webgroup_obj.gifbin573 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/webservicedesc.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/icons/wsdl.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/EMFModelManager.java43
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/EMFModelManagerFactory.java28
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/EMFRootObjectManager.java245
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/EMFRootObjectProvider.java158
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/FlexibleEMFModelManager.java242
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/IJ2EENavigatorConstants.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/IJ2EEWizardConstants.java74
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/J2EEActionProvider.java137
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/J2EEComparator.java54
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/J2EEContentProvider.java219
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/J2EELabelProvider.java222
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/J2EENavigationLabelProvider.java33
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/J2EEViewerSorter.java52
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/NonFlexibleEMFModelManager.java131
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/dnd/AddExternalUtilityJarDropAction.java55
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/dnd/AddModuleDropAction.java42
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/dnd/AddProjectToEarDropAction.java132
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/dnd/AddUtilityJarDropAction.java54
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/dnd/J2EEImportDropAction.java256
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/dnd/ModuleIdentifierSerializer.java49
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/plugin/J2EENavigatorPlugin.java47
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/workingsets/ComponentWorkingSet.java338
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/workingsets/ComponentWorkingSetDescriptor.java115
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/workingsets/ComponentWorkingSetFactory.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/workingsets/ComponentWorkingSetProvider.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/workingsets/ComponentWorkingSetRegistry.java132
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/j2ee-navigator/org/eclipse/jst/j2ee/navigator/internal/workingsets/ComponentWorkingSetUpdater.java321
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/plugin.properties30
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/plugin.xml642
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/prepareforpii.xml32
-rw-r--r--plugins/org.eclipse.jst.j2ee.navigator.ui/schema/componentWorkingSet.exsd120
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/.classpath8
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/.cvsignore5
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/.project29
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/META-INF/MANIFEST.MF60
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/client/actions/AppClientArchiveUIResourceHandler.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/client/actions/ExportApplicationClientAction.java51
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/client/actions/ImportApplicationClientAction.java56
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/ear/actions/ArchiveEARUIResourceHandler.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/ear/actions/EARImportListContentProvider.java70
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/ear/actions/ExportEARAction.java52
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/ear/actions/ImportEARAction.java55
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/ear/actions/ModulesProvider.java134
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/ejb/actions/EJBArchiveUIResourceHandler.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/ejb/actions/EJBCheckboxTableViewer.java128
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/ejb/actions/EJBSelectiveImportDialog.java158
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/ejb/actions/ExportEJBAction.java56
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/ejb/actions/ImportEJBAction.java60
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/ejb/actions/NewEJBProjectAction.java50
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/ejb/actions/TableObjects.java42
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/rar/actions/ExportRARAction.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/rar/actions/IConnectorArchiveConstants.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/rar/actions/ImportRARAction.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/rar/actions/NewConnectorProjectAction.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/rar/actions/RARArchiveUIResourceHandler.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/war/actions/ExportWARAction.java56
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/archiveui/org/eclipse/jst/j2ee/internal/war/actions/ImportWARAction.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/build.properties21
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/20_cmpbean_obj.gifbin632 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/adown.gifbin826 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/appclientgroup_obj.gifbin578 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/arrow_down.gifbin78 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/arrowp.gifbin70 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/cascade_left.gifbin981 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/cascade_left2.gifbin1094 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/cascade_right.gifbin1129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/cmp.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/connectorgroup_obj.gifbin355 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/deadend.gifbin865 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/eargroup_obj.gifbin596 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/ejbgroup_obj.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/folder.gifbin216 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/clcl16/ejb_client_remove_action_obj.gifbin603 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/clcl16/ejb_deploy_action_obj.gifbin571 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/appclient_export.gifbin356 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/appclient_import_wiz.gifbin358 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/ejbclientjar_wiz.gifbin1044 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/export_ear.gifbin607 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/export_ejbjar_wiz.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/export_rar.gifbin346 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/exportwar_wiz.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/import_ear.gifbin595 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/import_ejbjar.gifbin565 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/import_rar.gifbin347 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/importwar_wiz.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/newappclient_wiz.gifbin364 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/newconnectionprj_wiz.gifbin585 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/newear_wiz.gifbin605 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/newejbprj_wiz.gifbin587 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/newwar_wiz.gifbin1039 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ctool16/re_execute.gifbin565 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/cview16/j2ee_perspective.gifbin345 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/cview16/j2ee_view.gifbin345 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/dlcl16/ejb_client_remove_action_obj.gifbin375 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/dlcl16/ejb_deploy_action_obj.gifbin356 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/13_ear_obj.gifbin632 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/21_cmpbean_obj.gifbin628 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/21_ejb_obj.gifbin1041 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/21_ejbjar_wiz.gifbin631 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/annotation_positioned_overlay.gifbin83 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/appclient_14.gifbin590 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/appclient_14_deploy.gifbin615 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/extwebserviceitemprovider_obj.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/home_interface_positioned_overlay.gifbin122 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/local_home_interface_positioned_overlay.gifbin125 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/local_interface_positioned_overlay.gifbin77 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/remote_interface_positioned_overlay.gifbin91 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/service_interface_positioned_overlay.gifbin77 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/webServiceItemProvider_obj.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/webServicesFolder_obj.gifbin604 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/webapp_14.gifbin590 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/obj16/webapp_deploy.gifbin364 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/annotation_bean_overlay.gifbin62 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/annotation_positioned_overlay.gifbin83 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/client_app_ovr.gifbin166 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/connector_ovr.gifbin166 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/dis_annotation_bean_overlay.gifbin111 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/ejb_module_ovr.gifbin167 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/enterprise_app_ovr.gifbin112 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/externalWebServiceOverlay_obj.gifbin82 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/home_interface_overlay_obj.gifbin106 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/home_interface_positioned_overlay.gifbin122 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/key_interf_ov.gifbin81 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/local_home_interface_overlay_obj.gifbin108 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/local_home_interface_positioned_overlay.gifbin125 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/local_interface_overlay_obj.gifbin64 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/local_interface_positioned_overlay.gifbin77 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/remote_interface_overlay_obj.gifbin77 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/remote_interface_positioned_overlay.gifbin91 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/service_interface_overlay_obj.gifbin66 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/service_interface_positioned_overlay.gifbin77 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/ovr16/web_module_ovr.gifbin273 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/add_mess_dest_wiz_ban.gifbin2812 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/add_web_service_handler_wiz.gifbin3496 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addauthoritycontraints_wiz_.gifbin3577 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addcmpfiled_wiz_ban.gifbin3434 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addcontextparameter_wiz_ban.gifbin2900 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addenvirentry_wiz_ban.gifbin3368 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/adderrorcodeerror_wiz_ban.g.gifbin3374 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addexceptionerrorpage_wiz_ban.gifbin2687 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addfiltermapping_wiz_ban.gifbin3011 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addhandlersoapheader_wiz_ba.gifbin3249 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addjsppropgropu_wiz_ban.gifbin2904 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addlocencodingmap_wiz_ban.gifbin3095 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addmimemapping_wiz_ban.gifbin2960 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addservletmapping_wiz_ban.gifbin3352 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addtaglibref_wiz_ban.gifbin3385 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addwebSecuritycontraint_wiz.gifbin2904 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addwebrescollection_wiz_ban.gifbin3536 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addwebsecurityroleref_wiz_b.gifbin3129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/addwelcomepage_wiz_ban.gifbin3469 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/appclient_wiz.gifbin2940 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/connection_migration_wizard_wiz.gifbin3771 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/connector_wiz.gifbin2982 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/ear_wiz.gifbin3213 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/ejbclientjar_wizban.gifbin3415 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/ejbproject_wiz.gifbin3091 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/export_appclient_wiz.gifbin2992 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/export_ear_wiz.gifbin3189 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/export_ejbjar_obj.gifbin3487 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/export_rar_wiz.gifbin3374 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/export_war_wiz.gifbin3574 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/import_appclient_wiz.gifbin2978 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/import_class_file_wiz_ban.gifbin3303 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/import_ear_wiz.gifbin3360 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/import_ejbjar_wiz.gifbin3533 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/import_rar_wiz.gifbin3520 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/import_war_wiz.gifbin3598 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/init_param_wiz_ban.gifbin2988 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/mdb_2_1_jms_creation_wiz.gifbin3163 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/mdb_2_1_non_jms_creation_wi.gifbin3163 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/newservlet_wiz.gifbin3180 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/versionmigrate3_wiz.gifbin3313 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/war_wiz.gifbin3526 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/full/wizban/web_library_project_wiz_ban.gifbin3554 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/jar_obj.gifbin579 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/jcu_obj.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/key_interf_ov.gifbin81 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/left_arrow.gifbin981 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/right_arrow.gifbin956 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/servlet.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/sessionBean_obj.gifbin583 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/showerr_tsk.gifbin339 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/showwarn_tsk.gifbin338 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/srvce_elem_obj.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/webgroup_obj.gifbin573 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/webservicedesc.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/icons/wsdl.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ClasspathTableManager.java391
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/IClasspathTableOwner.java27
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ICommonManifestUIConstants.java36
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/J2EEPropertiesConstants.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/J2EEPropertiesPage.java506
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/JARDependencyPropertiesPage.java450
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ManifestErrorPrompter.java44
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ManifestUIResourceHandler.java60
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/UpdateManifestOperation.java73
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/WebSettingsStateInputProvider.java80
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/WorkspaceModifyComposedOperation.java78
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/AbstractActionDelegate.java223
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/AbstractActionWithDelegate.java69
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/AbstractOpenAction.java122
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/AbstractOpenWizardAction.java145
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/AbstractOpenWizardWorkbenchAction.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/BaseAction.java121
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/IJ2EEUIContextIds.java231
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/ImportClassesAction.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/J2EEDeleteAction.java426
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/J2EEDeleteModuleActionPopulator.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/J2EEDeployAction.java117
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/J2EEModuleRenameChange.java151
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/J2EERenameAction.java400
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/J2EERenameParticipant.java124
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/J2EERenameResourceAction.java67
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/J2EEResourceOpenListener.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/NewAppClientComponentAction.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/NewEARComponentAction.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/OpenJ2EEResourceAction.java140
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/WTPBaseAction.java120
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/actions/WorkspaceModifyComposedOperation.java82
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/client/actions/AppClientArchiveUIResourceHandler.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/client/actions/ExportApplicationClientAction.java51
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/client/actions/ImportApplicationClientAction.java56
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/command/AbstractOverrideCommand.java97
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/command/J2EEClipboard.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/command/J2EECompoundCommand.java191
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/command/J2EECopyCommand.java79
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/command/J2EECopyFromClipboardCommand.java96
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/command/J2EECopyToClipboardOverrideCommand.java82
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/command/J2EEPasteFromClipboardOverrideCommand.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/command/J2EERemoveOverrideCommand.java170
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/command/J2EEStrictCompoundCommand.java99
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/DeleteEARComposite.java268
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/DeleteEARDialog.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/DeleteModuleComposite.java127
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/DeleteModuleDialog.java47
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/DeleteModuleReferencesComposite.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/FilteredFileSelectionDialog.java75
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/J2EEDeleteDialog.java50
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/J2EEDeleteUIConstants.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/J2EEDeployStatusDialog.java334
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/J2EEDeployUIConstants.java23
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/J2EERenameDialog.java51
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/J2EERenameUIConstants.java27
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/ListMessageDialog.java211
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/RenameEARComposite.java263
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/RenameEARDialog.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/RenameModuleComposite.java181
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/RenameModuleDialog.java62
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/RenameModuleReferencesComposite.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/TwoArrayQuickSorter.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/TypeJavaSearchScope.java352
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/TypeSearchEngine.java65
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/dialogs/TypedFileViewerFilter.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ear/actions/ArchiveEARUIResourceHandler.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ear/actions/EARImportListContentProvider.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ear/actions/ExportEARAction.java52
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ear/actions/ImportEARAction.java55
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ear/actions/ModulesProvider.java138
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/AbstractMethodsContentProvider.java314
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/BeanClassProviderHelper.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/EJBUIMessages.java82
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/ExcludeListContentProvider.java138
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/GroupedEJBItemProvider.java30
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/GroupedEJBJarItemProvider.java365
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/GroupedEntityItemProvider.java37
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/GroupedMessageItemProvider.java38
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/GroupedSessionItemProvider.java37
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/HomeInterfaceProviderHelper.java60
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/J2EEContainerManagedEntityItemProvider.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/J2EEEjbItemProviderAdapterFactory.java80
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/J2EEEntityItemProvider.java43
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/J2EEJavaClassProviderHelper.java141
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/J2EEMessageDrivenItemProvider.java40
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/J2EEReferenceProviderHelper.java49
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/J2EESessionItemProvider.java54
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/LocalHomeInterfaceProviderHelper.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/LocalInterfaceProviderHelper.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/MethodPermissionsContentProvider.java127
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/MethodTransactionContentProvider.java115
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/PrimaryKeyClassProviderHelper.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/RemoteInterfaceProviderHelper.java60
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ejb/provider/ServiceEndpointInterfaceProviderHelper.java65
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/emf2xml/sed/EMF2DOMSedAdapter.java332
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/emf2xml/sed/EMF2DOMSedRenderer.java493
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/emf2xml/sed/EMF2DOMSedRendererFactory.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/emf2xml/sed/UIResourceHandler.java56
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/listeners/IValidateEditListener.java43
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/listeners/ValidateEditListener.java267
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/perspective/J2EEPerspective.java74
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/plugin/CommonEditorUtility.java101
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/plugin/ErrorDialog.java192
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/plugin/J2EEEditorUtility.java202
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/plugin/J2EEUIAdapterFactory.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/plugin/J2EEUIContextIds.java38
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/plugin/J2EEUIMessages.java208
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/plugin/J2EEUIPlugin.java269
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/plugin/J2EEUIPluginIcons.java55
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/plugin/J2EEViewerSorter.java51
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/plugin/UIProjectUtilities.java213
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/provider/J2EEAdapterFactoryContentProvider.java129
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/provider/J2EEAdapterFactoryLabelProvider.java90
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/provider/J2EEApplicationItemProvider.java193
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/provider/J2EEApplicationItemProviderAdapterFactory.java32
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/provider/J2EEEditingDomain.java152
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/provider/J2EEModulemapItemProviderAdapterFactory.java30
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/provider/J2EEProviderUtility.java38
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/provider/J2EEUIEditingDomain.java73
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/provider/J2EEUtilityJarItemProvider.java258
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/provider/J2EEUtilityJavaProjectsItemProvider.java52
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/provider/MethodsProviderDelegate.java117
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/provider/ModulesItemProvider.java222
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ui/util/BinaryProjectUIHelper.java42
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/war/ui/util/J2EEWebAppItemProvider.java239
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/war/ui/util/J2EEWebItemProviderAdapterFactory.java49
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/war/ui/util/WebFilterMappingGroupItemProvider.java86
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/war/ui/util/WebFiltersGroupItemProvider.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/war/ui/util/WebGroupItemProvider.java90
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/war/ui/util/WebListenerGroupItemProvider.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/war/ui/util/WebReferencesGroupItemProvider.java113
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/war/ui/util/WebSecurityGroupItemProvider.java93
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/war/ui/util/WebServletGroupItemProvider.java87
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/war/ui/util/WebServletMappingGroupItemProvider.java86
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AnnotationsStandaloneGroup.java172
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AppClientComponentCreationWizard.java80
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AppClientComponentCreationWizardPage.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AppClientExportPage.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AppClientImportPageNew.java90
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AppClientModuleExportWizard.java76
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AppClientModuleImportWizardNew.java99
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AvailableJ2EEComponentsContentProvider.java124
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AvailableJarsProvider.java235
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AvailableModuleProjectsProvider.java154
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AvailableUtilJarsAndWebLibProvider.java181
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AvailableUtilityJarsProvider.java162
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/ClassesImportWizard.java175
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/DataModelAnnotationsStandaloneGroup.java160
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/DefaultJ2EEComponentCreationWizard.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EARComponentCreationSecondPage.java246
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EARComponentCreationSecondWizardPage.java238
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EARComponentCreationWizard.java84
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EARComponentCreationWizardPage.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EARExportPage.java93
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EARImportListContentProvider.java100
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EARImportOptionsPageNew.java322
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EARImportPageNew.java173
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EARImportProjectsPageNew.java315
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EARValidationHelper.java90
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EnterpriseApplicationExportWizard.java78
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EnterpriseApplicationImportWizardNew.java104
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/FlexibleProjectCreationWizard.java122
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/FlexibleProjectCreationWizardPage.java305
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/ImportUtil.java216
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEArtifactCreationWizard.java290
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEArtifactExportWizard.java171
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEArtifactImportWizardNew.java224
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEComponentCreationWizard.java188
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEComponentCreationWizardPage.java412
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEComponentLabelProvider.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEExportPage.java384
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEImportPageNew.java268
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEModuleExportPage.java49
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEModuleImportPageNew.java65
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEModuleImportWizardNew.java156
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEModulesDependencyPage.java235
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEUtilityJarImportPageNew.java396
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEUtilityJarImportTypePageNew.java428
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEUtilityJarImportWizardNew.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/JavaUtilityComponentCreationWizard.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/JavaUtilityComponentCreationWizardPage.java81
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/MinimizedFileSystemElement.java131
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/NewFlexibleProjectGroup.java127
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/NewJ2EEComponentSelectionPage.java498
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/NewJavaClassOptionsWizardPage.java366
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/NewJavaClassWizardPage.java692
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/NewModuleDataModelGroup.java275
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/NewModuleGroup.java260
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/NewModuleGroupEx.java274
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/NewProjectGroup.java142
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/PackageNameResolver.java70
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/ServerEarAndStandaloneGroup.java150
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/ServerTargetComboHelper.java74
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/ServerTargetGroup.java141
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/ServerTargetUIHelper.java173
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/StringArrayTableWizardSection.java261
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/TableObjects.java42
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/WizardClassesImportMainPage.java132
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/WizardClassesImportPage1.java1439
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/javadoc.xml6
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/plugin.properties40
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/plugin.xml847
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/prepareforpii.xml38
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/property_files/ejb_figures.properties18
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/property_files/ejb_ui.properties43
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/property_files/emftosed.properties3
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/property_files/j2ee_ejb_ui.properties15
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/property_files/j2ee_ui.properties319
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/property_files/jca_ui.properties21
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/property_files/manifest_ui.properties19
-rw-r--r--plugins/org.eclipse.jst.j2ee.ui/property_files/migwizards.properties187
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/.classpath12
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/.cvsignore4
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/.project28
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/META-INF/MANIFEST.MF49
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/build.properties25
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/component.xml1
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/ServletCreateInitParam.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/WebAppCreateContextParam.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/WebResourceCollectionCreateURLPatternType.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/authority_constraint.gifbin587 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/error_co.gifbin82 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/error_page.gifbin624 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/errorcode_errorpage.gifbin624 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/exception_type_errorpage.gifbin205 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/export_wiz.gifbin3207 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/field.gifbin605 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/filter.gifbin546 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/filter_mapping.gifbin215 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/form_banner.gifbin5600 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/form_login_config.gifbin613 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/ArrowDown.gifbin53 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/ArrowUp.gifbin53 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/CreateDescriptionGroup_descriptions_Description.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/CreateDescriptionGroup_descriptions_DescriptionType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/CreateDescriptionGroup_displayNames_DisplayName.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/CreateDescriptionGroup_displayNames_DisplayNameType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/CreateDescriptionGroup_icons_IconType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/CreateJSPConfig_propertyGroups_JSPPropertyGroup.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/CreateJSPConfig_tagLibs_TagLibRefType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/add_column.gifbin193 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/connection.gifbin200 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/convertlinks_wiz.gifbin230 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/default.gifbin359 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/exportftp_wiz.gifbin108 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/exportwar_wiz.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/importftp_wiz.gifbin106 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/importhttp_wiz.gifbin570 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/importwar_wiz.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/method.gifbin577 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/methodreturn.gifbin351 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/newwebex_wiz.gifbin609 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/newwebprj_wiz.gifbin607 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/warFile_obj.gifbin1014 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/web_application.gifbin996 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/ctool16/web_ovr.gifbin276 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/linksview16/mailto_view.gifbin335 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/JSPConfig.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/JSPPropertyGroup.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/TagLibRefType.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/ascii.gifbin577 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/binary.gifbin616 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/environment_entity.gifbin206 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/jarproject_deploy.gifbin622 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/java_properties.gifbin351 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/method_return.gifbin351 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/projlib_obj.gifbin608 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/servlet.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/web12_deploy.gifbin628 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/web13_deploy.gifbin627 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/obj16/webstatic_deploy.gifbin364 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/sample16/folder.gifbin216 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/thumbnail16/defaultFile.gifbin577 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/thumbnail16/defaultFolder.gifbin216 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/view16/colourpal_view.gifbin234 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/view16/gallery_view.gifbin625 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/view16/links_view.gifbin218 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/view16/sample.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/view16/thumbnail_view.gifbin609 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/wizban/ftpimport_wiz.gifbin2568 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/wizban/ftppub_wiz.gifbin2535 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/wizban/httpimport_wiz.gifbin3160 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/wizban/newwebex_wiz.gifbin3380 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/wizban/newwprj_wiz.gifbin3151 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/wizban/warexport_wiz.gifbin3574 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/full/wizban/warimport_wiz.gifbin3644 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/getstart_a.GIFbin173 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/initializ_parameter.gifbin337 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/initializ_parameter_context.gifbin337 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/jsp_library_reference.gifbin614 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/jsp_type.gifbin600 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/key.gifbin324 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/key_interf_ov.gifbin81 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/methElement_obj.gifbin374 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/mime_mapping.gifbin578 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/newjprj_wiz.gifbin347 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/newjprj_wiz_32.gifbin2881 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/newservlet_wiz.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/newwprj_wiz.gifbin607 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/security_constraint.gifbin251 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/server_ovr.gifbin162 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/servlet.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/servlet_mapping.gifbin582 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/servlet_type.gifbin587 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/showerr_tsk.gifbin339 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/showwarn_tsk.gifbin338 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/url_type.gifbin180 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/user_data_constraint.gifbin572 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/user_ovr.gifbin169 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/warn_tsk.gifbin597 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/web_resource_collection.gifbin615 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/web_type.gifbin996 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/webapp_12.gifbin604 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/webapp_13.gifbin603 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/webapp_14.gifbin590 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/webapp_22.gifbin601 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/webapp_23.gifbin600 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/webapp_24.gifbin600 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/webgroup_obj.gifbin573 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/welcome_file.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/welcome_list.gifbin609 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/icons/xml_image.gifbin357 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.web/plugin.properties11
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/plugin.xml545
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/prepareforpii.xml38
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/property_files/ProjectSupport.properties46
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/property_files/warvalidation.properties252
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/property_files/web.properties89
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/property_files/webedit.properties937
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/locator/AbstractTaglibLocator.java188
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/locator/AbstractWebTaglibLocator.java288
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/locator/JavaProjectTaglibLocator.java123
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/locator/WebLibModuleTaglibLocator.java166
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/locator/WebProjectServerTargetTaglibLocator.java130
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/locator/WebProjectTaglibLocator.java191
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/locator/WebXMLTaglibLocator.java333
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/DirTaglibInfo.java108
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/IDirTaglibInfo.java36
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/ITaglibInfo.java164
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/ITaglibLocator.java16
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/ITaglibRegistry.java98
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/ITaglibRegistryListener.java17
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/ITaglibRegistryManager.java27
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/IWebXMLTaglibInfo.java41
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/ServerJarsUtil.java98
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/TLDDigester.java250
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/TaglibInfo.java378
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/TaglibRegistryManager.java177
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/WebProjectServerTaglibListener.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/WebXMLTaglibInfo.java78
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/registry/AbstractTaglibRegistry.java555
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/registry/JavaTaglibRegistry.java71
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/taglib/org/eclipse/jst/j2ee/internal/web/taglib/registry/WebTaglibRegistry.java177
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/templates/servletHeader.template37
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/templates/servletHeaderNonAnnotated.template13
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/templates/servletXDoclet.javajet81
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/templates/servletXDocletNonAnnotated.javajet81
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/war-validation/org/eclipse/jst/j2ee/internal/web/validation/UIWarHelper.java75
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/war-validation/org/eclipse/jst/j2ee/internal/web/validation/UIWarValidator.java181
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/war-validation/org/eclipse/jst/j2ee/internal/web/validation/WarHelper.java127
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/deployables/J2EEFlexProjWebDeployable.java429
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/deployables/ModuleAdapter.java28
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/deployables/WebDeployable.java67
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/deployables/WebDeployableArtifactAdapterFactory.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/deployables/WebDeployableArtifactUtil.java391
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/deployables/WebDeployableFactory.java128
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/deployables/WebModuleArtifact.java14
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/jfaces/extension/FileURL.java31
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/jfaces/extension/FileURLExtension.java83
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/jfaces/extension/FileURLExtensionReader.java116
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/operations/AddServletOperation.java284
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/operations/CreateServletTemplateModel.java171
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/operations/NewServletClassDataModel.java635
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/operations/NewServletClassOperation.java325
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/operations/OldJ2EESettingsForMigration.java397
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/operations/OldWebSettingsForMigration.java337
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/operations/WebMessages.java160
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/plugin/WebModuleExtensionImpl.java256
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/plugin/WebPlugin.java338
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/AuthConstraintItemProvider.java225
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/ContextParamItemProvider.java190
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/ErrorCodeErrorPageItemProvider.java124
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/ErrorPageItemProvider.java140
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/ExceptionTypeErrorPageItemProvider.java118
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/FilterItemProvider.java261
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/FilterMappingItemProvider.java196
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/FormLoginConfigItemProvider.java178
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/HTTPMethodTypeItemProvider.java149
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/InitParamItemProvider.java223
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/ItemHolder.java83
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/JSPConfigItemProvider.java154
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/JSPPropertyGroupItemProvider.java218
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/JSPTypeItemProvider.java123
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/JspItemProviderAdapterFactory.java232
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/LocalEncodingMappingItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/LocalEncodingMappingListItemProvider.java136
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/LoginConfigItemProvider.java224
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/MimeMappingItemProvider.java171
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/RoleNameTypeItemProvider.java136
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/SecurityConstraintItemProvider.java242
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/ServletItemProvider.java295
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/ServletMappingItemProvider.java177
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/ServletTypeItemProvider.java123
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/SessionConfigItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/TagLibRefItemProvider.java170
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/TagLibRefTypeItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/URLPatternTypeItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/UserDataConstraintItemProvider.java189
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/WebAppEditResourceHandler.java86
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/WebAppItemProvider.java347
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/WebResourceCollectionItemProvider.java294
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/WebToolingItemPropertyDescriptor.java142
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/WebTypeItemProvider.java104
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/WebapplicationItemProviderAdapter.java118
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/WebapplicationItemProviderAdapterFactory.java686
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/WelcomeFileItemProvider.java145
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webedit/org/eclipse/jst/j2ee/internal/web/providers/WelcomeFileListItemProvider.java161
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/ContextRootUpdateOperation.java105
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WTProjectLoadStrategy.java16
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WTProjectLoadStrategyImpl.java479
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WTProjectSaveStrategy.java17
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WTProjectStrategyUtils.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WebComponentCreationDataModelProvider.java315
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WebComponentCreationOperation.java146
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WebComponentLoadStrategyImpl.java23
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WebComponentSaveStrategyImpl.java197
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WebContentNameUpdateOperation.java60
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WebModuleExportDataModel.java104
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WebModuleExportDataModelProvider.java82
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WebModuleExportOperation.java238
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WebModuleExportOperationNEW.java42
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WebModuleImportDataModelProvider.java106
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/archive/operations/WebModuleImportOperationNew.java134
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/classpath/WebAppContainer.java102
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/classpath/WebAppContainerInitializer.java37
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/ClasspathUtilities.java67
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/IDynamicWebNature.java39
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/IWebProjectWizardInfo.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/IWebToolingConstants.java34
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/IWebToolingCoreConstants.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/J2EEWebNatureRuntime.java1115
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/J2EEWebNatureRuntimeUtilities.java183
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/LibDirBuilder.java366
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/MasterCSS.java33
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/ProjectSupportResourceHandler.java66
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/RelationData.java993
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/ServerTargetUtil.java133
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/SynchronizeWLPoperation.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/TemplateData.java94
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/WebContentResourceChangeListener.java99
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/WebEditModel.java166
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/WebEditModelFactory.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/WebNatureRuntimeUtilities.java230
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/WebProjectFeatureUpdateOperation.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/WebProjectInfo.java642
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/WebProjectPropertiesUpdateOperation.java135
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/WebPropertiesUtil.java564
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/WebToolingException.java98
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/WebToolingTemplate.java19
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/util/WebArtifactEditOperation.java34
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/util/WebArtifactEditOperationDataModel.java26
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/util/WebArtifactEditUtilities.java52
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/util/WebEditAdapterFactory.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/web/componentcore/util/WebArtifactEdit.java600
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/web/datamodel/properties/IWebComponentCreationDataModelProperties.java40
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/web/datamodel/properties/IWebComponentExportDataModelProperties.java37
-rw-r--r--plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/web/datamodel/properties/IWebComponentImportDataModelProperties.java39
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/.classpath8
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/.cvsignore5
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/.project29
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/META-INF/MANIFEST.MF32
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/build.properties8
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/icons/full/ctool16/exportwar_wiz.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/icons/full/ctool16/importwar_wiz.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/icons/full/ctool16/newservlet_wiz.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/icons/full/ctool16/newwar_wiz.gifbin1039 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/icons/full/ctool16/webservicedesc.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/icons/full/ctool16/wsdl.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/plugin.xml59
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/property_files/webserviceui.properties46
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/webservices_ui/org/eclipse/jst/j2ee/internal/webservice/OpenExternalWSDLAction.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/webservices_ui/org/eclipse/jst/j2ee/internal/webservice/WebServiceAdapterFactory.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/webservices_ui/org/eclipse/jst/j2ee/internal/webservice/WebServiceFilesContribution.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/webservices_ui/org/eclipse/jst/j2ee/internal/webservice/WebServiceNavigatorGroup.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/webservices_ui/org/eclipse/jst/j2ee/internal/webservice/WebServiceNavigatorGroupType.java133
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/webservices_ui/org/eclipse/jst/j2ee/internal/webservice/WebServiceUIResourceHandler.java65
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/webservices_ui/org/eclipse/jst/j2ee/internal/webservice/WebServicesNavigatorContentProvider.java302
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/webservices_ui/org/eclipse/jst/j2ee/internal/webservice/WebServicesNavigatorGroupOpenListener.java75
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/webservices_ui/org/eclipse/jst/j2ee/internal/webservice/WebServicesNavigatorLabelProvider.java189
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/webservices_ui/org/eclipse/jst/j2ee/internal/webservice/WebServicesNavigatorSynchronizer.java105
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/webservices_ui/org/eclipse/jst/j2ee/internal/webservice/WsdlResourceAdapterFactory.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice.ui/webservices_ui/org/eclipse/jst/j2ee/internal/webservice/plugin/WebServiceUIPlugin.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/.classpath8
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/.cvsignore4
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/.project28
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/META-INF/MANIFEST.MF37
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/build.properties20
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/component.xml1
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateComponentScopedRefs_serviceRefs_ServiceRef.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateDescriptionGroup_descriptions_Description.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateDescriptionGroup_descriptions_DescriptionType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateDescriptionGroup_displayNames_DisplayName.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateDescriptionGroup_displayNames_DisplayNameType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateDescriptionGroup_icons_IconType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateHandler_initParams_InitParam.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateHandler_initParams_ParamValue.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateHandler_soapHeaders_QName.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateHandler_soapHeaders_SOAPHeader.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateHandler_soapHeaders_WSDLPort.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateHandler_soapRoles_SOAPRole.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreatePortComponent_descriptionType_DescriptionType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreatePortComponent_displayNameType_DisplayNameType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreatePortComponent_handlers_Handler.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreatePortComponent_iconType_IconType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreatePortComponent_serviceImplBean_ServiceImplBean.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreatePortComponent_wsdlPort_WSDLPort.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateServiceImplBean_beanLink_BeanLink.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateServiceImplBean_beanLink_EJBLink.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateServiceImplBean_beanLink_ServletLink.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateServiceImplBean_eEJBLink_EJBLink.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateServiceImplBean_eServletLink_ServletLink.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateServiceRef_handlers_Handler.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateServiceRef_portComponentRefs_PortComponentRef.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateServiceRef_serviceQname_QName.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateServiceRef_serviceQname_SOAPHeader.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateServiceRef_serviceQname_WSDLPort.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateWebServiceDescription_descriptionType_DescriptionType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateWebServiceDescription_displayNameType_DisplayNameType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateWebServiceDescription_iconType_IconType.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateWebServiceDescription_portComponents_PortComponent.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateWebServicesClient_componentScopedRefs_ComponentScopedRefs.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateWebServicesClient_serviceRefs_ServiceRef.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/ctool16/CreateWebServices_webServiceDescriptions_WebServiceDescription.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/BeanLink.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/ComponentScopedRefs.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/EJBLink.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/Handler.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/PortComponent.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/PortComponentRef.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/SOAPHeader.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/ServiceImplBean.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/ServiceRef.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/ServletLink.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/WSDLPort.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/WebServiceDescription.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/WebServices.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/WebServicesClient.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/initializ_parameter.gifbin337 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/servlet.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/sessionBean_obj.gifbin583 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/srvce_elem_obj.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/full/obj16/wsdl.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/obj16/componentscopedref.gifbin576 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/obj16/handler.gifbin622 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/obj16/portcomponent.gifbin221 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/obj16/serviceref.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/obj16/webservicedesc.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/wsceditor.gifbin577 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/icons/wseditor.gifbin540 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/images/form_banner.gifbin5600 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/images/home_nav.gifbin583 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/plugin.properties156
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/plugin.xml115
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/prepareforpii.xml38
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/property_files/webservice.properties16
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterCCombo.java131
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterElement.java197
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterExpiresCCombo.java160
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterHandlerClassText.java127
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterLayer.java89
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterPCRefText.java116
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterQNameElement.java248
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterQNameText.java62
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterServiceInterfaceText.java115
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterText.java121
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterTextCCombo.java103
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterViewer.java147
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/adapter/AdapterViewerItem.java39
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandAddClientHandler.java191
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandAddElement.java205
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandAddPortComponentRef.java191
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandAddServiceRef.java183
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandModifyElement.java180
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandModifyHandlerClassText.java181
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandModifyNSURI.java181
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandModifySEI.java196
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandModifyServiceInterfaceText.java181
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandModifyText.java179
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandMoveServiceRefs.java289
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandRemoveElement.java198
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/command/CommandSetElement.java196
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/componentcore/util/JaxRPCMapArtifactEdit.java384
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/componentcore/util/WSCDDArtifactEdit.java363
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/componentcore/util/WSDDArtifactEdit.java433
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/constants/ATKUIConstants.java144
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/constants/InfopopConstants.java249
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/helper/WSDLHelper.java358
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/helper/WSDLServiceHelperImpl.java197
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/helper/WebServicesManager.java892
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/operation/AddHandlerInitParamDataModel.java116
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/operation/AddHandlerInitParamOperation.java83
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/operation/AddHandlerSOAPHeaderDataModel.java108
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/operation/AddHandlerSOAPHeaderOperation.java74
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/operation/AddWebServiceHandlerDataModel.java101
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/operation/AddWebServiceHandlerOperation.java73
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/operation/WebServiceMessages.java69
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/plugin/WebServicePlugin.java222
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUIAdapterFactory.java90
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUICommonAdapterFactory.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUIComponentScopedRefsItemProvider.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUIHandlerItemProvider.java96
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUIInitParamItemProvider.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUIParamValueItemProvider.java52
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUIPortComponentRefItemProvider.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUIPortNameItemProvider.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUIQNameItemProvider.java51
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUISOAPHeaderItemProvider.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUISOAPRoleItemProvider.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUIServiceRefItemProvider.java96
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUIWebServicesClientItemProvider.java89
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUIWscddAdapterFactory.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ATKUIWscommonAdapterFactory.java41
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/AbstractATKUIItemProvider.java81
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/BeanLinkItemProvider.java163
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ClassTypeItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ComponentScopedRefsItemProvider.java165
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ConstructorParameterOrderItemProvider.java155
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/DescriptionTypeItemProvider.java113
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/DisplayNameTypeItemProvider.java113
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/EJBLinkItemProvider.java158
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ElementNameItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ExceptionMappingItemProvider.java200
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ExceptionTypeItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/HandlerItemProvider.java222
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/InitParamItemProvider.java220
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/InterfaceMappingItemProvider.java109
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/JavaMethodNameItemProvider.java149
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/JavaPortNameItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/JavaVariableNameItemProvider.java149
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/JavaWSDLMappingItemProvider.java184
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/JavaXMLTypeMappingItemProvider.java214
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/JaxrpcmapItemProviderAdapterFactory.java954
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/MethodParamPartsMappingItemProvider.java183
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/MethodReturnValueItemProvider.java149
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/PackageMappingItemProvider.java163
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/PackageTypeItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ParamPositionItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ParamTypeItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ParameterModeItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/PortComponentItemProvider.java336
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/PortComponentRefItemProvider.java154
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/PortMappingItemProvider.java162
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/PortNameItemProvider.java159
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/QnameScopeItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/RootTypeQnameItemProvider.java112
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/SOAPHeaderItemProvider.java127
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/SOAPRoleItemProvider.java160
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/SectionComponentScopedRefHelper.java41
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ServiceEndpointInterfaceMappingItemProvider.java190
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ServiceEndpointMethodMappingItemProvider.java214
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ServiceImplBeanItemProvider.java253
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ServiceInterfaceMappingItemProvider.java185
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ServiceRefEditorItemProvider.java64
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ServiceRefItemProvider.java228
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/ServletLinkItemProvider.java156
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/VariableMappingItemProvider.java205
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WSDLBindingItemProvider.java112
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WSDLMessageItemProvider.java112
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WSDLMessageMappingItemProvider.java197
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WSDLMessagePartNameItemProvider.java149
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WSDLOperationItemProvider.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WSDLPortItemProvider.java129
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WSDLPortTypeItemProvider.java112
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WSDLReturnValueMappingItemProvider.java183
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WSDLServiceNameItemProvider.java113
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WebServiceDescriptionItemProvider.java344
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WebServicesClientItemProvider.java154
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WebServicesItemProvider.java163
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/Webservice_clientEditorItemProviderFactory.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/Webservice_clientItemProviderAdapterFactory.java279
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/Webservicej2eeEditPlugin.java91
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WscommonItemProviderAdapterFactory.java307
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/WsddItemProviderAdapterFactory.java374
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/webservice/provider/XMLElementNameItemProvider.java149
-rw-r--r--plugins/org.eclipse.jst.j2ee.webservice/webservice/org/eclipse/jst/j2ee/internal/wsdd/provider/HandlerItemProvider.java271
-rw-r--r--plugins/org.eclipse.jst.j2ee/.classpath15
-rw-r--r--plugins/org.eclipse.jst.j2ee/.cvsignore4
-rw-r--r--plugins/org.eclipse.jst.j2ee/.project28
-rw-r--r--plugins/org.eclipse.jst.j2ee/META-INF/MANIFEST.MF65
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/componentcore/util/AppClientArtifactEdit.java362
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/internal/creation/AppClientComponentCreationDataModelProvider.java119
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/internal/creation/AppClientComponentCreationOperation.java141
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/internal/creation/AppClientCreationResourceHandler.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/internal/creation/AppClientEditModel.java112
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/internal/creation/AppClientEditModelFactory.java50
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/internal/creation/AppClientModuleImportDataModelProvider.java44
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/internal/creation/ApplicationClientNatureRuntime.java268
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/internal/creation/IApplicationClientNatureConstants.java31
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/internal/creation/IConfigurationConstants.java21
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/internal/modulecore/util/AppClientArtifactEditOperation.java33
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/internal/modulecore/util/AppClientArtifactEditOperationDataModel.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee/appclientcreation/org/eclipse/jst/j2ee/applicationclient/internal/modulecore/util/AppClientEditAdapterFactory.java28
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/application/common/CreateChildCommand.java131
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/application/provider/ApplicationItemProvider.java212
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/application/provider/ApplicationItemProviderAdapter.java65
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/application/provider/ApplicationItemProviderAdapterFactory.java267
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/application/provider/ApplicationProvidersResourceHandler.java82
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/application/provider/ConnectorModuleItemProvider.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/application/provider/EjbModuleItemProvider.java108
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/application/provider/JavaClientModuleItemProvider.java108
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/application/provider/ModuleItemProvider.java180
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/application/provider/WebModuleItemProvider.java139
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/provider/ApplicationClientItemProvider.java270
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/provider/ClientItemProviderAdapter.java80
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/provider/ClientItemProviderAdapterFactory.java180
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/provider/EARProjectMapItemProvider.java164
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/provider/J2EEItemProvider.java244
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/provider/ModuleMappingItemProvider.java166
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/provider/ModulemapEditPlugin.java125
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/provider/ModulemapItemProviderAdapter.java137
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/provider/ModulemapItemProviderAdapterFactory.java215
-rw-r--r--plugins/org.eclipse.jst.j2ee/applicationedit/org/eclipse/jst/j2ee/internal/provider/UtilityJARMappingItemProvider.java191
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IAddWebComponentToEnterpriseApplicationDataModelProperties.java7
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IAppClientComponentCreationDataModelProperties.java40
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IAppClientComponentExportDataModelProperties.java30
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IAppClientComponentImportDataModelProperties.java31
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IEARComponentExportDataModelProperties.java30
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IEARComponentImportDataModelProperties.java82
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IEarComponentCreationDataModelProperties.java38
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IJ2EEComponentCreationDataModelProperties.java81
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IJ2EEComponentExportDataModelProperties.java62
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IJ2EEComponentImportDataModelProperties.java87
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IJ2EEModuleImportDataModelProperties.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IJ2EEUtilityJarListImportDataModelProperties.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IJavaComponentCreationDataModelProperties.java51
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/datamodel/properties/IJavaUtilityJarImportDataModelProperties.java40
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/AppClientArchiveOpsResourceHandler.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/AppClientComponentLoadStrategyImpl.java21
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/AppClientComponentSaveStrategyImpl.java21
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/AppClientModuleExportOperation.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/AppClientModuleExportOperationNEW.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/AppClientModuleImportOperationNew.java32
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/ApplicationClientProjectLoadStrategy.java17
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/ApplicationClientProjectLoadStrategyImpl.java102
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/BinaryProjectHelper.java148
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/ComponentLoadStrategyImpl.java144
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/ComponentSaveStrategyImpl.java137
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/ConnectorComponentSaveStrategyImpl.java21
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/DependentJarExportMerger.java127
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/EARArchiveOpsResourceHandler.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/EARComponentLoadStrategyImpl.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/EARComponentSaveStrategyImpl.java381
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/EARProjectLoadStrategy.java23
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/EARProjectLoadStrategyImpl.java444
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/EJBArchiveOpsResourceHandler.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/EJBComponentSaveStrategyImpl.java21
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/EnterpriseApplicationExportOperation.java244
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/EnterpriseApplicationExportOperationNEW.java49
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/EnterpriseApplicationImportOperationNew.java250
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/IJ2EEImportExportConstants.java20
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/IOverwriteHandler.java142
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/ImportOption.java90
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/J2EEArtifactExportOperation.java233
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/J2EEArtifactExportOperationNEW.java170
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/J2EEArtifactImportOperationNew.java140
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/J2EEComponentSaveStrategyImpl.java21
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/J2EEImportConstants.java27
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/J2EEJavaComponentSaveStrategyImpl.java21
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/J2EELoadStrategy.java21
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/J2EELoadStrategyImpl.java393
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/J2EESaveStrategyImpl.java302
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/JavaComponentCreationDataModelProvider.java153
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/JavaProjectLoadStrategyImpl.java144
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/JavaProjectSaveStrategyImpl.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/OverwriteHandlerException.java37
-rw-r--r--plugins/org.eclipse.jst.j2ee/build.properties32
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/CMPJavaChangeSynchronizationAdapter.java361
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/ClasspathModel.java572
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/ClasspathModelEvent.java39
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/ClasspathModelListener.java14
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/J2EEArtifactEditUtilities.java38
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/J2EECommonMessages.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/UpdateProjectClasspath.java87
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/operations/AddSecurityRoleOperation.java131
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/operations/AddSecurityRoleOperationDataModel.java144
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/operations/J2EEModelModifierOperationDataModel.java99
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/operations/J2EEModifierHelperCreator.java195
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/operations/JARDependencyDataModel.java121
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/operations/JARDependencyOperation.java187
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/operations/JavaModelUtil.java773
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/operations/NewJavaClassDataModel.java545
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/operations/NewJavaClassOperation.java819
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/operations/RemoveSecurityRoleDataModel.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/operations/RemoveSecurityRoleOperation.java132
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/operations/UpdateJavaBuildPathOperation.java213
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/webservices/DefaultWSDLServiceHelper.java137
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/webservices/WSDLServiceExtManager.java30
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/webservices/WSDLServiceExtensionRegistry.java71
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/webservices/WSDLServiceHelper.java41
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/webservices/WebServiceClientGenerator.java56
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/webservices/WebServicesClientDataHelper.java78
-rw-r--r--plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/webservices/WebServicesClientDataRegistry.java86
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/CommonItemProviderAdapter.java116
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/CommonItemProviderAdapterFactory.java562
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/CompatibilityDescriptionGroupItemProvider.java173
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/DescriptionGroupItemProvider.java159
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/DescriptionItemProvider.java147
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/DisplayNameItemProvider.java146
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/EJBLocalRefItemProvider.java143
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/EjbRefItemProvider.java295
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/EnvEntryItemProvider.java243
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/IconTypeItemProvider.java163
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/IdentityItemProvider.java176
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/JNDIEnvRefsGroupItemProvider.java190
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/ListenerItemProvider.java120
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/MessageDestinationItemProvider.java133
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/MessageDestinationRefItemProvider.java197
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/ParamValueItemProvider.java187
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/QNameItemProvider.java176
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/ResourceEnvRefItemProvider.java201
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/ResourceRefItemProvider.java280
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/RunAsSpecifiedIdentityItemProvider.java134
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/SecurityIdentityItemProvider.java160
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/SecurityRoleItemProvider.java202
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/SecurityRoleRefItemProvider.java200
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/UseCallerIdentityItemProvider.java100
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/internal/common/CommonEditResourceHandler.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/internal/common/IJ2EECommonConstants.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/internal/common/IStructuredTextEditingDomain.java43
-rw-r--r--plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/internal/common/StructuredTextEditingDomain.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee/component.xml1
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddArchiveProjectToEAROperation.java324
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddArchiveProjectsToEARDataModel.java151
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddArchiveProjectsToEAROperation.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddArchiveToEARDataModel.java187
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddComponentToEnterpriseApplicationDataModelProvider.java67
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddComponentToEnterpriseApplicationOp.java124
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddModuleToEARDataModel.java116
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddUtilityProjectToEARDataModel.java223
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddWebComponentToEARDataModelProvider.java107
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AppClientModuleExportDataModel.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AppClientModuleExportDataModelProvider.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/ClassPathSelection.java618
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/ClasspathElement.java396
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/ClasspathSelectionHelper.java118
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/DefaultJ2EEComponentCreationOperation.java117
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/EARComponentCreationOperation.java154
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/EnterpriseApplicationExportDataModel.java93
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/EnterpriseApplicationExportDataModelProvider.java71
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/EnterpriseApplicationImportDataModelProvider.java696
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/ExtendedImportFactory.java36
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/ExtendedImportRegistry.java95
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/FlexibleJavaProjectCreationDataModelProvider.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/FlexibleJavaProjectCreationOperation.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/FlexibleProjectCreationDataModelProvider.java89
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/FlexibleProjectCreationOperation.java82
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/IAnnotationsDataModel.java35
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEArtifactExportDataModel.java234
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEArtifactExportDataModelProvider.java183
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEArtifactImportDataModelProvider.java211
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEComponentCreationDataModelProvider.java557
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEComponentCreationOperation.java257
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEModuleExportDataModel.java20
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEModuleExportDataModelProvider.java18
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEModuleImportDataModelProvider.java84
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEUtilityJarImportDataModelProvider.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEUtilityJarImportOperationNew.java87
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEUtilityJarListImportDataModelProvider.java325
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEUtilityJarListImportOperation.java314
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/JARDependencyTraverser.java142
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/JavaUtilityComponentCreationOperation.java170
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/UpdateManifestDataModel.java137
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/UpdateManifestOperation.java70
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/componentcore/util/EARArtifactEdit.java501
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/AddModuleMapCommand.java93
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/AddModuleToEARProjectCommand.java66
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/AddUtilityJARMapCommand.java50
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/DefaultJ2EEComponentCreationDataModelProvider.java378
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/EARCreationResourceHandler.java83
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/EAREditModel.java745
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/EAREditModelFactory.java51
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/EARNatureRuntime.java631
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/EarComponentCreationDataModelProvider.java175
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/IDefaultJ2EEComponentCreationDataModelProperties.java73
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/IEARNatureConstants.java30
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/ILooseConfigConstants.java27
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/LooseConfigUpdateOperation.java211
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/ModuleInEARProjectCommand.java305
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/ModuleMapHelper.java170
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/RemoveModuleFromEARProjectCommand.java93
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/RemoveUtilityJARMapCommand.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/RollupRolesCommand.java147
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/UpdateModuleReferencesInEARProjectCommand.java180
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/UtilityJARInEARProjectCommand.java177
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/EARProjectMap.java40
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/EARProjectMapImpl.java171
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/ModuleMapping.java55
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/ModuleMappingImpl.java194
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/ModulemapAdapterFactory.java130
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/ModulemapFactory.java56
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/ModulemapFactoryImpl.java92
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/ModulemapInit.java52
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/ModulemapPackage.java181
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/ModulemapPackageImpl.java238
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/ModulemapSwitch.java107
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/UtilityJARMapping.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/earcreation/modulemap/UtilityJARMappingImpl.java183
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/modulecore/util/EARArtifactEditOperation.java34
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/modulecore/util/EARArtifactEditOperationDataModel.java32
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/modulecore/util/EarEditAdapterFactory.java51
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/moduleextension/EarModuleExtension.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/moduleextension/EarModuleExtensionImpl.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/moduleextension/EarModuleExtensionRegistry.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/moduleextension/EarModuleManager.java89
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/moduleextension/EjbModuleExtension.java49
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/moduleextension/JcaModuleExtension.java36
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/internal/moduleextension/WebModuleExtension.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/11_cmpbean_obj.gifbin625 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/11_ejb_obj.gifbin582 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/11_ejbjar_obj.gifbin1039 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/12_ear_obj.gifbin1045 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/13_ear_obj.gifbin1044 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/20_cmpbean_obj.gifbin632 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/20_ejb_obj.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/20_ejbjar_obj.gifbin1044 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/AccessIntent.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ApplClientJar.gifbin604 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/AssemblyDescriptor.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/AssemblyDescriptorCreateMethodPermission.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/AuthenticationMechanism.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/BeanCache.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/BeanInstall.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/BeanInternationalization.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/BeanStructure.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/CMPAttribute.gifbin213 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/CMPAttributeCreateContainerManagedEntity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/CMPAttributeold.gifbin364 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/CMPKeyAttribute.gifbin603 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ConfigProperty.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/Connector.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ConnectorCreateLicense.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ConnectorCreateResourceAdapter.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ContainerActivitySession.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ContainerManagedEntity.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ContainerManagedEntityCreateEntity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ContainerManagedEntityExtension.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ContainerManagedEntityExtensionCreateEjbRelationshipRole.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ContainerManagedEntityno.gifbin407 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/Copy of CreateChild.gifbin161 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/CreateChild.gifbin161 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EAR.gifbin600 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EJBJar.gifbin1021 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EJBJarCreateContainerManagedEntity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EJBJarCreateEntity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EJBJarExtension.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EJBJarExtensionCreateEjbGeneralization.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EJBMethodCategory.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EjbGeneralization.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EjbKeyRelationshipRole.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EjbModelFile.gifbin178 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EjbModule.gifbin1021 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EjbModuleExtension.gifbin1019 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EjbRelationship.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EjbRelationshipRole.gifbin552 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EjbextModelFile.gifbin178 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EjbqlFinderDescriptor.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EnterpriseBean.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EnterpriseBeanCreateContainerManagedEntity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EnterpriseBeanCreateEntity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EnterpriseBeanExtension.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EnterpriseBeanExtensionCreateReadOnlyAttributes.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/Entity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EntityCreateContainerManagedEntity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EntityEJB.gifbin345 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EntityExtension.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/EntityExtensionCreateReadOnlyAttributes.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/FinderDescriptor.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/FullSelectFinderDescriptor.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/Identity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/JavaClientModule.gifbin601 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/JavaClientModuleExtension.gifbin601 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/License.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/LocalTran.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/MethodElement.gifbin374 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/MethodPermission.gifbin589 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/MethodPermissionCreateMethodElement.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/MethodSessionAttribute.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/MethodTransaction.gifbin356 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/MethodTransactionCreateMethodElement.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/PersistenceSecurityIdentity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ReadOnlyAttributes.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ResourceAdapter.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ResourceAdapterCreateAuthenticationMechanism.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ResourceAdapterCreateConfigProperty.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ResourceAdapterCreateSecurityPermission.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/RunAsMode.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/RunAsSpecifiedIdentity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/SecurityIdentity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/SecurityPermission.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/Session.gifbin583 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/SessionCreateContainerManagedEntity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/SessionCreateEntity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/SessionExtension.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/SessionExtensionCreateReadOnlyAttributes.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/UseCallerIdentity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/UseSystemIdentity.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/UserFinderDescriptor.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/WAR.gifbin1014 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/WebModule.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/WebModuleExtension.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/WhereClauseFinderDescriptor.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/access_intent_obj.gifbin310 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/access_intent_read_obj.gifbin337 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/access_intent_update_obj.gifbin327 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/appClientExt_obj.gifbin381 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/assemblyDescriptor_obj.gifbin365 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/attributeKey_obj.gifbin376 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/attribute_obj.gifbin166 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/bmp.gifbin311 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/bmpEntity_obj.gifbin586 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/cmp.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/cmpEntity_obj.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/cmpField_obj.gifbin570 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/deaccsintent_ovr.gifbin80 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/earBinding_obj.gifbin1044 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/earExtension_obj.gifbin583 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/earFile_obj.gifbin592 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ejb16.gifbin1021 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ejb16old.GIFbin169 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ejbBinding_obj.gifbin1043 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ejbExtension_obj.gifbin543 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ejbJar_obj.gifbin1021 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/ejbRef_obj.gifbin555 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/entitybean_obj.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/entitybean_wiz.gifbin614 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/error_co.gifbin82 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/field.gifbin605 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/finder_descriptor_obj.gifbin609 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/foreignKey_obj.gifbin192 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/frnkeyrelnshp_ovr.gifbin79 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/clcl16/Field_ejb.gifbin605 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/clcl16/ShowBaseTypes_ejb.gifbin200 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/clcl16/ShowGenTypes_ejb.gifbin328 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/clcl16/Types_ejb.gifbin579 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/CreateResourceRefBinding_defaultAuth_BasicAuthData.gifbin161 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/CreateRunAsSpecifiedIdentity_identity_Identity.gifbin161 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/appclient_export_wiz.gifbin356 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/appclient_import_wiz.gifbin358 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/createEJB_RDB.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/createRDB_EJB.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/ejb_rdbmapping_wiz.gifbin616 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/ejbclientjar_wiz.gifbin1044 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/ejbcomposer_wiz.gifbin596 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/export_ear_wiz.gifbin607 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/export_ejbjar_wiz.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/export_rar_wiz.gifbin346 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/export_war_wiz.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/generate_ddl.gifbin610 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/generate_rmic.gifbin606 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/import_ear_wiz.gifbin595 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/import_ejbjar_wiz.gifbin565 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/import_rar_wiz.gifbin347 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/import_war_wiz.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/new_appclientproject_wiz.gifbin606 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/newaccessbean_wiz.gifbin568 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/newappclient_wiz.gifbin364 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/newconnectionprj_wiz.gifbin585 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/newear_wiz.gifbin605 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/newejb_wiz.gifbin533 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/newejbex_wiz.gifbin591 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/newejbjar_wiz.gifbin628 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/newejbprj_wiz.gifbin587 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/newservlet_wiz.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/newwar_wiz.gifbin1039 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/re_execute.gifbin565 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ctool16/table_mapping_strategy_wiz.gifbin608 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/cview16/data_view.gifbin213 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/cview16/ear_ed_view.gifbin586 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/cview16/earext_ed_view.gifbin541 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/cview16/ejb_ed_view.gifbin311 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/cview16/ejb_rdbmapping_view.gifbin590 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/cview16/ejb_view.gifbin311 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/cview16/ejbext_ed_view.gifbin541 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/cview16/j2ee_perspective.gifbin345 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/cview16/j2ee_view.gifbin345 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/cview16/table_view.gifbin573 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dlcl16/Field_ejb.gifbin605 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dlcl16/ShowBaseTypes_ejb.gifbin97 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dlcl16/ShowGenTypes_ejb.gifbin140 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dlcl16/Types_ejb.gifbin359 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/appclient_export_wiz.gifbin224 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/appclient_import_wiz.gifbin222 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/createEJB_RDB.gifbin570 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/createRDB_EJB.gifbin356 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/ejb_rdbmapping_wiz.gifbin570 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/ejbclientjar_wiz.gifbin613 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/ejbcomposer_wiz.gifbin359 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/export_ear_wiz.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/export_ejbjar_wiz.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/export_rar_wiz.gifbin231 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/export_war_wiz.gifbin561 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/generate_ddl.gifbin366 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/generate_rmic.gifbin367 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/import_ear_wiz.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/import_ejbjar_wiz.gifbin345 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/import_rar_wiz.gifbin229 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/import_war_wiz.gifbin561 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/new_appclientproject_wiz.gifbin373 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/newaccessbean_wiz.gifbin351 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/newappclient_wiz.gifbin238 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/newconnectionprj_wiz.gifbin367 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/newear_wiz.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/newejb_wiz.gifbin325 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/newejbex_wiz.gifbin364 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/newejbjar_wiz.gifbin601 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/newejbprj_wiz.gifbin568 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/newservlet_wiz.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/newwar_wiz.gifbin612 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/re_execute.gifbin565 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/dtool16/table_mapping_strategy_wiz.gifbin376 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/elcl16/Field_ejb.gifbin605 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/elcl16/ShowBaseTypes_ejb.gifbin200 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/elcl16/ShowGenTypes_ejb.gifbin328 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/elcl16/Types_ejb.gifbin579 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/appclient_export_wiz.gifbin356 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/appclient_import_wiz.gifbin358 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/createEJB_RDB.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/createRDB_EJB.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/ejb_rdbmapping_wiz.gifbin616 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/ejbclientjar_wiz.gifbin1044 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/ejbcomposer_wiz.gifbin596 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/export_ear_wiz.gifbin607 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/export_ejbjar_wiz.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/export_rar_wiz.gifbin346 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/export_war_wiz.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/generate_ddl.gifbin610 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/generate_rmic.gifbin606 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/import_ear_wiz.gifbin595 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/import_ejbjar_wiz.gifbin565 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/import_rar_wiz.gifbin347 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/import_war_wiz.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/new_appclientproject_wiz.gifbin606 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/newaccessbean_wiz.gifbin568 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/newappclient_wiz.gifbin364 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/newconnectionprj_wiz.gifbin585 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/newear_wiz.gifbin605 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/newejb_wiz.gifbin533 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/newejbex_wiz.gifbin591 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/newejbjar_wiz.gifbin628 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/newejbprj_wiz.gifbin587 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/newservlet_wiz.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/newwar_wiz.gifbin1039 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/re_execute.gifbin565 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/etool16/table_mapping_strategy_wiz.gifbin608 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/eview16/data_view.gifbin213 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/eview16/ear_ed_view.gifbin586 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/eview16/earext_ed_view.gifbin541 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/eview16/ejb_ed_view.gifbin311 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/eview16/ejb_rdbmapping_view.gifbin590 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/eview16/ejb_view.gifbin311 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/eview16/ejbext_ed_view.gifbin541 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/eview16/j2ee_perspective.gifbin345 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/eview16/j2ee_view.gifbin345 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/eview16/table_view.gifbin573 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/EJBDataTransformer.gifbin592 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/ForwardFlattenedFKComposer.gifbin598 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/InheritedPrimaryTableStrategy.gifbin612 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/PrimaryTableStrategy.gifbin1021 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/RDBMemberType.gifbin210 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/arraytype_obj.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/class.gifbin586 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/datatype_obj.gifbin625 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/error_co.gifbin82 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/folder.gifbin216 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/form_banner.gifbin5600 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/home_nav.gifbin583 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/interface.gifbin576 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/jcu_obj.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/showerr_tsk.gifbin167 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/showwarn_tsk.gifbin338 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/warn_tsk.gifbin597 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/extra/warning_co.gifbin173 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/11_cmpbean_obj.gifbin625 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/11_ejb_obj.gifbin582 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/11_ejbjar_obj.gifbin1039 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/12_ear_deploy.gifbin633 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/12_ear_obj.gifbin1045 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/13_ear_deploy.gifbin632 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/13_ear_obj.gifbin1044 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/14_ear_obj.gifbin632 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/20_cmpbean_obj.gifbin632 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/20_ejb_obj.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/20_ejbjar_obj.gifbin1044 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/21_cmpbean_obj.gifbin628 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/21_ejb_obj.gifbin1041 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/21_ejbjar_wiz.gifbin631 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/AbstractAuthData.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/BasicAuthData.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/CompatibilityDescriptionGroup.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/EJBLocalRef.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/EjbRef.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/EjbRefBinding.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/EnvEntry.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/Identity.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ResourceEnvRef.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ResourceEnvRefBinding.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ResourceRef.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ResourceRefBinding.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/RunAsSpecifiedIdentity.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/SOAPHeader.gifbin171 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/SecurityIdentity.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/SecurityRole.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/SecurityRoleRef.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/UseCallerIdentity.gifbin138 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/access_intent_obj.gifbin310 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/access_intent_read_obj.gifbin337 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/access_intent_update_obj.gifbin327 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/accessbean_obj.gifbin555 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/annotation_positioned_overlay.gifbin83 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/appClientExt_obj.gifbin381 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/appclient_12.gifbin604 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/appclient_12_deploy.gifbin628 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/appclient_13.gifbin603 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/appclient_13_deploy.gifbin627 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/appclient_14.gifbin590 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/appclient_14_deploy.gifbin615 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/appclientgroup_deploy.gifbin607 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/appclientgroup_obj.gifbin578 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/applclientJAR_obj.GIFbin604 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/assemblyDescriptor_obj.gifbin365 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/attributeKey_obj.gifbin376 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/attribute_obj.gifbin166 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/auth_data_obj.gifbin608 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/auth_mechanism_obj.gifbin342 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/auth_table_obj.gifbin610 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/bmpEntity_obj.gifbin586 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/cmpEntity_obj.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/cmpField_dec.gifbin570 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/cmpField_obj.gifbin570 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/collaccess_obj.gifbin354 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/collincrement_obj.gifbin357 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/config_prop_obj.gifbin606 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/connection_obj.gifbin200 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/connector_module.gifbin562 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/connectorgroup_obj.gifbin355 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/copyhelper_ovr.gifbin276 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/create_child.gifbin560 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/dataclass_ovr.gifbin190 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/db_obj.gifbin213 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/dbgroup_obj.gifbin360 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/earBinding_obj.gifbin1044 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/earExtension_obj.gifbin583 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/earFile_obj.gifbin592 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/eargroup_deploy.gifbin1025 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/eargroup_obj.gifbin596 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejbBinding_obj.gifbin1043 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejbExtension_obj.gifbin543 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejbJar_obj.gifbin1021 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejbRef_obj.gifbin555 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejb_container_obj.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejb_local_ref_obj.gifbin572 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejb_rdbmapping_obj.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejb_reference.gifbin555 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejbclientjar_obj.gifbin1023 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejbclientutil_obj.gifbin619 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejbgroup_deploy.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejbgroup_obj.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/ejbql_obj.gifbin1016 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/environment_entity.gifbin206 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/envvar_obj.gifbin206 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/extwebserviceitemprovider_obj.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/finder_descriptor_obj.gifbin609 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/foreignKey_obj.gifbin192 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/form_banner.gifbin5600 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/group_obj.gifbin598 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/homeInt_dec.gifbin204 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/home_interface_positioned_overlay.gifbin122 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/inhrelejb_obj.gifbin217 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/isolation_level_obj.gifbin318 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/isolation_level_readcom_obj.gifbin211 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/isolation_level_readuncom_obj.gifbin324 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/isolation_level_repread_obj.gifbin332 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/isolation_level_serializ_obj.gifbin360 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/jarproject_deploy.gifbin622 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/javabean_obj.gifbin612 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/keyInt_dec.gifbin324 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/license_obj.gifbin579 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/listener.gifbin530 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/local_home_interface_positioned_overlay.gifbin125 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/local_interface_positioned_overlay.gifbin77 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/manyRight_dec.gifbin185 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/message_bean_obj.gifbin577 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/methElement_obj.gifbin374 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/methPermission_obj.gifbin589 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/methTransaction_obj.gifbin356 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/methods_obj.gifbin378 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/module_clientapp_obj.gifbin586 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/module_ejb_obj.gifbin585 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/module_group.gifbin579 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/module_web_obj.gifbin587 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/msgdrivendestination_obj.gifbin348 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/opt_read.gifbin360 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/opt_update.gifbin568 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/parameter_obj.gifbin333 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/pess_read.gifbin363 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/pess_update.gifbin571 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/primaryKey_active_obj.gifbin343 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/primaryKey_inactive_obj.gifbin228 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/prjutiljar_missing_obj.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/prjutiljar_obj.gifbin603 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/qname.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/query_method_obj.gifbin373 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/readaheadhint_obj.gifbin336 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/relationship_role_obj.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/remInt_dec.gifbin204 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/remote_interface_positioned_overlay.gifbin91 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/res_env_ref_obj.gifbin346 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/resourceRef_obj.gifbin365 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/resource_adapter_obj.gifbin371 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/resource_reference.gifbin365 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/roleKey_obj.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/role_obj.gifbin310 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/run_binding_obj.gifbin604 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/run_map_obj.gifbin317 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/secur_role_ref_obj.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/security_identity_obj.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/security_permission_obj.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/security_role.gifbin562 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/security_role_obj.gifbin562 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/security_role_reference.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/securityrole_obj.gifbin564 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/securityrolebinding_obj.gifbin644 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/serverPaused_obj.gifbin598 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/service_interface_positioned_overlay.gifbin77 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/sessionBean_obj.gifbin583 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/session_scope.gifbin340 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/showwarn_tsk.gifbin338 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/sql_query_obj.gifbin1021 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/timout_scope.gifbin568 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/transaction_scope.gifbin196 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/undefinedRight_dec.gifbin169 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/user_obj.gifbin310 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/utiljar_obj.gifbin579 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/warBinding_obj.gifbin1048 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/warExtension_obj.gifbin576 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/warFile_obj.gifbin1013 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/webServiceItemProvider_obj.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/webServicesFolder_obj.gifbin604 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/web_library_project_obj.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/webapp_deploy.gifbin364 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/webgroup_deploy.gifbin601 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/obj16/webgroup_obj.gifbin573 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/1_0_ovr.gifbin80 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/1_1_ovr.gifbin79 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/1_2_ovr.gifbin81 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/1_3_ovr.gifbin80 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/1_4_ovr.gifbin80 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/1_5_ovr.gifbin79 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/2_0_ovr.gifbin82 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/2_1_ovr.gifbin82 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/2_2_ovr.gifbin82 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/2_3_ovr.gifbin81 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/2_4_ovr.gifbin82 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/caller_ovr.gifbin86 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/client_app_ovr.gifbin166 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/connector_ovr.gifbin166 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/database_ovr.gifbin272 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/ejb_module_ovr.gifbin167 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/ejbql_ovr.gifbin174 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/enterprise_app_ovr.gifbin112 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/fullselect_ovr.gifbin166 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/home_interf_ov.gifbin64 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/key_interf_ov.gifbin81 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/local_home_ovr.gifbin108 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/local_ovr.gifbin64 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/optimistic_ovr.gifbin114 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/remote_interf_ov.gifbin77 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/securityrole_ovr.gifbin117 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/server_config_ovr.gifbin166 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/server_inst_ovr.gifbin113 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/server_ovr.gifbin162 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/user_ovr.gifbin169 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/web_module_ovr.gifbin273 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/ovr16/whereclause_ovr.GIFbin112 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/pal24/1x_cmpbean_palette_obj.gifbin1251 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/pal24/2x_cmpbean_palette_obj.gifbin1239 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/pal24/bmpEntity_palette_obj.gifbin1184 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/pal24/ejb_rdbmapping_palette_obj.gifbin1219 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/pal24/ejb_reference_palette_obj.gifbin1105 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/pal24/inherelejb_palette_obj.gifbin422 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/pal24/message_bean_palette_obj.gifbin1186 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/pal24/relationship_role_palette_obj.gifbin1250 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/pal24/sessionBean_palette_obj.gifbin1262 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/11_cmpbean_wiz.gifbin3214 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/11_ejb_wiz.gifbin3496 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/11_ejbjar_wiz.gifbin3692 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/12_ear_wiz.gifbin3484 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/13_ear_wiz.gifbin3464 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/20_cmpbean_wiz.gifbin3210 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/20_ejb_wiz.gifbin3437 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/20_ejbjar_wiz.gifbin3554 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/Serviceref_wiz.gifbin3466 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/access_intent_wiz.gifbin3029 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/accessbean_wiz.gifbin3491 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/add_mess_dest_wiz_ban.gifbin2812 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/appclient_export_wiz.gifbin2962 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/appclient_import_wiz.gifbin3039 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/appclient_wiz.gifbin2929 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/attribute_wiz.gifbin3291 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/beanselection_wiz.gifbin3583 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/bmp_bean_wiz.gifbin3340 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/cmp_bean_wiz.gifbin3626 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/del_clientview_wiz.gifbin3292 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ear_wiz.gifbin3204 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/earimport_wiz.gifbin3343 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/earpub_wiz.gifbin3181 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejb_module_wiz.gifbin3496 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejb_ref_wiz.gifbin3216 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejb_utility_wiz.gifbin3150 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejb_wiz.gifbin3113 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejbbinding_wiz.gifbin3156 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejbclientjar_wizban.gifbin3415 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejbcomposerbanner_wiz.gifbin3708 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejbexample_wiz.gifbin3181 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejbexport_wiz.gifbin3452 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejbimport_wiz.gifbin3533 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejbjar_wiz.gifbin3461 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejbproject_wiz.gifbin3091 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejbql_wiz.gifbin3662 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/ejbrdbmapping_wiz.gifbin3527 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/env_ref_wiz.gifbin3383 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/env_variable_wiz.gifbin3418 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/export_appclient_wiz.gifbin2937 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/export_ear_wiz.gifbin3142 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/export_ejbjar_obj.gifbin3502 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/export_rar_wiz.gifbin3374 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/export_war_wiz.gifbin3533 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/import_appclient_wiz.gifbin3011 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/import_class_file_wiz_ban.gifbin3303 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/import_ear_wiz.gifbin3357 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/import_ejbjar_wiz.gifbin3509 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/import_rar_wiz.gifbin3520 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/import_war_wiz.gifbin3598 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/inheritance_hierarchy_wiz.gifbin2627 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/isolationlevel_wiz.gifbin2995 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/javaprj_to_ear_wiz.gifbin3565 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/javavisualeditor_wiz.gifbin3259 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/local_ejb_ref_wiz.gifbin3360 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/message_bean_wiz.gifbin3109 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/messdestref_wiz.gifbin2738 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/method_permission_wiz.gifbin3737 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/method_transaction_wiz.gifbin3294 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/new_appclientproject_wiz.gifbin2974 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/new_clientview_wiz.gifbin3163 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newaccessbean_wiz.gifbin3439 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newappclientprj_wiz.gifbin2993 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newconnectionprj_wiz.gifbin2982 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newear_wiz.gifbin3255 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newejb_wiz.gifbin3146 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newejbex_wiz.gifbin3478 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newejbjar_wiz.gifbin3476 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newejbprj_wiz.gifbin3144 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newfilter_wiz.gifbin3193 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newlistener_wiz.gifbin2992 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newservlet_wiz.gifbin3180 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newwar_wiz.gifbin3526 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newwebex_wiz.gifbin3380 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/newwprj_wiz.gifbin3151 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/preload_relationship_wiz.gifbin3307 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/regenabn_wiz.gifbin3647 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/relationship_role_wiz.gifbin3261 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/replace_role_wiz.gifbin3851 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/resource_ref_wiz.gifbin2890 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/secur_role_ref_wiz.gifbin3280 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/secur_role_wiz.gifbin3153 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/security_identity_wiz.gifbin3452 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/selectbean_wiz.gifbin3672 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/session_bean_wiz.gifbin3629 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/sql_query_wiz.gifbin3632 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/tablemappingstrategy_wiz.gifbin3003 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/user_wiz.gifbin2760 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/usergroup_wiz.gifbin3636 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/war_wiz.gifbin3449 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/warexport_wiz.gifbin3574 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/full/wizban/warimport_wiz.gifbin3644 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/getstart_a.GIFbin173 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/initializ_parameter.gifbin144 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/isolation_level_readcom_obj.gifbin211 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/isolation_level_readuncom_obj.gifbin324 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/isolation_level_repread_obj.gifbin332 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/isolation_level_serializ_obj.gifbin360 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/jar_nonexist_obj.gifbin335 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/jar_obj.gifbin579 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/java_prop.gifbin351 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/key.gifbin324 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/message_bean_obj.gifbin577 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/methElement_obj.gifbin374 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/methPermission_obj.gifbin589 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/methTransaction_obj.gifbin356 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/msgdrivenbean_wiz.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/newjprj_wiz.gifbin347 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/obj16/componentscopedref.gifbin576 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/obj16/handler.gifbin622 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/obj16/localencodingmapping_obj.gifbin565 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/obj16/messdestref_obj.gifbin606 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/obj16/portcomponent.gifbin221 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/obj16/qname.gifbin129 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/obj16/serviceref.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/obj16/serviceref_obj.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/obj16/webservicedesc.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/primaryKey_active_obj.gifbin343 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/primaryKey_inactive_obj.gifbin228 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/rdaheadhint_obj.gifbin336 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/resourceRef_obj.gifbin365 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/role.gifbin185 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/roleKey_obj.gifbin563 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/role_obj.gifbin310 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/roleid_obj.gifbin547 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/serverPaused_obj.gifbin598 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/sessionBean_obj.gifbin583 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/sessionbean_wiz.gifbin606 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/warBinding_obj.gifbin1048 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/warExtension_obj.gifbin576 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/warFile_obj.gifbin1014 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/warn_tsk.gifbin597 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/warning_co.gifbin173 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/web_application.gifbin996 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/ArrowDown.gifbin826 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/ArrowUp.gifbin826 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/add_column.gifbin193 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/connection.gifbin200 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/convertlinks_wiz.gifbin230 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/default.gifbin359 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/exportftp_wiz.gifbin108 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/exportwar_wiz.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/importftp_wiz.gifbin106 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/importhttp_wiz.gifbin570 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/importwar_wiz.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/method.gifbin577 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/methodreturn.gifbin350 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/newwebex_wiz.gifbin609 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/newwebprj_wiz.gifbin607 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/warFile_obj.gifbin1014 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/web_application.gifbin608 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/ctool16/web_ovr.gifbin276 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/linksview16/mailto_view.gifbin335 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/obj16/ascii.gifbin577 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/obj16/binary.gifbin616 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/obj16/environment_entity.gifbin206 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/obj16/java_properties.gifbin351 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/obj16/method_return.gifbin351 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/obj16/projlib_obj.gifbin608 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/obj16/servlet.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/sample16/folder.gifbin216 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/thumbnail16/defaultFile.gifbin577 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/thumbnail16/defaultFolder.gifbin216 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/view16/colourpal_view.gifbin252 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/view16/gallery_view.gifbin625 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/view16/links_view.gifbin218 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/view16/sample.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/view16/thumbnail_view.gifbin609 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/wizban/ftpimport_wiz.gifbin2568 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/wizban/ftppub_wiz.gifbin2535 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/wizban/httpimport_wiz.gifbin3160 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/wizban/newwebex_wiz.gifbin3380 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/wizban/newwprj_wiz.gifbin3151 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/wizban/warexport_wiz.gifbin3574 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webtoolsicons/full/wizban/warimport_wiz.gifbin3644 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/11_ejb_obj.gifbin582 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/11_ejbjar_obj.gifbin1039 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/20_ejb_obj.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/20_ejbjar_obj.gifbin1044 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/ServletCreateInitParam.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/WebAppCreateContextParam.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/WebResourceCollectionCreateURLPatternType.gifbin300 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/authority_constraint.gifbin587 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/create_child.gifbin560 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/error_page.gifbin624 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/errorcode_errorpage.gifbin624 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/exception_type_errorpage.gifbin205 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/filter.gifbin546 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/filter_mapping.gifbin215 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/form_login_config.gifbin613 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/full/wizban/newservlet_wiz.gifbin3180 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/http_type.gifbin180 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/initializ_parameter.gifbin337 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/initializ_parameter_context.gifbin337 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/jsp_library_reference.gifbin614 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/jsp_type.gifbin600 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/listener.gifbin530 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/mime_mapping.gifbin578 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/newservlet_wiz.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/security_constraint.gifbin251 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/security_role_nametype.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/servlet.gifbin588 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/servlet_mapping.gifbin582 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/servlet_type.gifbin587 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/session_config.gifbin369 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/url_type.gifbin180 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/user_data_constraint.gifbin572 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/web_application.gifbin996 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/web_resource_collection.gifbin615 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/web_type.gifbin996 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/webapp_12.gifbin604 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/webapp_13.gifbin603 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/welcome_file.gifbin569 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/webuiIcons/welcome_list.gifbin609 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/icons/xml_image.gifbin357 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/componentcore/EnterpriseArtifactEdit.java225
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/delete/ClasspathDeleteInfo.java76
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/delete/DeleteModuleDependencyOperation.java242
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/delete/DeleteModuleOperation.java269
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/delete/DeleteOptions.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/delete/J2EEDeleteResourceListener.java103
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/IConnectorNatureConstants.java50
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/IEJBNatureConstants.java43
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/IJ2EEProjectTypes.java23
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/IWebNatureConstants.java100
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/J2EEComponentUtilities.java67
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/J2EECreationResourceHandler.java63
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/J2EEJavaProjectInfo.java481
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/J2EEModuleNature.java304
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/J2EEModuleWorkbenchURIConverterImpl.java301
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/J2EENature.java491
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/J2EEProjectUtilities.java581
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/J2EEResourceDependencyRegister.java56
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/J2EESettings.java397
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/J2EEWorkbenchURIConverterImpl.java187
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/ManifestFileCreationAction.java41
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/ProjectSupportResourceHandler.java65
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/WTPJETEmitter.java536
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/ZipFileEntryInputStream.java45
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/test.jpage0
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/EJBReferenceCreationOperation.java316
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/EJBReferenceDataModel.java617
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/MessageDestReferenceCreationOperation.java144
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/MessageDestReferenceDataModel.java269
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/PortComponentReferenceCreationOperation.java65
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/PortComponentReferenceDataModel.java84
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/ReferenceDataModel.java425
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/ResourceEnvironmentReferenceCreationOperation.java78
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/ResourceEnvironmentReferenceDataModel.java62
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/ResourceReferenceCreationOperation.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/ResourceReferenceDataModel.java77
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/ServiceReferenceCreationOperation.java252
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/reference/ServiceReferenceDataModel.java322
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/rename/ClasspathRenameInfo.java76
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/rename/RenameModuleDependencyOperation.java267
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/rename/RenameModuleOperation.java273
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/rename/RenameOptions.java165
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/rename/RenameUtilityJarMetadataOperation.java86
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/rename/UpdateWebContextRootMetadataOperation.java89
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/IServerTargetConstants.java41
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/ITargetRuntimeExtensionHandler.java29
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/J2EEProjectServerTargetDataModel.java199
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/J2EEProjectServerTargetDataModelProvider.java282
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/J2EEProjectServerTargetOp.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/J2EEProjectServerTargetOperation.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/ServerTargetDataModel.java328
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/ServerTargetHelper.java486
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/ServerTargetOperation.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/SyncEARServerTargetDataModel.java39
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/SyncEARServerTargetOperation.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/TargetRuntimeExtension.java62
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/TargetRuntimeExtensionHandlerReader.java143
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/project/datamodel/properties/IFlexibleJavaProjectCreationDataModelProperties.java53
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/project/datamodel/properties/IJ2EEProjectServerTargetDataModelProperties.java40
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/DelegateConfigurationElement.java195
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/IBackendManager.java30
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/J2EEEditModel.java188
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/J2EEModulePostImportHandler.java31
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/J2EEModulePostImportHelper.java159
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/ResourceTypeReaderHelper.java174
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deploy/DeployerRegistry.java180
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deploy/DeployerRegistryReader.java99
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deploy/FatalDeployerException.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deploy/J2EEDeployHelper.java175
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deploy/J2EEDeployOperation.java173
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deploy/J2EEDeployer.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/ApplicationClientDeployable.java60
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/ApplicationClientDeployableFactory.java131
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/EnterpriseApplicationDeployable.java135
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/EnterpriseApplicationDeployableAdapterUtil.java224
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/EnterpriseApplicationDeployableFactory.java126
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/EnterpriseApplicationDeployableOLD.java441
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/EnterpriseDeployableArtifactAdapterFactory.java28
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/EnterpriseModuleArtifact.java33
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/FlexibleProjectServerUtil.java103
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/J2EEDeployable.java123
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/J2EEDeployableAdapterFactory.java40
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/J2EEDeployableFactory.java174
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/J2EEFlexProjDeployable.java122
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/JavaComponentBuilderDataModelProvider.java25
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/JavaComponentBuilderOperation.java210
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/LooseArchiveDeployable.java116
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/LooseArchiveDeployableFactory.java78
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/plugin/IJ2EEModuleConstants.java13
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/plugin/IJ2EEPreferences.java23
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/plugin/J2EEGroupInitializer.java47
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/plugin/J2EEPlugin.java563
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/plugin/J2EEPluginResourceHandler.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/plugin/J2EEPreferences.java189
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/plugin/LibCopyBuilder.java506
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/plugin/MinimizeLib.java242
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/AWorkbenchMOFHelper.java92
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/ApplicationClientHelper.java79
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/DependencyUtil.java242
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/EarHelper.java98
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/J2EEValidationHelper.java105
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/ManifestLineValidator.java103
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/ResourceUtil.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/UIApplicationClientHelper.java27
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/UIApplicationClientMessageConstants.java25
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/UIApplicationClientValidator.java123
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/UIEarHelper.java27
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/UIEarMessageConstants.java49
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/UIEarValidator.java803
-rw-r--r--plugins/org.eclipse.jst.j2ee/plugin.properties17
-rw-r--r--plugins/org.eclipse.jst.j2ee/plugin.xml630
-rw-r--r--plugins/org.eclipse.jst.j2ee/prepareAllPII.xml192
-rw-r--r--plugins/org.eclipse.jst.j2ee/prepareforpii.xml38
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/appclientarchiveops.properties25
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/appclientcreation.properties14
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/applicationclientvalidation.properties65
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/applicationproviders.properties98
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/basecodegen.properties13
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/commonedit.properties401
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/eararchiveops.properties35
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/earcreation.properties65
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/earvalidation.properties140
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/ejbarchiveops.properties38
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/erefvalidation.properties70
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/j2ee_common.properties38
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/j2eecreation.properties142
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/j2eewtpplugin.properties55
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/javacodegen.properties26
-rw-r--r--plugins/org.eclipse.jst.j2ee/property_files/projectsupport.properties39
-rw-r--r--plugins/org.eclipse.jst.j2ee/pushforpii.xml267
-rw-r--r--plugins/org.eclipse.jst.j2ee/readme.html16
-rw-r--r--plugins/org.eclipse.jst.j2ee/rose/moduleMap.genmodel25
-rw-r--r--plugins/org.eclipse.jst.j2ee/rose/moduleMap.mdl7323
-rw-r--r--plugins/org.eclipse.jst.j2ee/rose/modulemap.ecore19
-rw-r--r--plugins/org.eclipse.jst.j2ee/schema/DeployerExtension.exsd142
-rw-r--r--plugins/org.eclipse.jst.j2ee/schema/EARModuleExtension.exsd99
-rw-r--r--plugins/org.eclipse.jst.j2ee/schema/EJBCommandExtension.exsd114
-rw-r--r--plugins/org.eclipse.jst.j2ee/schema/ExtendedModuleImport.exsd106
-rw-r--r--plugins/org.eclipse.jst.j2ee/schema/GeneratorDictionaryExtension.exsd108
-rw-r--r--plugins/org.eclipse.jst.j2ee/schema/J2EEModulePostImport.exsd117
-rw-r--r--plugins/org.eclipse.jst.j2ee/schema/TargetRuntimeExtension.exsd126
-rw-r--r--plugins/org.eclipse.jst.j2ee/schema/WSDLServiceHelper.exsd99
-rw-r--r--plugins/org.eclipse.jst.j2ee/schema/WebServiceClientGenerator.exsd114
-rw-r--r--plugins/org.eclipse.jst.j2ee/schema/resourceEnvRefType.exsd129
-rw-r--r--plugins/org.eclipse.jst.j2ee/schema/resourceRefType.exsd128
-rw-r--r--plugins/org.eclipse.jst.j2ee/smoke/construction3.gifbin281 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/smoke/detour.gifbin386 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/smoke/ejbrdb_smoke.html787
-rw-r--r--plugins/org.eclipse.jst.j2ee/smoke/slippery.gifbin1493 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.j2ee/smoke/smoke.html202
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/.classpath8
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/.cvsignore4
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/.project29
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/META-INF/MANIFEST.MF32
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/build.properties10
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/icons/full/ctool16/exportwar_wiz.gifbin581 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.servlet.ui/icons/full/ctool16/importwar_wiz.gifbin580 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.servlet.ui/icons/full/ctool16/newservlet_wiz.gifbin599 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.servlet.ui/icons/full/ctool16/newwar_wiz.gifbin1039 -> 0 bytes-rw-r--r--plugins/org.eclipse.jst.servlet.ui/plugin.properties34
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/plugin.xml313
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/property_files/web_ui.properties96
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/IWebUIContextIds.java22
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/actions/ConvertToWebModuleTypeAction.java124
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/actions/NewWebComponentAction.java47
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/classpath/WebAppContainerPage.java171
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/plugin/ServletUIPlugin.java47
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/plugin/WEBUIMessages.java65
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/AddServletWizard.java106
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/AddServletWizardPage.java122
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/ConvertToWebComponentTypeWizard.java70
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/ConvertToWebComponentTypeWizardPage.java42
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/IWebWizardConstants.java88
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/MultiSelectFilteredFileSelectionDialog.java663
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/NewServletClassOptionsWizardPage.java125
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/NewWebWizard.java62
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/WARExportPage.java78
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/WARImportPageNew.java63
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/WebComponentCreationWizard.java93
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/WebComponentCreationWizardPage.java90
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/WebModuleExportWizard.java77
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/internal/wizard/WebModuleImportWizardNew.java91
-rw-r--r--plugins/org.eclipse.wst.web.ui/.classpath7
-rw-r--r--plugins/org.eclipse.wst.web.ui/.cvsignore4
-rw-r--r--plugins/org.eclipse.wst.web.ui/.project28
-rw-r--r--plugins/org.eclipse.wst.web.ui/META-INF/MANIFEST.MF19
-rw-r--r--plugins/org.eclipse.wst.web.ui/build.properties10
-rw-r--r--plugins/org.eclipse.wst.web.ui/icons/full/ctool16/newwebprj_wiz.gifbin607 -> 0 bytes-rw-r--r--plugins/org.eclipse.wst.web.ui/icons/full/obj16/web_application.gifbin996 -> 0 bytes-rw-r--r--plugins/org.eclipse.wst.web.ui/icons/full/ovr16/web_module_ovr.gifbin273 -> 0 bytes-rw-r--r--plugins/org.eclipse.wst.web.ui/icons/full/wizban/newwprj_wiz.gifbin3202 -> 0 bytes-rw-r--r--plugins/org.eclipse.wst.web.ui/plugin.properties14
-rw-r--r--plugins/org.eclipse.wst.web.ui/plugin.xml108
-rw-r--r--plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/WSTWebPreferences.java81
-rw-r--r--plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/WSTWebUIPlugin.java50
-rw-r--r--plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/SimpleContextRootComposite.java117
-rw-r--r--plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/SimpleWebModuleCreationWizard.java67
-rw-r--r--plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/SimpleWebModuleWizardBasePage.java87
-rw-r--r--plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/SimpleWebSettingsPropertiesPage.java271
-rw-r--r--plugins/org.eclipse.wst.web/.classpath8
-rw-r--r--plugins/org.eclipse.wst.web/.cvsignore4
-rw-r--r--plugins/org.eclipse.wst.web/.project28
-rw-r--r--plugins/org.eclipse.wst.web/META-INF/MANIFEST.MF25
-rw-r--r--plugins/org.eclipse.wst.web/build.properties13
-rw-r--r--plugins/org.eclipse.wst.web/component.xml1
-rw-r--r--plugins/org.eclipse.wst.web/icons/full/obj16/web_application.gifbin996 -> 0 bytes-rw-r--r--plugins/org.eclipse.wst.web/icons/full/obj16/webstatic_deploy.gifbin364 -> 0 bytes-rw-r--r--plugins/org.eclipse.wst.web/icons/full/wizban/newwprj_wiz.gifbin3202 -> 0 bytes-rw-r--r--plugins/org.eclipse.wst.web/plugin.properties4
-rw-r--r--plugins/org.eclipse.wst.web/plugin.xml74
-rw-r--r--plugins/org.eclipse.wst.web/property_files/staticwebproject.properties6
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/ISimpleWebModuleConstants.java17
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/ISimpleWebNatureConstants.java28
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/IStaticWebNatureConstants.java22
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/IStaticWebProjectConstants.java17
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/IWSTWebPreferences.java13
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/ResourceHandler.java38
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/SimpleWebNatureRuntimeUtilities.java114
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/WSTWebPlugin.java103
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/WSTWebPreferences.java81
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/WebPropertiesUtil.java106
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/deployables/IStaticWebModuleArtifact.java6
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/deployables/StaticWebDeployable.java119
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/deployables/StaticWebDeployableFactory.java113
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/deployables/StaticWebDeployableObjectAdapter.java26
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/deployables/StaticWebDeployableObjectAdapterUtil.java119
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/IBaseWebNature.java122
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/ILibModule.java21
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/ISimpleWebModuleCreationDataModelProperties.java17
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/IStaticWebNature.java20
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/LibModule.java70
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/SimpleWebModuleCreationDataModelProvider.java51
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/SimpleWebModuleCreationOperation.java58
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/StaticWebNatureRuntime.java651
-rw-r--r--plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/WebSettings.java609
3289 files changed, 0 insertions, 476882 deletions
diff --git a/plugins/org.eclipse.jem.beaninfo.ui/.project b/plugins/org.eclipse.jem.beaninfo.ui/.project
deleted file mode 100644
index 3898d5625..000000000
--- a/plugins/org.eclipse.jem.beaninfo.ui/.project
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jem.beaninfo.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
-
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.jem.beaninfo.ui/OBSOLETE-moved to org.eclipse.jem.ui b/plugins/org.eclipse.jem.beaninfo.ui/OBSOLETE-moved to org.eclipse.jem.ui
deleted file mode 100644
index e69de29bb..000000000
--- a/plugins/org.eclipse.jem.beaninfo.ui/OBSOLETE-moved to org.eclipse.jem.ui
+++ /dev/null
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/.classpath b/plugins/org.eclipse.jst.common.annotations.controller/.classpath
deleted file mode 100644
index 1f817e0fd..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="controller"/>
- <classpathentry kind="src" path="property_files"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/.cvsignore b/plugins/org.eclipse.jst.common.annotations.controller/.cvsignore
deleted file mode 100644
index 9910b2da3..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-temp.folder
-build.xml
-controller.jar
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/.project b/plugins/org.eclipse.jst.common.annotations.controller/.project
deleted file mode 100644
index 8cc7f2234..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.common.annotations.controller</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/META-INF/MANIFEST.MF b/plugins/org.eclipse.jst.common.annotations.controller/META-INF/MANIFEST.MF
deleted file mode 100644
index 2743e350f..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,19 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Annotation Controller Plug-in
-Bundle-SymbolicName: org.eclipse.jst.common.annotations.controller; singleton:=true
-Bundle-Version: 1.0.0
-Bundle-ClassPath: controller.jar
-Bundle-Vendor: Eclipse.org
-Bundle-Localization: plugin
-Export-Package: org.eclipse.jst.common.internal.annotations.controller,
- org.eclipse.jst.common.internal.annotations.registry
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.core.resources,
- org.eclipse.emf.ecore,
- org.eclipse.wst.common.frameworks,
- org.eclipse.jdt.core,
- org.eclipse.wst.common.emf,
- org.eclipse.jst.common.annotations.core,
- org.eclipse.jem.util,
- org.eclipse.jem.workbench
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/build.properties b/plugins/org.eclipse.jst.common.annotations.controller/build.properties
deleted file mode 100644
index 2ae4dd96a..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/build.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# Copyright (c) 2003, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = .template,\
- plugin.xml,\
- src/,\
- controller.jar,\
- schema/,\
- META-INF/
-src.includes = schema/
-source.controller.jar = controller/,\
- property_files/
-output.controller.jar = bin/
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/controller/AnnotationsController.java b/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/controller/AnnotationsController.java
deleted file mode 100644
index 31a30cd46..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/controller/AnnotationsController.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Mar 25, 2004
- */
-package org.eclipse.jst.common.internal.annotations.controller;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * Annotations Controller interface used for communicating with emitters and determining available
- * tag sets
- */
-public interface AnnotationsController {
-
- /**
- * Determines if a tag handler is installed for the specified tag
- *
- * @param tagset
- * the name of a tagset (e.g. "ejb")
- * @return true only if the given tagset is available and enabled
- */
- public boolean isTagHandlerInstalled(String tagset);
-
- /**
- * Disables annotation processing for the specified resource
- *
- * @param modelObject
- * The Annotated EMF Object
- * @param tagset
- * The name of the annotations tagset to disable on the object
- * @return an IStatus representing success or failure
- */
- public IStatus disableAnnotations(EObject modelObject, String tagset);
-
- /**
- * Returns the associated annotated file if the specified model object was generated via
- * annotations from a parent resource and is enabled
- *
- * @param modelObject
- * The Annotated EMF Object
- * @return the annotated source file associated with the given modelObject
- */
- public IFile getEnabledAnnotationFile(EObject modelObject);
-
- /**
- * Process the annotations on the given resource during creation
- *
- * @return all files touched by the annotations processing
- * @throws CoreException
- * if a problem occurs while processing
- */
- public IFile[] process(IResource res) throws CoreException;
-
- /**
- * Process the annotations on the given resource array
- *
- * @return all files touched by the annotations processing
- * @throws CoreException
- * if a problem occurs while processing
- */
- public IFile[] process(IResource[] res) throws CoreException;
-
- /**
- * Provides the annotation processor an opportunity to initialize
- */
- public void initialize(IProject project);
-
- /**
- * Provides the annotation processor an opportunity to dispose and cleanup
- */
- public void dispose();
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/controller/AnnotationsControllerHelper.java b/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/controller/AnnotationsControllerHelper.java
deleted file mode 100644
index cf6568522..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/controller/AnnotationsControllerHelper.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.internal.annotations.controller;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jem.util.logger.proxy.Logger;
-import org.eclipse.jem.workbench.utility.JemProjectUtilities;
-import org.eclipse.jst.common.internal.annotations.core.AnnotationsAdapter;
-
-/**
- * @author mdelder
- *
- */
-public class AnnotationsControllerHelper {
- private static final String ANNOTATION_BUILDER = "com.ibm.ws.rapiddeploy.annotations.core.AnnotationBuilder"; //$NON-NLS-1$
- public static final AnnotationsControllerHelper INSTANCE = new AnnotationsControllerHelper();
-
- protected AnnotationsControllerHelper() {
- super();
- }
-
- /**
- *
- * @param eObject
- * the annotated? model object
- * @return true only if the object has annotations
- */
- public boolean isAnnotated(EObject eObject) {
- return AnnotationsAdapter.getAnnotations(eObject, AnnotationsAdapter.GENERATED) != null;
- }
-
- /**
- * A convenience method to tag a model object as annotated
- *
- * @param eObject
- * @param value
- */
- public void setAnnotated(EObject eObject, String value) {
- AnnotationsAdapter.addAnnotations(eObject, AnnotationsAdapter.GENERATED, value);
- }
-
- /**
- * A convenience method to tag a model object as annotated Annotations Adapters can hold extra
- * information.
- *
- * @param eObject
- * @param name
- * A string key
- * @param value
- * A String value
- */
- public void addAnnotations(EObject eObject, String name, Object value) {
- AnnotationsAdapter.addAnnotations(eObject, name, value);
- }
-
- /**
- * A convenience method to tag a model object as annotated Annotations Adapters can hold extra
- * information.
- *
- * @param eObject
- * @param name
- * A string key
- * @param value
- * A String value
- */
- public Object getAnnotations(EObject eObject, String name) {
- return AnnotationsAdapter.getAnnotations(eObject, name);
- }
-
- /**
- * Acquires the generated annotation comment and parses the Fragment URL of the following form
- * to return the tagset name:
- *
- * com.acme.ejbs.MyEJB# <tagset>/ <fragment>. <fragment-pointer>
- *
- * @param eObject
- * The annotated object
- * @return the value of <tagset>in the URL example
- */
- public String getTagset(EObject eObject) {
-
- String generatedComment = (String) AnnotationsAdapter.getAnnotations(eObject, AnnotationsAdapter.GENERATED);
- if (generatedComment == null || generatedComment.length() == 0)
- return null;
- int poundit = generatedComment.indexOf('#');
- int slash = generatedComment.indexOf('/');
- if (poundit < 0 || slash < 0 || poundit >= slash)
- return null;
- return generatedComment.substring(poundit + 1, slash);
-
- }
-
- /**
- * Returns the CompilationUnit associated with the given model object
- *
- * @param eObject
- * an Annotated model Object
- * @return The compilation unit which was responsible for the generation of the model object
- */
- public ICompilationUnit getAnnotatedCU(EObject eObject) {
- String fragementString = (String) AnnotationsAdapter.getAnnotations(eObject, AnnotationsAdapter.GENERATED);
- if (fragementString == null)
- return null;
-
- String typeString = fragementString.substring(0, fragementString.indexOf('#'));
- IType itype;
-
- if (typeString != null && (itype = findType(typeString, eObject)) != null) {
- try {
- return itype.getCompilationUnit().getWorkingCopy(null);
- } catch (JavaModelException e) {
- Logger.getLogger().logError(e);
- }
- }
- return null;
- }
-
- protected IType findType(String type, EObject eObject) {
- IType result = null;
- IProject project = ProjectUtilities.getProject(eObject);
- IJavaProject javaProject = JemProjectUtilities.getJavaProject(project);
- if (javaProject != null)
- try {
- result = javaProject.findType(type);
- } catch (JavaModelException e) {
- Logger.getLogger().logError(e);
- }
- return result;
- }
-
- /**
- * Return true if <code>project</code> has annotation support enabled on it.
- *
- * @return
- */
- public boolean hasAnnotationSupport(IProject project) {
- return ProjectUtilities.hasBuilder(project, ANNOTATION_BUILDER);
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/controller/AnnotationsControllerManager.java b/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/controller/AnnotationsControllerManager.java
deleted file mode 100644
index 79a66a22f..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/controller/AnnotationsControllerManager.java
+++ /dev/null
@@ -1,206 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Mar 25, 2004
- */
-package org.eclipse.jst.common.internal.annotations.controller;
-
-import java.util.Iterator;
-import java.util.Map;
-import java.util.SortedSet;
-import java.util.TreeSet;
-import java.util.WeakHashMap;
-
-import org.eclipse.core.internal.runtime.Assert;
-import org.eclipse.core.resources.ICommand;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.jem.util.RegistryReader;
-import org.eclipse.jem.util.logger.proxy.Logger;
-import org.eclipse.jst.common.internal.annotations.registry.AnnotationsControllerResources;
-import org.eclipse.wst.common.frameworks.internal.enablement.EnablementIdentifier;
-import org.eclipse.wst.common.frameworks.internal.enablement.EnablementIdentifierEvent;
-import org.eclipse.wst.common.frameworks.internal.enablement.EnablementManager;
-import org.eclipse.wst.common.frameworks.internal.enablement.IEnablementIdentifier;
-import org.eclipse.wst.common.frameworks.internal.enablement.IEnablementIdentifierListener;
-import org.eclipse.wst.common.frameworks.internal.enablement.Identifiable;
-import org.eclipse.wst.common.frameworks.internal.enablement.IdentifiableComparator;
-
-
-/**
- * AnnotationsControllerRegistry for reading annotations controller extensions
- */
-public class AnnotationsControllerManager extends RegistryReader implements IEnablementIdentifierListener {
-
- public static final AnnotationsControllerManager INSTANCE = new AnnotationsControllerManager();
- public static final String ANNOTATION_BUILDER = "com.ibm.ws.rapiddeploy.annotations.core.AnnotationBuilder"; //$NON-NLS-1$
-
- static {
- INSTANCE.readRegistry();
- }
-
- private SortedSet descriptors;
-
- private Map annotationsControllers;
-
- public static class Descriptor implements Identifiable {
-
- public static final String ANNOTATIONS_CONTROLLER = "annotationsController"; //$NON-NLS-1$
-
- public static final String ATT_ID = "id"; //$NON-NLS-1$
-
- public static final String CLASS = "class"; //$NON-NLS-1$
-
- private final IConfigurationElement configElement;
- private final String ID;
- private final int loadOrder;
- private static int loadOrderCounter = 0;
-
- public Descriptor(IConfigurationElement aConfigElement) {
- super();
- Assert.isLegal(ANNOTATIONS_CONTROLLER.equals(aConfigElement.getName()), AnnotationsControllerResources.getString("AnnotationsControllerManager_ERROR_0")); //$NON-NLS-1$
- this.configElement = aConfigElement;
- this.ID = this.configElement.getAttribute(ATT_ID);
- loadOrder = loadOrderCounter++;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.common.frameworks.internal.enablement.Identifiable#getID()
- */
- public String getID() {
- return ID;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.common.frameworks.internal.enablement.Identifiable#getLoadOrder()
- */
- public int getLoadOrder() {
- return loadOrder;
- }
-
- public AnnotationsController createInstance() {
- AnnotationsController instance = null;
- try {
- instance = (AnnotationsController) configElement.createExecutableExtension(CLASS);
- } catch (CoreException e) {
- Logger.getLogger().logError(e);
- }
- return instance;
- }
- }
-
- /**
- * Default constructor
- */
- public AnnotationsControllerManager() {
- super("org.eclipse.wst.common.internal.annotations.controller", "annotationsController"); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- /**
- * read extension element
- */
- public boolean readElement(IConfigurationElement element) {
- if (!element.getName().equals(Descriptor.ANNOTATIONS_CONTROLLER))
- return false;
- addAnnotationController(new Descriptor(element));
- return true;
- }
-
- /**
- * @param descriptor
- */
- protected void addAnnotationController(Descriptor descriptor) {
- EnablementManager.INSTANCE.getIdentifier(descriptor.getID(), null).addIdentifierListener(this);
- getDescriptors().add(descriptor);
- }
-
- /**
- * @return Returns the annotationControllers.
- */
- protected SortedSet getDescriptors() {
- if (descriptors == null)
- descriptors = new TreeSet(IdentifiableComparator.getInstance());
- return descriptors;
- }
-
- public Descriptor getDescriptor(IProject project) {
- for (Iterator iter = getDescriptors().iterator(); iter.hasNext();) {
- Descriptor descriptor = (Descriptor) iter.next();
- IEnablementIdentifier identifier = EnablementManager.INSTANCE.getIdentifier(descriptor.getID(), project);
- if (identifier.isEnabled())
- return descriptor;
- }
- return null;
- }
-
- /**
- * Determine if any annotations are supported
- */
- public boolean isAnyAnnotationsSupported() {
- return getDescriptors().size() > 0;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.common.frameworks.internal.enablement.IEnablementIdentifierListener#identifierChanged(org.eclipse.wst.common.frameworks.internal.enablement.EnablementIdentifierEvent)
- */
- public void identifierChanged(EnablementIdentifierEvent identifierEvent) {
- IProject project = ((EnablementIdentifier) identifierEvent.getIdentifier()).getProject();
- getAnnotationsControllers().remove(project);
- }
-
- /**
- * Return the annotations controller for the specified project
- */
- public AnnotationsController getAnnotationsController(IProject project) {
- AnnotationsController controller = (AnnotationsController) getAnnotationsControllers().get(project);
- if (controller == null) {
- if (!hasBuilder(project, ANNOTATION_BUILDER))
- return null;
- Descriptor descriptor = getDescriptor(project);
- if (descriptor != null)
- getAnnotationsControllers().put(project, (controller = descriptor.createInstance()));
- }
-
- return controller;
- }
-
- /**
- * @return Returns the annotationControllers.
- */
- public Map getAnnotationsControllers() {
- if (annotationsControllers == null)
- annotationsControllers = new WeakHashMap();
- return annotationsControllers;
- }
-
- public boolean hasBuilder(IProject project, String builderName) {
- try {
- ICommand[] builders = project.getDescription().getBuildSpec();
- for (int i = 0; i < builders.length; i++) {
- ICommand builder = builders[i];
- if (builder != null) {
- if (builder.getBuilderName().equals(builderName))
- return true;
- }
- }
- } catch (Exception e) {
- // Do nothing
- }
- return false;
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationTagDynamicInitializer.java b/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationTagDynamicInitializer.java
deleted file mode 100644
index 85e8d8799..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationTagDynamicInitializer.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/* ***************************************************************************************************
- * Licensed Materials - Property of IBM
- *
- * 5724-I66
- *
- * © Copyright IBM Corporation 2004. All Rights Reserved.
- *
- * Note to U.S. Government Users Restricted Rights: Use, duplication or disclosure restricted by GSA
- * ADP Schedule Contract with IBM Corp.
- *
- *****************************************************************************************************/
-package org.eclipse.jst.common.internal.annotations.registry;
-
-/**
- * This method will be called by the AnnotationTagRegistry
- * when it is time to register the tags for a given
- * TagSet. An AnnotationTagDynamicInitializer defined
- * using the annotationTagDynamicInitializer.
- *
- * @see com.ibm.wtp.annotations.registry.AnnotationTagRegistry
- */
-public interface AnnotationTagDynamicInitializer {
- void registerTags();
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationTagRegistry.java b/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationTagRegistry.java
deleted file mode 100644
index 3d3b97a59..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationTagRegistry.java
+++ /dev/null
@@ -1,511 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Aug 22, 2003
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-package org.eclipse.jst.common.internal.annotations.registry;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtension;
-import org.eclipse.core.runtime.IExtensionPoint;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.jem.util.logger.proxy.Logger;
-import org.osgi.framework.Bundle;
-
-/**
- * @author kelleyp
- *
- * Singleton that parses the annotation tag information from the annotation-taghandler extension
- * point, and provides an interface for accessing it for other classes. Largely taken from the
- * AnnotationProcessor builder.
- */
-
-public class AnnotationTagRegistry {
-
- /**
- * Set to true once we've read in the annotation tag information from the plugin registry.
- */
- private static boolean initialized = false;
- private static final String ANNOTATION_TAG_INFO = "org.eclipse.jst.common.annotations.controller.AnnotationTagInfo"; //$NON-NLS-1$
-
- /**
- * List of tag specs for all of the tags.
- */
- private static ArrayList allTagSpecs = new ArrayList() {
- final private static long serialVersionUID = 8683452581122892190L;
-
- private void scopeAll(Collection c, boolean forAdd) {
- Iterator iter = c.iterator();
- while (iter.hasNext()) {
- TagSpec ts = (TagSpec) iter.next();
- if (forAdd)
- addScope(ts);
- else
- removeScope(ts);
- }
- }
-
- private void addScope(TagSpec ts) {
- if (ts == null)
- return;
- switch (ts.getScope()) {
- case TagSpec.FIELD :
- fieldTags.put(ts.getTagName(), ts);
- break;
- case TagSpec.METHOD :
- methodTags.put(ts.getTagName(), ts);
- break;
- case TagSpec.TYPE :
- typeTags.put(ts.getTagName(), ts);
- break;
- }
- }
-
- private void removeScope(TagSpec ts) {
- if (ts == null)
- return;
- switch (ts.getScope()) {
- case TagSpec.FIELD :
- fieldTags.remove(ts.getTagName());
- break;
- case TagSpec.METHOD :
- methodTags.remove(ts.getTagName());
- break;
- case TagSpec.TYPE :
- typeTags.remove(ts.getTagName());
- break;
- }
- }
-
- public void add(int index, Object element) {
- super.add(index, element);
- addScope((TagSpec)element);
- }
-
- public boolean add(Object o) {
- TagSpec newTagSpec = (TagSpec)o;
- // search for already existing tag spec with same name and same tag set name
- for (int i=0; i<this.size(); i++) {
- TagSpec tagSpec = (TagSpec) get(i);
- if (tagSpec.getTagName().equals(newTagSpec.getTagName())) {
- remove(tagSpec);
- removeScope(tagSpec);
- }
- }
- // add the new tag spec
- addScope(newTagSpec);
- return super.add(newTagSpec);
- }
-
- public boolean addAll(Collection c) {
- scopeAll(c, true);
- return super.addAll(c);
- }
-
- public boolean addAll(int index, Collection c) {
- scopeAll(c, true);
- return super.addAll(index, c);
- }
-
- public Object remove(int index) {
- Object result = super.remove(index);
- removeScope((TagSpec) result);
- return result;
- }
-
- public boolean remove(Object o) {
- removeScope((TagSpec) o);
- return super.remove(o);
- }
-
- public boolean removeAll(Collection c) {
- scopeAll(c, false);
- return super.removeAll(c);
- }
-
- public boolean retainAll(Collection c) {
- Iterator iter = this.iterator();
- while (iter.hasNext()) {
- TagSpec ts = (TagSpec) iter.next();
- if (!c.contains(ts))
- removeScope(ts);
- }
- return super.retainAll(c);
- }
- };
-
- /**
- * Map from a tag name to a InitTagInfo. Only live during up to the end of the init() method.
- */
- private static Hashtable tagAttribs = new Hashtable();
-
- /**
- * Division of tag names between allowed scopes.
- */
- private static Map methodTags = new HashMap();
-
- private static Map typeTags = new HashMap();
-
- private static Map fieldTags = new HashMap();
-
- private static final String CLASS_PROP = "class"; //$NON-NLS-1$
- private static final String DYNAMIC_INITIALIZER_EX_PT = "annotationTagDynamicInitializer"; //$NON-NLS-1$
- private static final String ANNOTATIONS_CONTROLLER_NAMESPACE = "org.eclipse.jst.common.annotations.controller"; //$NON-NLS-1$
-
- /**
- * Helper for init, parse the tag attributes for a AnnotationTagInfo tag.
- *
- * @param elems
- * Array of "attrib" configuration elements.
- * @param tagName
- * Lowercased name of the tag these attributes are associated with.
- */
- private static InitTagInfo parseTagAttribs(IConfigurationElement[] elems, String tagName, String scope) {
- int i;
- ArrayList attribList = new ArrayList();
-
- InitTagInfo tagInf = new InitTagInfo(tagName, scope, attribList);
-
- for (i = 0; i < elems.length; i++) {
- IConfigurationElement elem = elems[i];
-
- if (elem.getName().equalsIgnoreCase("attrib")) { //$NON-NLS-1$
- TagAttribSpec tas = new TagAttribSpec(elem.getAttribute("name"), elem.getAttribute("description")); //$NON-NLS-1$ //$NON-NLS-2$
- String use = elem.getAttribute("use"); //$NON-NLS-1$
-
- tas.setType(elem.getAttribute("type")); //$NON-NLS-1$
-
- // add valid values
- if ("enum".equals(elem.getAttribute("type"))) { //$NON-NLS-1$ //$NON-NLS-2$
- IConfigurationElement[] validValues = elem.getChildren("enumValues"); //$NON-NLS-1$
- List valuesList = new ArrayList();
- for (int j = 0; j < validValues.length; j++) {
- String value = validValues[j].getAttribute("value"); //$NON-NLS-1$
- valuesList.add(value);
- }
- String[] validValuesArray = new String[valuesList.size()];
- validValuesArray = (String[]) valuesList.toArray(validValuesArray);
-
- tas.setValidValues(validValuesArray);
- }
-
- if (use == null) {
- tas.clearRequired();
- } else if (use.equalsIgnoreCase("required")) { //$NON-NLS-1$
- tas.setRequired();
- } else if (use.equalsIgnoreCase("optional")) { //$NON-NLS-1$
- tas.clearRequired();
- } else {
- // Unlikely, unless annotation extension spec changes
- // without changes here.
- System.err.println(AnnotationsControllerResources.getString("AnnotationTagRegistry.9") + use); //$NON-NLS-1$
- return null;
- }
-
- IConfigurationElement[] elemUniqueArray = elem.getChildren("unique"); //$NON-NLS-1$
- if (elemUniqueArray.length > 0) {
- tas.setUnique();
- if (elemUniqueArray[0].getAttribute("scope") != null) //$NON-NLS-1$
- tas.getUnique().setScope(TagAttribSpec.uniqueScopeFromString(elemUniqueArray[0].getAttribute("scope"))); //$NON-NLS-1$
- if (elemUniqueArray.length > 1) {
- Logger.getLogger().logError(AnnotationsControllerResources.getString("TagAttribSpec.2") + elemUniqueArray.length); //$NON-NLS-1$
- }
- } else {
- tas.clearUnique();
- }
-
- attribList.add(tas);
- }
- }
- return tagInf;
- }
-
- /**
- * Return the tag set name from a full tag name.
- *
- * @param name
- * Full tag name (without the '@' at the beginning)
- * @return
- */
- public static String tagSetFromTagName(String name) {
- if (name == null)
- return null;
- int idx = name.lastIndexOf('.');
-
- if (idx != -1)
- return name.substring(0, idx);
- return ""; //$NON-NLS-1$
- }
-
- /**
- * Return the short name from a full tag name.
- *
- * @param name
- * Full tag name (without the '@' at the beginning)
- * @return
- */
- public static String tagFromTagName(String name) {
- if (name == null)
- return null;
- int idx = name.indexOf('.');
-
- if (idx != -1) {
- return name.substring(idx + 1);
- }
- // Default to the whole name being the tagset.
- return name;
- }
-
- /**
- * Reads in all of the tag attribute information from all annotation-tag-info extensions defined
- * in the system, and initializes the tagAttribs hashtable with them.
- *
- * @param registry
- */
- private static void readAllAttributeInfo(IExtensionPoint xp) {
-
- if (xp == null) {
- return;
- }
-
- IExtension[] exts = xp.getExtensions();
- Bundle bundle = null;
- for (int i = 0; i < exts.length; i++) {
- IConfigurationElement[] elems = exts[i].getConfigurationElements();
- bundle = Platform.getBundle(exts[i].getNamespace());
- String identifier = exts[i].getUniqueIdentifier();
-
- IConfigurationElement elem = null;
- String tagName = null;
- String scope = null;
- String tagSet = null;
- String fullTagName = null;
- for (int j = 0; j < elems.length; j++) {
- elem = elems[j];
- if (!elem.getName().equalsIgnoreCase("AnnotationTagInfo")) { //$NON-NLS-1$
- continue;
- }
- tagSet = elem.getAttribute("tagSet"); //$NON-NLS-1$
- tagName = elem.getAttribute("tagName"); //$NON-NLS-1$
- scope = elem.getAttribute("scope"); //$NON-NLS-1$
- if (isNullOrEmpty(tagSet) || isNullOrEmpty(tagName) || isNullOrEmpty(scope)) {
- Logger.getLogger().log(AnnotationsControllerResources.getString("AnnotationTagRegistry.10", new Object[]{identifier})); //$NON-NLS-1$ //$NON-NLS-2$
- continue;
- }
- fullTagName = tagSet + "." + tagName; //$NON-NLS-1$
-
- InitTagInfo tagInf = parseTagAttribs(elem.getChildren(), fullTagName.toLowerCase(), scope); //$NON-NLS-1$
- String key = (fullTagName + "#" + scope).toLowerCase(); //$NON-NLS-1$
- /*
- * There should only ever be one AnnotationTagInfo tag for any one annotation tag.
- */
- if (tagAttribs.containsKey(key)) {
- Logger.getLogger().log(AnnotationsControllerResources.getString("AnnotationTagRegistry.0") + tagName + "'."); //$NON-NLS-1$ //$NON-NLS-2$
- } else {
- tagInf.bundle = bundle;
- tagAttribs.put(key, tagInf);
- }
- }
- }
- }
-
- private static boolean isNullOrEmpty(String aString) {
- return aString == null || aString.length() == 0;
- }
-
- /**
- * Reads tagSpec information in from the plugin registry. Taken from AnnotationProcessor.
- *
- * @return True if initialization completed successfully.
- * @throws CoreException
- * If there were problems reading the registry.
- */
- private static/* synchronized */boolean init() throws CoreException {
-
- /* Prevent multiple initialization */
- if (initialized) {
- return true;
- }
- initializeStaticTagDefinitions();
- initiaizeDynamicTagDefinitions();
- initialized = true;
-
- /* Don't need this anymore */
- tagAttribs = null;
-
- return true;
- }
-
- private static void initializeStaticTagDefinitions() throws CoreException {
- IExtensionRegistry registry = Platform.getExtensionRegistry();
-
- // TODO: Not even checking the tagset extension point yet.
- IExtensionPoint xp = registry.getExtensionPoint(ANNOTATION_TAG_INFO);
-
- if (xp == null)
- return;
-
- IExtension[] x = xp.getExtensions();
-
- /* Get all tag attribute information */
- readAllAttributeInfo(xp);
- for (int j = 0; j < x.length; j++) {
- IConfigurationElement[] tagSpecs = x[j].getConfigurationElements();
- for (int i = 0; i < tagSpecs.length; i++) {
- IConfigurationElement tagSpec = tagSpecs[i];
- String tagName = tagSpec.getAttribute("tagSet") + "." + tagSpec.getAttribute("tagName"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- String scope = tagSpec.getAttribute("scope"); //$NON-NLS-1$
- String multiplicity = tagSpec.getAttribute("multiplicity"); //$NON-NLS-1$
- TagSpec ts = null;
- if (multiplicity != null)
- ts = new TagSpec(tagName, TagSpec.scopeFromString(scope), TagSpec.multiplicityFromString(multiplicity));
- else
- ts = new TagSpec(tagName, TagSpec.scopeFromString(scope), TagSpec.Multiplicity.ONE);
- String key = (tagName + "#" + scope).toLowerCase(); //$NON-NLS-1$
- InitTagInfo tagInf = (InitTagInfo) tagAttribs.get(key);
-
- allTagSpecs.add(ts);
-
- if (tagInf != null) {
- ts.setAttributes(tagInf.attributes);
- ts.setBundle(tagInf.bundle);
- }
- }
- }
- }
-
- private static void initiaizeDynamicTagDefinitions() {
- IExtensionPoint xp = Platform.getExtensionRegistry().getExtensionPoint(ANNOTATIONS_CONTROLLER_NAMESPACE, DYNAMIC_INITIALIZER_EX_PT);
- if (xp == null)
- return;
- IExtension[] extensions = xp.getExtensions();
- for (int i = 0; i < extensions.length; i++) {
- IExtension extension = extensions[i];
- IConfigurationElement[] elements = extension.getConfigurationElements();
- for (int j = 0; j < elements.length; j++) {
- try {
- AnnotationTagDynamicInitializer initializer = (AnnotationTagDynamicInitializer) elements[j].createExecutableExtension(CLASS_PROP);
- initializer.registerTags();
- } catch (CoreException e) {
- Logger.getLogger().logError(e);
- }
- }
- }
- }
-
- /**
- *
- * @return List of AnnotationTagRegistry.TagSpecs for all tags.
- * @throws CoreException
- * If there were problems reading the initialization data from the plugin registry.
- */
- public static synchronized List getAllTagSpecs() {
- return allTagSpecs;
- }
-
- public static synchronized boolean isMethodTag(String tagName) {
- return methodTags.containsKey(tagName);
- }
-
- public static synchronized boolean isFieldTag(String tagName) {
- return fieldTags.containsKey(tagName);
- }
-
- public static synchronized boolean isTypeTag(String tagName) {
- return typeTags.containsKey(tagName);
- }
-
- /**
- * Answers the tagspec for the specified method tag name.
- *
- * @param tagName
- * Full name for a tag.
- * @return a TagSpec for the tag name, or null if no tag with that name is registered.
- */
- public static synchronized TagSpec getMethodTag(String tagName) {
- return (TagSpec) methodTags.get(tagName);
- }
-
- /**
- * Answers the tagspec for the specified field tag name.
- *
- * @param tagName
- * Full name for a tag.
- * @return a TagSpec for the tag name, or null if no tag with that name is registered.
- */
- public static synchronized TagSpec getFieldTag(String tagName) {
- return (TagSpec) fieldTags.get(tagName);
- }
-
- /**
- * Answers the tagspec for the specified type tag name.
- *
- * @param tagName
- * Full name for a tag.
- * @return a TagSpec for the tag name, or null if no tag with that name is registered.
- */
- public static synchronized TagSpec getTypeTag(String tagName) {
- return (TagSpec) typeTags.get(tagName);
- }
-
- private static class InitTagInfo {
- private String name;
-
- private List attributes;
-
- private Bundle bundle;
-
- private String scope;
-
- public InitTagInfo(String name, String scope, List att) {
- attributes = att;
- this.name = name;
- this.scope = scope;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.lang.Object#equals(java.lang.Object)
- */
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- else if (!(obj instanceof InitTagInfo))
- return false;
-
- return name.equals(((InitTagInfo) obj).name) || (scope.equals(((InitTagInfo) obj).name));
-
- }
- }
-
- static {
- try {
- AnnotationTagRegistry.init();
- } catch (CoreException e) {
- Logger.getLogger().logError(AnnotationsControllerResources.getString("AnnotationTagRegistry_ERROR_1")); //$NON-NLS-1$
- Logger.getLogger().logError(e);
- }
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationTagsetRegistry.java b/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationTagsetRegistry.java
deleted file mode 100644
index d86e11748..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationTagsetRegistry.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Apr 7, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.jst.common.internal.annotations.registry;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.jem.util.RegistryReader;
-
-/**
- * @author mdelder
- *
- * To change the template for this generated type comment go to Window - Preferences - Java - Code
- * Generation - Code and Comments
- */
-public class AnnotationTagsetRegistry extends RegistryReader {
-
- public static final AnnotationTagsetRegistry INSTANCE = new AnnotationTagsetRegistry();
-
- private Map index;
-
- protected AnnotationTagsetRegistry() {
- super("org.eclipse.wst.common.internal.annotations.controller", TagsetDescriptor.TAGSET); //$NON-NLS-1$
- readRegistry();
- }
-
- private List descriptors;
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.common.frameworks.internal.RegistryReader#readElement(org.eclipse.core.runtime.IConfigurationElement)
- */
- public boolean readElement(IConfigurationElement element) {
- if (TagsetDescriptor.TAGSET.equals(element.getName())) {
- getDescriptors().add(new TagsetDescriptor(element));
- return true;
- }
- return false;
- }
-
- public TagsetDescriptor getDescriptor(String name) {
- if (name != null && name.length() > 0) {
-
- /* Index descriptors to avoid unnecessary searching */
- TagsetDescriptor descriptor = (TagsetDescriptor) getIndex().get(name);
- if (descriptor != null)
- return descriptor;
-
- for (Iterator itr = AnnotationTagsetRegistry.INSTANCE.getDescriptors().iterator(); itr.hasNext();) {
- descriptor = (TagsetDescriptor) itr.next();
- if (name.equals(descriptor.getName())) {
- getIndex().put(descriptor.getName(), descriptor);
- return descriptor;
-
- }
- }
- }
- return null;
- }
-
- /**
- * @return Returns the descriptors.
- */
- protected List getDescriptors() {
- if (descriptors == null)
- descriptors = new ArrayList();
- return descriptors;
- }
-
- /**
- * @return Returns the index.
- */
- protected Map getIndex() {
- if (index == null)
- index = new HashMap();
- return index;
- }
-
- /**
- * @param descriptor
- */
- public void registerTagset(TagsetDescriptor descriptor) {
- if (descriptor != null && getDescriptor(descriptor.getName()) == null)
- getDescriptors().add(descriptor);
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationsControllerResources.java b/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationsControllerResources.java
deleted file mode 100644
index f357d90a1..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AnnotationsControllerResources.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Mar 8, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-
-package org.eclipse.jst.common.internal.annotations.registry;
-
-import java.text.MessageFormat;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-/**
- * @author kkatyal
- *
- * To change the template for this generated type comment go to Window - Preferences - Java - Code
- * Generation - Code and Comments
- */
-public class AnnotationsControllerResources {
-
- private static final String BUNDLE_NAME = "annotationcontroller";//$NON-NLS-1$
- private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
-
- /**
- *
- */
- private AnnotationsControllerResources() {
- // Default constructor
- }
-
- /**
- * @param key
- * @return
- */
- public static String getString(String key) {
- try {
- return RESOURCE_BUNDLE.getString(key);
- } catch (MissingResourceException e) {
- return '!' + key + '!';
- }
- }
-
- public static String getString(String key, Object[] args) {
- try {
- RESOURCE_BUNDLE.getString(key);
- } catch (MissingResourceException e) {
- return '!' + key + '!';
- }
-
- return MessageFormat.format(key, args);
- }
-
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AttributeValueProposalHelper.java b/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AttributeValueProposalHelper.java
deleted file mode 100644
index be5670b60..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AttributeValueProposalHelper.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.internal.annotations.registry;
-
-/**
- * @author DABERG
- *
- */
-public class AttributeValueProposalHelper {
- private String replacementString;
- private int valueOffset = 0;
- private int replacementLength = 0;
- private String valueDisplayString;
- private boolean ensureBeginQuote = true;
- private boolean ensureEndQuote = true;
-
- public AttributeValueProposalHelper(String replacementString, int valueOffset, int replacementLength, String valueDisplayString) {
- this.replacementString = replacementString;
- this.valueOffset = valueOffset;
- this.replacementLength = replacementLength;
- this.valueDisplayString = valueDisplayString;
- }
-
- public int getReplacementLength() {
- return replacementLength;
- }
-
- public void setReplacementLength(int replacementLength) {
- this.replacementLength = replacementLength;
- }
-
- public String getReplacementString() {
- return replacementString;
- }
-
- public void setReplacementString(String replacementString) {
- this.replacementString = replacementString;
- }
-
- public String getValueDisplayString() {
- return valueDisplayString;
- }
-
- public void setValueDisplayString(String valueDisplayString) {
- this.valueDisplayString = valueDisplayString;
- }
-
- public int getValueOffset() {
- return valueOffset;
- }
-
- public void setValueOffset(int valueOffset) {
- this.valueOffset = valueOffset;
- }
-
- public boolean ensureBeginQuote() {
- return ensureBeginQuote;
- }
-
- public void setEnsureBeginQuote(boolean ensureBeginQuote) {
- this.ensureBeginQuote = ensureBeginQuote;
- }
-
- public boolean ensureEndQuote() {
- return ensureEndQuote;
- }
-
- public void setEnsureEndQuote(boolean ensureEndQuote) {
- this.ensureEndQuote = ensureEndQuote;
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AttributeValuesHelper.java b/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AttributeValuesHelper.java
deleted file mode 100644
index 76c0a8f65..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/AttributeValuesHelper.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Jul 1, 2004
- */
-package org.eclipse.jst.common.internal.annotations.registry;
-
-import org.eclipse.jdt.core.IJavaElement;
-
-/**
- * @author jlanuti
- */
-public interface AttributeValuesHelper {
- static final String[] EMPTY_VALUES = new String[0];
- static final AttributeValueProposalHelper[] EMPTY_PROPOSAL_HELPERS = new AttributeValueProposalHelper[0];
-
- /**
- * Return a simple String array containing the valid values for the given
- * {@link TagAttributeSpec}and {@link IJavaElement}.
- *
- * @param tas
- * @param javaElement
- * @return
- */
- public String[] getValidValues(TagAttribSpec tas, IJavaElement javaElement);
-
- /**
- * This is a more advanced api for returning valid values for a given {@link TagAttribSpec}.
- * This api provides you with more flexibility to control the replacement string that is used
- * for the completion.
- *
- * @param tas
- * @param partialValue
- * @param valueOffset
- * @param javaElement
- * @return
- */
- public AttributeValueProposalHelper[] getAttributeValueProposalHelpers(TagAttribSpec tas, String partialValue, int valueOffset, IJavaElement javaElement);
-
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/TagAttribSpec.java b/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/TagAttribSpec.java
deleted file mode 100644
index 7b635906d..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/TagAttribSpec.java
+++ /dev/null
@@ -1,350 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Aug 25, 2003
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-package org.eclipse.jst.common.internal.annotations.registry;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import org.eclipse.jem.util.logger.proxy.Logger;
-import org.eclipse.jst.common.internal.annotations.core.AnnotationsCoreResources;
-
-/**
- * @author kelleyp Information on a single parameter for a tag. Parameters have names, and can be
- * marked as being required. (ie, not optional)
- */
-public class TagAttribSpec {
- private String attribName;
- private int flags;
- private String helpKey;
- private int type = Type.TEXT;
- private static final int FLG_REQUIRED = 1;
- private String[] validValues;
- private TagSpec tagSpec;
-
- /* Enum for type */
- public interface Type {
- public static final int TEXT = 0;
- public static final int BOOLEAN = 1;
- public static final int JAVATYPE = 2;
- public static final int ENUM = 3;
- }
-
- public class Unique {
- public static final int MODULE = 0;
- public static final int FILE = 1;
- public static final int TYPE = 2;
- public static final int METHOD = 3;
- public static final int FIELD = 4;
-
- private int scope = MODULE;
-
- public int getScope() {
- return scope;
- }
-
- public void setScope(int in) {
- scope = in;
- }
- }
-
- private Unique unique;
-
- public Unique getUnique() {
- return unique;
- }
-
- public boolean isUnique() {
- return unique != null;
- }
-
- public void setUnique() {
- unique = new Unique();
- }
-
- public void clearUnique() {
- unique = null;
- }
-
- /**
- * Converts a string representation of a tag attribute type to the integer representation.
- *
- * @param name
- * @return Integer type, defaults to TEXT if the type name is not recognized.
- */
- public static int typeNameToType(String name) {
- //TODO add enum
- if (name != null) {
- if (name.equalsIgnoreCase("text") || name.equalsIgnoreCase("string")) { //$NON-NLS-1$ //$NON-NLS-2$
- return Type.TEXT;
- } else if (name.equalsIgnoreCase("boolean") || name.equalsIgnoreCase("bool")) { //$NON-NLS-1$ //$NON-NLS-2$
- return Type.BOOLEAN;
- } else if (name.equalsIgnoreCase("javaType")) { //$NON-NLS-1$
- return Type.JAVATYPE;
- }
- }
- return Type.TEXT;
- }
-
- /**
- * Converts a type enum to a type string.
- *
- * @param ty
- * @return
- */
- public static String typeToTypeName(int ty) {
- switch (ty) {
- case Type.TEXT :
- return "string"; //$NON-NLS-1$
- case Type.BOOLEAN :
- return "bool"; //$NON-NLS-1$
- case Type.JAVATYPE :
- return "javaType"; //$NON-NLS-1$
- default :
- return "string"; //$NON-NLS-1$
- }
- }
-
- /**
- * Constructs a TagAttribSpec with <code>name</code> as the attribute name.
- *
- * @param name
- * Name for the attribute. Must not be null.
- * @throws IllegalArgumentException
- * if name is null.
- */
- public TagAttribSpec(String name) throws IllegalArgumentException {
- this(name, null);
- }
-
- public TagAttribSpec(String name, String hlpKey) {
- setAttribName(name);
- setHelpKey(hlpKey);
- }
-
- /**
- * Sets the type of this attribute.
- *
- * @param t
- * TEXT | BOOLEAN
- */
- public void setType(int t) {
- type = t;
- }
-
- /**
- * Sets the type of this attribute.
- *
- * @param typename
- * String representation, should be text or boolean.
- */
- public void setType(String typename) {
- type = typeNameToType(typename);
- }
-
- public int getType() {
- return type;
- }
-
- public boolean valueIsJavaType() {
- return type == Type.JAVATYPE;
- }
-
- public boolean valueIsText() {
- return type == Type.TEXT;
- }
-
- public boolean valueIsBool() {
- return type == Type.BOOLEAN;
- }
-
- /**
- * @return Name of the attribute.
- */
- public String getAttribName() {
- return attribName;
- }
-
- /**
- * Sets the attribute name. This can not be null.
- *
- * @param name
- * New name for the attribute.
- * @throws IllegalArgumentException
- * if the name is null.
- */
- public void setAttribName(String name) throws IllegalArgumentException {
- if (name == null) {
- throw new IllegalArgumentException(AnnotationsCoreResources.getString("TagAttribSpec.6")); //$NON-NLS-1$
- }
- attribName = name;
- }
-
- /**
- *
- * @return true if this is a required attribute.
- */
- public boolean isRequired() {
- return (flags & FLG_REQUIRED) != 0;
- }
-
- /**
- * Sets the required flag for this attribute.
- */
- public void setRequired() {
- flags |= FLG_REQUIRED;
- }
-
- /**
- * Clears the required flag for this attribute.
- *
- */
- public void clearRequired() {
- flags &= (~FLG_REQUIRED);
- }
-
- /**
- *
- * @return The help key for this tag attribute. Should never return null.
- */
- public String getTextKey(int aType) {
- if (aType != TagSpec.HELP_TEXT) {
- return null;
- }
-
- if (helpKey == null) {
- helpKey = defaultHelpKey();
- }
- return helpKey;
- }
-
- /**
- * Formats the help text so it includes type and use information.
- */
- public String transformLocalizedText(String txt) {
- if (txt == null)
- return txt;
- StringBuffer buf = new StringBuffer(txt.length() + 50);
-
- buf.append("<b>Type: "); //$NON-NLS-1$
- buf.append(typeToTypeName(type));
- buf.append(", Use: "); //$NON-NLS-1$
- if (this.isRequired()) {
- buf.append("required"); //$NON-NLS-1$
- } else {
- buf.append("optional"); //$NON-NLS-1$
- }
- if (this.isUnique()) {
- buf.append(", unique:scope: "); //$NON-NLS-1$
- buf.append(TagAttribSpec.uniqueScopeToString(this.getUnique().getScope())); //$NON-NLS-1$
- }
- buf.append("</b><p>"); //$NON-NLS-1$
- buf.append(txt);
- buf.append("</p>"); //$NON-NLS-1$
- return buf.toString();
-
- }
-
- /**
- *
- * @return The help key for this tag attribute. Should never return null.
- */
- public String getHelpKey() {
- return getTextKey(TagSpec.HELP_TEXT);
- }
-
- /**
- * Sets the help key. Setting this to null resets the help key to the default help key.
- *
- * @param key
- */
- public void setHelpKey(String key) {
- helpKey = key;
- }
-
- /**
- * @return the default help key name for this tag.
- *
- */
- private String defaultHelpKey() {
- return "ath." + attribName; //$NON-NLS-1$
- }
-
- public static int uniqueScopeFromString(String scopeStr) {
- if (scopeStr != null) {
- if (scopeStr.equalsIgnoreCase("module"))return TagAttribSpec.Unique.MODULE; //$NON-NLS-1$
- if (scopeStr.equalsIgnoreCase("file"))return TagAttribSpec.Unique.FILE; //$NON-NLS-1$
- if (scopeStr.equalsIgnoreCase("type"))return TagAttribSpec.Unique.TYPE; //$NON-NLS-1$
- if (scopeStr.equalsIgnoreCase("method"))return TagAttribSpec.Unique.METHOD; //$NON-NLS-1$
- if (scopeStr.equalsIgnoreCase("field"))return TagAttribSpec.Unique.FIELD; //$NON-NLS-1$
- }
- Logger.getLogger().logError(AnnotationsControllerResources.getString("TagAttribSpec.1") + scopeStr); //$NON-NLS-1$
- return TagAttribSpec.Unique.MODULE;
- }
-
- public static String uniqueScopeToString(int scope) {
- switch (scope) {
- case TagAttribSpec.Unique.MODULE :
- return "module"; //$NON-NLS-1$
- case TagAttribSpec.Unique.FILE :
- return "file"; //$NON-NLS-1$
- case TagAttribSpec.Unique.TYPE :
- return "type"; //$NON-NLS-1$
- case TagAttribSpec.Unique.METHOD :
- return "method"; //$NON-NLS-1$
- case TagAttribSpec.Unique.FIELD :
- return "field"; //$NON-NLS-1$
- default :
- Logger.getLogger().logError(AnnotationsControllerResources.getString("TagAttribSpec.1") + scope); //$NON-NLS-1$
- return "unknown value"; //$NON-NLS-1$
-
- }
- }
-
- /**
- * @return Returns the validValues.
- */
- public String[] getValidValues() {
- return validValues;
- }
-
- /**
- * @param validValues
- * The validValues to set.
- */
- public void setValidValues(String[] validValues) {
- this.validValues = validValues;
- }
-
- public TagSpec getTagSpec() {
- return tagSpec;
- }
-
- void setTagSpec(TagSpec tagSpec) {
- this.tagSpec = tagSpec;
- }
-
- public String lookupTagHelp() throws MissingResourceException {
- ResourceBundle b = getTagSpec().getResourceBundle();
- if (b == null)
- return null;
- String key = getHelpKey();
- String val = b.getString(getHelpKey());
- if (val == key)
- val = null;
- return transformLocalizedText(val);
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/TagSpec.java b/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/TagSpec.java
deleted file mode 100644
index 70ee7270e..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/TagSpec.java
+++ /dev/null
@@ -1,331 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Aug 22, 2003
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-package org.eclipse.jst.common.internal.annotations.registry;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.osgi.framework.Bundle;
-
-/**
- * All of the information in a single tagSpec tag, including the enclosing handler.
- */
-public class TagSpec {
-
- /**
- * Handle to the descriptor of the plugin that declared the completion information for this tag,
- * if any.
- */
- Bundle bundle;
-
- protected ResourceBundle resourceBundle;
-
- private boolean attemptedToFindResourceBundle = false;
-
- private AttributeValuesHelper validValuesHelper;
- private TagsetDescriptor tagsetDescriptor;
-
- /**
- * Name of the tag.
- */
- private String tagName;
-
- /**
- * Scope of the tag: METHOD | FIELD | TYPE
- */
- private int scope;
-
- /**
- * Multiplicity of the tag: ONE | MANY
- */
- private int multiplicity;
-
- /**
- * Attributes that can be set for this tag. (Instances of TagAttribSpec)
- */
- private List attributes = new ArrayList();
-
- private String helpKey;
-
- /**
- * Text type for use with localized text container.
- */
- public static final int HELP_TEXT = 0;
-
- public static final int METHOD = 0;
-
- public static final int TYPE = 1;
-
- public static final int FIELD = 2;
-
- public interface Multiplicity {
- public static final int ONE = 1;
-
- public static final int MANY = 2;
- }
-
- public TagSpec(String aName, int aScope, int aMultiplicity) {
- tagName = aName;
- scope = aScope;
- multiplicity = aMultiplicity;
- }
-
- public static int scopeFromString(String s) throws CoreException {
- if (s != null) {
- if (s.equalsIgnoreCase("type")) { //$NON-NLS-1$
- return TagSpec.TYPE;
- } else if (s.equalsIgnoreCase("field")) { //$NON-NLS-1$
- return TagSpec.FIELD;
- } else if (s.equalsIgnoreCase("method")) { //$NON-NLS-1$
- return TagSpec.METHOD;
- } else {
- // Should be impossible unless the annotation-taghandler.exsd or
- // calling code changes.
- //TODO: Logging
- throw new CoreException(new Status(IStatus.ERROR, "org.eclipse.wst.common.internal.annotations.controller", IStatus.OK, AnnotationsControllerResources.getString("TagSpec.3") + s, null)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- throw new CoreException(new Status(IStatus.ERROR, "org.eclipse.wst.common.internal.annotations.controller", IStatus.OK, AnnotationsControllerResources.getString("TagSpec.4"), null)); //$NON-NLS-1$ //$NON-NLS-2$
-
- }
-
- public static int multiplicityFromString(String s) throws CoreException {
- if (s != null) {
- if (s.equalsIgnoreCase("1")) { //$NON-NLS-1$
- return TagSpec.Multiplicity.ONE;
- } else if (s.equalsIgnoreCase("*")) { //$NON-NLS-1$
- return TagSpec.Multiplicity.MANY;
- }
- throw new CoreException(new Status(IStatus.ERROR, "org.eclipse.wst.common.internal.annotations.controller", IStatus.OK, AnnotationsControllerResources.getString("TagSpec.4"), null)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- //Return default
- return TagSpec.Multiplicity.ONE;
- }
-
- /**
- * @return Scope for tag, METHOD | TYPE | FIELD
- */
- public int getScope() {
- return scope;
- }
-
- /**
- * @return multiplicity for tag, ONE | MANY
- */
- public int getMultiplicity() {
- return multiplicity;
- }
-
- /**
- * @return Name of the tag
- */
- public String getTagName() {
- return tagName;
- }
-
- public TagsetDescriptor getTagSetDescriptor() {
- if (tagsetDescriptor == null) {
- String tagSetName = getTagName();
- int index = tagSetName.lastIndexOf('.');
- if (index == -1)
- tagSetName = ""; //$NON-NLS-1$
- else
- tagSetName = tagSetName.substring(index + 1);
- tagsetDescriptor = AnnotationTagsetRegistry.INSTANCE.getDescriptor(tagSetName);
- }
- return tagsetDescriptor;
- }
-
- /**
- * Sets the scope of this tag.
- *
- * @param i
- * METHOD | TYPE | FIELD
- */
- public void setScope(int i) {
- scope = i;
- }
-
- /**
- * Sets the multiplicity of this tag.
- *
- * @param i
- * ONE | MANY
- */
- public void setMultiplicity(int i) {
- multiplicity = i;
- }
-
- /**
- * Sets the name of the tag
- *
- * @param string
- * Name for the tag.
- */
- public void setTagName(String string) {
- tagName = string;
- }
-
- /**
- *
- * @return List of attributes for this tag.
- */
- public List getAttributes() {
- return attributes;
- }
-
- /**
- * Adds an attribute to the list of attributes for this tag.
- *
- * @param att
- * A TagAttribSpec
- */
- public void addAttribute(TagAttribSpec att) {
- if (att == null)
- return;
- attributes.add(att);
- att.setTagSpec(this);
- }
-
- /**
- * Sets the list of attributes for this tag.
- *
- * @param lst
- * An array list of TagAttribSpecs
- */
- public void setAttributes(List lst) {
- if (lst == null)
- attributes.clear();
- else {
- attributes = lst;
- for (int i = 0; i < lst.size(); i++) {
- TagAttribSpec tas = (TagAttribSpec) lst.get(i);
- tas.setTagSpec(this);
- }
- }
- }
-
- /**
- * Looks for attribute named <code>attName</code>. Case insensitive.
- *
- * @param attName
- * Name to look for
- * @return A TagAttribSpec, or null if none was found.
- */
- public TagAttribSpec attributeNamed(String attName) {
- Iterator i = getAttributes().iterator();
-
- while (i.hasNext()) {
- TagAttribSpec tas = (TagAttribSpec) i.next();
-
- if (attName.equalsIgnoreCase(tas.getAttribName())) {
- return tas;
- }
- }
- return null;
-
- }
-
- /**
- * @return Returns the declaringPlugin.
- */
- public Bundle getBundle() {
- return bundle;
- }
-
- /**
- * @param declaringPlugin
- * The declaringPlugin to set.
- */
- protected void setBundle(Bundle bundle) {
- this.bundle = bundle;
- }
-
- /**
- * @return Returns the resourceBundle.
- */
- public ResourceBundle getResourceBundle() {
- if (resourceBundle == null && !attemptedToFindResourceBundle) {
- attemptedToFindResourceBundle = true;
- Bundle aBundle = getBundle();
- if (aBundle != null)
- resourceBundle = Platform.getResourceBundle(bundle);
- }
- return resourceBundle;
- }
-
- /**
- * @param resourceBundle
- * The resourceBundle to set.
- */
- public void setResourceBundle(ResourceBundle resourceBundle) {
- attemptedToFindResourceBundle = false;
- this.resourceBundle = resourceBundle;
- }
-
- /**
- * @return Returns the validValuesHelper.
- */
- public AttributeValuesHelper getValidValuesHelper() {
- if (validValuesHelper == null && getTagSetDescriptor() != null)
- setValidValuesHelper(getTagSetDescriptor().getValidValuesHelper());
- return validValuesHelper;
- }
-
- /**
- * @param validValuesHelper
- * The validValuesHelper to set.
- */
- public void setValidValuesHelper(AttributeValuesHelper validValuesHelper) {
- this.validValuesHelper = validValuesHelper;
- }
-
- public String getHelpKey() {
- if (helpKey == null)
- helpKey = computeHelpKey();
- return helpKey;
- }
-
- /**
- * @return
- */
- protected String computeHelpKey() {
- return "tagh." + getTagName(); //$NON-NLS-1$
- }
-
- public void setHelpKey(String helpKey) {
- this.helpKey = helpKey;
- }
-
- public String lookupTagHelp() throws MissingResourceException {
- ResourceBundle b = getResourceBundle();
- if (b == null)
- return null;
- String key = getHelpKey();
- String val = b.getString(getHelpKey());
- if (val == key)
- val = null;
- return val;
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/TagsetDescriptor.java b/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/TagsetDescriptor.java
deleted file mode 100644
index 8e4c4da60..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/controller/org/eclipse/jst/common/internal/annotations/registry/TagsetDescriptor.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Apr 7, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.jst.common.internal.annotations.registry;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-
-
-/**
- * @author mdelder
- *
- * To change the template for this generated type comment go to Window - Preferences - Java - Code
- * Generation - Code and Comments
- */
-public class TagsetDescriptor {
-
- public static final String TAGSET = "AnnotationTagSet"; //$NON-NLS-1$
- public static final String ATT_NAME = "name"; //$NON-NLS-1$
- public static final String ATT_DISPLAY_NAME = "displayName"; //$NON-NLS-1$
- public static final String ATT_DESCRIPTION = "description"; //$NON-NLS-1$
- public static final String ATT_PARENT_TAGSET = "parentTagset"; //$NON-NLS-1$
- public static final String ATT_VALID_VALUES_HELPER = "validValuesHelper"; //$NON-NLS-1$
-
- private final IConfigurationElement element;
-
- protected String name;
- protected String displayName;
- protected String description;
- protected String parentTagset;
- protected AttributeValuesHelper validValuesHelper;
-
- protected TagsetDescriptor() {
- element = null;
- }
-
- public TagsetDescriptor(IConfigurationElement element) {
- this.element = element;
- init();
- }
-
- /**
- *
- */
- private void init() {
- this.name = this.element.getAttribute(ATT_NAME);
- this.displayName = this.element.getAttribute(ATT_DISPLAY_NAME);
- this.description = this.element.getAttribute(ATT_DESCRIPTION);
- this.parentTagset = this.element.getAttribute(ATT_PARENT_TAGSET);
- // set the valid values helper if there is one
- try {
- String validValuesHelperName = this.element.getAttribute(ATT_VALID_VALUES_HELPER);
- if (validValuesHelperName != null) {
- Class loaded = Class.forName(validValuesHelperName);
- this.validValuesHelper = (AttributeValuesHelper) loaded.newInstance();
- }
- } catch (Exception e) {
- // Do nothing
- }
- }
-
- /**
- * @return Returns the description.
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * @return Returns the displayName.
- */
- public String getDisplayName() {
- return displayName;
- }
-
- /**
- * @return Returns the element.
- */
- public IConfigurationElement getElement() {
- return element;
- }
-
- /**
- * @return Returns the name.
- */
- public String getName() {
- return name;
- }
-
- /**
- * @return Returns the parentTagset.
- */
- public String getParentTagset() {
- return parentTagset;
- }
-
- public TagsetDescriptor[] getDirectDependents() {
-
- if (getName() == null || getName().equals("")) //$NON-NLS-1$
- return new TagsetDescriptor[0];
-
- List dependents = new ArrayList();
-
- TagsetDescriptor descriptor = null;
- for (Iterator itr = AnnotationTagsetRegistry.INSTANCE.getDescriptors().iterator(); itr.hasNext();) {
- descriptor = (TagsetDescriptor) itr.next();
- if (getName().equals(descriptor.getParentTagset()))
- dependents.add(descriptor);
- }
-
- TagsetDescriptor[] descriptors = new TagsetDescriptor[dependents.size()];
- dependents.toArray(descriptors);
- return descriptors;
- }
-
- /**
- * @return Returns the validValuesHelper.
- */
- public AttributeValuesHelper getValidValuesHelper() {
- return validValuesHelper;
- }
-
- /**
- * @param validValuesHelper
- * The validValuesHelper to set.
- */
- public void setValidValuesHelper(AttributeValuesHelper validValuesHelper) {
- this.validValuesHelper = validValuesHelper;
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/plugin.xml b/plugins/org.eclipse.jst.common.annotations.controller/plugin.xml
deleted file mode 100644
index 00df4d6e2..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/plugin.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-
- <extension-point id="annotationsController" name="Annotations Controller" schema="schema/annotationsController.exsd"/>
- <extension-point id="AnnotationTagInfo" name="annotation tag info" schema="schema/annotation-tag-info.exsd"/>
- <extension-point id="AnnotationTagSet" name="annotation tagset" schema="schema/annotation.tagset.exsd"/>
- <extension-point id="annotationTagDynamicInitializer" name="annotationTagDynamicInitializer" schema="schema/annotationTagDynamicInitializer.exsd"/>
-</plugin>
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/prepareforpii.xml b/plugins/org.eclipse.jst.common.annotations.controller/prepareforpii.xml
deleted file mode 100644
index 833fffa60..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/prepareforpii.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<project name="PrepareForPII" default="main" basedir=".">
-
- <!-- Setup temp variables -->
- <target name="init">
- <property name="nlsDir" value="d:/NLS/Corona/0526"/>
- <property name="plugin" value="com.ibm.wtp.annotations.controller"/>
- <property name="plugindir" value="d:/workspaceCorona/${plugin}"/>
- <property name="outputDir" value="${nlsDir}/${plugin}"/>
-
-
- </target>
-
- <!-- Create the destination dir -->
- <target name="nlsDir" depends="init">
- <mkdir dir="${nlsDir}"/>
- </target>
-
- <!-- Create the destination dir -->
- <target name="plugindir" depends="nlsDir">
- <delete dir="${outputDir}"/>
- <mkdir dir="${outputDir}"/>
- </target>
-
- <!-- Move the files to the correct locations in the workspace. -->
- <target name="main" depends="plugindir">
-
- <messageIdGen folderPath = "${plugindir}" componentId = "E" />
-
- <copy todir = "${outputDir}/property_files" >
- <fileset dir="${plugindir}/property_files">
- <include name="**/*.properties"/>
- </fileset>
- </copy>
-
- </target>
-</project>
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/property_files/annotationcontroller.properties b/plugins/org.eclipse.jst.common.annotations.controller/property_files/annotationcontroller.properties
deleted file mode 100644
index 390e7736b..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/property_files/annotationcontroller.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-###############################################################################
-# Copyright (c) 2003, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-TagSpec.3=Unknown tag scope:
-TagSpec.4=Null tag scope.
-TagSpec.5=Unknown tag multiplicity:
-TagSpec.6=Null tag multiplicity.
-TagAttribSpec.1=Unknown 'unique' scope value:
-TagAttribSpec.1=More than one 'unique' tag defined:
-AnnotationTagParser.0=Null event handler.
-AnnotationTagParser.1=
-AnnotationTagRegistry.0=More than one 'AnnotationTagInfo' tag for the tag '
-AnnotationTagRegistry.9=parseTagAttribs: unknown 'use' value:
-AnnotationTagRegistry.10=Incomplete element AnnotationTagInfo in plugin {0}
-AnnotationTagRegistry.11=parseTagAttribs: unknown 'isJavaTypeIdentifier' value:
-AnnotationsControllerManager_ERROR_0=IWAE0001E Invalid IConfigurationElement used to create AnnotationsControllerRegistry.Descriptor.
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/schema/annotation-tag-info.exsd b/plugins/org.eclipse.jst.common.annotations.controller/schema/annotation-tag-info.exsd
deleted file mode 100644
index 3bdae47d5..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/schema/annotation-tag-info.exsd
+++ /dev/null
@@ -1,251 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.jst.common.annotations.controller">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.jst.common.annotations.controller" id="XAnnotationTagInfo" name="Annotation Tag Info"/>
- </appInfo>
- <documentation>
- Describes the tags contained by a tag set and the tag&apos;s attributes.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="AnnotationTagInfo" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="AnnotationTagInfo">
- <complexType>
- <sequence>
- <element ref="attrib" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="tagSet" type="string" use="required">
- <annotation>
- <documentation>
- Name of the tag set this tag comes underneath. ( for instance, if we&apos;re defining the &lt;code&gt;@ejb.bean&lt;/code&gt;
-tag, then the tag set would be &lt;code&gt;ejb&lt;/code&gt;. ) The tag set must have been defined using the annotation.tagset extension point.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="tagName" type="string" use="required">
- <annotation>
- <documentation>
- Name of the tag. ( if we&apos;re defining the &lt;code&gt;@ejb.bean&lt;/code&gt; tag, then the tagName would be &lt;code&gt;bean&lt;/code&gt; ).
- </documentation>
- </annotation>
- </attribute>
- <attribute name="scope" use="required">
- <annotation>
- <documentation>
- Scope of the bean. Must be &lt;code&gt;type&lt;/code&gt;,&lt;code&gt;method&lt;/code&gt;, or &lt;code&gt;field&lt;/code&gt;.
- </documentation>
- </annotation>
- <simpleType>
- <restriction base="string">
- <enumeration value="type">
- </enumeration>
- <enumeration value="method">
- </enumeration>
- <enumeration value="field">
- </enumeration>
- </restriction>
- </simpleType>
- </attribute>
- <attribute name="multiplicity" use="default" value="1">
- <annotation>
- <documentation>
- Multiplicity of the tagset. Must be &lt;code&gt;1&lt;/code&gt; or&lt;code&gt;*&lt;/code&gt;. The default value is 1, if not specified.
- </documentation>
- </annotation>
- <simpleType>
- <restriction base="string">
- <enumeration value="1">
- </enumeration>
- <enumeration value="*">
- </enumeration>
- </restriction>
- </simpleType>
- </attribute>
- <attribute name="description" type="string">
- <annotation>
- <documentation>
- Optional description. May be a description string, or a
-key to localized text for the description in the declaring plugin&apos;s resource bundle. No default if this is
-not specified.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="attrib">
- <complexType>
- <sequence>
- <element ref="unique" minOccurs="0" maxOccurs="1"/>
- <element ref="enumValues" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- Name of the attribute.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="description" type="string">
- <annotation>
- <documentation>
- Description text for the attribute, or key pointing to the localized description text inside of the declaring plugin&apos;s resource bundle. If not specified, defaults to &lt;code&gt;ath.ATTRIBUTE_NAME&lt;/code&gt;.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="use" use="default" value="optional">
- <annotation>
- <documentation>
- Sets whether this tag is &lt;code&gt;optional&lt;/code&gt; or &lt;code&gt;required&lt;/code&gt;. The default is &lt;code&gt;optional&lt;/code&gt;.
- </documentation>
- </annotation>
- <simpleType>
- <restriction base="string">
- <enumeration value="optional">
- </enumeration>
- <enumeration value="required">
- </enumeration>
- </restriction>
- </simpleType>
- </attribute>
- <attribute name="type" use="default" value="string">
- <annotation>
- <documentation>
- Type of the attribute, &lt;code&gt;string|boolean|javaType&lt;/code&gt;. Defaults to &lt;code&gt;string&lt;/code&gt; if not specified.
- </documentation>
- </annotation>
- <simpleType>
- <restriction base="string">
- <enumeration value="string">
- </enumeration>
- <enumeration value="bool">
- </enumeration>
- <enumeration value="javaType">
- </enumeration>
- <enumeration value="enum">
- </enumeration>
- </restriction>
- </simpleType>
- </attribute>
- </complexType>
- </element>
-
- <element name="unique">
- <annotation>
- <documentation>
- Specifies that the attribute value is unique within the specified scope.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="scope" use="default" value="module">
- <annotation>
- <documentation>
- The scope of the uniqueness for the attribute value. It is one of the &lt;code&gt;module&lt;/code&gt;, &lt;code&gt;file&lt;/code&gt;, &lt;code&gt;type&lt;/code&gt;, &lt;code&gt;method&lt;/code&gt;,or &lt;code&gt;field&lt;/code&gt;. The default value is &apos;module&apos;.
- </documentation>
- </annotation>
- <simpleType>
- <restriction base="string">
- <enumeration value="module">
- </enumeration>
- <enumeration value="file">
- </enumeration>
- <enumeration value="type">
- </enumeration>
- <enumeration value="method">
- </enumeration>
- <enumeration value="field">
- </enumeration>
- </restriction>
- </simpleType>
- </attribute>
- </complexType>
- </element>
-
- <element name="enumValues">
- <complexType>
- <attribute name="value" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- [Enter API information here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- [Enter information about supplied implementation of this extension point.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
-</schema>
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/schema/annotation.tagset.exsd b/plugins/org.eclipse.jst.common.annotations.controller/schema/annotation.tagset.exsd
deleted file mode 100644
index 4f459bec0..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/schema/annotation.tagset.exsd
+++ /dev/null
@@ -1,134 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.jst.common.annotations.controller">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.jst.common.annotations.controller" id="pXAnnotationTagset" name="Annotations Tag Set"/>
- </appInfo>
- <documentation>
- Allows clients to define a tag set for an annotation
-tag. A tag set named X would contain all of the tags that
-look like &lt;code&gt;@X.tag&lt;/code&gt;. So the &lt;code&gt;ejb&lt;/code&gt;
-tag set would contain the &lt;code&gt;@ejb.bean&lt;/code&gt; tag,
-the &lt;code&gt;@ejb.persistence&lt;/code&gt; tag, the &lt;code&gt;@ejb.pk&lt;/code&gt; tag, etc...
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="AnnotationTagSet" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="AnnotationTagSet">
- <complexType>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- Name of the tagset. The name for the tagset that contains the &lt;code&gt;@ejb.bean&lt;/code&gt; tag would be &lt;code&gt;ejb&lt;/code&gt;.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="displayName" type="string">
- <annotation>
- <documentation>
- The text of the display name for the tag, or a resource
-key pointing to the localized display name inside of the
-declaring plugin&apos;s resource bundle.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="description" type="string">
- <annotation>
- <documentation>
- A description of the tag set. Can be the text of the
-description, or a key for the declaring plugin&apos;s resource bundle that points to the localized text for the tag set description.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="parentTagset" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="validValuesHelper" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- [Enter API information here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- [Enter information about supplied implementation of this extension point.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
-</schema>
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/schema/annotationTagDynamicInitializer.exsd b/plugins/org.eclipse.jst.common.annotations.controller/schema/annotationTagDynamicInitializer.exsd
deleted file mode 100644
index 1f999e18e..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/schema/annotationTagDynamicInitializer.exsd
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="com.ibm.wtp.annotations.controller">
-<annotation>
- <appInfo>
- <meta.schema plugin="com.ibm.wtp.annotations.controller" id="annotationTagDynamicInitializer" name="annotationTagDynamicInitializer"/>
- </appInfo>
- <documentation>
- This extension point is used to allow for clients to define their annotation tags dynamically. This means that it is not necessary to statically define annotation tags using the tag-info extension point. The extensions for this point will be called just after initializing the static annotation tags from the tag-info extension point.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="initializer"/>
- </sequence>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="initializer">
- <complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- Set the qualified name of a class that implements the com.ibm.wtp.annotations.registry.AnnotationTagDynamicInitializer interface. This class must have a default constructor.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- [Enter API information here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- [Enter information about supplied implementation of this extension point.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
-</schema>
diff --git a/plugins/org.eclipse.jst.common.annotations.controller/schema/annotationsController.exsd b/plugins/org.eclipse.jst.common.annotations.controller/schema/annotationsController.exsd
deleted file mode 100644
index dc3e5e135..000000000
--- a/plugins/org.eclipse.jst.common.annotations.controller/schema/annotationsController.exsd
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.jst.common.annotations.controller">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.jst.common.annotations.controller" id="annotationsController" name="Annotations Controller"/>
- </appInfo>
- <documentation>
- The annotationsController is used in generating annotated beans.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="annotationsController" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="annotationsController">
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- The id is used to coordinate precedence using function groups so this must be consistent with the function group bindings.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- This is the name of the extension class defined by the extension
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- [Enter API information here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- [Enter information about supplied implementation of this extension point.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
-</schema>
diff --git a/plugins/org.eclipse.jst.common.annotations.core/.classpath b/plugins/org.eclipse.jst.common.annotations.core/.classpath
deleted file mode 100644
index 66ade16b5..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="src" path="property_files"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.eclipse.jst.common.annotations.core/.cvsignore b/plugins/org.eclipse.jst.common.annotations.core/.cvsignore
deleted file mode 100644
index d3fa362df..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-temp.folder
-annotations-core.jar
-build.xml
diff --git a/plugins/org.eclipse.jst.common.annotations.core/.project b/plugins/org.eclipse.jst.common.annotations.core/.project
deleted file mode 100644
index 51f02e380..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.common.annotations.core</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.jst.common.annotations.core/META-INF/MANIFEST.MF b/plugins/org.eclipse.jst.common.annotations.core/META-INF/MANIFEST.MF
deleted file mode 100644
index 3b8911c0e..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,12 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Annotation Core Plug-in
-Bundle-SymbolicName: org.eclipse.jst.common.annotations.core
-Bundle-Version: 1.0.0
-Bundle-ClassPath: annotations-core.jar
-Bundle-Vendor: Eclipse.org
-Bundle-Localization: plugin
-Export-Package: .,
- org.eclipse.jst.common.internal.annotations.core
-Require-Bundle: org.eclipse.emf.ecore,
- org.eclipse.wst.common.emf
diff --git a/plugins/org.eclipse.jst.common.annotations.core/build.properties b/plugins/org.eclipse.jst.common.annotations.core/build.properties
deleted file mode 100644
index 2ee952d0d..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/build.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# Copyright (c) 2003, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = plugin.xml,\
- annotations-core.jar.jar,\
- annotations-core.jar,\
- META-INF/
-src.includes=schema/
-source.annotations-core.jar=src/,\
- property_files/
-output.annotations-core.jar=bin/
diff --git a/plugins/org.eclipse.jst.common.annotations.core/plugin.xml b/plugins/org.eclipse.jst.common.annotations.core/plugin.xml
deleted file mode 100644
index 7bf65fb5f..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/plugin.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-
-
-</plugin>
diff --git a/plugins/org.eclipse.jst.common.annotations.core/prepareforpii.xml b/plugins/org.eclipse.jst.common.annotations.core/prepareforpii.xml
deleted file mode 100644
index 87718a68e..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/prepareforpii.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<project name="PrepareForPII" default="main" basedir=".">
-
- <!-- Setup temp variables -->
- <target name="init">
- <property name="nlsDir" value="d:/NLS/Corona/0526"/>
- <property name="plugin" value="com.ibm.wtp.annotations.core"/>
- <property name="plugindir" value="d:/workspaceCorona/${plugin}"/>
- <property name="outputDir" value="${nlsDir}/${plugin}"/>
-
-
- </target>
-
- <!-- Create the destination dir -->
- <target name="nlsDir" depends="init">
- <mkdir dir="${nlsDir}"/>
- </target>
-
- <!-- Create the destination dir -->
- <target name="plugindir" depends="nlsDir">
- <delete dir="${outputDir}"/>
- <mkdir dir="${outputDir}"/>
- </target>
-
- <!-- Move the files to the correct locations in the workspace. -->
- <target name="main" depends="plugindir">
-
- <messageIdGen folderPath = "${plugindir}" componentId = "E" />
-
- <copy todir = "${outputDir}/property_files" >
- <fileset dir="${plugindir}/property_files">
- <include name="**/*.properties"/>
- </fileset>
- </copy>
-
- </target>
-</project>
diff --git a/plugins/org.eclipse.jst.common.annotations.core/property_files/annotationcore.properties b/plugins/org.eclipse.jst.common.annotations.core/property_files/annotationcore.properties
deleted file mode 100644
index 92b4d62a4..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/property_files/annotationcore.properties
+++ /dev/null
@@ -1,16 +0,0 @@
-###############################################################################
-# Copyright (c) 2003, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-TagSpec.3=Unknown tag scope:
-TagSpec.4=Null tag scope.
-AnnotationTagParser.0=Null event handler.
-AnnotationTagParser.1=
-AnnotationTagRegistry.0=More than one 'AnnotationTagInfo' tag for the tag '
-AnnotationTagRegistry.9=parseTagAttribs: unknown 'use' value:
diff --git a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotatedCommentHandler.java b/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotatedCommentHandler.java
deleted file mode 100644
index 47767e3c6..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotatedCommentHandler.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.internal.annotations.core;
-
-import java.util.HashMap;
-import java.util.Map;
-
-
-
-/**
- * @author mdelder
- *
- */
-public class AnnotatedCommentHandler implements TagParseEventHandler {
-
- private Map annotations;
-
- private Token annotationToken;
-
- /**
- *
- */
- public AnnotatedCommentHandler() {
- super();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.common.internal.annotations.core.TagParseEventHandler#annotationTag(org.eclipse.wst.common.internal.annotations.core.Token)
- */
- public void annotationTag(Token tag) {
- this.annotationToken = tag;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.common.internal.annotations.core.TagParseEventHandler#endOfTag(int)
- */
- public void endOfTag(int pos) {
- // Do nothing
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.common.internal.annotations.core.TagParseEventHandler#attribute(org.eclipse.wst.common.internal.annotations.core.Token,
- * int, org.eclipse.wst.common.internal.annotations.core.Token)
- */
- public void attribute(Token name, int equalsPosition, Token value) {
- if (value.getText() == null || value.getText().length() == 0)
- getAnnotations().put(this.annotationToken.getText(), name.getText());
- else
- getAnnotations().put(name.getText(), value.getText());
- }
-
- /**
- * @return Returns the annotations.
- */
- public Map getAnnotations() {
- if (annotations == null)
- annotations = new HashMap();
- return annotations;
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationTagParser.java b/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationTagParser.java
deleted file mode 100644
index f87a38ad5..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationTagParser.java
+++ /dev/null
@@ -1,266 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Nov 11, 2003
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-package org.eclipse.jst.common.internal.annotations.core;
-
-/**
- * @author Pat Kelley
- *
- * To change the template for this generated type comment go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-public class AnnotationTagParser {
-
- private TagParseEventHandler handler;
-
- private char[] input;
-
- int pos;
-
- int endOfLastGoodAttParse;
-
- public AnnotationTagParser(TagParseEventHandler tp) {
- if (tp == null) {
- throw new IllegalArgumentException(AnnotationsCoreResources.getString("AnnotationTagParser.0")); //$NON-NLS-1$
- }
- handler = tp;
- }
-
- private boolean eos() {
- return pos >= input.length;
- }
-
- private boolean isWS(char c) {
- return c == ' ' || c == '\n' || c == '\r' || c == '\t';
- }
-
- private void skipWS() {
- while (pos < input.length && (isWS(input[pos]) || input[pos] == '*')) {
- pos++;
- }
- }
-
- // Caller is expected to make sure the eos has not been reached.
- private char peek() {
- return input[pos];
- }
-
- // Caller is expected to check for EOS.
- private char nextChar() {
- return input[pos++];
- }
-
- private boolean isNextChar(char c) {
- if (eos())
- return false;
- return peek() == c;
- }
-
- private boolean isIDChar(char c) {
- return !isWS(c) && c != '=' && c != '@' && c != '\"';
- }
-
- private Token collectID() {
- StringBuffer b = new StringBuffer(16);
- Token t = new Token();
-
- t.setBeginning(pos);
- while (!eos() && isIDChar(peek())) {
- b.append(nextChar());
- }
- t.setEnd(pos - 1);
- t.setText(b.toString());
- return t;
- }
-
- private Token expectAttribName() {
- if (eos()) {
- return null;
- }
- int save = pos;
-
- Token retval = collectID();
- if (retval.length() == 0) {
- pos = save;
- return null;
- }
- return retval;
- }
-
- private Token expectTag() {
- if (eos()) {
- return null;
- }
- int savePos = pos;
-
- if (nextChar() != '@') {
- return null;
- }
-
- if (eos() || isWS(peek())) {
- return null;
- }
-
- Token retval = expectAttribName();
-
- if (retval.length() == 0) {
- pos = savePos + 1;
- }
- retval.setBeginning(savePos);
-
- // Save end of parse so we can pass it as the end of the parsed tag.
- endOfLastGoodAttParse = pos;
- return retval;
- }
-
- private Token expectQuotedValue() {
- skipWS();
- if (eos()) {
- return null;
- }
-
- Token tok = new Token();
-
- tok.setBeginning(pos);
- if (peek() != '\"') {
- return null;
- }
- nextChar();
-
- if (eos()) {
- return null;
- }
-
- StringBuffer b = new StringBuffer(64);
-
- while (!eos() && peek() != '\"') {
- b.append(nextChar());
- }
- if (!eos()) {
- nextChar();
- }
-
- tok.setEnd(pos - 1);
- tok.setText(b.toString());
- return tok;
- }
-
- private boolean expectAssign() {
- if (eos()) {
- return false;
- }
-
- if (nextChar() == '=') {
- return true;
- }
- pos--;
- return false;
- }
-
- private Token mkNullToken() {
- Token retval = new Token();
-
- retval.setBeginning(pos);
- retval.setEnd(pos - 1);
- retval.setText(""); //$NON-NLS-1$
- return retval;
- }
-
- private boolean parseNextAttribute() {
- skipWS();
- if (eos()) {
- return false;
- }
- Token key = collectID();
-
- if (key == null || key.length() == 0) {
- return false;
- }
-
- skipWS();
- if (eos()) {
- // Go ahead and report it, even though it is a partial attribute. (
- // we still fail here )
- handler.attribute(key, -1, mkNullToken());
- return false;
- }
-
- int eqPos = pos;
-
- if (!expectAssign()) {
- // Even though we won't parse this as a full attribute, go ahead and
- // call the handler with it. Some clients want to see partial
- // attributes.
- handler.attribute(key, -1, mkNullToken());
- return false;
- }
- skipWS();
-
- if (eos()) {
- // Same here - we fail on it, but we report it anyway
- handler.attribute(key, eqPos, mkNullToken());
- return false;
- }
- Token value = expectQuotedValue();
-
- if (value == null) {
- value = collectID();
- if (isNextChar('=')) {
- pos = value.getBeginning();
- value = mkNullToken();
- }
- }
- endOfLastGoodAttParse = pos;
- handler.attribute(key, eqPos, value);
- return true;
- }
-
- private void parseAttributes() {
- while (!eos() && parseNextAttribute()) {
- // loop while not end of string
- }
- }
-
- private void skipToTagChar() {
- while (!eos() && peek() != '@') {
- nextChar();
- }
- }
-
- public void setParserInput(char[] text) {
- input = text;
- pos = 0;
- endOfLastGoodAttParse = 0;
- }
-
- public void setParserInput(String text) {
- setParserInput(text.toCharArray());
- }
-
- public void parse() {
- while (!eos()) {
- skipToTagChar();
- Token tag = expectTag();
- if (tag == null) {
- break;
- }
- handler.annotationTag(tag);
- parseAttributes();
- handler.endOfTag(endOfLastGoodAttParse);
- }
- }
-
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationsAdapter.java b/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationsAdapter.java
deleted file mode 100644
index d9431cf2a..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationsAdapter.java
+++ /dev/null
@@ -1,161 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.internal.annotations.core;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.emf.common.notify.impl.AdapterImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.EStructuralFeatureImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.wst.common.internal.emf.utilities.CloneablePublic;
-
-
-
-/**
- * @author mdelder
- *
- */
-public class AnnotationsAdapter extends AdapterImpl implements CloneablePublic {
-
- public static final String GENERATED = "generated"; //$NON-NLS-1$
-
- protected final static String ADAPTER_TYPE = AnnotationsAdapter.class.getName();
-
- public final static EStructuralFeature NOTIFICATION_FEATURE = new EStructuralFeatureImpl() {
- // anonymous inner class
- };
-
- private Map annotationsMap;
-
- /**
- *
- */
- public AnnotationsAdapter() {
- super();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.lang.Object#clone()
- */
- public Object clone() { // throws CloneNotSupportedException {
- //return super.clone();
- return null;
- }
-
- /**
- * @param emfObject
- * @param string
- */
- public static void addAnnotations(EObject emfObject, String name, Object value) {
- if (emfObject == null)
- return;
- AnnotationsAdapter adapter = getAdapter(emfObject);
- adapter.addAnnotations(name, value);
- }
-
-
- /**
- * @param emfObject
- * @param string
- */
- public static Object getAnnotations(EObject emfObject, String name) {
- if (emfObject == null)
- return null;
- return internalGetAnnotations(emfObject, name);
- }
-
- protected static Object internalGetAnnotations(EObject emfObject, String name) {
- if (emfObject == null)
- return null;
- AnnotationsAdapter adapter = getAdapter(emfObject);
- return (adapter == null) ? internalGetAnnotations(emfObject.eContainer(), name) : adapter.getAnnotations(name);
- }
-
-
- /**
- * @param emfObject
- * @param string
- */
- public static Object removeAnnotations(EObject emfObject, String name) {
- if (emfObject == null)
- return null;
- AnnotationsAdapter adapter = getAdapter(emfObject);
- return adapter.removeAnnotations(name);
- }
-
- /**
- * @param name
- * @param value
- */
- protected void addAnnotations(String name, Object value) {
- getAnnnotations().put(name, value);
- }
-
- protected Object getAnnotations(String name) {
- return getAnnnotations().get(name);
- }
-
- protected Object removeAnnotations(String name) {
- return getAnnnotations().remove(name);
- }
-
- /**
- * @return
- */
- protected Map getAnnnotations() {
- if (annotationsMap == null)
- annotationsMap = new HashMap();
- return annotationsMap;
- }
-
- /**
- * @param emfObject
- * @return
- */
- protected static AnnotationsAdapter getAdapter(EObject emfObject) {
- AnnotationsAdapter adapter = retrieveExistingAdapter(emfObject);
- return adapter == null ? createAdapter(emfObject) : adapter;
- }
-
- /**
- * @param emfObject
- * @return
- */
- protected static AnnotationsAdapter createAdapter(EObject emfObject) {
- AnnotationsAdapter adapter = new AnnotationsAdapter();
- adapter.setTarget(emfObject);
- emfObject.eAdapters().add(adapter);
- return adapter;
- }
-
- /**
- * @param emfObject
- * @return
- */
- protected static AnnotationsAdapter retrieveExistingAdapter(EObject emfObject) {
- return (AnnotationsAdapter) EcoreUtil.getExistingAdapter(emfObject, ADAPTER_TYPE);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.emf.common.notify.impl.AdapterImpl#isAdapterForType(java.lang.Object)
- */
- public boolean isAdapterForType(Object type) {
- return ADAPTER_TYPE.equals(type);
- }
-
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationsCoreResources.java b/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationsCoreResources.java
deleted file mode 100644
index e7fdec11a..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationsCoreResources.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Mar 8, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-
-package org.eclipse.jst.common.internal.annotations.core;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-/**
- * @author kkatyal
- *
- * To change the template for this generated type comment go to Window - Preferences - Java - Code
- * Generation - Code and Comments
- */
-public class AnnotationsCoreResources {
-
- private static final String BUNDLE_NAME = "annotationcore";//$NON-NLS-1$
- private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
-
- /**
- *
- */
- private AnnotationsCoreResources() {
- // TODO Auto-generated constructor stub
- }
-
- /**
- * @param key
- * @return
- */
- public static String getString(String key) {
- // TODO Auto-generated method stub
- try {
- return RESOURCE_BUNDLE.getString(key);
- } catch (MissingResourceException e) {
- return '!' + key + '!';
- }
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationsTranslator.java b/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationsTranslator.java
deleted file mode 100644
index f110ad3c8..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/AnnotationsTranslator.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.internal.annotations.core;
-
-import java.util.Iterator;
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.common.internal.emf.resource.Translator;
-
-
-
-/**
- * @author mdelder
- *
- */
-public class AnnotationsTranslator extends Translator {
-
- private AnnotatedCommentHandler handler;
-
- private AnnotationTagParser parser;
-
- public static final AnnotationsTranslator INSTANCE = new AnnotationsTranslator();
-
- /**
- * @param domNameAndPath
- * @param aFeature
- */
- public AnnotationsTranslator() {
- super("#comment", AnnotationsAdapter.NOTIFICATION_FEATURE, Translator.COMMENT_FEATURE); //$NON-NLS-1$
- }
-
- /**
- * @param domNameAndPath
- * @param aFeature
- */
- public AnnotationsTranslator(String domNameAndPath) {
- super(domNameAndPath, AnnotationsAdapter.NOTIFICATION_FEATURE, Translator.COMMENT_FEATURE);
- }
-
- /**
- * @param domNameAndPath
- * @param aFeature
- * @param style
- */
- public AnnotationsTranslator(String domNameAndPath, int style) {
- super(domNameAndPath, AnnotationsAdapter.NOTIFICATION_FEATURE, style | Translator.COMMENT_FEATURE);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.wtp.emf.xml.Translator#setMOFValue(org.eclipse.emf.ecore.EObject,
- * java.lang.Object)
- */
- public void setMOFValue(EObject emfObject, Object value) {
- if (value == null)
- return;
- getHandler().getAnnotations().clear();
- getParser().setParserInput(value.toString());
- getParser().parse();
- String name;
- Map annotations = getHandler().getAnnotations();
- for (Iterator keys = annotations.keySet().iterator(); keys.hasNext();) {
- name = (String) keys.next();
- AnnotationsAdapter.addAnnotations(emfObject, name, annotations.get(name));
- }
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.emf2xml.impl.Translator#isSetMOFValue(org.eclipse.emf.ecore.EObject)
- */
- public boolean isSetMOFValue(EObject emfObject) {
- return getMOFValue(emfObject) != null;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.emf2xml.impl.Translator#getMOFValue(org.eclipse.emf.ecore.EObject)
- */
- public Object getMOFValue(EObject emfObject) {
- return AnnotationsAdapter.getAnnotations(emfObject, AnnotationsAdapter.GENERATED);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.emf2xml.impl.Translator#unSetMOFValue(org.eclipse.emf.ecore.EObject)
- */
- public void unSetMOFValue(EObject emfObject) {
- AnnotationsAdapter.removeAnnotations(emfObject, AnnotationsAdapter.GENERATED);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.emf2xml.impl.Translator#featureExists(org.eclipse.emf.ecore.EObject)
- */
- public boolean featureExists(EObject emfObject) {
- return true;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.emf2xml.impl.Translator#isDataType()
- */
- public boolean isDataType() {
- return true;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.emf2xml.impl.Translator#isMapFor(java.lang.Object, java.lang.Object,
- * java.lang.Object)
- */
- public boolean isMapFor(Object aFeature, Object oldValue, Object newValue) {
- return (aFeature == feature);
- }
-
- /**
- * @return Returns the handler.
- */
- protected AnnotatedCommentHandler getHandler() {
- if (handler == null)
- handler = new AnnotatedCommentHandler();
- return handler;
- }
-
- /**
- * @return Returns the parser.
- */
- protected AnnotationTagParser getParser() {
- if (parser == null)
- parser = new AnnotationTagParser(getHandler());
- return parser;
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/TagParseEventHandler.java b/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/TagParseEventHandler.java
deleted file mode 100644
index f9794150c..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/TagParseEventHandler.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Nov 11, 2003
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-package org.eclipse.jst.common.internal.annotations.core;
-
-
-/**
- * Parser and interface for objects that want to receive parsing events. When parsing is started
- * through the <code>parse()</code> method, event methods are called for interesting features in
- * the parse. ( like a SAX ContentHandler )
- *
- * @author Pat Kelley
- */
-public interface TagParseEventHandler {
-
- /**
- * Called when the annotation tag is encountered. This will always be the first piece of content
- * encountered. Followed by a endOfTag( ) call when the end of the tag is reached.
- */
- public void annotationTag(Token tag);
-
- /**
- * Called when the entire annotation for a single tag has been parsed.
- *
- * @param pos
- * Position in the stream of the end of the annotation.
- */
- public void endOfTag(int pos);
-
- /**
- * Called for every attribute setting encountered for an annotation tag.
- *
- * @param name
- * Name of the attribute.
- * @param equalsPosition
- * Source position of the equals sign, or -1 if no equals sign was found.
- * @param value
- * Value of the attribute, with any quotes stripped off. Will be zero length token if
- * no attribute was found.
- */
- public void attribute(Token name, int equalsPosition, Token value);
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/Token.java b/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/Token.java
deleted file mode 100644
index 9d0310236..000000000
--- a/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/Token.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Nov 11, 2003
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-package org.eclipse.jst.common.internal.annotations.core;
-
-/**
- * A string, and the range it was taken from in the source file. The range is inclusive. (ie, with
- * source "ABCD", the beginning and end for the Token "BC" would be (1,2) )
- *
- * @author Pat Kelley
- *
- * To change the template for this generated type comment go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-public class Token {
- private String text;
- private int beginning;
- private int end;
-
-
-
- /**
- * @return Position in original source of the first character of this token.
- */
- public int getBeginning() {
- return beginning;
- }
-
- /**
- * @return Position in the original source of the last character of this token.
- */
- public int getEnd() {
- return end;
- }
-
- /**
- * @return The token string.
- */
- public String getText() {
- return text;
- }
-
- /**
- * @param i
- * A source position
- */
- public void setBeginning(int i) {
- beginning = i;
- }
-
- /**
- * @param i
- * A source position.
- */
- public void setEnd(int i) {
- end = i;
- }
-
- /**
- * @param string
- */
- public void setText(String string) {
- text = string;
- }
-
- public int length() {
- return text.length();
- }
-
- /**
- * Tests whether <code>srcPos</code> comes immediately after the last character in this token.
- *
- * @param srcPos
- * A position in the original source the token came from.
- * @return true if srcPos comes immediately after this token.
- */
- public boolean immediatelyPrecedes(int srcPos) {
- return end + 1 == srcPos;
- }
-
- /**
- * Tests whether srcPos is within the original source range range of the token.
- *
- * @param srcPos
- * @return
- */
- public boolean contains(int srcPos) {
- return srcPos >= beginning && srcPos <= end;
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/.classpath b/plugins/org.eclipse.jst.common.annotations.ui/.classpath
deleted file mode 100644
index 66ade16b5..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="src" path="property_files"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/.cvsignore b/plugins/org.eclipse.jst.common.annotations.ui/.cvsignore
deleted file mode 100644
index 2521e52aa..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-temp.folder
-build.xml
-ui.jar
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/.project b/plugins/org.eclipse.jst.common.annotations.ui/.project
deleted file mode 100644
index 04b8576ce..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.common.annotations.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.jst.common.annotations.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index ae6583800..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,26 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Ui Plug-in
-Bundle-SymbolicName: org.eclipse.jst.common.annotations.ui; singleton:=true
-Bundle-Version: 1.0.0
-Bundle-ClassPath: ui.jar
-Bundle-Activator: org.eclipse.jst.common.internal.annotations.ui.UiPlugin
-Bundle-Vendor: Eclipse.org
-Bundle-Localization: plugin
-Export-Package: .,
- org.eclipse.jst.common.internal.annotations.ui
-Require-Bundle: org.eclipse.ui.views,
- org.eclipse.ui.editors,
- org.eclipse.core.resources,
- org.eclipse.ui,
- org.eclipse.jdt.ui,
- org.eclipse.jdt.core,
- org.eclipse.jface.text,
- org.eclipse.ui.workbench.texteditor,
- org.eclipse.ui.ide,
- org.eclipse.swt,
- org.eclipse.core.runtime,
- org.eclipse.core.runtime,
- org.eclipse.jst.common.annotations.core,
- org.eclipse.jst.common.annotations.controller
-Eclipse-AutoStart: true
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/build.properties b/plugins/org.eclipse.jst.common.annotations.ui/build.properties
deleted file mode 100644
index dc40101be..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/build.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-###############################################################################
-# Copyright (c) 2003, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = plugin.xml,\
- ui.jar,\
- META-INF/
-src.includes=schema/
-source.ui.jar=src/,\
- property_files/
-output.ui.jar=bin/
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/plugin.xml b/plugins/org.eclipse.jst.common.annotations.ui/plugin.xml
deleted file mode 100644
index f1ba7fc72..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/plugin.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-
- <extension
- point="org.eclipse.jdt.ui.javadocCompletionProcessor">
- <javadocCompletionProcessor
- name="AnnotationsCompletionProcessor"
- class="org.eclipse.jst.common.internal.annotations.ui.AnnotationTagCompletionProc"
- id="AnnotationsCompletionProcessor">
- </javadocCompletionProcessor>
- </extension>
-
-</plugin>
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/prepareforpii.xml b/plugins/org.eclipse.jst.common.annotations.ui/prepareforpii.xml
deleted file mode 100644
index 9a4918e29..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/prepareforpii.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<project name="PrepareForPII" default="main" basedir=".">
-
- <!-- Setup temp variables -->
- <target name="init">
- <property name="nlsDir" value="d:/NLS/Corona/0526"/>
- <property name="plugin" value="com.ibm.wtp.annotations.ui"/>
- <property name="plugindir" value="d:/workspaceCorona/${plugin}"/>
- <property name="outputDir" value="${nlsDir}/${plugin}"/>
-
-
- </target>
-
- <!-- Create the destination dir -->
- <target name="nlsDir" depends="init">
- <mkdir dir="${nlsDir}"/>
- </target>
-
- <!-- Create the destination dir -->
- <target name="plugindir" depends="nlsDir">
- <delete dir="${outputDir}"/>
- <mkdir dir="${outputDir}"/>
- </target>
-
- <!-- Move the files to the correct locations in the workspace. -->
- <target name="main" depends="plugindir">
-
- <messageIdGen folderPath = "${plugindir}" componentId = "E" />
-
- <copy todir = "${outputDir}/property_files" >
- <fileset dir="${plugindir}/property_files">
- <include name="**/*.properties"/>
- </fileset>
- </copy>
-
- </target>
-</project>
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/property_files/taghandlerui.properties b/plugins/org.eclipse.jst.common.annotations.ui/property_files/taghandlerui.properties
deleted file mode 100644
index a18410741..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/property_files/taghandlerui.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2003, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-J2EEAnnotationsCompletionProcessor.3=Error parsing attributes - was expecing a '=' but found '
-J2EEAnnotationsCompletionProcessor.4=' instead.
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/schema/AnnotationUI.exsd b/plugins/org.eclipse.jst.common.annotations.ui/schema/AnnotationUI.exsd
deleted file mode 100644
index b3af9ecea..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/schema/AnnotationUI.exsd
+++ /dev/null
@@ -1,104 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.jst.common.annotations.ui">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.jst.common.annotations.ui" id="AnnotationUI" name="AnnotationUI"/>
- </appInfo>
- <documentation>
- Extension point for enabling content assist for an existing tag set.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="AutoCompleteData" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="AutoCompleteData">
- <annotation>
- <documentation>
- Enables content assist for a single tag set.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="tagSet" type="string" use="required">
- <annotation>
- <documentation>
- Name of the tag set code assist should be enabled for.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- [Enter API information here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- [Enter information about supplied implementation of this extension point.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
-</schema>
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagCompletionProc.java b/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagCompletionProc.java
deleted file mode 100644
index 8870163de..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagCompletionProc.java
+++ /dev/null
@@ -1,726 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Mar 9, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.jst.common.internal.annotations.ui;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.MissingResourceException;
-import java.util.Set;
-import java.util.TreeSet;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jdt.core.IField;
-import org.eclipse.jdt.core.IJavaElement;
-import org.eclipse.jdt.core.IMethod;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jdt.ui.JavaUI;
-import org.eclipse.jdt.ui.text.java.IJavaCompletionProposal;
-import org.eclipse.jdt.ui.text.java.IJavadocCompletionProcessor;
-import org.eclipse.jface.text.BadLocationException;
-import org.eclipse.jface.text.IDocument;
-import org.eclipse.jface.text.contentassist.IContextInformation;
-import org.eclipse.jst.common.internal.annotations.core.AnnotationTagParser;
-import org.eclipse.jst.common.internal.annotations.core.TagParseEventHandler;
-import org.eclipse.jst.common.internal.annotations.core.Token;
-import org.eclipse.jst.common.internal.annotations.registry.AnnotationTagRegistry;
-import org.eclipse.jst.common.internal.annotations.registry.AttributeValueProposalHelper;
-import org.eclipse.jst.common.internal.annotations.registry.AttributeValuesHelper;
-import org.eclipse.jst.common.internal.annotations.registry.TagAttribSpec;
-import org.eclipse.jst.common.internal.annotations.registry.TagSpec;
-import org.eclipse.ui.IEditorInput;
-import org.eclipse.ui.part.FileEditorInput;
-
-
-/**
- * @author Pat Kelley
- *
- * To change the template for this generated type comment go to Window - Preferences - Java - Code
- * Generation - Code and Comments
- */
-public class AnnotationTagCompletionProc implements IJavadocCompletionProcessor, TagParseEventHandler {
- private static final String[] BOOLEAN_VALID_VALUES = new String[]{"false", "true"}; //$NON-NLS-1$ //$NON-NLS-2$
- ICompilationUnit m_icu;
-
- IDocument m_doc;
-
- List m_tags;
-
- // Instance variables active when maybeCompleteAttribute is live.
- Token m_tagName;
-
- /**
- * Set of all attributes names encountered. Only live when maybeCompleteAttribute is live.
- */
- Set m_attSet = new TreeSet();
-
- /**
- * List of Attribute. Only live when maybeCompleAttribute is live.
- */
- List m_attributes = new ArrayList();
-
- AnnotationTagParser m_parser = new AnnotationTagParser(this);
-
- /**
- * Scope of the tag. TagSpec.TYPE | TagSpec.METHOD | TagSpec.FIELD. Not valid until
- * getAnnotationArea has been called for a completions request, and only then if
- * getAnnotationArea() did not return null.
- */
- int m_tagScope;
-
- public AnnotationTagCompletionProc() {
- initTagInfo();
- }
-
- private void initTagInfo() {
- if (m_tags == null)
- m_tags = AnnotationTagRegistry.getAllTagSpecs();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jdt.ui.text.java.IJavadocCompletionProcessor#computeContextInformation(org.eclipse.jdt.core.ICompilationUnit,
- * int)
- */
- public IContextInformation[] computeContextInformation(ICompilationUnit cu, int offset) {
- // TODO Auto-generated method stub
- return null;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jdt.ui.text.java.IJavadocCompletionProcessor#computeCompletionProposals(org.eclipse.jdt.core.ICompilationUnit,
- * int, int, int)
- */
- public IJavaCompletionProposal[] computeCompletionProposals(ICompilationUnit cu, int offset, int length, int flags) {
- IEditorInput editorInput = new FileEditorInput((IFile) cu.getResource());
-
- // Set up completion processor state.
- m_doc = JavaUI.getDocumentProvider().getDocument(editorInput);
- m_icu = cu;
-
- try {
- AnnotationArea area = getAnnotationArea(offset);
-
- if (area == null) {
- return null;
- }
-
- // Check for tag completion first. ( the easier case )
- String tsf = getTagSoFarIfNotCompleted(area.beginOffset, offset);
-
- if (tsf != null) {
- return getTagCompletionsFor(tsf, area, length);
- }
-
- // Ach, have to try the harder case now, where we parse the
- // annotation
- return maybeCompleteAttribute(area, offset);
-
- } catch (JavaModelException e) {
- // Silently fail.
- return null;
- } catch (BadLocationException ex) {
- return null;
- }
- }
-
- private IJavaCompletionProposal[] maybeCompleteAttribute(AnnotationArea area, int cursorPos) throws BadLocationException {
- m_attSet.clear();
- m_attributes.clear();
-
- m_parser.setParserInput(m_doc.get(area.beginOffset, area.length()));
- m_parser.parse();
-
- TagSpec ts = getTagSpecForTagName(m_tagName.getText());
-
- // Do we even recognize this tag?
- if (ts == null) {
- return null;
- }
-
- // Loop through and determine whether the cursor is within a attribute
- // assignment, or between assignements.
- Attribute target = null;
- Attribute last = null;
- Attribute before = null;
- Attribute a = null;
- boolean between = false;
- int rCurPos = area.relativeCursorPos(cursorPos);
- Iterator i = m_attributes.iterator();
- while (i.hasNext()) {
- a = (Attribute) i.next();
-
- if (a.contains(rCurPos)) {
- target = a;
- break;
- } else if (last != null) {
- // See if the cursor is between, but not directly adjacent to
- // the last two attributes.
- if (rCurPos > last.maxExtent() + 1 && rCurPos < a.minExtent() - 1) {
- between = true;
- break;
- } else if (a.immediatelyPrecedes(rCurPos)) {
- before = a;
- break;
- }
- }
- last = a;
- }
-
- if (target == null) {
- if (between) {
- // If we're between attributes, suggest all possible attributes.
- return attributeCompletionsFor(ts, cursorPos, 0, "", true); //$NON-NLS-1$
- } else if (before != null) {
- // We're right after the attribute named in 'before', so set the
- // target to it, and fall
- // through to the target handling code.
- target = before;
- } else {
- // not between and not immediately after an attribute. We are
- // past the end of the parsed annotation.
- // Only offer suggestions if it looks like the last annotation
- // attribute is valid.
- if (a == null) {
- // No annotations attributes, suggest everything.
- return attributeCompletionsFor(ts, cursorPos, 0, "", true); //$NON-NLS-1$
- } else if (rCurPos > a.maxExtent()) {
- if (a.hasAssignment() && a.hasValue()) {
- // Last annotation was good, and we're past it, so do
- // completions for anything
- return attributeCompletionsFor(ts, cursorPos, 0, "", true); //$NON-NLS-1$
- } else if (a.hasAssignment())
- return attributeValidValuesFor(ts, a, area, cursorPos);
- else
- return attributeCompletionsFor(ts, cursorPos - a.name.length(), 0, a.name.getText(), true);
- } else {
- // Didn't match anything, not past the end - we're probably
- // the first attribute
- // being added to the tag.
- return attributeCompletionsFor(ts, cursorPos, 0, "", true); //$NON-NLS-1$
- }
- }
- }
-
- // Completion for a partial attribute name?
- if (target.name.immediatelyPrecedes(rCurPos)) {
- return attributeCompletionsFor(ts, area.relativeToAbs(target.name.getBeginning()), target.name.length(), target.name.getText(), !target.hasAssignment());
- }
-
- // Are we in the middle of a name?
- if (target.name.contains(rCurPos)) {
- // We've opted to replace the entire name for this case, which seems
- // to make the most sense.
- return attributeCompletionsFor(ts, area.relativeToAbs(target.name.getBeginning()), target.name.length(), target.name.getText().substring(0, rCurPos - target.name.getBeginning()), !target.hasAssignment());
- }
-
- // If we got this far, we're either in a value, or really confused.
- // try and return valid values or bail?
- if (a.value != null && (a.value.contains(rCurPos) || (target.hasAssignment() && area.relativeCursorPos(cursorPos) > a.name.getBeginning())))
- return attributeValidValuesFor(ts, a, area, cursorPos);
- return attributeCompletionsFor(ts, cursorPos, 0, "", true); //$NON-NLS-1$
- }
-
- /**
- * @return valid values for the attribute
- */
- private IJavaCompletionProposal[] attributeValidValuesFor(TagSpec ts, Attribute a, AnnotationArea area, int cursorPos) {
- TagAttribSpec tas = ts.attributeNamed(a.name.getText());
- if (tas == null)
- return null;
- String[] validValues = getValidValues(tas, a, area);
- String partialValue = calculatePartialValue(a, area, cursorPos);
- int valueOffset = calculateValueOffset(a, area, cursorPos);
- if (validValues == null || validValues.length == 0)
- return createCustomAttributeCompletionProposals(ts, tas, partialValue, valueOffset, a.value.getText(), area.javaElement);
- return createAttributeCompletionProposals(partialValue, valueOffset, validValues);
- }
-
- /**
- * @param ts
- * @param tas
- * @param partialValue
- * @param valueOffset
- * @param value
- * @param javaElement
- * @return
- */
- private IJavaCompletionProposal[] createCustomAttributeCompletionProposals(TagSpec ts, TagAttribSpec tas, String partialValue, int valueOffset, String value, IJavaElement javaElement) {
- AttributeValuesHelper helper = ts.getValidValuesHelper();
- if (helper == null)
- return null;
- AttributeValueProposalHelper[] proposalHelpers = helper.getAttributeValueProposalHelpers(tas, partialValue, valueOffset, javaElement);
- if (proposalHelpers == null || proposalHelpers.length == 0)
- return null;
- IJavaCompletionProposal[] proposals = new IJavaCompletionProposal[proposalHelpers.length];
- AnnotationTagProposal proposal;
- for (int i = 0; i < proposalHelpers.length; i++) {
- proposal = new AnnotationTagProposal(proposalHelpers[i]);
- //proposal.setPartialValueString(partialValue);
- proposals[i] = proposal;
- }
- return proposals;
- }
-
- private IJavaCompletionProposal[] createAttributeCompletionProposals(String partialValue, int valueOffset, String[] validValues) {
- List resultingValues = new ArrayList();
- for (int i = 0; i < validValues.length; i++) {
- String rplString = validValues[i];
- if (partialValue != null && !rplString.startsWith(partialValue))
- continue;
- AnnotationTagProposal prop = new AnnotationTagProposal(rplString, valueOffset, 0, null, rplString, 1);
- prop.setEnsureQuoted(true);
- //prop.setPartialValueString(partialValue);
- resultingValues.add(prop);
- }
- if (resultingValues.isEmpty())
- return null;
- return (IJavaCompletionProposal[]) resultingValues.toArray(new IJavaCompletionProposal[resultingValues.size()]);
- }
-
- private String[] getValidValues(TagAttribSpec tas, Attribute a, AnnotationArea area) {
- String[] validValues = tas.getValidValues();
- if (validValues == null || validValues.length == 0) {
- AttributeValuesHelper helper = tas.getTagSpec().getValidValuesHelper();
- if (helper == null)
- return null;
- validValues = helper.getValidValues(tas, area.javaElement);
- if ((validValues == null || validValues.length == 0) && tas.valueIsBool())
- validValues = BOOLEAN_VALID_VALUES;
- }
- return validValues;
- }
-
- /**
- * @param a
- * @param area
- * @param cursorPos
- * @return
- */
- private int calculateValueOffset(Attribute a, AnnotationArea area, int cursorPos) {
- if (a.value == null)
- return cursorPos;
- int nameEnd = a.name.getEnd();
- int valBeg = a.value.getBeginning();
- if (valBeg > nameEnd + 2)
- return area.relativeToAbs(nameEnd + 2); //Value too far away to be correct.
- return area.relativeToAbs(valBeg);
- }
-
- /**
- * @param a
- * @param area
- * @param cursorPos
- * @return
- */
- private String calculatePartialValue(Attribute a, AnnotationArea area, int cursorPos) {
- if (a.value == null)
- return null;
- int nameEnd = a.name.getEnd();
- int valueBeg = a.value.getBeginning();
- if (valueBeg > nameEnd + 2)
- return null; //Value is too far away so it must not be part of this attribute.
- int relativePos = area.relativeCursorPos(cursorPos);
- if (a.value.contains(relativePos)) {
- boolean hasBeginQuote = valueBeg - nameEnd == 2;
- String value = a.value.getText();
- int end = relativePos - valueBeg;
- if (hasBeginQuote)
- end--;
- if (end > -1) {
- int length = value.length();
- if (end < length)
- return value.substring(0, end);
- else if (end == length)
- return value;
- }
- }
- return null;
- }
-
- /**
- * @param tagName
- * @return
- */
- private TagSpec getTagSpecForTagName(String tagName) {
- String simpleName = tagName;
- if (tagName != null && tagName.length() > 0 && tagName.charAt(0) == '@')
- simpleName = tagName.length() == 2 ? "" : tagName.substring(1); //$NON-NLS-1$
- switch (m_tagScope) {
- case TagSpec.TYPE :
- return AnnotationTagRegistry.getTypeTag(simpleName);
- case TagSpec.METHOD :
- return AnnotationTagRegistry.getMethodTag(simpleName);
- case TagSpec.FIELD :
- return AnnotationTagRegistry.getFieldTag(simpleName);
- }
- return null;
- }
-
- private IJavaCompletionProposal[] attributeCompletionsFor(TagSpec ts, int replaceOffset, int replaceLength, String partialAttributeName, boolean appendEquals) {
- Iterator i = ts.getAttributes().iterator();
- List props = new ArrayList();
- while (i.hasNext()) {
- TagAttribSpec tas = (TagAttribSpec) i.next();
- String aname = tas.getAttribName();
-
- // Don't suggest attributes that have already been specified.
- if (!m_attSet.contains(aname)) {
- if (aname.startsWith(partialAttributeName)) {
- String rtxt = appendEquals ? aname + '=' : aname;
- AnnotationTagProposal prop = new AnnotationTagProposal(rtxt, replaceOffset, replaceLength, null, aname, 1);
- prop.setHelpText(lookupAttHelp(tas));
- props.add(prop);
- }
- }
- }
- if (props.isEmpty()) {
- return null;
- }
- return (IJavaCompletionProposal[]) props.toArray(new IJavaCompletionProposal[props.size()]);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.ws.rd.annotations.TagParseEventHandler#annotationTag(com.ibm.ws.rd.annotations.Token)
- */
- public void annotationTag(Token tag) {
- m_tagName = tag;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.ws.rd.annotations.TagParseEventHandler#endOfTag(int)
- */
- public void endOfTag(int pos) {
- // Do nothing
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.ws.rd.annotations.TagParseEventHandler#attribute(com.ibm.ws.rd.annotations.Token,
- * int, com.ibm.ws.rd.annotations.Token)
- */
- public void attribute(Token name, int equalsPosition, Token value) {
- m_attributes.add(new Attribute(name, equalsPosition, value));
- m_attSet.add(name.getText());
- }
-
- private String getReplacementForTag(TagSpec ts, int beginIndex) {
- StringBuffer bud = new StringBuffer(32);
-
- bud.append('@');
- bud.append(ts.getTagName());
-
- String prefix = getArrayPrefixForMultipleAttribs(beginIndex);
- List attributes = ts.getAttributes();
-
- for (int i = 0; i < attributes.size(); i++) {
- TagAttribSpec tas = (TagAttribSpec) attributes.get(i);
-
- if (tas.isRequired()) {
- bud.append(prefix);
- bud.append(tas.getAttribName());
- bud.append('=');
- }
- }
- return bud.toString();
- }
-
- private String getArrayPrefixForMultipleAttribs(int beginIndex) {
- String result = null;
- String source = null;
- // Get source from compilation unit
- try {
- source = m_icu.getSource();
- if (source == null || beginIndex < 0)
- return result;
- // trim off everything after our begin index
- source = source.substring(0, beginIndex + 1);
- int newLineIndex = source.lastIndexOf('\n');
- //if we are on first line...
- if (newLineIndex == -1)
- newLineIndex = 0;
- // Get the current line
- String currentLine = source.substring(newLineIndex, beginIndex + 1);
- // Currently we have to have the '@' sign to show our menu
- int annotationIndex = currentLine.lastIndexOf('@');
- result = currentLine.substring(0, annotationIndex);
- result = result + " "; //$NON-NLS-1$
- } catch (Exception e) {
- // Do nothing
- }
-
- return result;
- }
-
- private IJavaCompletionProposal[] getTagCompletionsFor(String partialTagName, AnnotationArea area, int selectLength) {
- List found = new ArrayList();
-
- for (int i = 0; i < m_tags.size(); i++) {
- TagSpec ts = (TagSpec) m_tags.get(i);
- String tname = ts.getTagName();
-
- if (ts.getScope() == m_tagScope && tname.startsWith(partialTagName)) {
- String rtxt = getReplacementForTag(ts, area.beginOffset);
- String labl = '@' + tname;
- AnnotationTagProposal prop = new AnnotationTagProposal(rtxt, area.beginOffset, Math.max(selectLength, rtxt.length()), null, labl, 1);
- prop.setHelpText(lookupTagHelp(ts));
- found.add(prop);
- }
- }
-
- if (!found.isEmpty()) {
- return (IJavaCompletionProposal[]) found.toArray(new IJavaCompletionProposal[found.size()]);
- }
- return null;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jdt.ui.text.java.IJavadocCompletionProcessor#getErrorMessage()
- */
- public String getErrorMessage() {
- // TODO Auto-generated method stub
- return null;
- }
-
- private static boolean isWS1(char c) {
- return c == ' ' || c == '\t' || c == '*' || c == '\r' || c == '\n';
- }
-
- private String getTagSoFarIfNotCompleted(int startingAt, int cursorAt) throws BadLocationException {
- if (m_doc.getChar(startingAt) != '@') {
- return null;
- }
-
- int firstChar = startingAt + 1;
-
- if (firstChar == cursorAt) {
- return ""; //$NON-NLS-1$
- }
-
- for (int i = firstChar; i < cursorAt; i++) {
- char c = m_doc.getChar(i);
-
- if (isWS1(c)) {
- return null;
- }
- }
-
- return m_doc.get(firstChar, cursorAt - firstChar);
- }
-
- /**
- * Calculates the the area of the annotation we're trying to complete. Also initializes
- * m_tagScope.
- *
- * @param fromOffset
- * @return
- * @throws JavaModelException
- */
- private AnnotationArea getAnnotationArea(int fromOffset) throws JavaModelException {
- // First, roughly calculate the end of the comment.
- IJavaElement el = m_icu.getElementAt(fromOffset);
- int absmax, absmin;
- if (el == null)
- return null;
- int ty = el.getElementType();
-
- switch (ty) {
- case IJavaElement.FIELD :
- IField f = (IField) el;
- absmax = f.getNameRange().getOffset();
- absmin = f.getSourceRange().getOffset();
- m_tagScope = TagSpec.FIELD;
- break;
-
- case IJavaElement.TYPE :
- IType t = (IType) el;
- absmax = t.getNameRange().getOffset();
- absmin = t.getSourceRange().getOffset();
- m_tagScope = TagSpec.TYPE;
- break;
-
- case IJavaElement.METHOD :
- IMethod m = (IMethod) el;
- absmax = m.getNameRange().getOffset();
- absmin = m.getSourceRange().getOffset();
- m_tagScope = TagSpec.METHOD;
- break;
-
- default :
- m_tagScope = -1;
- return null;
- }
-
- // Make sure we're not after the name for the member.
- if (absmax < fromOffset) {
- return null;
- }
-
- int min = 0, max = 0;
- try {
- // Search backwards for the starting '@'.
- boolean found = false;
- for (min = fromOffset; min >= absmin; min--) {
- if (m_doc.getChar(min) == '@') {
- found = true;
- break;
- }
- }
- if (!found) {
- return null;
- }
-
- // Search forwards for the next '@', or the end of the comment.
- for (max = fromOffset + 1; max < absmax; max++) {
- if (m_doc.getChar(max) == '@') {
- break;
- }
- }
- } catch (BadLocationException e) {
- return null;
- }
-
- return new AnnotationArea(el, min, Math.min(absmax, max));
- }
-
- private String lookupTagHelp(TagSpec ts) {
- if (ts != null)
- try {
- return ts.lookupTagHelp();
- } catch (MissingResourceException e) {
- // Do nothing, return null
- }
- return null;
- }
-
- private String lookupAttHelp(TagAttribSpec tas) {
- if (tas != null)
- try {
- return tas.lookupTagHelp();
- } catch (MissingResourceException e) {
- // Do nothing, return null
- }
- return null;
- }
-
- /**
- * A range that goes from the beginning position up to, but not including, the end position.
- */
- private static class AnnotationArea {
- /**
- * Document offset of the beginning of the javadoc annotation.
- */
- int beginOffset;
-
- /**
- * Document offset of the end of the area that could contain an annotation.
- */
- int endOffset;
- /**
- * The Java element that this annotation is assigned.
- *
- * @param beg
- * @param end
- */
- IJavaElement javaElement;
-
- public AnnotationArea(IJavaElement javaElement, int beg, int end) {
- this.javaElement = javaElement;
- beginOffset = beg;
- endOffset = end;
- }
-
- public boolean contains(int offset) {
- return offset >= beginOffset && offset < endOffset;
- }
-
- public int length() {
- return endOffset - beginOffset;
- }
-
- /**
- * Returns the cursor position relative to the area. Only valid if
- * <code>this.contains( absCursorPos )</code>
- *
- * @param absCursorPos
- * @return
- */
- public int relativeCursorPos(int absCursorPos) {
- return absCursorPos - beginOffset;
- }
-
- public int relativeToAbs(int relPos) {
- return beginOffset + relPos;
- }
- }
-
- private static class Attribute {
- Token name;
-
- Token value;
-
- int equalsPos;
-
- Attribute(Token n, int ep, Token v) {
- name = n;
- value = v;
- equalsPos = ep;
- }
-
- public boolean hasAssignment() {
- return equalsPos != -1;
- }
-
- public boolean hasValue() {
- return value.length() != 0;
- }
-
- public boolean contains(int srcPos) {
- return srcPos >= minExtent() && srcPos <= maxExtent();
- }
-
- public int minExtent() {
- return name.getBeginning();
- }
-
- public int maxExtent() {
- if (hasAssignment()) {
- if (hasValue())
- return value.getEnd();
- return equalsPos;
- }
- return name.getEnd();
- }
-
- public boolean immediatelyPrecedes(int pos) {
- return maxExtent() + 1 == pos;
- }
- }
-
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagProposal.java b/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagProposal.java
deleted file mode 100644
index 0ea57731c..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/AnnotationTagProposal.java
+++ /dev/null
@@ -1,158 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Sep 4, 2003
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-package org.eclipse.jst.common.internal.annotations.ui;
-
-import org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposal;
-import org.eclipse.jface.text.BadLocationException;
-import org.eclipse.jface.text.IDocument;
-import org.eclipse.jst.common.internal.annotations.registry.AttributeValueProposalHelper;
-import org.eclipse.swt.graphics.Image;
-
-
-/**
- * @author kelleyp
- *
- * A completion proposal especially for Annotation tag completions. This problem this class was
- * created to solve was the problem of attaching help text to a proposal. The mechanism inside of
- * JavaCompletionProposal was useless to us, since it was tied to the idea that the proposal would
- * be for an actual java element, that has javadoc attached to it, etc... So here we subclass
- * JavaCompletionProposal and override <code>getAdditionalProposalInfo</code> for a more suitable
- * way of associating help text with a proposal.
- */
-public class AnnotationTagProposal extends JavaCompletionProposal {
- private static final char QUOTE = '"';
- private boolean ensureBeginQuote = false;
- private boolean ensureEndQuote = false;
- private String localString;
- //private String partialValueString;
- //private AttributeValueProposalHelper helper;
-
- /**
- * Localized help text.
- */
- private String locText;
-
- /**
- * @see JavaCompletionProposal#JavaCompletionProposal(java.lang.String, int, int,
- * org.eclipse.swt.graphics.Image, java.lang.String, int)
- * @param replacementString
- * @param replacementOffset
- * @param replacementLength
- * @param image
- * @param displayString
- * @param relevance
- */
- public AnnotationTagProposal(String replacementString, int replacementOffset, int replacementLength, Image image, String displayString, int relevance) {
- super(replacementString, replacementOffset, replacementLength, image, displayString, relevance);
- this.localString = displayString;
- }
-
- /**
- * @see JavaCompletionProposal#JavaCompletionProposal(java.lang.String, int, int,
- * org.eclipse.swt.graphics.Image, java.lang.String, int,
- * org.eclipse.jface.text.ITextViewer)
- * @param replacementString
- * @param replacementOffset
- * @param replacementLength
- * @param image
- * @param displayString
- * @param relevance
- */
-
- public AnnotationTagProposal(AttributeValueProposalHelper proposalHelper) {
- this(proposalHelper.getReplacementString(), proposalHelper.getValueOffset(), proposalHelper.getReplacementLength(), null, proposalHelper.getValueDisplayString(), 1);
- if (proposalHelper instanceof UIAttributeValueProposalHelper)
- setImage(((UIAttributeValueProposalHelper) proposalHelper).getImage());
- setEnsureBeginQuote(proposalHelper.ensureBeginQuote());
- setEnsureEndQuote(proposalHelper.ensureEndQuote());
- }
-
- public AnnotationTagProposal(UIAttributeValueProposalHelper proposalHelper) {
- this(proposalHelper.getReplacementString(), proposalHelper.getValueOffset(), proposalHelper.getReplacementLength(), proposalHelper.getImage(), proposalHelper.getValueDisplayString(), 1);
- setEnsureBeginQuote(proposalHelper.ensureBeginQuote());
- setEnsureEndQuote(proposalHelper.ensureEndQuote());
- }
-
- /**
- * Our override that uses <code>textHolder</code> to provide the help text.
- */
- public String getAdditionalProposalInfo() {
- return locText;
- }
-
- /**
- * Sets the holder of the help text that can be displayed with this proposal.
- *
- * @param hld
- * an LocalizedTextContainer
- */
- public void setHelpText(String s) {
- locText = s;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposal#apply(org.eclipse.jface.text.IDocument,
- * char, int)
- */
- public void apply(IDocument document, char trigger, int offset) {
- ensureQuotedIfNecessary(document, offset);
- super.apply(document, trigger, offset);
- }
-
- /**
- * @param document
- * @param offset
- */
- private void ensureQuotedIfNecessary(IDocument document, int offset) {
- if (ensureBeginQuote || ensureEndQuote) {
- try {
- char begin = document.getChar(getReplacementOffset() - 1);
- char end = document.getChar(offset);
- if (ensureBeginQuote && ensureEndQuote && begin != QUOTE && end != QUOTE) {
- StringBuffer b = new StringBuffer();
- b.append(QUOTE).append(localString).append(QUOTE);
- localString = b.toString();
- } else if (ensureBeginQuote && begin != QUOTE)
- localString = QUOTE + localString;
- else if (ensureEndQuote && end != QUOTE)
- localString = localString + QUOTE;
- setReplacementString(localString);
- setCursorPosition(localString.length());
- } catch (BadLocationException e) {
- // Do nothing
- }
- }
- }
-
- public void setEnsureQuoted(boolean ensureQuoted) {
- setEnsureBeginQuote(ensureQuoted);
- setEnsureEndQuote(ensureQuoted);
- }
-
- //public void setPartialValueString(String partialValueString) {
- // this.partialValueString = partialValueString;
- //}
- public void setEnsureBeginQuote(boolean ensureBeginQuote) {
- this.ensureBeginQuote = ensureBeginQuote;
- }
-
- public void setEnsureEndQuote(boolean ensureEndQuote) {
- this.ensureEndQuote = ensureEndQuote;
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/IWRDResources.java b/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/IWRDResources.java
deleted file mode 100644
index 5062b28f2..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/IWRDResources.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Mar 4, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-
-package org.eclipse.jst.common.internal.annotations.ui;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-/**
- * @author kkatyal
- *
- * To change the template for this generated type comment go to Window - Preferences - Java - Code
- * Generation - Code and Comments
- */
-public class IWRDResources {
-
- private static final String BUNDLE_NAME = "taghandlerui";//$NON-NLS-1$
- private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
-
- /**
- *
- */
- private IWRDResources() {
- // TODO Auto-generated constructor stub
- }
-
- /**
- * @param key
- * @return
- */
- public static String getString(String key) {
- // TODO Auto-generated method stub
- try {
- return RESOURCE_BUNDLE.getString(key);
- } catch (MissingResourceException e) {
- return '!' + key + '!';
- }
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/UIAttributeValueProposalHelper.java b/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/UIAttributeValueProposalHelper.java
deleted file mode 100644
index d59538458..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/UIAttributeValueProposalHelper.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.internal.annotations.ui;
-
-import org.eclipse.jst.common.internal.annotations.registry.AttributeValueProposalHelper;
-import org.eclipse.swt.graphics.Image;
-
-
-/**
- * @author DABERG
- *
- */
-public class UIAttributeValueProposalHelper extends AttributeValueProposalHelper {
- private Image image;
-
- /**
- * @param replacementString
- * @param valueOffset
- * @param replacementLength
- * @param valueDisplayString
- */
- public UIAttributeValueProposalHelper(String replacementString, int valueOffset, int replacementLength, String valueDisplayString) {
- super(replacementString, valueOffset, replacementLength, valueDisplayString);
- }
-
- public Image getImage() {
- return image;
- }
-
- public void setImage(Image image) {
- this.image = image;
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/UiPlugin.java b/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/UiPlugin.java
deleted file mode 100644
index 6e96f4cb3..000000000
--- a/plugins/org.eclipse.jst.common.annotations.ui/src/org/eclipse/jst/common/internal/annotations/ui/UiPlugin.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.internal.annotations.ui;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class UiPlugin extends AbstractUIPlugin {
- //The shared instance.
- private static UiPlugin plugin;
- //Resource bundle.
- private ResourceBundle resourceBundle;
-
- /**
- * The constructor.
- */
- public UiPlugin() {
- super();
- plugin = this;
- try {
- resourceBundle = ResourceBundle.getBundle("org.eclipse.wst.common.internal.annotations.ui.UiPluginResources"); //$NON-NLS-1$
- } catch (MissingResourceException x) {
- resourceBundle = null;
- }
- }
-
- /**
- * Returns the shared instance.
- */
- public static UiPlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns the string from the plugin's resource bundle, or 'key' if not found.
- */
- public static String getResourceString(String key) {
- ResourceBundle bundle = UiPlugin.getDefault().getResourceBundle();
- try {
- return (bundle != null) ? bundle.getString(key) : key;
- } catch (MissingResourceException e) {
- return key;
- }
- }
-
- /**
- * Returns the plugin's resource bundle,
- */
- public ResourceBundle getResourceBundle() {
- return resourceBundle;
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.frameworks/.classpath b/plugins/org.eclipse.jst.common.frameworks/.classpath
deleted file mode 100644
index 065ac06e1..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.eclipse.jst.common.frameworks/.cvsignore b/plugins/org.eclipse.jst.common.frameworks/.cvsignore
deleted file mode 100644
index e483d2569..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-temp.folder
-build.xml
-jdt_integration.jar
diff --git a/plugins/org.eclipse.jst.common.frameworks/.project b/plugins/org.eclipse.jst.common.frameworks/.project
deleted file mode 100644
index 22c0bcb29..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.common.frameworks</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.jst.common.frameworks/META-INF/MANIFEST.MF b/plugins/org.eclipse.jst.common.frameworks/META-INF/MANIFEST.MF
deleted file mode 100644
index 2d4c16d20..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,22 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Integration Plug-in
-Bundle-SymbolicName: org.eclipse.jst.common.frameworks; singleton:=true
-Bundle-Version: 1.0.0
-Bundle-ClassPath: jdt_integration.jar
-Bundle-Vendor: Eclipse.org
-Bundle-Localization: plugin
-Export-Package: org.eclipse.jst.common.jdt.internal.classpath,
- org.eclipse.jst.common.jdt.internal.integration,
- org.eclipse.jst.common.componentcore.util
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.jdt.core,
- org.eclipse.emf.ecore,
- org.eclipse.emf.ecore.xmi,
- org.eclipse.wst.common.frameworks,
- org.eclipse.wst.common.modulecore,
- org.eclipse.jem.util,
- org.eclipse.core.resources,
- org.eclipse.wst.common.emf,
- org.eclipse.core.commands,
- org.eclipse.wst.common.emfworkbench.integration
diff --git a/plugins/org.eclipse.jst.common.frameworks/build.properties b/plugins/org.eclipse.jst.common.frameworks/build.properties
deleted file mode 100644
index 3f2006abf..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/build.properties
+++ /dev/null
@@ -1,16 +0,0 @@
-###############################################################################
-# Copyright (c) 2003, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-source.jdt_integration.jar = src/
-output.jdt_integration.jar = bin/
-bin.includes = plugin.xml,\
- jdt_integration.jar,\
- META-INF/
-src.includes = component.xml
diff --git a/plugins/org.eclipse.jst.common.frameworks/component.xml b/plugins/org.eclipse.jst.common.frameworks/component.xml
deleted file mode 100644
index 07a555ff6..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/component.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<component xmlns="http://eclipse.org/wtp/releng/tools/component-model"
- name="org.eclipse.jst.common.frameworks">
- <component-depends unrestricted="true"></component-depends>
- <plugin id="org.eclipse.jst.common.frameworks" fragment="false" />
- <plugin id="org.eclipse.jst.common.frameworks.ui" fragment="false" />
- <plugin id="org.eclipse.jst.common.launcher.ant" fragment="false" />
- <plugin id="org.eclipse.jst.common.navigator.java" fragment="false" />
- <plugin id="org.eclipse.jst.common.annotations.controller"
- fragment="false" />
- <plugin id="org.eclipse.jst.common.annotations.core"
- fragment="false" />
- <plugin id="org.eclipse.jst.common.annotations.ui" fragment="false" />
-</component> \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.frameworks/plugin.xml b/plugins/org.eclipse.jst.common.frameworks/plugin.xml
deleted file mode 100644
index c5b673614..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/plugin.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-
- <extension
- id="context.Sensitive.Class.workingCopyManager"
- name="Working Copy Manager - Headless Context Class"
- point="org.eclipse.jem.util.uiContextSensitiveClass">
- <uiContextSensitiveClass
- key="workingCopyManager"
- context="Headless"
- className="org.eclipse.jst.common.jdt.internal.integration.WTPWorkingCopyManager">
- </uiContextSensitiveClass>
- </extension>
-
- <extension
- id="javaProjectValidationHandler"
- name="javaProjectValidationHandler"
- point="org.eclipse.wst.common.frameworks.validationSelectionHandler">
- <validationSelectionHandler
- id="javaProjectValidationHandler"
- handlerClass="org.eclipse.jst.common.jdt.internal.integration.JavaProjectValidationHandler"
- selectionType="org.eclipse.jdt.core.IJavaProject"/>
- </extension>
- <extension
- point="org.eclipse.wst.common.emfworkbench.integration.editModel">
- <editModel
- editModelID="jst.utility"
- factoryClass="org.eclipse.jst.common.jdt.internal.integration.JavaArtifactEditModelFactory">
- </editModel>
- </extension>
-
-
-</plugin>
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/componentcore/util/ComponentUtilities.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/componentcore/util/ComponentUtilities.java
deleted file mode 100644
index 915fbfea7..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/componentcore/util/ComponentUtilities.java
+++ /dev/null
@@ -1,204 +0,0 @@
-package org.eclipse.jst.common.componentcore.util;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourceAttributes;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jdt.core.IJavaElement;
-import org.eclipse.jdt.core.IPackageFragmentRoot;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jem.util.emf.workbench.WorkbenchResourceHelperBase;
-import org.eclipse.jem.util.logger.proxy.Logger;
-import org.eclipse.wst.common.componentcore.ArtifactEdit;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.UnresolveableURIException;
-import org.eclipse.wst.common.componentcore.internal.ComponentResource;
-import org.eclipse.wst.common.componentcore.internal.StructureEdit;
-import org.eclipse.wst.common.componentcore.internal.WorkbenchComponent;
-import org.eclipse.wst.common.componentcore.internal.resources.VirtualComponent;
-import org.eclipse.wst.common.componentcore.internal.util.ArtifactEditRegistryReader;
-import org.eclipse.wst.common.componentcore.internal.util.IArtifactEditFactory;
-import org.eclipse.wst.common.componentcore.resources.IFlexibleProject;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualFolder;
-import org.eclipse.wst.common.componentcore.resources.IVirtualResource;
-
-public class ComponentUtilities {
-
- /**
- * Retrieve all the source containers for a given virtual workbench component
- *
- * @param wc
- * @return the array of IPackageFragmentRoots
- */
- public static IPackageFragmentRoot[] getSourceContainers(IVirtualComponent wc) {
- List sourceFolders = new ArrayList();
- try {
- IVirtualResource[] resources = wc.members();
- //recursively collect the source folders from the top level component folders
- addSourceContainers(sourceFolders,resources);
- } catch (CoreException ce) {
- Logger.getLogger().log(ce);
- }
- return (IPackageFragmentRoot[]) sourceFolders.toArray(new IPackageFragmentRoot[sourceFolders.size()]);
- }
-
- private static void addSourceContainers(List sourceFolders, IVirtualResource[] resources) {
- if (resources != null || resources.length > 0) {
- for (int i = 0; i < resources.length; i++) {
- IVirtualResource resource = resources[i];
- // if the virtual resource is of type folder, check to see if it is source folder
- if (resource.getType() == IVirtualResource.FOLDER) {
- IVirtualResource[] childResources = null;
- try {
- childResources = ((IVirtualFolder) resource).members();
- } catch (CoreException ce) {
- Logger.getLogger().log(ce);
- }
- IFolder folder = ((IVirtualFolder) resource).getUnderlyingFolder();
- IJavaElement element = JavaCore.create(folder);
- // if it is a java package fragment add it to the result
- if (element != null && element.getElementType() == IJavaElement.PACKAGE_FRAGMENT_ROOT)
- sourceFolders.add(element);
- // otherwise recursively check that folders child folders
- else if (childResources.length>0)
- addSourceContainers(sourceFolders,childResources);
- }
- }
- }
- }
-
- /**
- * Ensure the container is not read-only.
- * <p>
- * For Linux, a Resource cannot be created in a ReadOnly folder. This is only necessary for new
- * files.
- *
- * @param resource
- * workspace resource to make read/write
- * @since 1.0.0
- */
- public static void ensureContainerNotReadOnly(IResource resource) {
- if (resource != null && !resource.exists()) { // it must be new
- IContainer container = resource.getParent();
- if (container != null) {
- ResourceAttributes attr = container.getResourceAttributes();
- if (!attr.isReadOnly())
- container = container.getParent();
- attr.setReadOnly(false);
- }
- }
- }
-
- public static IFolder createFolderInComponent(IVirtualComponent component, String folderName) throws CoreException {
- if (folderName != null) {
- IFolder folder = ResourcesPlugin.getWorkspace().getRoot().getFolder(component.getProjectRelativePath().append(folderName));
- if (!folder.exists()) {
- ProjectUtilities.ensureContainerNotReadOnly(folder);
- folder.create(true, true, null);
- }
- return folder;
- }
- return null;
- }
-
-
-
- public static ArtifactEdit getArtifactEditForRead(IVirtualComponent comp) {
- ArtifactEditRegistryReader reader = ArtifactEditRegistryReader.instance();
- IArtifactEditFactory factory = reader.getArtifactEdit(comp.getComponentTypeId());
- return factory.createArtifactEditForRead(comp);
- }
-
-
-
- public static IVirtualComponent findComponent(EObject anObject) {
- IProject project = ProjectUtilities.getProject(anObject);
- Resource res = anObject.eResource();
- return findComponent(project, res);
- }
-
- private static IVirtualComponent findComponent(IProject project, Resource res) {
-
- StructureEdit moduleCore = null;
- WorkbenchComponent module = null;
- try {
- moduleCore = StructureEdit.getStructureEditForRead(project);
- URI uri = WorkbenchResourceHelperBase.getNonPlatformURI(res.getURI());
- ComponentResource[] resources = moduleCore.findResourcesBySourcePath(uri);
- for (int i = 0; i < resources.length; i++) {
- module = resources[i].getComponent();
- if (module != null)
- break;
- }
- } catch (UnresolveableURIException e) {
- // Ignore
- } finally {
- if (moduleCore != null)
- moduleCore.dispose();
- }
- return ComponentCore.createComponent(project, module.getName());
- }
-
- public static IVirtualComponent[] getAllWorkbenchComponents() {
- List components = new ArrayList();
- List projects = Arrays.asList(ResourcesPlugin.getWorkspace().getRoot().getProjects());
- StructureEdit moduleCore = null;
- for (int i = 0; i < projects.size(); i++) {
- try {
- moduleCore = StructureEdit.getStructureEditForRead((IProject) projects.get(i));
- WorkbenchComponent[] wbComp = moduleCore.getWorkbenchModules();
- for (int j = 0; j < wbComp.length; j++) {
- components.add(ComponentCore.createComponent((IProject) projects.get(i), wbComp[j].getName()));
- }
- } finally {
- if (moduleCore != null)
- moduleCore.dispose();
- }
- }
- VirtualComponent[] temp = (VirtualComponent[]) components.toArray(new VirtualComponent[components.size()]);
- return temp;
- }
-
- public static IVirtualComponent[] getComponentsForProject(IProject project) {
- IFlexibleProject flexProject = ComponentCore.createFlexibleProject(project);
- return flexProject.getComponents();
- }
-
- public static IVirtualComponent[] getComponent(String componentName) {
- IVirtualComponent[] allComponents = getAllWorkbenchComponents();
- List matchingComponents = new ArrayList();
- for (int i = 0; i < allComponents.length; i++) {
- if (allComponents[i].getName().equals(componentName)) {
- matchingComponents.add(allComponents[i]);
- }
- }
- VirtualComponent[] temp = (VirtualComponent[]) matchingComponents.toArray(new VirtualComponent[matchingComponents.size()]);
- return temp;
- }
-
-
-
- public static ArtifactEdit getArtifactEditForWrite(IVirtualComponent comp) {
- ArtifactEditRegistryReader reader = ArtifactEditRegistryReader.instance();
- IArtifactEditFactory factory = reader.getArtifactEdit(comp.getComponentTypeId());
- return factory.createArtifactEditForWrite(comp);
- }
-
- public static IVirtualComponent findComponent(Resource aResource) {
- IProject project = ProjectUtilities.getProject(aResource);
- return findComponent(project, aResource);
- }
-
-}
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/frameworks/CommonFrameworksPlugin.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/frameworks/CommonFrameworksPlugin.java
deleted file mode 100644
index fbf7ee685..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/frameworks/CommonFrameworksPlugin.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2005 BEA Systems, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Konstantin Komissarchik - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.jst.common.frameworks;
-
-import org.eclipse.core.runtime.ILog;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.common.frameworks.internal.WTPPlugin;
-
-public final class CommonFrameworksPlugin
-
- extends WTPPlugin
-
-{
- public static final String PLUGIN_ID = "org.eclipse.jst.common.frameworks";
-
- private static final CommonFrameworksPlugin inst
- = new CommonFrameworksPlugin();
-
- /**
- * Get the plugin singleton.
- */
-
- public static CommonFrameworksPlugin getDefault()
- {
- return inst;
- }
-
- public String getPluginID()
- {
- return PLUGIN_ID;
- }
-
- public static void log( final Exception e )
- {
- final ILog log = CommonFrameworksPlugin.getDefault().getLog();
- final String msg = "Encountered an unexpected exception.";
-
- log.log( new Status( IStatus.ERROR, PLUGIN_ID, IStatus.OK, msg, e ) );
- }
-
-}
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/classpath/FlexibleProjectContainer.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/classpath/FlexibleProjectContainer.java
deleted file mode 100644
index a448c4f73..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/classpath/FlexibleProjectContainer.java
+++ /dev/null
@@ -1,322 +0,0 @@
-/******************************************************************************
- * Copyright (c) 2005 BEA Systems, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Konstantin Komissarchik - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.jst.common.jdt.internal.classpath;
-
-import java.io.File;
-import java.util.ArrayList;
-
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IResourceChangeEvent;
-import org.eclipse.core.resources.IResourceChangeListener;
-import org.eclipse.core.resources.IResourceDelta;
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jdt.core.IClasspathContainer;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jst.common.frameworks.CommonFrameworksPlugin;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IFlexibleProject;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualFolder;
-import org.eclipse.wst.common.componentcore.resources.IVirtualResource;
-
-/**
- * @author <a href="mailto:kosta@bea.com">Konstantin Komissarchik</a>
- */
-
-public abstract class FlexibleProjectContainer
-
- implements IClasspathContainer
-
-{
- protected static final class PathType
- {
- private final String type;
-
- private PathType( final String type )
- {
- this.type = type;
- }
-
- public static final PathType
- LIB_DIRECTORY = new PathType( "lib" ),
- CLASSES_DIRECTORY = new PathType( "classes" );
- }
-
- private static IWorkspace workspace;
-
- static
- {
- // Register the resource listener that will listen for changes to
- // resources relevant to flexible project containers across the
- // workspace and refresh them as necessary.
-
- workspace = ResourcesPlugin.getWorkspace();
- workspace.addResourceChangeListener( new Listener() );
- }
-
- protected final IPath path;
- protected final IJavaProject owner;
- protected final IProject project;
- protected final String component;
- private final IClasspathEntry[] cpentries;
- private final IPath[] watchlist;
-
- public FlexibleProjectContainer( final IPath path,
- final IJavaProject owner,
- final IProject project,
- final String component,
- final IPath[] paths,
- final PathType[] types )
- {
- this.path = path;
- this.owner = owner;
- this.project = project;
- this.component = component;
-
- final ArrayList cp = new ArrayList();
- final ArrayList w = new ArrayList();
-
- if( ! isFlexibleProject( this.project ) )
- {
- // Silently noop if the referenced project is not a flexible
- // project. Should I be doing something else here?
-
- this.cpentries = new IClasspathEntry[ 0 ];
- this.watchlist = new IPath[ 0 ];
-
- return;
- }
-
- final IFlexibleProject fp
- = ComponentCore.createFlexibleProject( this.project );
-
- final IVirtualComponent vc = fp.getComponent( component );
-
- for( int i = 0; i < paths.length; i++ )
- {
- final IVirtualFolder vf = vc.getFolder( paths[ i ] );
-
- if( types[ i ] == PathType.LIB_DIRECTORY )
- {
- final IVirtualResource[] contents;
-
- try
- {
- contents = vf.members();
- }
- catch( CoreException e )
- {
- CommonFrameworksPlugin.log( e );
- continue;
- }
-
- for( int j = 0; j < contents.length; j++ )
- {
- final IResource r = contents[ j ].getUnderlyingResource();
- final IPath p = r.getFullPath();
- final File f = r.getLocation().toFile();
- final String fname = f.getName().toLowerCase();
-
- if( f.isFile() && fname.endsWith( ".jar" ) )
- {
- cp.add( JavaCore.newLibraryEntry( p, null, null ) );
- }
- }
-
- final IFolder[] folders = vf.getUnderlyingFolders();
-
- for( int j = 0; j < folders.length; j++ )
- {
- w.add( folders[ j ].getFullPath() );
- }
- }
- else
- {
- final IFolder[] uf = vf.getUnderlyingFolders();
-
- for( int j = 0; j < uf.length; j++ )
- {
- final IPath p = uf[ j ].getFullPath();
-
- if( ! isSourceDirectory( p ) )
- {
- cp.add( JavaCore.newLibraryEntry( p, null, null ) );
- }
- }
- }
- }
-
- w.add( this.project.getFullPath().append( ".wtpmodules" ) );
-
- this.cpentries = new IClasspathEntry[ cp.size() ];
- cp.toArray( this.cpentries );
-
- this.watchlist = new IPath[ w.size() ];
- w.toArray( this.watchlist );
- }
-
- public int getKind()
- {
- return K_APPLICATION;
- }
-
- public IPath getPath()
- {
- return this.path;
- }
-
- public IClasspathEntry[] getClasspathEntries()
- {
- return this.cpentries;
- }
-
- public boolean isOutOfDate( final IResourceDelta delta )
- {
- for( int i = 0; i < this.watchlist.length; i++ )
- {
- if( delta.findMember( this.watchlist[ i ] ) != null )
- {
- return true;
- }
- }
-
- return false;
- }
-
- public abstract void refresh();
-
- private boolean isSourceDirectory( final IPath path )
- {
- try
- {
- final IJavaProject jproject = JavaCore.create( this.project );
- final IClasspathEntry[] cp = jproject.getRawClasspath();
-
- for( int i = 0; i < cp.length; i++ )
- {
- final IClasspathEntry cpe = cp[ i ];
-
- if( cpe.getEntryKind() == IClasspathEntry.CPE_SOURCE &&
- cpe.getPath().equals( path ) )
- {
- return true;
- }
- }
-
- return false;
- }
- catch( JavaModelException e )
- {
- CommonFrameworksPlugin.log( e );
- return false;
- }
- }
-
- private static boolean isJavaProject( final IProject pj )
- {
- try
- {
- return pj.getNature( "org.eclipse.jdt.core.javanature" ) != null;
- }
- catch( CoreException e )
- {
- return false;
- }
- }
-
- private static boolean isFlexibleProject( final IProject pj )
- {
- try
- {
- final String nature
- = "org.eclipse.wst.common.modulecore.ModuleCoreNature";
-
- return pj.getNature( nature ) != null;
- }
- catch( CoreException e )
- {
- return false;
- }
- }
-
- private static class Listener
-
- implements IResourceChangeListener
-
- {
- public void resourceChanged( final IResourceChangeEvent event )
- {
- // Locate all of the flexible project containers.
-
- final ArrayList containers = new ArrayList();
- final IProject[] projects = workspace.getRoot().getProjects();
-
- for( int i = 0; i < projects.length; i++ )
- {
- final IProject project = projects[ i ];
-
- try
- {
- if( isJavaProject( project ) )
- {
- final IJavaProject jproj = JavaCore.create( project );
- final IClasspathEntry[] cpes = jproj.getRawClasspath();
-
- for( int j = 0; j < cpes.length; j++ )
- {
- final IClasspathEntry cpe = cpes[ j ];
-
- if( cpe.getEntryKind() == IClasspathEntry.CPE_CONTAINER )
- {
- final IClasspathContainer cont
- = JavaCore.getClasspathContainer( cpe.getPath(), jproj );
-
- if( cont instanceof FlexibleProjectContainer )
- {
- containers.add( cont );
- }
- }
- }
- }
- }
- catch( JavaModelException e )
- {
- CommonFrameworksPlugin.log( e );
- }
- }
-
- // Refresh the containers that are out of date.
-
- final IResourceDelta delta = event.getDelta();
-
- for( int i = 0, n = containers.size(); i < n; i++ )
- {
- final FlexibleProjectContainer c
- = (FlexibleProjectContainer) containers.get( i );
-
- if( c.isOutOfDate( delta ) )
- {
- c.refresh();
- }
- }
- }
- }
-
-}
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/IJavaProjectCreationProperties.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/IJavaProjectCreationProperties.java
deleted file mode 100644
index 90a0d4bbc..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/IJavaProjectCreationProperties.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.jdt.internal.integration;
-
-import org.eclipse.wst.common.frameworks.internal.operations.IProjectCreationProperties;
-
-public interface IJavaProjectCreationProperties extends IProjectCreationProperties {
-
- /**
- * Optional, type String []. These names are relative.
- */
- public static final String SOURCE_FOLDERS = "JavaProjectCreationDataModel.SOURCE_FOLDERS"; //$NON-NLS-1$
- /**
- * Optional, type Boolean default is True
- */
- public static final String CREATE_SOURCE_FOLDERS = "JavaProjectCreationDataModel.CREATE_SOURCE_FOLDERS"; //$NON-NLS-1$
-
-
- /**
- * Optional, type IClasspathEntry[]
- */
- public static final String CLASSPATH_ENTRIES = "JavaProjectCreationDataModel.CLASSPATH_ENTRIES"; //$NON-NLS-1$
-
- /**
- * Optional, type String
- */
- public static final String OUTPUT_LOCATION = "JavaProjectCreationDataModel.OUTPUT_LOCATION"; //$NON-NLS-1$
-
-}
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/IJavaProjectMigrationDataModelProperties.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/IJavaProjectMigrationDataModelProperties.java
deleted file mode 100644
index 533199f07..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/IJavaProjectMigrationDataModelProperties.java
+++ /dev/null
@@ -1,11 +0,0 @@
-package org.eclipse.jst.common.jdt.internal.integration;
-
-
-public interface IJavaProjectMigrationDataModelProperties {
-
- /**
- * Required
- */
- public static final String PROJECT_NAME = "IJavaProjectMigrationDataModelProperties.PROJECT_NAME"; //$NON-NLS-1$
-
-}
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaArtifactEditModel.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaArtifactEditModel.java
deleted file mode 100644
index ee4b6e0ec..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaArtifactEditModel.java
+++ /dev/null
@@ -1,196 +0,0 @@
-package org.eclipse.jst.common.jdt.internal.integration;
-
-import java.util.Set;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.wst.common.componentcore.internal.ArtifactEditModel;
-import org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResource;
-import org.eclipse.wst.common.internal.emf.resource.ReferencedResource;
-import org.eclipse.wst.common.internal.emf.resource.TranslatorResource;
-import org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext;
-
-public class JavaArtifactEditModel extends ArtifactEditModel implements WorkingCopyProvider {
-
- private WorkingCopyManager workingCopyManager = null;
-
- /**
- * @param anEditModelId
- * @param aContext
- * @param toMakeReadOnly
- * @param toAccessUnknownResourcesAsReadOnly
- * @param aModuleURI
- */
- public JavaArtifactEditModel(String anEditModelId, EMFWorkbenchContext aContext, boolean toMakeReadOnly, boolean toAccessUnknownResourcesAsReadOnly, URI aModuleURI) {
- super(anEditModelId, aContext, toMakeReadOnly,
- toAccessUnknownResourcesAsReadOnly, aModuleURI);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * @param anEditModelId
- * @param aContext
- * @param toMakeReadOnly
- * @param aModuleURI
- */
- public JavaArtifactEditModel(String anEditModelId, EMFWorkbenchContext aContext, boolean toMakeReadOnly, URI aModuleURI) {
- super(anEditModelId, aContext, toMakeReadOnly, aModuleURI);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * This will delete
- *
- * @cu from the workbench and fix the internal references for this working copy manager.
- */
- public void delete(org.eclipse.jdt.core.ICompilationUnit cu, org.eclipse.core.runtime.IProgressMonitor monitor) {
- getWorkingCopyManager().delete(cu, monitor);
- }
-
- /**
- * This method should only be called by the J2EENature.
- */
- public void dispose() {
- super.dispose();
- resetWorkingCopyManager();
- }
-
- public Set getAffectedFiles() {
- java.util.Set affected = super.getAffectedFiles();
- if (getWorkingCopyManager() != null)
- affected.addAll(getWorkingCopyManager().getAffectedFiles());
-
- return affected;
- }
-
- /**
- * Returns the working copy remembered for the compilation unit encoded in the given editor
- * input. Does not connect the edit model to the working copy.
- *
- * @param input
- * ICompilationUnit
- * @return the working copy of the compilation unit, or <code>null</code> if the input does
- * not encode an editor input, or if there is no remembered working copy for this
- * compilation unit
- */
- public org.eclipse.jdt.core.ICompilationUnit getExistingWorkingCopy(org.eclipse.jdt.core.ICompilationUnit cu) throws org.eclipse.core.runtime.CoreException {
- return getWorkingCopyManager().getExistingWorkingCopy(cu);
- }
-
- /**
- * Returns the working copy remembered for the compilation unit.
- *
- * @param input
- * ICompilationUnit
- * @return the working copy of the compilation unit, or <code>null</code> if there is no
- * remembered working copy for this compilation unit
- */
- public org.eclipse.jdt.core.ICompilationUnit getWorkingCopy(ICompilationUnit cu, boolean forNewCU) throws CoreException {
- return getWorkingCopyManager().getWorkingCopy(cu, forNewCU);
- }
-
- /**
- * Save the new compilation units only.
- */
- protected void handleSaveIfNecessaryDidNotSave(IProgressMonitor monitor) {
- getWorkingCopyManager().saveOnlyNewCompilationUnits(monitor);
- }
-
- /**
- * @see org.eclipse.jst.j2ee.internal.internal.workbench.J2EEEditModel#isDirty()
- */
- public boolean isDirty() {
- boolean dirtyBool = super.isDirty();
- if (!dirtyBool && getWorkingCopyManager() != null)
- dirtyBool = getWorkingCopyManager().hasWorkingCopies();
- return dirtyBool;
- }
-
- /**
- * This will force all of the referenced Resources to be saved.
- */
- public void primSave(IProgressMonitor monitor) {
- saveCompilationUnits(monitor);
- if (monitor == null || !monitor.isCanceled())
- super.primSave(monitor);
- }
-
- /**
- * Insert the method's description here. Creation date: (4/11/2001 4:14:26 PM)
- *
- * @return java.util.Set
- */
- public void processResource(Resource aResource) {
- if (aResource != null && !getResources().contains(aResource)) {
- if (aResource instanceof ReferencedResource) {
- access((ReferencedResource) aResource);
- //We need a better way to pass this through the save options instead.
- //We also need to make this dynamic based on the project target
- ((ReferencedResource) aResource).setFormat(CompatibilityXMIResource.FORMAT_MOF5);
- } else if (!isReadOnly())
- aResource.setTrackingModification(true);
- addResource(aResource);
- }
- }
-
- /**
- * Release each of the referenced resources.
- */
- protected void release(Resource aResource) {
-
- removeResource(aResource);
- if (aResource != null) {
- boolean isRefRes = aResource instanceof ReferencedResource;
- if (isRefRes)
- super.release((ReferencedResource) aResource);
- if (!isDisposing())
- resetWorkingCopyManager();
- }
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jst.j2ee.internal.internal.workbench.J2EEEditModel#resourceIsLoadedChanged(org.eclipse.emf.ecore.resource.Resource,
- * boolean, boolean)
- */
- protected void resourceIsLoadedChanged(Resource aResource, boolean oldValue, boolean newValue) {
- if (!isReverting && !disposing && !isReadOnly() && oldValue && !newValue && aResource instanceof TranslatorResource)
- resetWorkingCopyManager();
- super.resourceIsLoadedChanged(aResource, oldValue, newValue);
- }
-
- protected void reverted(ReferencedResource revertedResource) {
- if (getWorkingCopyManager() != null)
- getWorkingCopyManager().revert();
- revertAllResources();
- }
-
- /**
- * This will save all of the referenced CompilationUnits to be saved.
- */
- public void saveCompilationUnits(IProgressMonitor monitor) {
- getWorkingCopyManager().saveCompilationUnits(monitor);
- }
-
- public WorkingCopyManager getWorkingCopyManager() {
- if (workingCopyManager == null)
- workingCopyManager = WorkingCopyManagerFactory.newRegisteredInstance();
- return workingCopyManager;
- }
-
- /**
- * Reset the working copy manager because the ejb-jar.xml was removed without disposing.
- */
- protected void resetWorkingCopyManager() {
- if (workingCopyManager != null) {
- workingCopyManager.dispose();
- workingCopyManager = null;
- }
- }
-
-
-}
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaArtifactEditModelFactory.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaArtifactEditModelFactory.java
deleted file mode 100644
index d3fcf7890..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaArtifactEditModelFactory.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.jdt.internal.integration;
-
-import java.util.Map;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModel;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelFactory;
-
-/**
- * <p>
- * The following class is experimental until fully documented.
- * </p>
- */
-public class JavaArtifactEditModelFactory extends EditModelFactory {
-
- public static final String MODULE_EDIT_MODEL_ID = "org.eclipse.jst.modulecore.editModel"; //$NON-NLS-1$
-
- public static final String PARAM_MODULE_URI = "MODULE_URI"; //$NON-NLS-1$
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.internal.emfworkbench.integration.EditModelFactory#createEditModelForRead(java.lang.String, org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext, java.util.Map)
- */
- public EditModel createEditModelForRead(String editModelID, EMFWorkbenchContext context, Map params) {
- URI moduleURI = (URI) ((params != null) ? params.get(PARAM_MODULE_URI) : null);
- if(moduleURI == null)
- throw new IllegalStateException("A Module URI must be provided");
-
- return new JavaArtifactEditModel(editModelID, context, true, moduleURI);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.internal.emfworkbench.integration.EditModelFactory#createEditModelForWrite(java.lang.String, org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext, java.util.Map)
- */
- public EditModel createEditModelForWrite(String editModelID, EMFWorkbenchContext context, Map params) {
- URI moduleURI = (URI) ((params != null) ? params.get(PARAM_MODULE_URI) : null);
- if(moduleURI == null)
- throw new IllegalStateException("A Module URI must be provided");
- return new JavaArtifactEditModel(editModelID, context, false,false, moduleURI);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.internal.emfworkbench.integration.EditModelFactory#getCacheID(java.lang.String, java.util.Map)
- */
- public String getCacheID(String editModelID, Map params) {
- URI moduleURI = (URI)params.get(PARAM_MODULE_URI);
- if(moduleURI != null)
- return editModelID+":"+moduleURI.toString(); //$NON-NLS-1$
- return editModelID+":NOURI"; //$NON-NLS-1$
- }
-
-
-}
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaInsertionHelper.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaInsertionHelper.java
deleted file mode 100644
index abab902bb..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaInsertionHelper.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.jdt.internal.integration;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.jdt.core.jdom.DOMFactory;
-import org.eclipse.wst.common.frameworks.internal.operations.IHeadlessRunnableWithProgress;
-
-
-/**
- * @author DABERG
- *
- * This class is used by the Java snippet support to capture the insertionString that is to be
- * inserted at the users selection point. It also provides the ability to define additional fields
- * and methods to support the insertionString.
- */
-public class JavaInsertionHelper {
- protected DOMFactory domFactory = new DOMFactory();
- protected List fields;
- protected List methods;
- protected List imports;
- protected String insertionString;
- protected List extendedOperations;
-
- /**
- *
- */
- public JavaInsertionHelper() {
- super();
- }
-
- /**
- * @return
- */
- public List getFields() {
- return fields;
- }
-
- /**
- * @return
- */
- public String getInsertionString() {
- return insertionString;
- }
-
- /**
- * @return
- */
- public List getMethods() {
- return methods;
- }
-
- /**
- * This is required to be set by the client. This is the String that will be inserted at the
- * users selection point.
- *
- * @param string
- */
- public void setInsertionString(String string) {
- insertionString = string;
- }
-
- /**
- * This is a utility method that will parse the methodString and create a IDOMMethod. The
- * DOMFactory will be used to create the method. This new method will be added to the list of
- * methods.
- *
- * @param methodString
- * @see DOMFactory#createMethod(java.lang.String)
- * @link org.eclipse.jdt.core.jdom.IDOMMethod
- */
- public void addMethodFromSourceString(String methodString) {
- if (methodString != null && methodString.length() > 0) {
- if (methods == null)
- methods = new ArrayList();
- methods.add(domFactory.createMethod(methodString));
- }
- }
-
- /**
- * This is a utility method that will parse the fieldString and create a IDOMField. The
- * DOMFactory will be used to create the field. This new field will be added to the list of
- * fields.
- *
- * @param fieldString
- * @see DOMFactory#createField(java.lang.String)
- * @link org.eclipse.jdt.core.jdom.IDOMField
- */
- public void addFieldFromSourceString(String fieldString) {
- if (fieldString != null && fieldString.length() > 0) {
- if (fields == null)
- fields = new ArrayList();
- fields.add(domFactory.createField(fieldString));
- }
- }
-
- /**
- * Add an import that is either the qualified name of a type or a package name with .* at the
- * end.
- *
- * @param importString
- */
- public void addImport(String importString) {
- if (importString != null && importString.length() > 0) {
- if (imports == null)
- imports = new ArrayList();
- imports.add(importString);
- }
- }
-
- /**
- * Return true if the insertionString is set and not a zero length.
- *
- * @return
- */
- public boolean canInsertText() {
- return insertionString != null && insertionString.length() > 0;
- }
-
- /**
- * @return
- */
- public boolean hasFields() {
- return fields != null && !fields.isEmpty();
- }
-
- /**
- * @return
- */
- public boolean hasMethods() {
- return methods != null && !methods.isEmpty();
- }
-
- public boolean hasImports() {
- return imports != null && !imports.isEmpty();
- }
-
- /**
- * @return Returns the imports.
- */
- public List getImportStatements() {
- return imports;
- }
-
- /**
- * @return Returns the extendedOperations.
- */
- public List getExtendedOperations() {
- return extendedOperations;
- }
-
- /**
- * This method allows you to add additional operations which will be performed after this
- * JavaInsertionHelper is processed by the JavaInsertionOperation.
- *
- * @param operation
- * @link JavaInsertionOperation
- */
- public void addExtendedOperation(IHeadlessRunnableWithProgress operation) {
- if (operation != null) {
- if (extendedOperations == null)
- extendedOperations = new ArrayList();
- extendedOperations.add(operation);
- }
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectCreationDataModelProvider.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectCreationDataModelProvider.java
deleted file mode 100644
index 5c9f71d3c..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectCreationDataModelProvider.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.jdt.internal.integration;
-
-import org.eclipse.wst.common.frameworks.datamodel.IDataModelOperation;
-import org.eclipse.wst.common.frameworks.internal.operations.ProjectCreationDataModelProvider;
-
-public class JavaProjectCreationDataModelProvider extends ProjectCreationDataModelProvider implements IJavaProjectCreationProperties {
-
-
- public String[] getPropertyNames() {
- return combineProperties(super.getPropertyNames(), new String[]{OUTPUT_LOCATION, SOURCE_FOLDERS, CLASSPATH_ENTRIES, CREATE_SOURCE_FOLDERS});
- }
-
- public IDataModelOperation getDefaultOperation() {
- return new JavaProjectCreationOperation(model);
- }
-
- public Object getDefaultProperty(String propertyName) {
- // TODO pull these from the java preferences
- if (propertyName.equals(OUTPUT_LOCATION)) {
- return "bin"; //$NON-NLS-1$
- }
- if (propertyName.equals(SOURCE_FOLDERS)) {
- return new String[0];
- }
- if (propertyName.equals(CREATE_SOURCE_FOLDERS))
- return Boolean.TRUE;
- return null;
- }
-
-
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectCreationOperation.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectCreationOperation.java
deleted file mode 100644
index a30e53f21..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectCreationOperation.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Nov 4, 2003
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-package org.eclipse.jst.common.jdt.internal.integration;
-
-import java.util.ArrayList;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.frameworks.internal.WTPProjectUtilities;
-import org.eclipse.wst.common.frameworks.internal.operations.ProjectCreationOperation;
-
-public class JavaProjectCreationOperation extends ProjectCreationOperation {
-
- public JavaProjectCreationOperation(IDataModel dataModel) {
- super(dataModel);
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- super.execute(monitor, info);
- try {
- createJavaProject(monitor);
- } catch (CoreException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- return OK_STATUS;
- }
-
- private void createJavaProject(IProgressMonitor monitor) throws CoreException {
- IProject project = (IProject) model.getProperty(IJavaProjectCreationProperties.PROJECT);
- WTPProjectUtilities.addNatureToProjectLast(project, JavaCore.NATURE_ID);
- IJavaProject javaProject = JavaCore.create(project);
- javaProject.setOutputLocation(getOutputPath(project), monitor);
- javaProject.setRawClasspath(getClasspathEntries(project), monitor);
- if (model.getBooleanProperty(IJavaProjectCreationProperties.CREATE_SOURCE_FOLDERS)) {
- String[] sourceFolders = (String[]) model.getProperty(IJavaProjectCreationProperties.SOURCE_FOLDERS);
- IFolder folder = null;
- for (int i = 0; i < sourceFolders.length; i++) {
- folder = project.getFolder(sourceFolders[i]);
- folder.create(true, true, monitor);
- }
- }
- }
-
- private IPath getOutputPath(IProject project) {
- String outputLocation = model.getStringProperty(IJavaProjectCreationProperties.OUTPUT_LOCATION);
- return project.getFullPath().append(outputLocation);
- }
-
- private IClasspathEntry[] getClasspathEntries(IProject project) {
- IClasspathEntry[] entries = (IClasspathEntry[]) model.getProperty(IJavaProjectCreationProperties.CLASSPATH_ENTRIES);
- IClasspathEntry[] sourceEntries = null;
- if (model.getBooleanProperty(IJavaProjectCreationProperties.CREATE_SOURCE_FOLDERS))
- sourceEntries = getSourceClasspathEntries(project);
- return combineArrays(sourceEntries, entries);
- }
-
- private IClasspathEntry[] getSourceClasspathEntries(IProject project) {
- String[] sourceFolders = (String[]) model.getProperty(IJavaProjectCreationProperties.SOURCE_FOLDERS);
- ArrayList list = new ArrayList();
- for (int i = 0; i < sourceFolders.length; i++) {
- list.add(JavaCore.newSourceEntry(project.getFullPath().append(sourceFolders[i])));
- }
- IClasspathEntry[] classpath = new IClasspathEntry[list.size()];
- for (int i = 0; i < classpath.length; i++) {
- classpath[i] = (IClasspathEntry) list.get(i);
- }
- return classpath;
- }
-
- private IClasspathEntry[] combineArrays(IClasspathEntry[] sourceEntries, IClasspathEntry[] entries) {
- if (sourceEntries != null) {
- if (entries == null)
- return sourceEntries;
- return doCombineArrays(sourceEntries, entries);
- } else if (entries != null)
- return entries;
- return new IClasspathEntry[0];
- }
-
- private IClasspathEntry[] doCombineArrays(IClasspathEntry[] sourceEntries, IClasspathEntry[] entries) {
- IClasspathEntry[] result = new IClasspathEntry[sourceEntries.length + entries.length];
- System.arraycopy(sourceEntries, 0, result, 0, sourceEntries.length);
- System.arraycopy(entries, 0, result, sourceEntries.length, entries.length);
- return result;
- }
-
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectMigrationDataModelProvider.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectMigrationDataModelProvider.java
deleted file mode 100644
index c0cb0945e..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectMigrationDataModelProvider.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.jdt.internal.integration;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelProvider;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelEvent;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModelOperation;
-
-/**
- * This dataModel is a common super class used for creation of WTP Components.
- *
- * This class (and all its fields and methods) is likely to change during the
- * WTP 1.0 milestones as the new project structures are adopted. Use at your own
- * risk.
- *
- * @since WTP 1.0
- */
-public class JavaProjectMigrationDataModelProvider extends AbstractDataModelProvider implements IJavaProjectMigrationDataModelProperties{
-
- public void init() {
- super.init();
- }
-
- public String[] getPropertyNames() {
- return new String[]{PROJECT_NAME};
- }
-
- public void propertyChanged(DataModelEvent event) {
- if (event.getFlag() == DataModelEvent.VALUE_CHG) {
- event.getDataModel();
- }
- }
-
- public boolean propertySet(String propertyName, Object propertyValue) {
- return true;
- }
-
- public Object getDefaultProperty(String propertyName) {
- return super.getDefaultProperty(propertyName);
- }
-
- public IStatus validate(String propertyName) {
-
- return OK_STATUS;
- }
-
- public IDataModelOperation getDefaultOperation(){
- return new JavaProjectMigrationOperation(model);
- }
-
-}
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectMigrationOperation.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectMigrationOperation.java
deleted file mode 100644
index bcf6f5dee..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectMigrationOperation.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.jst.common.jdt.internal.integration;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IProjectDescription;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jem.util.logger.proxy.Logger;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
-import org.eclipse.wst.common.componentcore.resources.IFlexibleProject;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualFolder;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-
-
-public class JavaProjectMigrationOperation extends AbstractDataModelOperation implements IJavaProjectMigrationDataModelProperties{
-
- private static String WTP_MODULE_FILE_NAME = ".wtpmodules"; //$NON-NLS-1$
-
- public JavaProjectMigrationOperation(IDataModel model) {
- super(model);
- }
-
- public IStatus execute(IProgressMonitor monitor, IAdaptable info) {
-
- String projectName = model.getStringProperty(PROJECT_NAME);
- IProject project = ProjectUtilities.getProject(projectName);
-
- IFlexibleProject fProject = ComponentCore.createFlexibleProject( project );
- if ( !fProject.isFlexible() ){
- if( project.isAccessible() && project.exists()){
- if( shouldMigrate(project)){
- try {
- if( !project.hasNature( IModuleConstants.MODULE_NATURE_ID ) ){
- addModuleCoreNature( project );
- }
- migrate( project );
- } catch (CoreException e) {
- Logger.getLogger().log( e );
- }
- }
- }
- }
- return OK_STATUS;
- }
-
- protected boolean shouldMigrate(IProject project){
- try {
- if( project.hasNature(JavaCore.NATURE_ID) )
- return true;
- } catch (CoreException e) {
- Logger.getLogger().log( e );
- }
- return false;
- }
-
- private void addModuleCoreNature(IProject project) {
- IProjectDescription description = null;
- try {
- description = project.getDescription();
- } catch (CoreException e) {
- Logger.getLogger().log( e );
- }
- String[] currentNatureIds = description.getNatureIds();
- String[] newNatureIds = new String[currentNatureIds.length + 1];
- System.arraycopy(currentNatureIds, 0, newNatureIds, 0, currentNatureIds.length);
- newNatureIds[currentNatureIds.length] = IModuleConstants.MODULE_NATURE_ID;
- description.setNatureIds(newNatureIds);
- try {
- project.setDescription(description, null);
- } catch (CoreException e1) {
- Logger.getLogger().log( e1 );
- }
- }
-
-
- protected boolean wtpModuleFileExist(IProject project) {
- IFile file = project.getFile(WTP_MODULE_FILE_NAME);
- return file.exists();
- }
-
-
- protected void createComponent(String aComponentName, IProject aProject) throws CoreException {
- IVirtualComponent component = ComponentCore.createComponent(aProject, aComponentName);
- component.create(0, null);
- IVirtualFolder rootFolder = component.getFolder(new Path("/")); //$NON-NLS-1$
-
- IJavaProject javaProject = JavaCore.create( aProject );
- try {
- IClasspathEntry[] entries = javaProject.getRawClasspath();
- for( int i=0; i< entries.length; i++){
- if( entries[i].getEntryKind() == IClasspathEntry.CPE_SOURCE){
- IPath path = entries[i].getPath();
- IPath out = entries[i].getOutputLocation();
-
- IVirtualFolder javaSourceFolder = component.getFolder( out );
- javaSourceFolder.createLink( path, 0, null);
- }
- }
- }catch (JavaModelException e) {
- Logger.getLogger().logError(e);
- }
- }
-
- protected boolean migrate(IProject project) {
- IProject currentProject = project;
- if (wtpModuleFileExist(project))
- return false;
-
- try {
- createComponent(project.getName(), project);
- } catch (CoreException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
-
- return true;
- }
-
- public IStatus redo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- // TODO Auto-generated method stub
- return null;
- }
-
- public IStatus undo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- // TODO Auto-generated method stub
- return null;
- }
-
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectValidationHandler.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectValidationHandler.java
deleted file mode 100644
index a5f04ebd2..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/JavaProjectValidationHandler.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.jst.common.jdt.internal.integration;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.wst.common.frameworks.internal.IValidationSelectionHandler;
-
-/**
- * Java Project validation
- */
-public class JavaProjectValidationHandler implements IValidationSelectionHandler {
-
- private String validationType = null;
-
- /**
- * Default constructor
- */
- public JavaProjectValidationHandler() {
- super();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.frameworks.internal.IValidationSelectionHandler#getBaseValidationType(java.lang.Object)
- */
- public IResource getBaseValidationType(Object selection) {
- if (selection instanceof IJavaProject)
- return ((IJavaProject)selection).getProject();
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.frameworks.internal.IValidationSelectionHandler#getValidationTypeString()
- */
- public String getValidationTypeString() {
- return validationType;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.common.frameworks.internal.IValidationSelectionHandler#setValidationTypeString(java.lang.String)
- */
- public void setValidationTypeString(String validationType) {
- this.validationType = validationType;
- }
-
-}
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WTPWorkingCopyManager.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WTPWorkingCopyManager.java
deleted file mode 100644
index dd5001739..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WTPWorkingCopyManager.java
+++ /dev/null
@@ -1,532 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.jdt.internal.integration;
-
-
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import org.eclipse.core.internal.resources.Workspace;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IWorkspaceRunnable;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jdt.core.IJavaElement;
-import org.eclipse.jdt.core.IPackageFragment;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jem.util.logger.proxy.Logger;
-import org.eclipse.wst.common.frameworks.internal.ISaveHandler;
-import org.eclipse.wst.common.frameworks.internal.SaveFailedException;
-import org.eclipse.wst.common.frameworks.internal.SaveHandlerHeadless;
-import org.eclipse.wst.common.frameworks.internal.SaveHandlerRegister;
-import org.eclipse.wst.common.frameworks.internal.plugin.WTPCommonPlugin;
-
-/**
- * Insert the type's description here. Creation date: (4/27/2001 4:14:30 PM)
- *
- * @author: Administrator
- */
-public class WTPWorkingCopyManager implements WorkingCopyManager {
-
- //New CUs that will need to be deleted upon dispose
- private List originalNewCompilationUnits;
- //New CUs that were created that need saved immediately (after each gen)
- private List needsSavingCompilationUnits;
- //A complete list of new CUs that is only cleared on save and dispose
- private List newCompilationUnits;
- private HashMap deletedCompilationUnits;
- protected static final Class IRESOURCE_CLASS = IResource.class;
-
- /**
- * WTPWorkingCopyManager constructor comment.
- */
- public WTPWorkingCopyManager() {
- super();
- }
-
- protected void addDeletedCompilationUnit(ICompilationUnit cu) {
- getNeedsSavingCompilationUnits().remove(cu);
- if (!getOriginalNewCompilationUnits().contains(cu) && !getDeletedCompilationUnits().containsKey(cu))
- primAddDeletedCompilationUnit(cu);
- getOriginalNewCompilationUnits().remove(cu);
- }
-
- protected void addNewCompilationUnit(ICompilationUnit cu, ICompilationUnit workingCopy) {
- getNewCompilationUnits().add(cu);
- getNeedsSavingCompilationUnits().add(workingCopy);
- if (!getDeletedCompilationUnits().containsKey(cu))
- getOriginalNewCompilationUnits().add(cu);
- }
-
- /**
- * This will save all of the new CompilationUnits to be saved.
- */
- protected void commitWorkingCopy(ICompilationUnit wc, IProgressMonitor monitor) {
- try {
- try {
- wc.commitWorkingCopy(false, monitor);
- } catch (JavaModelException e) {
- if (isFailedWriteFileFailure(e) && shouldSaveReadOnly(wc))
- wc.commitWorkingCopy(false, monitor);
- else
- throw e;
- }
- } catch (JavaModelException e) {
- org.eclipse.jem.util.logger.proxy.Logger.getLogger().logError(e);
- throw new SaveFailedException(e);
- } finally {
- try {
- wc.discardWorkingCopy();
- } catch (JavaModelException e1) {
- org.eclipse.jem.util.logger.proxy.Logger.getLogger().logError(e1);
- throw new SaveFailedException(e1);
- }
- }
- }
-
- /**
- * This will delete
- *
- * @cu from the workbench and fix the internal references for this working copy manager.
- */
- public void delete(ICompilationUnit cu, IProgressMonitor monitor) {
- if (cu.isWorkingCopy())
- cu = cu.getPrimary();
- addDeletedCompilationUnit(cu);
- try {
- cu.delete(false, monitor);
- } catch (JavaModelException e) {
- if (e.getStatus().getCode() != org.eclipse.jdt.core.IJavaModelStatusConstants.ELEMENT_DOES_NOT_EXIST)
- org.eclipse.jem.util.logger.proxy.Logger.getLogger().logError(e);
- }
- }
-
- protected void discardOriginalNewCompilationUnits() {
- if (getOriginalNewCompilationUnits().isEmpty())
- return;
- List cus = getOriginalNewCompilationUnits();
- ICompilationUnit cu;
- ICompilationUnit wc = null;
- for (int i = 0; i < cus.size(); i++) {
- cu = (ICompilationUnit) cus.get(i);
- if (cu.isWorkingCopy()) {
- wc = cu;
- cu = wc.getPrimary();
- }
- primDelete(cu);
- if (wc != null)
- try {
- wc.discardWorkingCopy();
- } catch (JavaModelException e) {
- Logger.getLogger().logError(e);
- }
- }
- }
-
- public void dispose() {
- IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
- public void run(IProgressMonitor aMonitor) {
- primDispose();
- }
- };
- runOperation(runnable, null, true);
- }
-
- public void revert() {
- IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
- public void run(IProgressMonitor aMonitor) {
- primRevert();
- }
- };
- runOperation(runnable, null, true);
- }
-
- public Set getAffectedFiles() {
- return Collections.EMPTY_SET;
- }
-
- /**
- * Insert the method's description here. Creation date: (7/11/2001 6:43:37 PM)
- *
- * @return java.util.HashMap
- */
- protected HashMap getDeletedCompilationUnits() {
- if (deletedCompilationUnits == null)
- deletedCompilationUnits = new HashMap();
- return deletedCompilationUnits;
- }
-
- /**
- * Returns the working copy remembered for the compilation unit encoded in the given editor
- * input. Does not connect the edit model to the working copy.
- *
- * @param input
- * ICompilationUnit
- * @return the working copy of the compilation unit, or <code>null</code> if the input does
- * not encode an editor input, or if there is no remembered working copy for this
- * compilation unit
- */
- public org.eclipse.jdt.core.ICompilationUnit getExistingWorkingCopy(ICompilationUnit cu) throws CoreException {
- ICompilationUnit newCU = getNewCompilationUnitWorkingCopy(cu);
- if (newCU != null)
- return newCU;
- return null;
- }
-
- /**
- * Insert the method's description here. Creation date: (7/19/2001 11:00:19 AM)
- *
- * @return java.util.List
- */
- protected java.util.List getNeedsSavingCompilationUnits() {
- if (needsSavingCompilationUnits == null)
- needsSavingCompilationUnits = new ArrayList();
- return needsSavingCompilationUnits;
- }
-
- /**
- * Insert the method's description here. Creation date: (4/26/2001 3:49:05 PM)
- *
- * @return java.util.List
- */
- protected java.util.List getNewCompilationUnits() {
- if (newCompilationUnits == null)
- newCompilationUnits = new ArrayList();
- return newCompilationUnits;
- }
-
- /**
- * It is possible that we have already created this CompilationUnit and its working copy. If
- * this is the case, return our new working copy and do not create a new one.
- */
- protected ICompilationUnit getNewCompilationUnitWorkingCopy(ICompilationUnit cu) {
- if (hasNewCompilationUnit(cu)) {
- List list = getNeedsSavingCompilationUnits();
- ICompilationUnit copy;
- for (int i = 0; i < list.size(); i++) {
- copy = (ICompilationUnit) list.get(i);
- if (cu.equals(copy.getPrimary()))
- return copy;
- }
- }
- return null;
- }
-
- /**
- * Insert the method's description here. Creation date: (4/26/2001 3:49:05 PM)
- *
- * @return java.util.List
- */
- protected java.util.List getOriginalNewCompilationUnits() {
- if (originalNewCompilationUnits == null)
- originalNewCompilationUnits = new ArrayList();
- return originalNewCompilationUnits;
- }
-
- /**
- * Return the IPackageFragment for the given ICompilationUnit.
- */
- protected IPackageFragment getPackageFragment(ICompilationUnit cu) {
- if (cu == null)
- return null;
- IJavaElement parent = cu;
- int elementType = cu.getElementType();
- while (parent != null && elementType != IJavaElement.PACKAGE_FRAGMENT) {
- parent = parent.getParent();
- if (parent != null)
- elementType = parent.getElementType();
- else
- elementType = -1;
- }
- return (IPackageFragment) parent;
- }
-
- protected ISaveHandler getSaveHandler() {
- return SaveHandlerRegister.getSaveHandler();
- }
-
- /**
- * Returns the working copy remembered for the compilation unit.
- *
- * @param input
- * ICompilationUnit
- * @return the working copy of the compilation unit, or <code>null</code> if there is no
- * remembered working copy for this compilation unit
- */
- public ICompilationUnit getWorkingCopy(ICompilationUnit cu, boolean forNewCU) throws org.eclipse.core.runtime.CoreException {
- if (cu == null || cu.isWorkingCopy())
- return cu;
- ICompilationUnit newCU = getNewCompilationUnitWorkingCopy(cu);
- if (newCU != null)
- return newCU;
- ICompilationUnit workingCopy = cu.getWorkingCopy(null);
- addNewCompilationUnit(cu, workingCopy);
- return workingCopy;
- }
-
- /**
- * Has a new compilation unit already been created.
- */
- protected boolean hasNewCompilationUnit(ICompilationUnit cu) {
- return getNewCompilationUnits().contains(cu);
- }
-
- protected boolean isFailedWriteFileFailure(Exception ex) {
- return SaveHandlerHeadless.isFailedWriteFileFailure(ex);
- }
-
- protected void primAddDeletedCompilationUnit(ICompilationUnit cu) {
- if (cu == null)
- return;
- Object[] info = new Object[2];
- info[0] = getPackageFragment(cu);
- try {
- info[1] = cu.getSource();
- } catch (JavaModelException e) {
- info[1] = null;
- }
- getDeletedCompilationUnits().put(cu, info);
- }
-
- // This is an internal delete call.
- protected void primDelete(ICompilationUnit cu) {
- try {
- if (cu.exists())
- cu.delete(true, new org.eclipse.core.runtime.NullProgressMonitor());
- } catch (JavaModelException e) {
- org.eclipse.jem.util.logger.proxy.Logger.getLogger().logError(e);
- //What to do here?
- }
- }
-
- protected void primDispose() {
- discardOriginalNewCompilationUnits();
- reviveDeletedCompilationUnits();
- newCompilationUnits = null;
- needsSavingCompilationUnits = null;
- originalNewCompilationUnits = null;
- deletedCompilationUnits = null;
- }
-
- protected void primRevert() {
- discardOriginalNewCompilationUnits();
- reviveDeletedCompilationUnits();
- newCompilationUnits = null;
- needsSavingCompilationUnits = null;
- originalNewCompilationUnits = null;
- deletedCompilationUnits = null;
- }
-
- /**
- * Returns the working copy remembered for the compilation unit encoded in the given editor
- * input.
- *
- * @param input
- * ICompilationUnit
- * @return the working copy of the compilation unit, or <code>null</code> if the input does
- * not encode an editor input, or if there is no remembered working copy for this
- * compilation unit
- */
- protected ICompilationUnit primGetWorkingCopy(ICompilationUnit cu) throws CoreException {
- return null;
- }
-
- /**
- * This will save all of the referenced CompilationUnits to be saved.
- */
- protected void primSaveCompilationUnits(org.eclipse.core.runtime.IProgressMonitor monitor) {
- saveNewCompilationUnits(monitor);
- getDeletedCompilationUnits().clear();
- }
-
- /**
- * This will save all of the new CompilationUnits to be saved.
- */
- protected void primSaveOnlyNewCompilationUnits(org.eclipse.core.runtime.IProgressMonitor monitor) {
- List cus = getNeedsSavingCompilationUnits();
- ICompilationUnit wc;
- for (int i = 0; i < cus.size(); i++) {
- wc = (ICompilationUnit) cus.get(i);
- commitWorkingCopy(wc, monitor);
- }
- cus.clear();
- }
-
- protected void removeDeletedCompilationUnit(ICompilationUnit cu) {
- if (getDeletedCompilationUnits().remove(cu) != null) {
- if (cu.isWorkingCopy()) {
- ICompilationUnit original, nextCU, testCU;
- original = cu.getPrimary();
- Set cus = getDeletedCompilationUnits().keySet();
- Iterator it = cus.iterator();
- while (it.hasNext()) {
- nextCU = (ICompilationUnit) it.next();
- testCU = nextCU.isWorkingCopy() ? (ICompilationUnit) nextCU.getPrimary() : nextCU;
- if (testCU.equals(original)) {
- cus.remove(nextCU);
- return;
- }
- }
- }
- }
- }
-
- protected void reviveDeletedCompilationUnit(ICompilationUnit cu, Object[] info, IProgressMonitor pm) {
- if (info[0] != null && info[1] != null) {
- String typeName = cu.getElementName();
- IPackageFragment pack = (IPackageFragment) info[0];
- String source = (String) info[1];
- try {
- ICompilationUnit existingCU = pack.getCompilationUnit(typeName);
- if (existingCU.exists() && getNewCompilationUnits().contains(existingCU))
- existingCU.delete(false, pm);
- pack.createCompilationUnit(typeName, source, false, pm);
- } catch (JavaModelException e) {
- org.eclipse.jem.util.logger.proxy.Logger.getLogger().logError(e);
- }
- }
- }
-
- protected void reviveDeletedCompilationUnits() {
- if (getDeletedCompilationUnits().isEmpty())
- return;
- IProgressMonitor pm = new org.eclipse.core.runtime.NullProgressMonitor();
- Iterator it = getDeletedCompilationUnits().entrySet().iterator();
- Map.Entry entry;
- ICompilationUnit cu;
- Object[] info;
- while (it.hasNext()) {
- entry = (Map.Entry) it.next();
- cu = (ICompilationUnit) entry.getKey();
- info = (Object[]) entry.getValue();
- reviveDeletedCompilationUnit(cu, info, pm);
- }
-
- }
-
- protected void runOperation(IWorkspaceRunnable aRunnable, IProgressMonitor monitor, boolean validate) {
- primRunOperation(aRunnable, monitor);
-
- // TODO Break the validator depedency
- // if (validate)
- // primRunOperation(aRunnable, monitor);
- // else {
- // IProject proj = getValidationProject();
- //
- // ValidatorManager mgr = ValidatorManager.getManager();
- // boolean disableValidators = proj != null;
- // boolean wasSuspended = false;
- // if (disableValidators) {
- // wasSuspended = mgr.isSuspended(proj);
- // if (!wasSuspended)
- // mgr.suspendValidation(proj, true);
- // }
- // try {
- // primRunOperation(aRunnable, monitor);
- // } finally {
- // if (disableValidators && !wasSuspended)
- // mgr.suspendValidation(proj, false);
- // }
- // }
- }
-
- protected void primRunOperation(IWorkspaceRunnable aRunnable, IProgressMonitor monitor) {
- Workspace workspace = (Workspace) WTPCommonPlugin.getWorkspace();
- if (aRunnable != null) {
- //if (workspace.isTreeLocked())
- //Logger.getLogger().logTrace(ResourceHandler.getString("Cannot_run_J2EEUIWorkingCo_ERROR_"));
- // //$NON-NLS-1$ = "Cannot run J2EEUIWorkingCopyManager operation because the Workspace
- // tree is locked."
- //else {
- if (!workspace.isTreeLocked()) {
- try {
- WTPCommonPlugin.getWorkspace().run(aRunnable, monitor);
- } catch (CoreException e) {
- throw new SaveFailedException(e);
- }
- }
- }
- }
-
- /**
- * This will save all of the referenced CompilationUnits to be saved.
- */
- public void saveCompilationUnits(org.eclipse.core.runtime.IProgressMonitor monitor) {
- getSaveHandler().access();
- try {
- IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
- public void run(IProgressMonitor aMonitor) {
- primSaveCompilationUnits(aMonitor);
- }
- };
- runOperation(runnable, monitor, true);
- } catch (SaveFailedException ex) {
- getSaveHandler().handleSaveFailed(ex, monitor);
- } finally {
- getSaveHandler().release();
- }
- }
-
- /**
- * This will save all of the referenced CompilationUnits to be saved.
- */
- protected void saveNewCompilationUnits(IProgressMonitor monitor) {
- primSaveOnlyNewCompilationUnits(monitor);
- getOriginalNewCompilationUnits().clear();
- getNewCompilationUnits().clear();
- }
-
- /**
- * This will save all of the new CompilationUnits to be saved.
- */
- public void saveOnlyNewCompilationUnits(org.eclipse.core.runtime.IProgressMonitor monitor) {
- getSaveHandler().access();
- try {
- IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
- public void run(IProgressMonitor aMonitor) {
- primSaveOnlyNewCompilationUnits(aMonitor);
- }
- };
- runOperation(runnable, monitor, false);
- } catch (SaveFailedException ex) {
- getSaveHandler().handleSaveFailed(ex, monitor);
- } finally {
- getSaveHandler().release();
- }
- }
-
- protected boolean shouldSaveReadOnly(ICompilationUnit wc) {
- IResource resource = null;
-
- resource = (IResource) wc.getPrimary().getAdapter(IRESOURCE_CLASS);
-
- if (resource == null || resource.getType() != IResource.FILE || !resource.getResourceAttributes().isReadOnly())
- return false;
-
- return getSaveHandler().shouldContinueAndMakeFileEditable((IFile) resource);
- }
-
- /**
- * @see com.ibm.etools.j2ee.workbench.IJ2EEWorkingCopyManager#hasWorkingCopies()
- */
- public boolean hasWorkingCopies() {
- return (deletedCompilationUnits != null && !deletedCompilationUnits.isEmpty()) || (needsSavingCompilationUnits != null && !needsSavingCompilationUnits.isEmpty()) || (newCompilationUnits != null && !newCompilationUnits.isEmpty());
- }
-
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WorkingCopyManager.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WorkingCopyManager.java
deleted file mode 100644
index 35ccc89fb..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WorkingCopyManager.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.jdt.internal.integration;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
-
-/**
- * @author Administrator
- *
- *
- */
-public interface WorkingCopyManager extends WorkingCopyProvider {
-
- void dispose();
-
- java.util.Set getAffectedFiles();
-
- /**
- * This will save all of the referenced CompilationUnits to be saved.
- */
- void saveCompilationUnits(IProgressMonitor monitor);
-
- /**
- * This will save all of the new CompilationUnits to be saved.
- */
- void saveOnlyNewCompilationUnits(IProgressMonitor monitor);
-
- /**
- * Method hasWorkingCopies.
- *
- * @return boolean
- */
- boolean hasWorkingCopies();
-
- /**
- * Revert all working copies.
- */
- void revert();
-
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WorkingCopyManagerFactory.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WorkingCopyManagerFactory.java
deleted file mode 100644
index 3e98f8a88..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WorkingCopyManagerFactory.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.jdt.internal.integration;
-
-import org.eclipse.jem.util.UIContextDetermination;
-
-
-/**
- * @author mdelder
- *
- *
- */
-public class WorkingCopyManagerFactory {
-
- // protected static Class workingCopyManagerClass;
-
- public static WorkingCopyManager newRegisteredInstance() {
- return (WorkingCopyManager) UIContextDetermination.createInstance("workingCopyManager"); //$NON-NLS-1$
- }
-
- // public static IWorkingCopyManager createWorkingCopyManager() {
- // if (getWorkingCopyManagerClass() != null)
- // try {
- // return (IWorkingCopyManager) getWorkingCopyManagerClass().newInstance();
- // } catch (InstantiationException e1) {
- // } catch (IllegalAccessException e2) {
- // }
- // return null;
- // }
- //
- // /**
- // * Insert the method's description here.
- // * Creation date: (4/26/2001 7:53:15 AM)
- // * @return java.lang.Class
- // */
- // public static java.lang.Class getWorkingCopyManagerClass() {
- // return workingCopyManagerClass;
- // }
- //
- // /**
- // * Insert the method's description here.
- // * Creation date: (4/26/2001 7:53:15 AM)
- // * @param newWorkingCopyManagerClass java.lang.Class
- // */
- // public static void setWorkingCopyManagerClass(java.lang.Class newWorkingCopyManagerClass) {
- // workingCopyManagerClass = newWorkingCopyManagerClass;
- // }
-
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WorkingCopyProvider.java b/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WorkingCopyProvider.java
deleted file mode 100644
index 2696f5c54..000000000
--- a/plugins/org.eclipse.jst.common.frameworks/src/org/eclipse/jst/common/jdt/internal/integration/WorkingCopyProvider.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.common.jdt.internal.integration;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.jdt.core.ICompilationUnit;
-
-
-/**
- * The user of the Java code generation framework must supply an implementation of this interface.
- * The framework will obtain compilation working copies from this interface. The supplier of the
- * implementation is responsible for committing the working copies when appropriate for the user's
- * edit model.
- */
-public interface WorkingCopyProvider {
-
- /**
- * This will delete compilation unit from the workbench and fix the internal references for this
- * working copy manager.
- *
- * @param cu
- * the compilation unit to delete
- * @param monitor
- * the progress monitor to use for the delete
- */
- void delete(ICompilationUnit cu, IProgressMonitor monitor);
-
- /**
- * Returns the working copy remembered for the compilation unit. That is, the manager already
- * has a working copy for this unit, it does not create a new working copy. Does not connect the
- * edit model to the working copy.
- *
- * @param input
- * the compilation unit
- * @return the working copy of the compilation unit, or <code>null</code> it there is no
- * remembered working copy for this compilation unit
- */
- ICompilationUnit getExistingWorkingCopy(ICompilationUnit cu) throws CoreException;
-
- /**
- * Returns the working copy remembered for the compilation unit or creates a new working copy
- * for the compilation unit and returns it. If a working copy is passed in, it is returned.
- *
- * @param input
- * the compilation unit
- * @return the working copy of the compilation unit
- * @exception CoreException
- * if the working copy can not be created
- */
- ICompilationUnit getWorkingCopy(ICompilationUnit cu, boolean forNewCU) throws CoreException;
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.jst.j2ee.core/.classpath b/plugins/org.eclipse.jst.j2ee.core/.classpath
deleted file mode 100644
index 197e06a87..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/.classpath
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="mofj2ee/"/>
- <classpathentry kind="src" path="webservices/"/>
- <classpathentry kind="src" path="commonArchive/"/>
- <classpathentry kind="src" path="j2ee-validation/"/>
- <classpathentry kind="src" path="j2eeCorePlugin/"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.eclipse.jst.j2ee.core/.cvsignore b/plugins/org.eclipse.jst.j2ee.core/.cvsignore
deleted file mode 100644
index 963bc29d6..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-temp.folder
-build.xml
-runtime
diff --git a/plugins/org.eclipse.jst.j2ee.core/.project b/plugins/org.eclipse.jst.j2ee.core/.project
deleted file mode 100644
index fc4f457ee..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.j2ee.core</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.jst.j2ee.core/META-INF/MANIFEST.MF b/plugins/org.eclipse.jst.j2ee.core/META-INF/MANIFEST.MF
deleted file mode 100644
index ba5e6294f..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,93 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: J2EE Core Component
-Bundle-SymbolicName: org.eclipse.jst.j2ee.core; singleton:=true
-Bundle-Version: 1.0.0
-Bundle-ClassPath: runtime/mofj2ee.jar,
- runtime/commonArchive.jar,
- runtime/j2ee-validation.jar,
- runtime/j2eeCorePlugin.jar
-Bundle-Activator: org.eclipse.jst.j2ee.core.internal.plugin.J2EECorePlugin
-Bundle-Vendor: Eclipse.org
-Bundle-Localization: plugin
-Export-Package: .,
- org.eclipse.jst.j2ee.application,
- org.eclipse.jst.j2ee.client,
- org.eclipse.jst.j2ee.common,
- org.eclipse.jst.j2ee.commonarchivecore.internal,
- org.eclipse.jst.j2ee.commonarchivecore.internal.exception,
- org.eclipse.jst.j2ee.commonarchivecore.internal.helpers,
- org.eclipse.jst.j2ee.commonarchivecore.internal.impl,
- org.eclipse.jst.j2ee.commonarchivecore.internal.looseconfig,
- org.eclipse.jst.j2ee.commonarchivecore.internal.looseconfig.impl,
- org.eclipse.jst.j2ee.commonarchivecore.internal.looseconfig.util,
- org.eclipse.jst.j2ee.commonarchivecore.internal.strategy,
- org.eclipse.jst.j2ee.commonarchivecore.internal.util,
- org.eclipse.jst.j2ee.core.internal.plugin,
- org.eclipse.jst.j2ee.ejb,
- org.eclipse.jst.j2ee.internal,
- org.eclipse.jst.j2ee.internal.application,
- org.eclipse.jst.j2ee.internal.application.impl,
- org.eclipse.jst.j2ee.internal.application.util,
- org.eclipse.jst.j2ee.internal.client,
- org.eclipse.jst.j2ee.internal.client.impl,
- org.eclipse.jst.j2ee.internal.client.util,
- org.eclipse.jst.j2ee.internal.common,
- org.eclipse.jst.j2ee.internal.common.impl,
- org.eclipse.jst.j2ee.internal.common.util,
- org.eclipse.jst.j2ee.internal.ejb,
- org.eclipse.jst.j2ee.internal.ejb.impl,
- org.eclipse.jst.j2ee.internal.ejb.util,
- org.eclipse.jst.j2ee.internal.jca,
- org.eclipse.jst.j2ee.internal.jca.impl,
- org.eclipse.jst.j2ee.internal.jca.util,
- org.eclipse.jst.j2ee.internal.jsp,
- org.eclipse.jst.j2ee.internal.jsp.impl,
- org.eclipse.jst.j2ee.internal.jsp.util,
- org.eclipse.jst.j2ee.internal.migration,
- org.eclipse.jst.j2ee.internal.model.translator.application,
- org.eclipse.jst.j2ee.internal.model.translator.client,
- org.eclipse.jst.j2ee.internal.model.translator.common,
- org.eclipse.jst.j2ee.internal.model.translator.connector,
- org.eclipse.jst.j2ee.internal.model.translator.ejb,
- org.eclipse.jst.j2ee.internal.model.translator.webapplication,
- org.eclipse.jst.j2ee.internal.model.translator.webservices,
- org.eclipse.jst.j2ee.internal.taglib,
- org.eclipse.jst.j2ee.internal.taglib.impl,
- org.eclipse.jst.j2ee.internal.taglib.util,
- org.eclipse.jst.j2ee.internal.webapplication,
- org.eclipse.jst.j2ee.internal.webapplication.impl,
- org.eclipse.jst.j2ee.internal.webapplication.util,
- org.eclipse.jst.j2ee.internal.webservice.util,
- org.eclipse.jst.j2ee.internal.xml,
- org.eclipse.jst.j2ee.jca,
- org.eclipse.jst.j2ee.jsp,
- org.eclipse.jst.j2ee.model.internal.validation,
- org.eclipse.jst.j2ee.webapplication,
- org.eclipse.jst.j2ee.webservice.internal,
- org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap,
- org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl,
- org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.util,
- org.eclipse.jst.j2ee.webservice.internal.wsclient,
- org.eclipse.jst.j2ee.webservice.internal.wsclient.impl,
- org.eclipse.jst.j2ee.webservice.internal.wsclient.util,
- org.eclipse.jst.j2ee.webservice.internal.wscommon,
- org.eclipse.jst.j2ee.webservice.internal.wscommon.impl,
- org.eclipse.jst.j2ee.webservice.internal.wscommon.util,
- org.eclipse.jst.j2ee.webservice.internal.wsdd,
- org.eclipse.jst.j2ee.webservice.internal.wsdd.impl,
- org.eclipse.jst.j2ee.webservice.internal.wsdd.util,
- org.eclipse.jst.j2ee.webservice.jaxrpcmap,
- org.eclipse.jst.j2ee.webservice.wsclient,
- org.eclipse.jst.j2ee.webservice.wscommon,
- org.eclipse.jst.j2ee.webservice.wsdd
-Require-Bundle: org.eclipse.jem,
- org.eclipse.emf.common,
- org.eclipse.wst.common.frameworks,
- org.eclipse.emf.ecore.xmi,
- org.eclipse.wst.common.emf,
- org.eclipse.core.runtime,
- org.eclipse.wst.validation,
- org.eclipse.wst.common.modulecore,
- org.eclipse.jem.util
-Eclipse-AutoStart: true
diff --git a/plugins/org.eclipse.jst.j2ee.core/build.properties b/plugins/org.eclipse.jst.j2ee.core/build.properties
deleted file mode 100644
index ef11be0b7..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/build.properties
+++ /dev/null
@@ -1,32 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = plugin.xml,\
- plugin.properties,\
- runtime/commonArchive.jar,\
- runtime/j2eeCorePlugin.jar,\
- runtime/mofj2ee.jar,\
- runtime/j2ee-validation.jar,\
- changes.log,\
- META-INF/
-src.includes = rose/,\
- component.xml
-source.runtime/j2ee-validation.jar = j2ee-validation/
-output.runtime/mofj2ee.jar = bin/
-source.runtime/mofj2ee.jar = mofj2ee/,\
- webservices/
-output.runtime/j2eeCorePlugin.jar = bin/
-output.runtime/j2ee-validation.jar = bin/
-source.runtime/commonArchive.jar = commonArchive/
-jars.compile.order = runtime/mofj2ee.jar,\
- runtime/commonArchive.jar,\
- runtime/j2eeCorePlugin.jar,\
- runtime/j2ee-validation.jar
-source.runtime/j2eeCorePlugin.jar = j2eeCorePlugin/
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive.properties b/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive.properties
deleted file mode 100644
index 837df5427..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive.properties
+++ /dev/null
@@ -1,94 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-subclass_responsibilty_EXC_=IWAE0001E {0} must be implemented in subclass
-key_class_reflection_ERROR_=IWAE0002E Unable to reflect the class "{0}" in order to compare the primary key field "{1}" from entity "{2}"
-key_field_reflection_ERROR_=IWAE0003E Unable to reflect the type of the primary key field "{0}" from entity "{1}"
-removing_key_field_INFO_=IWAE0004I Removing invalid prim-key-field "{0}" from entity "{1}"
-repair_usage_ERROR_=IWAE0005E RepairArchiveCommand usage: cannot write to destinationPath: {0}
-invalid_archive_EXC_=IWAE0006E Archive is not a valid {0} because the deployment descriptor can not be found (case sensitive): {1}
-load_resource_EXC_=IWAE0007E Could not load resource "{0}" in archive "{1}"
-nested_jar_EXC_=IWAE0008E An error occurred reading {0} from {1}
-make_temp_dir_EXC_=IWAE0009E Unable to make temp directory: {0}
-invalid_classpath_WARN_=IWAE0010W Classpath element "{0}" is not a directory or a Zip file
-invalid_cp_file_WARN_=IWAE0011W Classpath element "{0}" does not point to a local file
-io_ex_loading_EXC_=IWAE0012E An IO exception occurred loading {0}
-tx_bean_mgd_WARN_=IWAE0013W EJB 1.0 Import: Not mapping TX_BEAN_MANAGED control descriptor for {0}
-error_saving_EXC_=IWAE0014E Error saving {0}
-io_ex_manifest_EXC_=IWAE0015E An IOException occurred reading the manifest in archive: {0}
-io_ex_reopen_EXC_=IWAE0016E IOException occurred while reopening {0}
-unable_replace_EXC_=IWAE0017E Unable to replace original archive: {0}
-duplicate_file_EXC_=IWAE0018E The archive named {0} already contains a file named {1}
-duplicate_entry_EXC_=IWAE0019E A file or resource with uri {0} already exists in the archive named {1}
-file_exist_as_dir_EXC_=IWAE0020E A file named {0} exists and is a directory
-uncontained_module_EXC_=IWAE0021E Module {0} is not contained by an EAR file
-dd_in_ear_load_EXC_=IWAE0022E Exception occurred loading deployment descriptor for module "{0}" in EAR file "{1}"
-nested_open_fail_EXC_=IWAE0023E Unable to open module file "{0}" in EAR file "{1}"
-duplicate_module_EXC_=IWAE0024E The deployment descriptor for the EAR file "{0}" already contains a module having uri "{1}"
-no_sec_role_EXC_=IWAE0025E {0}: EAR File deployment descriptor does not contain a security role named {1}
-dup_sec_role_EXC_=IWAE0026E {0}: EAR File deployment descriptor already contains a security role named {1}
-dup_sec_role_module_EXC_=IWAE0027E Deployment descriptor for {0} already contains a security role named {1}
-dup_resource_EXC_=IWAE0028E Resource named "{0}" already exists in archive "{1}"
-error_saving_EXC_=IWAE0030E Error saving {0}
-add_copy_class_dir_EXC_=IWAE0031E The method "addCopyClass" is not supported for directories. URI: {0}
-add_copy_lib_dir_EXC_=IWAE0032E The method "addCopyLib" is not supported for directories. URI: {0}
-list_components_war_EXC_=IWAE0033E Exception occurred listing components in WAR file: {0}
-open_nested_EXC_=IWAE0034E Could not open the nested archive "{0}" in "{1}"
-make_temp_file_WARN_=IWAE0035W Warning: Unable to create temp file for {0}. This will impact performance.
-file_not_found_EXC_=IWAE0036E URI Name: {0}; File name: {1}
-could_not_open_EXC_=IWAE0037E Could not open {0}
-could_not_find_dir_EXC_=IWAE0038E Unable to open directory {0}
-not_a_dir_EXC_=IWAE0039E Unable to open directory because file is not a directory: {0}
-inferred_dds_EXC_=IWAE0040E The EJB JAR file "{0}" was inferred to be of version 1.0 because the manifest does not declare enterprise beans but serialized deployment descriptors exist in the JAR.
-filename_exception_EXC_=IWAE0041E Filename: {0}; Exception: {1}
-no_dds_10_EXC_=IWAE0042E No deployment descriptors in EJB 1.0 JAR file: {0}
-manifest_dd_load_EXC_=IWAE0043E The JAR manifest declares an enterprise bean for which the deployment descriptor file can not be loaded: {0}
-manifest_dd_find_EXC_=IWAE0044E The JAR manifest declares an enterprise bean for which the deployment descriptor file can not be found: {0}
-io_ex_reading_dd_EXC_=IWAE0045E IO Exception occurred reading {0}
-ser_not_dd_EXC_=IWAE0046E The serialized object in file "{0}" is not a an instance of javax.ejb.deployment.DeploymentDescriptor
-reading_dd_EXC_=IWAE0047E Exception occurred reading {0}
-missing_class_EXC_=IWAE0048E Could not deserialize {0} because a required class could not be found. Exception: {1}
-Converted=Converted
-Stack_trace_of_nested_exce_EXC_=IWAE0049E Stack trace of nested exception:
-IOException_occurred_while_EXC_=IWAE0050E IOException occurred while copying manifest
-Extract_destination_is_the_EXC_=IWAE0051E Extract destination is the same path as source file
-Parameter_should_not_be_nu_EXC_=IWAE0052E Parameter should not be null
-Archive_is_not_a_valid_EJB_EXC_=IWAE0055E Archive is not a valid EJB JAR file (1.0) because no serialized deployment descriptors can be found, either in the manifest or in entries with a ".ser" extension
-_The_following_files_could_EXC_=IWAE0056E The following files could not be loaded:
-FixPrimKeyCommand_failed_-_EXC_=IWAE0057E FixPrimKeyCommand failed - exception stack trace:
-FixPrimKeyCommand_usage___=FixPrimKeyCommand usage: <sourceJarFilePath> [destinationPath]
-FixPrimKeyCommand_usage__s_EXC_=IWAE0058E FixPrimKeyCommand usage: sourceJarFilePath must point to a valid EJB JAR file or directory of an inflated EJB JAR file
-Repair_command_failed_-_ex_EXC_=IWAE0059E Repair command failed - exception stack trace:
-Repairs_all_entries_in_the=Repairs all entries in the META-INF and/or WEB-INF directories to be the correct case
-RepairArchiveCommand_usage=RepairArchiveCommand usage: <sourceJarFilePath> <destinationPath>
-RepairArchiveCommand_usage1_ERROR_=IWAE0060E RepairArchiveCommand usage: sourceJarFilePath must point to a valid archive or directory of an inflated archive
-Application_Client_Jar_Fil=Application Client JAR File
-EAR_File=EAR File
-EJB_Jar_File=EJB JAR File
-RAR_File=RAR File
-WAR_File=WAR File
-Error_occurred_iterating_f_EXC_=IWAE0061E Error occurred iterating files
-End_of_list_reached_EXC_=IWAE0062E Reached end of list
-Internal_Error__Iterator_o_EXC_=IWAE0063E Internal Error: Iterator out of sync with zip entries
-Error_iterating_the_archiv_EXC_=IWAE0064E Error iterating the archive
-Absolute_path_unknown_EXC_=IWAE0065E Absolute path unknown
-Original_archive_is_not_a__EXC_=IWAE0066E Original archive is not a directory
-Null_uri_EXC_=IWAE0067E Null uri
-Module_file=Module file
-A_WAR_file=WAR file
-An_EJB_JAR_file=EJB JAR file
-An_Application_Client_JAR_file=Application Client JAR file
-A_RAR_file=RAR file
-A_Application_file=Application file
-A_file_does_not_exist_for_module=A file does not exist for module element having uri: {0}
-File_not_correct_type=The file {0} in EAR file {1} is not the correct type based on the application deployment descriptor. Expected type: {2}";
-Module_not_in_EAR=Module is not in an EAR: {0}
-Module_file_does_not_exist_2=Module file does not exist for Module ref. Module = {0}
-FileImpl._Error_0=Recursive containment not allowed for
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_de.properties b/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_de.properties
deleted file mode 100644
index 817d73f34..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_de.properties
+++ /dev/null
@@ -1,94 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-subclass_responsibilty_EXC_=IWAE0001E {0} muss in einer Unterklasse implementiert werden.
-key_class_reflection_ERROR_=IWAE0002E Die Klasse "{0}" kann zum Vergleichen des Prim\u00e4rschl\u00fcsselfelds "{1}" aus der Entit\u00e4t "{2}" nicht wiedergegeben werden.
-key_field_reflection_ERROR_=IWAE0003E Der Typs des Prim\u00e4rschl\u00fcsselfelds "{0}" aus der Entit\u00e4t "{1}" kann nicht wiedergegeben werden.
-removing_key_field_INFO_=IWAE0004I Das ung\u00fcltige Prim\u00e4rschl\u00fcsselfeld "{0}" wird aus der Entit\u00e4t "{1}" entfernt.
-repair_usage_ERROR_=IWAE0005E Syntax f\u00fcr RepairArchiveCommand: Schreiben in destinationPath {0} ist nicht m\u00f6glich.
-invalid_archive_EXC_=IWAE0006E Das Archiv ist kein g\u00fcltiger Wert f\u00fcr {0}, weil der Implementierungsdeskriptor nicht gefunden wurde (Gro\u00df-/Kleinschreibung muss beachtet werden): {1}
-load_resource_EXC_=IWAE0007E Das Laden der Ressource "{0}" in Archiv "{1}" ist nicht m\u00f6glich.
-nested_jar_EXC_=IWAE0008E Beim Lesen von {0} aus {1} ist ein Fehler aufgetreten.
-make_temp_dir_EXC_=IWAE0009E Das tempor\u00e4re Verzeichnis {0} kann nicht erstellt werden.
-invalid_classpath_WARN_=IWAE0010W Das Klassenpfadelement "{0}" ist kein Verzeichnis und keine komprimierte Datei.
-invalid_cp_file_WARN_=IWAE0011W Das Klassenpfadelement "{0}" verweist nicht auf eine lokale Datei.
-io_ex_loading_EXC_=IWAE0012E Beim Laden von {0} ist eine E/A-Ausnahmebedingung aufgetreten.
-tx_bean_mgd_WARN_=IWAE0013W Import mit EJB 1.0: Steuerungsdeskriptor TX_BEAN_MANAGED f\u00fcr {0} wird nicht zugeordnet.
-error_saving_EXC_=IWAE0014E Fehler beim Speichern von {0}.
-io_ex_manifest_EXC_=IWAE0015E Beim Lesen des Manifestes im Archiv {0} ist eine E/A-Ausnahmebedingung aufgetreten.
-io_ex_reopen_EXC_=IWAE0016E Beim erneuten \u00d6ffnen von {0} ist eine E/A-Ausnahmebedingung aufgetreten.
-unable_replace_EXC_=IWAE0017E Das Originalarchiv {0} kann nicht ersetzt werden.
-duplicate_file_EXC_=IWAE0018E Das Archiv mit dem Namen {0} enth\u00e4lt bereits eine Datei mit dem Namen {1}.
-duplicate_entry_EXC_=IWAE0019E Eine Datei oder Ressource mit der URI {0} ist bereits im Archiv mit dem Namen {1} vorhanden.
-file_exist_as_dir_EXC_=IWAE0020E Eine Datei mit dem Namen {0} ist vorhanden und ist ein Verzeichnis.
-uncontained_module_EXC_=IWAE0021E Das Modul {0} ist nicht in einer EAR-Datei enthalten.
-dd_in_ear_load_EXC_=IWAE0022E Beim Laden des Implementierungsdeskriptors f\u00fcr das Modul "{0}" in der EAR-Datei "{1}" ist eine Ausnahmebedingung aufgetreten.
-nested_open_fail_EXC_=IWAE0023E Die Moduldatei "{0}" in der EAR-Datei "{1}" kann nicht ge\u00f6ffnet werden.
-duplicate_module_EXC_=IWAE0024E Der Implementierungsdeskriptor f\u00fcr die EAR-Datei "{0}" enth\u00e4lt bereits ein Modul mit der URI "{1}".
-no_sec_role_EXC_=IWAE0025E {0}: Der Implementierungsdeskriptor f\u00fcr die EAR-Datei enth\u00e4lt keine Sicherheitsberechtigungsklasse mit dem Namen {1}.
-dup_sec_role_EXC_=IWAE0026E {0}: Der Implementierungsdeskriptor f\u00fcr die EAR-Datei enth\u00e4lt bereits eine Sicherheitsberechtigungsklasse mit dem Namen {1}.
-dup_sec_role_module_EXC_=IWAE0027E Der Implementierungsdeskriptor f\u00fcr {0} enth\u00e4lt bereits eine Sicherheitsberechtigungsklasse mit dem Namen {1}.
-dup_resource_EXC_=IWAE0028E Die Ressource mit dem Namen "{0}" ist im Archiv "{1}" bereits vorhanden.
-error_saving_EXC_=IWAE0030E Fehler beim Speichern von {0}.
-add_copy_class_dir_EXC_=IWAE0031E Die Methode "addCopyClass" wird f\u00fcr Verzeichnisse nicht unterst\u00fctzt. URI: {0}
-add_copy_lib_dir_EXC_=IWAE0032E Die Methode "addCopyLib" wird f\u00fcr Verzeichnisse nicht unterst\u00fctzt. URI: {0}
-list_components_war_EXC_=IWAE0033E Beim Auflisten der Komponenten in der WAR-Datei {0} ist eine Ausnahmebedingung aufgetreten.
-open_nested_EXC_=IWAE0034E Das verschachtelte Archiv "{0}" in "{1}" konnte nicht ge\u00f6ffnet werden.
-make_temp_file_WARN_=IWAE0035W Warnung: Die tempor\u00e4re Datei f\u00fcr {0} kann nicht erstellt werden. Dies beeintr\u00e4chtigt die Leistung.
-file_not_found_EXC_=IWAE0036E URI-Name: {0}, Dateiname: {1}
-could_not_open_EXC_=IWAE0037E {0} konnte nicht ge\u00f6ffnet werden.
-could_not_find_dir_EXC_=IWAE0038E Das Verzeichnis {0} kann nicht ge\u00f6ffnet werden.
-not_a_dir_EXC_=IWAE0039E Das Verzeichnis kann nicht ge\u00f6ffnet werden, weil die Datei kein Verzeichnis ist: {0}
-inferred_dds_EXC_=IWAE0040E Es wurde festgestellt, dass die EJB-JAR-Datei "{0}" aus Version 1.0 stammt, weil das Manifest keine Enterprise-Beans deklariert, in der JAR jedoch serialisierte Implementierungsdeskriptoren vorhanden sind.
-filename_exception_EXC_=IWAE0041E Dateiname: {0}, Ausnahmebedingung: {1}
-no_dds_10_EXC_=IWAE0042E Keine Implementierungsdeskriptoren in EJB 1.0 JAR-Datei {0}
-manifest_dd_load_EXC_=IWAE0043E Das JAR-Manifest deklariert eine Enterprise-Bean, deren Implementierungsdeskriptordatei nicht geladen werden kann: {0}
-manifest_dd_find_EXC_=IWAE0044E Das JAR-Manifest deklariert eine Enterprise-Bean, deren Implementierungsdeskriptordatei nicht gefunden werden kann: {0}
-io_ex_reading_dd_EXC_=IWAE0045E Beim Lesen von {0} ist eine E/A-Ausnahmebedingung aufgetreten.
-ser_not_dd_EXC_=IWAE0046E Das serialisierte Objekt in der Datei "{0}" ist kein Exemplar von javax.ejb.deployment.DeploymentDescriptor.
-reading_dd_EXC_=IWAE0047E Beim Lesen von {0} ist eine E/A-Ausnahmebedingung aufgetreten.
-missing_class_EXC_=IWAE0048E {0} konnte nicht entserialisiert werden, weil eine erforderliche Klasse nicht gefunden wurde. Ausnahmebedingung: {1}
-Converted=Konvertiert
-Stack_trace_of_nested_exce_EXC_=IWAE0049E Stack-Trace der verschachtelten Ausnahmebedingung:
-IOException_occurred_while_EXC_=IWAE0050E Beim Kopieren des Manifestes ist eine E/A-Ausnahmebedingung aufgetreten.
-Extract_destination_is_the_EXC_=IWAE0051E Das Extraktionsziel weist denselben Pfad auf wie die Quellendatei.
-Parameter_should_not_be_nu_EXC_=IWAE0052E Der Parameter sollte nicht Null sein.
-Archive_is_not_a_valid_EJB_EXC_=IWAE0055E Das Archiv ist keine g\u00fcltige EJB-JAR-Datei (1.0), weil weder im Manifest noch in Eintr\u00e4gen mit der Erweiterung ".ser" serialisierte Implementierungsdeskriptoren gefunden wurden.
-_The_following_files_could_EXC_=IWAE0056E Die folgenden Dateien konnten nicht geladen werden:
-FixPrimKeyCommand_failed_-_EXC_=IWAE0057E FixPrimKeyCommand ist fehlgeschlagen - Stack-Trace f\u00fcr Ausnahmebedingung:
-FixPrimKeyCommand_usage___=Syntax f\u00fcr FixPrimKeyCommand: <sourceJarFilePath> [destinationPath]
-FixPrimKeyCommand_usage__s_EXC_=IWAE0058E Syntax f\u00fcr FixPrimKeyCommand: sourceJarFilePath muss auf eine g\u00fcltige EJB-JAR-Datei oder das Verzeichnis einer komprimierten EJB-JAR-Datei verweisen.
-Repair_command_failed_-_ex_EXC_=IWAE0059E Befehl REPAIR ist fehlgeschlagen - Stack-Trace f\u00fcr Ausnahmebedingung:
-Repairs_all_entries_in_the=Alle Eintr\u00e4ge in den Verzeichnissen META-INF und/oder WEB-INF werden in die korrekte Schreibweise berichtigt.
-RepairArchiveCommand_usage=Syntax f\u00fcr RepairArchiveCommand: <sourceJarFilePath> <destinationPath>
-RepairArchiveCommand_usage1_ERROR_=IWAE0060E Syntax f\u00fcr RepairArchiveCommand: sourceJarFilePath muss auf ein g\u00fcltiges Archiv oder ein Verzeichnis eines komprimierten Archivs verweisen.
-Application_Client_Jar_Fil=JAR-Datei f\u00fcr Anwendungsclient
-EAR_File=EAR-Datei
-EJB_Jar_File=EJB-JAR-Datei
-RAR_File=RAR-Datei
-WAR_File=WAR-Datei
-Error_occurred_iterating_f_EXC_=IWAE0061E Bie der Dateiiteration ist ein Fehler aufgetreten.
-End_of_list_reached_EXC_=IWAE0062E Das Ende der Liste wurde erreicht.
-Internal_Error__Iterator_o_EXC_=IWAE0063E Interner Fehler: Der Iterator ist nicht mehr mit den ZIP-Eintr\u00e4gen synchron.
-Error_iterating_the_archiv_EXC_=IWAE0064E Bei der Iteration des Archivs ist ein Fehler aufgetreten.
-Absolute_path_unknown_EXC_=IWAE0065E Der absolute Pfad ist unbekannt.
-Original_archive_is_not_a__EXC_=IWAE0066E Das Originalarchiv ist kein Verzeichnis.
-Null_uri_EXC_=IWAE0067E Null-URI
-Module_file=Moduldatei
-A_WAR_file=WAR-Datei
-An_EJB_JAR_file=EJB-JAR-Datei
-An_Application_Client_JAR_file=JAR-Datei f\u00fcr Anwendungsclient
-A_RAR_file=RAR-Datei
-A_Application_file=Anwendungsdatei
-A_file_does_not_exist_for_module=Eine Datei ist f\u00fcr das Modulelement mit der folgenden URI nicht vorhanden: {0}
-File_not_correct_type=Die Datei {0} in der EAR-Datei {1} weist nicht den korrekten Typ basierend auf dem Anwendungsimplementierungsdeskriptor auf. Erwarteter Typ: {2}";
-Module_not_in_EAR=Das Modul ist nicht in einer EAR enthalten: {0}
-Module_file_does_not_exist_2=Die Moduldatei ist nicht f\u00fcr den Modulverweis vorhanden. Modul = {0}
-FileImpl._Error_0=Rekursiver Einschluss nicht zul\u00e4ssig f\u00fcr
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_es.properties b/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_es.properties
deleted file mode 100644
index 395da1d92..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_es.properties
+++ /dev/null
@@ -1,94 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-subclass_responsibilty_EXC_=IWAE0001E {0} debe implementarse en la subclase
-key_class_reflection_ERROR_=IWAE0002E No se puede reflejar la clase "{0}" para poder comparar el campo de clave primaria "{1}" de la entidad "{2}"
-key_field_reflection_ERROR_=IWAE0003E No se puede reflejar el tipo del campo de clave primaria "{0}" de la entidad "{1}"
-removing_key_field_INFO_=IWAE0004I Eliminando campo de clave primaria no v\u00e1lido "{0}" de la entidad "{1}"
-repair_usage_ERROR_=IWAE0005E Uso de RepairArchiveCommand: no se puede escribir en destinationPath: {0}
-invalid_archive_EXC_=IWAE0006E El archivador no es un {0} v\u00e1lido ya que el descriptor de despliegue no puede encontrarse (sensible a may\u00fasculas y min\u00fasculas): {1}
-load_resource_EXC_=IWAE0007E No se ha podido cargar el recurso "{0}" en el archivador "{1}"
-nested_jar_EXC_=IWAE0008E Se ha producido un error al leer {0} desde {1}
-make_temp_dir_EXC_=IWAE0009E No se puede crear el directorio temporal: {0}
-invalid_classpath_WARN_=IWAE0010W El elemento de la v\u00eda de acceso de clases "{0}" no es un directorio ni un archivo Zip
-invalid_cp_file_WARN_=IWAE0011W El elemento de la v\u00eda de acceso de clases "{0}" no apunta a un archivo local
-io_ex_loading_EXC_=IWAE0012E Se ha producido una excepci\u00f3n de E/S al cargar {0}
-tx_bean_mgd_WARN_=IWAE0013W Importaci\u00f3n de EJB 1.0: El descriptor de control TX_BEAN_MANAGED no se correlaciona para {0}
-error_saving_EXC_=IWAE0014E Error al guardar {0}
-io_ex_manifest_EXC_=IWAE0015E Se ha producido una excepci\u00f3n de E/S al leer el manifiesto en el archivador: {0}
-io_ex_reopen_EXC_=IWAE0016E Se ha producido una excepci\u00f3n de E/S al reabrir {0}
-unable_replace_EXC_=IWAE0017E No se puede sustituir el archivador original: {0}
-duplicate_file_EXC_=IWAE0018E El archivador denominado {0} ya contiene un archivo denominado {1}
-duplicate_entry_EXC_=IWAE0019E Un archivo o recurso con el uri {0} ya existe en el archivador denominado {1}
-file_exist_as_dir_EXC_=IWAE0020E Existe un archivo denominado {0} y es un directorio
-uncontained_module_EXC_=IWAE0021E El m\u00f3dulo {0} no est\u00e1 contenido dentro de un archivo EAR
-dd_in_ear_load_EXC_=IWAE0022E Se ha producido una excepci\u00f3n al cargar el descriptor de despliegue para el m\u00f3dulo "{0}" en el archivo EAR "{1}"
-nested_open_fail_EXC_=IWAE0023E No se puede abrir el archivo de m\u00f3dulo "{0}" en el archivo EAR "{1}"
-duplicate_module_EXC_=IWAE0024E El descriptor de despliegue del archivo EAR "{0}" ya contiene un m\u00f3dulo que tiene el uri "{1}"
-no_sec_role_EXC_=IWAE0025E {0}: El descriptor de despliegue del archivo EAR no contiene un cometido de seguridad denominado {1}
-dup_sec_role_EXC_=IWAE0026E {0}: El descriptor de despliegue del archivo EAR ya contiene un cometido de seguridad denominado {1}
-dup_sec_role_module_EXC_=IWAE0027E El descriptor de despliegue de {0} ya contiene un cometido de seguridad denominado {1}
-dup_resource_EXC_=IWAE0028E El recurso denominado "{0}" ya existe en el archivador "{1}"
-error_saving_EXC_=IWAE0030E Error al guardar {0}
-add_copy_class_dir_EXC_=IWAE0031E El m\u00e9todo "addCopyClass" no est\u00e1 soportado para directorios. URI: {0}
-add_copy_lib_dir_EXC_=IWAE0032E El m\u00e9todo "addCopyLib" no est\u00e1 soportado para directorios. URI: {0}
-list_components_war_EXC_=IWAE0033E Se ha producido una excepci\u00f3n al listar componentes del archivo WAR: {0}
-open_nested_EXC_=IWAE0034E No se ha podido abrir el archivador anidado "{0}" en "{1}"
-make_temp_file_WARN_=IWAE0035W Aviso: No se puede crear el archivo temporal para {0}. Esto afectar\u00e1 al rendimiento.
-file_not_found_EXC_=IWAE0036E Nombre de URI: {0}; Nombre de archivo: {1}
-could_not_open_EXC_=IWAE0037E No se ha podido abrir {0}
-could_not_find_dir_EXC_=IWAE0038E No se puede abrir el directorio {0}
-not_a_dir_EXC_=IWAE0039E No se puede abrir el directorio ya que el archivo no es un directorio: {0}
-inferred_dds_EXC_=IWAE0040E Se ha inferido que el archivo JAR EJB "{0}" es de la versi\u00f3n 1.0 ya que el manifiesto no declara beans de empresa pero existen descriptores de despliegue serializados en el JAR.
-filename_exception_EXC_=IWAE0041E Nombre de archivo: {0}; Excepci\u00f3n: {1}
-no_dds_10_EXC_=IWAE0042E No hay descriptores de despliegue en el archivo JAR EJB 1.0: {0}
-manifest_dd_load_EXC_=IWAE0043E El manifiesto de JAR declara un bean de empresa para el que el archivo de descriptor de despliegue no puede cargarse: {0}
-manifest_dd_find_EXC_=IWAE0044E El manifiesto de JAR declara un bean de empresa para el que el archivo de descriptor de despliegue no puede encontrarse: {0}
-io_ex_reading_dd_EXC_=IWAE0045E Se ha producido una excepci\u00f3n de E/S al leer {0}
-ser_not_dd_EXC_=IWAE0046E El objeto serializado del archivo "{0}" no es una instancia de javax.ejb.deployment.DeploymentDescriptor
-reading_dd_EXC_=IWAE0047E Se ha producido una excepci\u00f3n al leer {0}
-missing_class_EXC_=IWAE0048E No se ha podido deserializar {0} ya que no se ha podido encontrar una clase necesaria. Excepci\u00f3n: {1}
-Converted=Convertido
-Stack_trace_of_nested_exce_EXC_=IWAE0049E Rastreo de pila de excepci\u00f3n anidada:
-IOException_occurred_while_EXC_=IWAE0050E Se ha producido una excepci\u00f3n de E/S al copiar el manifiesto
-Extract_destination_is_the_EXC_=IWAE0051E El destino de la extracci\u00f3n es la misma v\u00eda de acceso que el archivo fuente
-Parameter_should_not_be_nu_EXC_=IWAE0052E El par\u00e1metro no debe ser nulo
-Archive_is_not_a_valid_EJB_EXC_=IWAE0055E El archivador no es un archivo JAR EJB (1.0) v\u00e1lido ya que no se han podido encontrar descriptores de despliegue serializados, ya sea en el manifiesto o en las entradas con una extensi\u00f3n ".ser"
-_The_following_files_could_EXC_=IWAE0056E No se han podido cargar los siguientes archivos:
-FixPrimKeyCommand_failed_-_EXC_=IWAE0057E FixPrimKeyCommand ha fallado - rastreo de pila de excepci\u00f3n:
-FixPrimKeyCommand_usage___=Uso de FixPrimKeyCommand: <sourceJarFilePath> [destinationPath]
-FixPrimKeyCommand_usage__s_EXC_=IWAE0058E Uso de FixPrimKeyCommand: sourceJarFilePath debe apuntar a un archivo JAR EJB v\u00e1lido o a un directorio de un archivo JAR EJB inflado
-Repair_command_failed_-_ex_EXC_=IWAE0059E El mandato de reparaci\u00f3n ha fallado - rastreo de pila de excepci\u00f3n:
-Repairs_all_entries_in_the=Repara todas las entradas de los directorios META-INF y/o WEB-INF para que tengan las may\u00fasculas y min\u00fasculas correctas
-RepairArchiveCommand_usage=Uso de RepairArchiveCommand: <sourceJarFilePath> <destinationPath>
-RepairArchiveCommand_usage1_ERROR_=IWAE0060E Uso de RepairArchiveCommand: sourceJarFilePath debe apuntar a un archivador v\u00e1lido o a un directorio de un archivador inflado
-Application_Client_Jar_Fil=Archivo JAR de cliente de aplicaciones
-EAR_File=Archivo EAR
-EJB_Jar_File=Archivo JAR EJB
-RAR_File=Archivo RAR
-WAR_File=Archivo WAR
-Error_occurred_iterating_f_EXC_=IWAE0061E Se ha producido un error al iterar archivos
-End_of_list_reached_EXC_=IWAE0062E Se ha llegado al final de la lista
-Internal_Error__Iterator_o_EXC_=IWAE0063E Error interno: El iterador est\u00e1 desincronizado con las entradas zip
-Error_iterating_the_archiv_EXC_=IWAE0064E Error al iterar el archivador
-Absolute_path_unknown_EXC_=IWAE0065E V\u00eda de acceso absoluta desconocida
-Original_archive_is_not_a__EXC_=IWAE0066E El archivador original no es un directorio
-Null_uri_EXC_=IWAE0067E Uri nulo
-Module_file=Archivo de m\u00f3dulo
-A_WAR_file=Archivo WAR
-An_EJB_JAR_file=Archivo JAR EJB
-An_Application_Client_JAR_file=Archivo JAR de cliente de aplicaciones
-A_RAR_file=Archivo RAR
-A_Application_file=Archivo de aplicaci\u00f3n
-A_file_does_not_exist_for_module=No existe ning\u00fan archivo para el elemento del m\u00f3dulo que tiene el uri: {0}
-File_not_correct_type=El archivo {0} del archivo EAR {1} no es el tipo correcto de acuerdo con el descriptor de despliegue de aplicaci\u00f3n. Tipo esperado: {2}";
-Module_not_in_EAR=El m\u00f3dulo no est\u00e1 en un EAR: {0}
-Module_file_does_not_exist_2=El archivo de m\u00f3dulo no existe para la referencia del m\u00f3dulo. M\u00f3dulo = {0}
-FileImpl._Error_0=La contenci\u00f3n recurrente no est\u00e1 permitida para
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_fr.properties b/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_fr.properties
deleted file mode 100644
index 751fe1b2f..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_fr.properties
+++ /dev/null
@@ -1,94 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-subclass_responsibilty_EXC_=IWAE0001E {0} doit \u00eatre impl\u00e9ment\u00e9 dans la sous-classe
-key_class_reflection_ERROR_=IWAE0002E Impossible de refl\u00e9ter la classe "{0}" pour comparer la zone de cl\u00e9 primaire "{1}" du bean entity "{2}"
-key_field_reflection_ERROR_=IWAE0003E Impossible de refl\u00e9ter le type de la zone de cl\u00e9 primaire "{0}" du bean entity "{1}"
-removing_key_field_INFO_=IWAE0004I Suppression de la zone de cl\u00e9 primaire non valide "{0}" du bean entity "{1}"
-repair_usage_ERROR_=IWAE0005E Syntaxe de RepairArchiveCommand : impossible d''\u00e9crire dans le chemin de destination : {0}
-invalid_archive_EXC_=IWAE0006E L''archive n''est pas un {0} valide car le descripteur de d\u00e9ploiement est introuvable (respect maj/min) : {1}
-load_resource_EXC_=IWAE0007E Impossible de charger la ressource "{0}" dans l''archive "{1}"
-nested_jar_EXC_=IWAE0008E Une erreur s''est produite lors de la lecture de {0} \u00e0 partir de {1}
-make_temp_dir_EXC_=IWAE0009E Impossible de cr\u00e9er le r\u00e9pertoire temporaire : {0}
-invalid_classpath_WARN_=IWAE0010W L''\u00e9l\u00e9ment "{0}" du chemin d''acc\u00e8s n''est pas un r\u00e9pertoire ou un fichier zip
-invalid_cp_file_WARN_=IWAE0011W L''\u00e9l\u00e9ment "{0}" du chemin d''acc\u00e8s ne d\u00e9signe pas un fichier local
-io_ex_loading_EXC_=IWAE0012E Une exception E-S s''est produite lors du chargement de {0}
-tx_bean_mgd_WARN_=IWAE0013W Importation d''EJB 1.0 : pas de mappage du descripteur de contr\u00f4le TX_BEAN_MANAGED pour {0}
-error_saving_EXC_=IWAE0014E Erreur de sauvegarde de {0}
-io_ex_manifest_EXC_=IWAE0015E Une exception d''E-S s''est produite lors de la lecture du manifeste dans l''archive {0}
-io_ex_reopen_EXC_=IWAE0016E Une exception d''E-S s''est produite lors de la r\u00e9ouverture de {0}
-unable_replace_EXC_=IWAE0017E Impossible de remplacer l''archive d''origine {0}
-duplicate_file_EXC_=IWAE0018E L''archive nomm\u00e9e {0} contient d\u00e9j\u00e0 un fichier nomm\u00e9 {1}
-duplicate_entry_EXC_=IWAE0019E Un fichier ou une ressource avec l''uri {0} existe d\u00e9j\u00e0 dans l''archive nomm\u00e9e {1}
-file_exist_as_dir_EXC_=IWAE0020E Un fichier nomm\u00e9 {0} existe et est un r\u00e9pertoire
-uncontained_module_EXC_=IWAE0021E Le module {0} ne se trouve pas dans un fichier EAR
-dd_in_ear_load_EXC_=IWAE0022E Une exception s''est produite lors du chargement du descripteur de d\u00e9ploiement du module "{0}" dans le fichier EAR "{1}"
-nested_open_fail_EXC_=IWAE0023E Impossible d''ouvrir le fichier de module "{0}" dans le fichier EAR "{1}"
-duplicate_module_EXC_=IWAE0024E Le descripteur de d\u00e9ploiement du fichier EAR "{0}" contient d\u00e9j\u00e0 un module dont l''uri est "{1}"
-no_sec_role_EXC_=IWAE0025E {0} : le descripteur de d\u00e9ploiement du fichier EAR ne contient pas de r\u00f4le de s\u00e9curit\u00e9 nomm\u00e9 {1}
-dup_sec_role_EXC_=IWAE0026E {0} : le descripteur de d\u00e9ploiement du fichier EAR contient d\u00e9j\u00e0 un r\u00f4le de s\u00e9curit\u00e9 nomm\u00e9 {1}
-dup_sec_role_module_EXC_=IWAE0027E Le descripteur de d\u00e9ploiement de {0} contient d\u00e9j\u00e0 un r\u00f4le de s\u00e9curit\u00e9 nomm\u00e9 {1}
-dup_resource_EXC_=IWAE0028E La ressource nomm\u00e9e "{0}" existe d\u00e9j\u00e0 dans l''archive "{1}"
-error_saving_EXC_=IWAE0030E Erreur de sauvegarde de {0}
-add_copy_class_dir_EXC_=IWAE0031E La m\u00e9thode addCopyClass n''est pas prise en charge pour les r\u00e9pertoires. URI : {0}
-add_copy_lib_dir_EXC_=IWAE0032E La m\u00e9thode addCopyLib n''est pas prise en charge pour les r\u00e9pertoires. URI : {0}
-list_components_war_EXC_=IWAE0033E Une exception s''est produite lors du listage des composants dans le fichier WAR : {0}
-open_nested_EXC_=IWAE0034E Impossible d''ouvrir l''archive imbriqu\u00e9e "{0}" dans "{1}"
-make_temp_file_WARN_=IWAE0035W Avertissement : impossible de cr\u00e9er un fichier temporaire pour {0}. Cela aura un impact sur les performances.
-file_not_found_EXC_=IWAE0036E Nom de l''URI : {0} ; nom du fichier : {1}
-could_not_open_EXC_=IWAE0037E Impossible d''ouvrir {0}
-could_not_find_dir_EXC_=IWAE0038E Impossible d''ouvrir le r\u00e9pertoire {0}
-not_a_dir_EXC_=IWAE0039E Impossible d''ouvrir le r\u00e9pertoire car le fichier {0} n''est pas un r\u00e9pertoire
-inferred_dds_EXC_=IWAE0040E Le fichier JAR d''EJB "{0}" est consid\u00e9r\u00e9 de version 1.0 car le manifeste ne d\u00e9clare pas les beans enterprise, mais il existe des descripteurs de d\u00e9ploiement dans ce fichier.
-filename_exception_EXC_=IWAE0041E Nom du fichier : {0} ; exception : {1}
-no_dds_10_EXC_=IWAE0042E Aucun descripteur de d\u00e9ploiement dans le fichier JAR d''EJB 1.0 : {0}
-manifest_dd_load_EXC_=IWAE0043E Le manifeste JAR d\u00e9clare un bean enterprise pour lequel un fichier de descripteur de d\u00e9ploiement ne peut pas \u00eatre charg\u00e9 : {0}
-manifest_dd_find_EXC_=IWAE0044E Le manifeste JAR d\u00e9clare un bean enterprise pour lequel le fichier de descripteur de d\u00e9ploiement est introuvable : {0}
-io_ex_reading_dd_EXC_=IWAE0045E Une exception d''E-S s''est produite lors de la lecture de {0}
-ser_not_dd_EXC_=IWAE0046E L''objet s\u00e9rialis\u00e9 dans le fichier "{0}" n''est pas une instance de javax.ejb.deployment.DeploymentDescriptor
-reading_dd_EXC_=IWAE0047E Une exception s''est produite lors de la lecture de {0}
-missing_class_EXC_=IWAE0048E Impossible de d\u00e9s\u00e9rialiser {0} car une classe requise est introuvable. Exception : {1}
-Converted=Converti
-Stack_trace_of_nested_exce_EXC_=IWAE0049E Trace de pile de l'exception imbriqu\u00e9e :
-IOException_occurred_while_EXC_=IWAE0050E Une exception d'E-S s'est produite lors de la copie du manifeste
-Extract_destination_is_the_EXC_=IWAE0051E La destination d'extraction est identique au fichier source
-Parameter_should_not_be_nu_EXC_=IWAE0052E Le param\u00e8tre ne doit pas \u00eatre null
-Archive_is_not_a_valid_EJB_EXC_=IWAE0055E L'archive n'est pas un fichier JAR d'EJB (1.0) valide car aucun descripteur de d\u00e9ploiement ne peut \u00eatre trouv\u00e9 soit dans le manifeste, soit dans les entr\u00e9es poss\u00e9dant l'extension ".ser"
-_The_following_files_could_EXC_=IWAE0056E les fichiers suivants ne peuvent pas \u00eatre charg\u00e9s :
-FixPrimKeyCommand_failed_-_EXC_=IWAE0057E Echec de FixPrimKeyCommand ; trace de pile de l'exception :
-FixPrimKeyCommand_usage___=Syntaxe de FixPrimKeyCommand : <cheminFichierJarSource> [cheminDestination]
-FixPrimKeyCommand_usage__s_EXC_=IWAE0058E Syntaxe de FixPrimKeyCommand : sourceJarFilePath doit d\u00e9signer un fichier JAR d'EJB valide ou un r\u00e9pertoire contenant un fichier JAR d'EJB d\u00e9compress\u00e9
-Repair_command_failed_-_ex_EXC_=IWAE0059E Echec de la commande de r\u00e9paration ; trace de pile de l'exception :
-Repairs_all_entries_in_the=R\u00e9pare toutes les entr\u00e9es dans les r\u00e9pertoires META-INF et/ou WEB-INF afin de leur redonner la combinaison majuscules/minuscules correcte
-RepairArchiveCommand_usage=Syntaxe de RepairArchiveCommand : <cheminFichierJarSource> <cheminDestination>
-RepairArchiveCommand_usage1_ERROR_=IWAE0060E Syntaxe de RepairArchiveCommand : sourceJarFilePath doit d\u00e9signer une archive valide ou un r\u00e9pertoire contenant une archive d\u00e9compress\u00e9e
-Application_Client_Jar_Fil=Fichier JAR de client d'application
-EAR_File=Fichier EAR
-EJB_Jar_File=Fichier JAR d'EJB
-RAR_File=Fichier RAR
-WAR_File=Fichier WAR
-Error_occurred_iterating_f_EXC_=IWAE0061E Une erreur est survenue lors de l'it\u00e9ration des fichiers
-End_of_list_reached_EXC_=IWAE0062E Fin de liste atteinte
-Internal_Error__Iterator_o_EXC_=IWAE0063E Erreur interne : it\u00e9rateur d\u00e9synchronis\u00e9 par rapport aux entr\u00e9es des fichiers zip
-Error_iterating_the_archiv_EXC_=IWAE0064E Erreur lors de l'it\u00e9ration de l'archive
-Absolute_path_unknown_EXC_=IWAE0065E Chemin absolu inconnu
-Original_archive_is_not_a__EXC_=IWAE0066E L'archive d'origine n'est pas un r\u00e9pertoire
-Null_uri_EXC_=IWAE0067E Uri ind\u00e9finie
-Module_file=Fichier du module
-A_WAR_file=Fichier WAR
-An_EJB_JAR_file=Fichier JAR d'EJB
-An_Application_Client_JAR_file=Fichier JAR de client d'application
-A_RAR_file=Fichier RAR
-A_Application_file=Fichier d'application
-A_file_does_not_exist_for_module=Aucun fichier n''existe pour l''\u00e9l\u00e9ment de module dont l''URI est : {0}
-File_not_correct_type=Le fichier {0} du fichier EAR {1} n''est pas de type correct par rapport au descripteur de d\u00e9ploiement de l''application. Type attendu : {2}" ;
-Module_not_in_EAR=Le module ne se trouve pas dans un fichier EAR : {0}
-Module_file_does_not_exist_2=Le fichier de module n''existe pas pour la r\u00e9f\u00e9rence de module. Module = {0}
-FileImpl._Error_0=Confinement r\u00e9cursif non autoris\u00e9 pour
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_it.properties b/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_it.properties
deleted file mode 100644
index 4d43efc6a..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_it.properties
+++ /dev/null
@@ -1,94 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-subclass_responsibilty_EXC_=IWAE0001E {0} deve essere implementato nella sottoclasse
-key_class_reflection_ERROR_=IWAE0002E Impossibile selezionare la classe "{0}" per confrontare il campo della chiave primaria "{1}" dell''entit\u00e0 "{2}"
-key_field_reflection_ERROR_=IWAE0003E Impossibile selezionare il tipo di campo della chiave primaria "{0}" dall''entit\u00e0 "{1}"
-removing_key_field_INFO_=IWAE0004I Rimozione del campo di chiave primaria "{0}" non valido dall''entit\u00e0 "{1}"
-repair_usage_ERROR_=IWAE0005E Utilizzo di RepairArchiveCommand: impossibile scrivere in destinationPath: {0}
-invalid_archive_EXC_=IWAE0006E L''archivio non \u00e8 un {0} valido. Impossibile trovare il descrittore di distribuzione (distinzione maiuscole/minuscole): {1}
-load_resource_EXC_=IWAE0007E Impossibile caricare la risorsa "{0}" nell''archivio "{1}"
-nested_jar_EXC_=IWAE0008E Errore durante la lettura di {0} da {1}
-make_temp_dir_EXC_=IWAE0009E Impossibile creare la directory temporanea: {0}
-invalid_classpath_WARN_=IWAE0010W L''elemento classpath "{0}" non \u00e8 una directory o un file Zip
-invalid_cp_file_WARN_=IWAE0011W L''elemento classpath "{0}" non punta a un file locale
-io_ex_loading_EXC_=IWAE0012E Si \u00e8 verificata un''eccezione IO durante il caricamento di {0}
-tx_bean_mgd_WARN_=IWAE0013W Importazione EJB 1.0: l'associazione del descrittore di controllo TX_BEAN_MANAGED per {0} non verr\u00e0 eseguita
-error_saving_EXC_=IWAE0014E Errore durante il salvataggio di {0}
-io_ex_manifest_EXC_=IWAE0015E Si \u00e8 verificata un''eccezione IO nella lettura del manifest nell''archivio: {0}
-io_ex_reopen_EXC_=IWAE0016E Si \u00e8 verificata un''eccezione IO durante la riapertura di {0}
-unable_replace_EXC_=IWAE0017E Impossibile sostituire l''archivio originale: {0}
-duplicate_file_EXC_=IWAE0018E L''archivio {0} contiene gi\u00e0 un file denominato {1}
-duplicate_entry_EXC_=IWAE0019E Un file o una risorsa con l''uri {0} esiste gi\u00e0 nell''archivio {1}
-file_exist_as_dir_EXC_=IWAE0020E Un file denominato {0} esiste gi\u00e0 ed \u00e8 una directory
-uncontained_module_EXC_=IWAE0021E Il modulo {0} non \u00e8 incluso in un file EAR
-dd_in_ear_load_EXC_=IWAE0022E Eccezione durante il caricamento del descrittore di distribuzione per il modulo "{0}" nel file EAR "{1}"
-nested_open_fail_EXC_=IWAE0023E Impossibile aprire il file "{0}" del modulo nel file EAR "{1}"
-duplicate_module_EXC_=IWAE0024E Il descrittore di distribuzione per il file EAR "{0}" contiene gi\u00e0 un modulo con l''uri "{1}"
-no_sec_role_EXC_=IWAE0025E {0}: il descrittore di distribuzione del file EAR non contiene un ruolo di protezione denominato {1}
-dup_sec_role_EXC_=IWAE0026E {0}: il descrittore di distribuzione del file EAR contiene gi\u00e0 un ruolo di protezione denominato {1}
-dup_sec_role_module_EXC_=IWAE0027E Il descrittore di distribuzione per {0} contiene gi\u00e0 un ruolo di protezione {1}
-dup_resource_EXC_=IWAE0028E La risorsa "{0}" esiste gi\u00e0 nell''archivio "{1}"
-error_saving_EXC_=IWAE0030E Errore durante il salvataggio di {0}
-add_copy_class_dir_EXC_=IWAE0031E Il metodo "addCopyClass" non \u00e8 supportato per le directory. URI: {0}
-add_copy_lib_dir_EXC_=IWAE0032E Il metodo "addCopyLib" non \u00e8 supportato per le directory. URI: {0}
-list_components_war_EXC_=IWAE0033E Eccezione durante l''elencazione dei componenti nel file WAR: {0}
-open_nested_EXC_=IWAE0034E Impossibile aprire l''archivio nidificato "{0}" in "{1}"
-make_temp_file_WARN_=IWAE0035W Avviso: impossibile creare il file temporaneo per {0}. Ci\u00f2 incider\u00e0 sulle prestazioni.
-file_not_found_EXC_=IWAE0036E Nome URI: {0}; nome file: {1}
-could_not_open_EXC_=IWAE0037E Impossibile aprire {0}
-could_not_find_dir_EXC_=IWAE0038E Impossibile aprire la directory {0}
-not_a_dir_EXC_=IWAE0039E Impossibile aprire la directory, il file non \u00e8 una directory: {0}
-inferred_dds_EXC_=IWAE0040E Il file JAR EJB "{0}" sembra essere in versione 1.0 poich\u00e9 il manifest non dichiara bean enterprise, ma esistono descrittori di distribuzione serializzati nel file JAR.
-filename_exception_EXC_=IWAJ0052E Nome file: {0}; eccezione: {1}
-no_dds_10_EXC_=IWAE0042E Non esiste alcun descrittore di distribuzione nel file JAR EJB 1.0: {0}
-manifest_dd_load_EXC_=IWAE0043E Il manifest JAR dichiara un bean enterprise per il quale non \u00e8 possibile caricare il file del descrittore di distribuzione: {0}
-manifest_dd_find_EXC_=IWAE0044E Il manifest JAR dichiara un bean enterprise per il quale non \u00e8 possibile trovare il file del descrittore di distribuzione: {0}
-io_ex_reading_dd_EXC_=IWAE0045E Eccezione IO durante la lettura di {0}
-ser_not_dd_EXC_=IWAE0046E L''oggetto serializzato nel file "{0}" non \u00e8 un''istanza di javax.ejb.deployment.DeploymentDescriptor
-reading_dd_EXC_=IWAE0047E Eccezione durante la lettura di {0}
-missing_class_EXC_=IWAE0048E Impossibile deserializzare {0}. Non \u00e8 stato possibile trovare una classe richiesta. Eccezione: {1}
-Converted=Convertito
-Stack_trace_of_nested_exce_EXC_=IWAE0049E Traccia nello stack dell'eccezione nidificata:
-IOException_occurred_while_EXC_=IWAE0050E Eccezione IO durante la copia del manifest
-Extract_destination_is_the_EXC_=IWAE0051E La destinazione di estrazione coincide con il percorso del file di origine
-Parameter_should_not_be_nu_EXC_=IWAE0052E Il parametro non deve essere Null
-Archive_is_not_a_valid_EJB_EXC_=IWAE0055E L'archivio non \u00e8 un file JAR EJB (1.0) valido. Non \u00e8 stato possibile trovare alcun descrittore di distribuzione nel manifest o nelle voci con estensione ".ser"
-_The_following_files_could_EXC_=IWAE0056E Impossibile caricare i seguenti file:
-FixPrimKeyCommand_failed_-_EXC_=IWAE0057E FixPrimKeyCommand non riuscito. Traccia nello stack per l'eccezione:
-FixPrimKeyCommand_usage___=Utilizzo di FixPrimKeyCommand: <sourceJarFilePath> [destinationPath]
-FixPrimKeyCommand_usage__s_EXC_=IWAE0058E Utilizzo di FixPrimKeyCommand: sourceJarFilePath deve puntare a una directory o a un file JAR EJB valido di un file JAP EJB decompresso
-Repair_command_failed_-_ex_EXC_=IWAE0059E Comando Repair non riuscito. Traccia nello stack per l'eccezione:
-Repairs_all_entries_in_the=Corregge tutte le voci nelle directory META-INF e/o WEB-INF con le lettere maiuscole/minuscole appropriate
-RepairArchiveCommand_usage=Utilizzo di RepairArchiveCommand: <sourceJarFilePath> <destinationPath>
-RepairArchiveCommand_usage1_ERROR_=IWAE0060E Utilizzo di RepairArchiveCommand: sourceJarFilePath deve puntare a un archivio o a una directory valida di un archivio decompresso
-Application_Client_Jar_Fil=File JAR del client di applicazioni
-EAR_File=File EAR
-EJB_Jar_File=File JAR EJB
-RAR_File=File RAR
-WAR_File=File WAR
-Error_occurred_iterating_f_EXC_=IWAE0061E Errore durante l'iterazione nei file
-End_of_list_reached_EXC_=IWAE0062E Raggiunta la fine dell'elenco
-Internal_Error__Iterator_o_EXC_=IWAE0063E Errore interno: iteratore non sincronizzato con le voci nel file zip
-Error_iterating_the_archiv_EXC_=IWAE0064E Errore durante l'iterazione nell'archivio
-Absolute_path_unknown_EXC_=IWAE0065E Percorso assoluto sconosciuto
-Original_archive_is_not_a__EXC_=IWAE0066E L'archivio originale non \u00e8 una directory
-Null_uri_EXC_=IWAE0067E URI null
-Module_file=File di modulo
-A_WAR_file=File WAR
-An_EJB_JAR_file=File JAR EJB
-An_Application_Client_JAR_file=File JAR del client di applicazioni
-A_RAR_file=File RAR
-A_Application_file=File di applicazioni
-A_file_does_not_exist_for_module=Non esiste un file per l'elemento del modulo con l'uri: {0}
-File_not_correct_type=Il file {0} nel file EAR {1} non \u00e8 di tipo corretto in base al descrittore di distribuzione dell''applicazione. Tipo previsto: {2}";
-Module_not_in_EAR=Il modulo non si trova in un EAR: {0}
-Module_file_does_not_exist_2=Il file di modulo non esiste per il riferimento al modulo. Modulo = {0}
-FileImpl._Error_0=Contenuto ricorsivo non consentito per
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_ja.properties b/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_ja.properties
deleted file mode 100644
index 5f025a53a..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_ja.properties
+++ /dev/null
@@ -1,94 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-subclass_responsibilty_EXC_=IWAE0001E {0} \u306f\u30b5\u30d6\u30af\u30e9\u30b9\u3067\u30a4\u30f3\u30d7\u30ea\u30e1\u30f3\u30c8\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059
-key_class_reflection_ERROR_=IWAE0002E \u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u30fc "{2}" \u304b\u3089\u306e\u4e3b\u30ad\u30fc\u30fb\u30d5\u30a3\u30fc\u30eb\u30c9 "{1}" \u3092\u6bd4\u8f03\u3059\u308b\u305f\u3081\u306b\u30af\u30e9\u30b9 "{0}" \u3092\u53cd\u6620\u3067\u304d\u307e\u305b\u3093
-key_field_reflection_ERROR_=IWAE0003E \u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u30fc "{1}" \u304b\u3089\u306e\u4e3b\u30ad\u30fc\u30fb\u30d5\u30a3\u30fc\u30eb\u30c9 "{0}" \u306e\u30bf\u30a4\u30d7\u3092\u53cd\u6620\u3067\u304d\u307e\u305b\u3093
-removing_key_field_INFO_=IWAE0004I \u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u30fc "{1}" \u304b\u3089\u7121\u52b9\u306a\u4e3b\u30ad\u30fc\u30fb\u30d5\u30a3\u30fc\u30eb\u30c9 "{0}" \u3092\u9664\u53bb\u4e2d
-repair_usage_ERROR_=IWAE0005E RepairArchiveCommand \u306e\u4f7f\u7528\u6cd5: destinationPath {0} \u306b\u66f8\u304d\u8fbc\u3081\u307e\u305b\u3093
-invalid_archive_EXC_=IWAE0006E \u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u8a18\u8ff0\u5b50 {1} \u304c\u898b\u3064\u304b\u3089\u306a\u3044\u305f\u3081 (\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u3092\u533a\u5225)\u3001\u30a2\u30fc\u30ab\u30a4\u30d6\u306f\u6709\u52b9\u306a {0} \u3067\u306f\u3042\u308a\u307e\u305b\u3093
-load_resource_EXC_=IWAE0007E \u30a2\u30fc\u30ab\u30a4\u30d6 "{1}" \u3067\u30ea\u30bd\u30fc\u30b9 "{0}" \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
-nested_jar_EXC_=IWAE0008E {1} \u304b\u3089 {0} \u3092\u8aad\u307f\u53d6\u308a\u4e2d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f
-make_temp_dir_EXC_=IWAE0009E \u4e00\u6642\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc {0} \u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093
-invalid_classpath_WARN_=IWAE0010W \u30af\u30e9\u30b9\u30d1\u30b9\u30fb\u30a8\u30ec\u30e1\u30f3\u30c8 "{0}" \u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u307e\u305f\u306f Zip \u30d5\u30a1\u30a4\u30eb\u3067\u306f\u3042\u308a\u307e\u305b\u3093
-invalid_cp_file_WARN_=IWAE0011W \u30af\u30e9\u30b9\u30d1\u30b9\u30fb\u30a8\u30ec\u30e1\u30f3\u30c8 "{0}" \u306f\u30ed\u30fc\u30ab\u30eb\u30fb\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u3057\u3066\u3044\u307e\u305b\u3093
-io_ex_loading_EXC_=IWAE0012E {0} \u3092\u30ed\u30fc\u30c9\u4e2d\u306b I/O \u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f
-tx_bean_mgd_WARN_=IWAE0013W EJB 1.0 \u30a4\u30f3\u30dd\u30fc\u30c8: {0} \u7528\u306e TX_BEAN_MANAGED \u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u8a18\u8ff0\u5b50\u3092\u30de\u30c3\u30d7\u3057\u3066\u3044\u307e\u305b\u3093
-error_saving_EXC_=IWAE0014E {0} \u3092\u4fdd\u7ba1\u4e2d\u306e\u30a8\u30e9\u30fc
-io_ex_manifest_EXC_=IWAE0015E \u30a2\u30fc\u30ab\u30a4\u30d6\u5185\u306e\u30de\u30cb\u30d5\u30a7\u30b9\u30c8 {0} \u3092\u8aad\u307f\u53d6\u308a\u4e2d\u306b I/O \u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f
-io_ex_reopen_EXC_=IWAE0016E {0} \u3092\u518d\u30aa\u30fc\u30d7\u30f3\u4e2d\u306b I/O \u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f
-unable_replace_EXC_=IWAE0017E \u30aa\u30ea\u30b8\u30ca\u30eb\u30fb\u30a2\u30fc\u30ab\u30a4\u30d6 {0} \u3092\u7f6e\u63db\u3067\u304d\u307e\u305b\u3093
-duplicate_file_EXC_=IWAE0018E {0} \u3068\u3044\u3046\u540d\u524d\u306e\u30a2\u30fc\u30ab\u30a4\u30d6\u306b\u306f\u3059\u3067\u306b\u3001{1} \u3068\u3044\u3046\u540d\u524d\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059
-duplicate_entry_EXC_=IWAE0019E uri {0} \u3092\u6301\u3064\u30d5\u30a1\u30a4\u30eb\u307e\u305f\u306f\u30ea\u30bd\u30fc\u30b9\u306f\u3059\u3067\u306b\u3001{1} \u3068\u3044\u3046\u540d\u524d\u306e\u30a2\u30fc\u30ab\u30a4\u30d6\u306b\u5b58\u5728\u3057\u3066\u3044\u307e\u3059
-file_exist_as_dir_EXC_=IWAE0020E {0} \u3068\u3044\u3046\u540d\u524d\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u5b58\u5728\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u3067\u3059
-uncontained_module_EXC_=IWAE0021E \u30e2\u30b8\u30e5\u30fc\u30eb {0} \u306f EAR \u30d5\u30a1\u30a4\u30eb\u306b\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093
-dd_in_ear_load_EXC_=IWAE0022E EAR \u30d5\u30a1\u30a4\u30eb "{1}" \u5185\u306e\u30e2\u30b8\u30e5\u30fc\u30eb "{0}" \u7528\u306e\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u8a18\u8ff0\u5b50\u3092\u30ed\u30fc\u30c9\u4e2d\u306b\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f
-nested_open_fail_EXC_=IWAE0023E EAR \u30d5\u30a1\u30a4\u30eb "{1}" \u5185\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u30fb\u30d5\u30a1\u30a4\u30eb "{0}" \u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093
-duplicate_module_EXC_=IWAE0024E EAR \u30d5\u30a1\u30a4\u30eb "{0}" \u306e\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u8a18\u8ff0\u5b50\u306b\u306f\u3059\u3067\u306b\u3001uri "{1}" \u3092\u6301\u3064\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059
-no_sec_role_EXC_=IWAE0025E {0}: EAR \u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u8a18\u8ff0\u5b50\u306b\u3001{1} \u3068\u3044\u3046\u540d\u524d\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u5f79\u5272\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093
-dup_sec_role_EXC_=IWAE0026E {0}: EAR \u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u8a18\u8ff0\u5b50\u306b\u306f\u3059\u3067\u306b\u3001{1} \u3068\u3044\u3046\u540d\u524d\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u5f79\u5272\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059
-dup_sec_role_module_EXC_=IWAE0027E {0} \u306e\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u8a18\u8ff0\u5b50\u306b\u306f\u3059\u3067\u306b\u3001{1} \u3068\u3044\u3046\u540d\u524d\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u5f79\u5272\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059
-dup_resource_EXC_=IWAE0028E "{0}" \u3068\u3044\u3046\u540d\u524d\u306e\u30ea\u30bd\u30fc\u30b9\u306f\u3059\u3067\u306b\u30a2\u30fc\u30ab\u30a4\u30d6 "{1}" \u5185\u306b\u5b58\u5728\u3057\u3066\u3044\u307e\u3059
-error_saving_EXC_=IWAE0030E {0} \u3092\u4fdd\u7ba1\u4e2d\u306e\u30a8\u30e9\u30fc
-add_copy_class_dir_EXC_=IWAE0031E \u30e1\u30bd\u30c3\u30c9 "addCopyClass" \u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306b\u5bfe\u3057\u3066\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002 URI: {0}
-add_copy_lib_dir_EXC_=IWAE0032E \u30e1\u30bd\u30c3\u30c9 "addCopyLib" \u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306b\u5bfe\u3057\u3066\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002 URI: {0}
-list_components_war_EXC_=IWAE0033E WAR \u30d5\u30a1\u30a4\u30eb {0} \u5185\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30ea\u30b9\u30c8\u4e2d\u306b\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f
-open_nested_EXC_=IWAE0034E "{1}" \u5185\u306e\u30cd\u30b9\u30c8\u3055\u308c\u305f\u30a2\u30fc\u30ab\u30a4\u30d6 "{0}" \u3092\u958b\u3051\u307e\u305b\u3093\u3067\u3057\u305f
-make_temp_file_WARN_=IWAE0035W \u8b66\u544a: {0} \u306e\u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3002 \u3053\u308c\u306f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u5f71\u97ff\u3057\u307e\u3059\u3002
-file_not_found_EXC_=IWAE0036E URI \u540d: {0}\u3001\u30d5\u30a1\u30a4\u30eb\u540d: {1}
-could_not_open_EXC_=IWAE0037E {0} \u3092\u958b\u3051\u307e\u305b\u3093\u3067\u3057\u305f
-could_not_find_dir_EXC_=IWAE0038E \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc {0} \u3092\u958b\u3051\u307e\u305b\u3093
-not_a_dir_EXC_=IWAE0039E \u30d5\u30a1\u30a4\u30eb {0} \u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u3067\u306f\u306a\u3044\u305f\u3081\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u3092\u958b\u3051\u307e\u305b\u3093
-inferred_dds_EXC_=IWAE0040E \u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306f\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba Bean \u3092\u5ba3\u8a00\u3057\u3066\u3044\u306a\u3044\u304c\u3001\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u8a18\u8ff0\u5b50\u304c JAR \u5185\u306b\u5b58\u5728\u3059\u308b\u305f\u3081\u3001EJB JAR \u30d5\u30a1\u30a4\u30eb "{0}" \u306f\u30d0\u30fc\u30b8\u30e7\u30f3 1.0 \u3067\u3042\u308b\u3068\u63a8\u6e2c\u3055\u308c\u307e\u3057\u305f\u3002
-filename_exception_EXC_=IWAE0041E \u30d5\u30a1\u30a4\u30eb\u540d: {0}\u3001\u4f8b\u5916: {1}
-no_dds_10_EXC_=IWAE0042E EJB 1.0 Jar \u30d5\u30a1\u30a4\u30eb {0} \u5185\u306b\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u8a18\u8ff0\u5b50\u304c\u3042\u308a\u307e\u305b\u3093
-manifest_dd_load_EXC_=IWAE0043E JAR \u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306f\u3001\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u8a18\u8ff0\u5b50\u3092\u30ed\u30fc\u30c9\u3067\u304d\u306a\u3044\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba Bean \u3092\u5ba3\u8a00\u3057\u3066\u3044\u307e\u3059: {0}
-manifest_dd_find_EXC_=IWAE0044E JAR \u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306f\u3001\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u8a18\u8ff0\u5b50\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba Bean \u3092\u5ba3\u8a00\u3057\u3066\u3044\u307e\u3059: {0}
-io_ex_reading_dd_EXC_=IWAE0045E {0} \u3092\u8aad\u307f\u53d6\u308a\u4e2d\u306b I/O \u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f
-ser_not_dd_EXC_=IWAE0046E \u30d5\u30a1\u30a4\u30eb "{0}" \u5185\u306e\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u5316\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001javax.ejb.deployment.DeploymentDescriptor \u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u306f\u3042\u308a\u307e\u305b\u3093
-reading_dd_EXC_=IWAE0047E {0} \u3092\u8aad\u307f\u53d6\u308a\u4e2d\u306b\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f
-missing_class_EXC_=IWAE0048E \u5fc5\u8981\u306a\u30af\u30e9\u30b9\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u305f\u3081\u3001{0} \u3092\u30c7\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002 \u4f8b\u5916: {1}
-Converted=\u5909\u63db\u6e08\u307f
-Stack_trace_of_nested_exce_EXC_=IWAE0049E \u30cd\u30b9\u30c8\u3055\u308c\u305f\u4f8b\u5916\u306e\u30b9\u30bf\u30c3\u30af\u30fb\u30c8\u30ec\u30fc\u30b9:
-IOException_occurred_while_EXC_=IWAE0050E \u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3092\u30b3\u30d4\u30fc\u4e2d\u306b I/O \u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f
-Extract_destination_is_the_EXC_=IWAE0051E \u62bd\u51fa\u3055\u308c\u305f\u5b9b\u5148\u306f\u30bd\u30fc\u30b9\u30fb\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u3058\u30d1\u30b9\u3067\u3059
-Parameter_should_not_be_nu_EXC_=IWAE0052E \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092 NULL \u306b\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093
-Archive_is_not_a_valid_EJB_EXC_=IWAE0055E \u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3067\u3082\u3001".ser" \u62e1\u5f35\u5b50\u3092\u6301\u3064\u9805\u76ee\u3067\u3082\u3001\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u5316\u3055\u308c\u305f\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u8a18\u8ff0\u5b50\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u305f\u3081\u3001\u30a2\u30fc\u30ab\u30a4\u30d6\u306f\u6709\u52b9\u306a EJB JAR \u30d5\u30a1\u30a4\u30eb (1.0) \u3067\u306f\u3042\u308a\u307e\u305b\u3093
-_The_following_files_could_EXC_=IWAE0056E \u6b21\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002
-FixPrimKeyCommand_failed_-_EXC_=IWAE0057E FixPrimKeyCommand \u304c\u5931\u6557\u3057\u307e\u3057\u305f - \u4f8b\u5916\u30b9\u30bf\u30c3\u30af\u30fb\u30c8\u30ec\u30fc\u30b9:
-FixPrimKeyCommand_usage___=FixPrimKeyCommand \u306e\u4f7f\u7528\u6cd5: <sourceJarFilePath> [destinationPath]
-FixPrimKeyCommand_usage__s_EXC_=IWAE0058E FixPrimKeyCommand \u306e\u4f7f\u7528\u6cd5: sourceJarFilePath \u306f\u3001\u6709\u52b9\u306a EJB JAR \u30d5\u30a1\u30a4\u30eb\u307e\u305f\u306f\u5145\u6e80\u3057\u305f EJB JAR \u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u3092\u6307\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002
-Repair_command_failed_-_ex_EXC_=IWAE0059E \u4fee\u5fa9\u30b3\u30de\u30f3\u30c9\u304c\u5931\u6557\u3057\u307e\u3057\u305f - \u4f8b\u5916\u30b9\u30bf\u30c3\u30af\u30fb\u30c8\u30ec\u30fc\u30b9:
-Repairs_all_entries_in_the=META-INF \u307e\u305f\u306f WEB-INF \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc (\u3042\u308b\u3044\u306f\u305d\u306e\u4e21\u65b9) \u5185\u306e\u3059\u3079\u3066\u306e\u9805\u76ee\u306e\u5927/\u5c0f\u6587\u5b57\u304c\u6b63\u3057\u304f\u306a\u308b\u3088\u3046\u306b\u4fee\u5fa9\u3057\u307e\u3059
-RepairArchiveCommand_usage=RepairArchiveCommand \u306e\u4f7f\u7528\u6cd5: <sourceJarFilePath> <destinationPath>
-RepairArchiveCommand_usage1_ERROR_=IWAE0060E RepairArchiveCommand \u306e\u4f7f\u7528\u6cd5: sourceJarFilePath \u306f\u3001\u6709\u52b9\u306a\u30a2\u30fc\u30ab\u30a4\u30d6\u307e\u305f\u306f\u81a8\u5f35\u3057\u305f\u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u3092\u6307\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002
-Application_Client_Jar_Fil=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 Jar \u30d5\u30a1\u30a4\u30eb
-EAR_File=EAR \u30d5\u30a1\u30a4\u30eb
-EJB_Jar_File=EJB JAR \u30d5\u30a1\u30a4\u30eb
-RAR_File=RAR \u30d5\u30a1\u30a4\u30eb
-WAR_File=WAR \u30d5\u30a1\u30a4\u30eb
-Error_occurred_iterating_f_EXC_=IWAE0061E \u30d5\u30a1\u30a4\u30eb\u3092\u53cd\u5fa9\u4e2d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f
-End_of_list_reached_EXC_=IWAE0062E \u30ea\u30b9\u30c8\u306e\u7d42\u308f\u308a\u306b\u9054\u3057\u307e\u3057\u305f
-Internal_Error__Iterator_o_EXC_=IWAE0063E \u5185\u90e8\u30a8\u30e9\u30fc: \u30a4\u30c6\u30ec\u30fc\u30bf\u30fc\u304c ZIP \u9805\u76ee\u3068\u975e\u540c\u671f\u3067\u3059
-Error_iterating_the_archiv_EXC_=IWAE0064E \u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u53cd\u5fa9\u4e2d\u306e\u30a8\u30e9\u30fc
-Absolute_path_unknown_EXC_=IWAE0065E \u4e0d\u660e\u306a\u7d76\u5bfe\u30d1\u30b9
-Original_archive_is_not_a__EXC_=IWAE0066E \u30aa\u30ea\u30b8\u30ca\u30eb\u30fb\u30a2\u30fc\u30ab\u30a4\u30d6\u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u3067\u306f\u3042\u308a\u307e\u305b\u3093
-Null_uri_EXC_=IWAE0067E NULL \u306e uri
-Module_file=\u30e2\u30b8\u30e5\u30fc\u30eb\u30fb\u30d5\u30a1\u30a4\u30eb
-A_WAR_file=WAR \u30d5\u30a1\u30a4\u30eb
-An_EJB_JAR_file=EJB JAR \u30d5\u30a1\u30a4\u30eb
-An_Application_Client_JAR_file=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 JAR \u30d5\u30a1\u30a4\u30eb
-A_RAR_file=RAR \u30d5\u30a1\u30a4\u30eb
-A_Application_file=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30d5\u30a1\u30a4\u30eb
-A_file_does_not_exist_for_module=uri {0} \u3092\u6301\u3064\u30e2\u30b8\u30e5\u30fc\u30eb\u30fb\u30a8\u30ec\u30e1\u30f3\u30c8\u306b\u30d5\u30a1\u30a4\u30eb\u306f\u5b58\u5728\u3057\u307e\u305b\u3093
-File_not_correct_type=EAR \u30d5\u30a1\u30a4\u30eb {1} \u5185\u306e\u30d5\u30a1\u30a4\u30eb {0} \u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u8a18\u8ff0\u5b50\u306b\u57fa\u3065\u3044\u305f\u6b63\u3057\u3044\u578b\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 \u4e88\u671f\u3055\u308c\u308b\u578b: {2}
-Module_not_in_EAR=\u30e2\u30b8\u30e5\u30fc\u30eb\u306f EAR {0} \u5185\u306b\u3042\u308a\u307e\u305b\u3093
-Module_file_does_not_exist_2=\u30e2\u30b8\u30e5\u30fc\u30eb\u53c2\u7167\u306b\u30e2\u30b8\u30e5\u30fc\u30eb\u30fb\u30d5\u30a1\u30a4\u30eb\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002 \u30e2\u30b8\u30e5\u30fc\u30eb = {0}
-FileImpl._Error_0=\u518d\u5e30\u7684\u5305\u542b\u306f\u8a31\u53ef\u3055\u308c\u3066\u3044\u307e\u305b\u3093
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_ko.properties b/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_ko.properties
deleted file mode 100644
index 724c248c2..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_ko.properties
+++ /dev/null
@@ -1,94 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-subclass_responsibilty_EXC_=IWAE0001E {0}\uc744(\ub97c) \uc11c\ube0c\ud074\ub798\uc2a4\uc5d0 \uad6c\ud604\ud574\uc57c \ud569\ub2c8\ub2e4.
-key_class_reflection_ERROR_=IWAE0002E "{2}" \uc5d4\ud2f0\ud2f0\uc5d0\uc11c "{1}" 1\ucc28 \ud0a4 \ud544\ub4dc\ub97c \ube44\uad50\ud558\uae30 \uc704\ud574 "{0}" \ud074\ub798\uc2a4\ub97c \ubc18\uc601\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
-key_field_reflection_ERROR_=IWAE0003E "{1}" \uc5d4\ud2f0\ud2f0\uc5d0\uc11c "{0}" 1\ucc28 \ud0a4 \ud544\ub4dc\uc758 \uc720\ud615\uc744 \ubc18\uc601\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.
-removing_key_field_INFO_=IWAE0004I "{1}" \uc5d4\ud2f0\ud2f0\uc5d0\uc11c \uc720\ud6a8\ud558\uc9c0 \uc54a\uc740 "{0}" 1\ucc28 \ud0a4 \ud544\ub4dc \uc81c\uac70 \uc911
-repair_usage_ERROR_=IWAE0005E RepairArchiveCommand \uc0ac\uc6a9\ubc95: destinationPath\uc5d0 \uc4f8 \uc218 \uc5c6\uc74c: {0}
-invalid_archive_EXC_=IWAE0006E {1} \uc804\uac1c \uc124\uba85\uc790\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc73c\ubbc0\ub85c \uc544\uce74\uc774\ube0c\uac00 \uc62c\ubc14\ub978 {0}\uc774(\uac00) \uc544\ub2d9\ub2c8\ub2e4(\ub300\uc18c\ubb38\uc790 \uad6c\ubd84).
-load_resource_EXC_=IWAE0007E "{1}" \uc544\uce74\uc774\ube0c\uc5d0\uc11c "{0}" \uc790\uc6d0\uc744 \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc5c8\uc74c
-nested_jar_EXC_=IWAE0008E {1}\uc5d0\uc11c {0}\uc744(\ub97c) \uc77d\ub294 \uc911\uc5d0 \uc624\ub958 \ubc1c\uc0dd
-make_temp_dir_EXC_=IWAE0009E \uc784\uc2dc \ub514\ub809\ud1a0\ub9ac\ub97c \ub9cc\ub4e4 \uc218 \uc5c6\uc74c: {0}
-invalid_classpath_WARN_=IWAE0010W "{0}" \ud074\ub798\uc2a4 \uacbd\ub85c \uc694\uc18c\uac00 \ub514\ub809\ud1a0\ub9ac\ub098 Zip \ud30c\uc77c\uc774 \uc544\ub2d8
-invalid_cp_file_WARN_=IWAE0011W "{0}" \ud074\ub798\uc2a4 \uacbd\ub85c \uc694\uc18c\uac00 \ub85c\uceec \ud30c\uc77c\uc744 \uac00\ub9ac\ud0a4\uc9c0 \uc54a\uc74c
-io_ex_loading_EXC_=IWAE0012E {0}\uc744(\ub97c) \ub85c\ub4dc\ud558\ub294 \uc911\uc5d0 IO \uc608\uc678 \ubc1c\uc0dd
-tx_bean_mgd_WARN_=IWAE0013W EJB 1.0 \uac00\uc838\uc624\uae30: {0}\uc5d0 \ub300\ud574 TX_BEAN_MANAGED \uc81c\uc5b4 \uc124\uba85\uc790\ub97c \ub9f5\ud558\uc9c0 \uc54a\uc74c
-error_saving_EXC_=IWAE0014E {0} \uc800\uc7a5 \uc911\uc5d0 \uc624\ub958 \ubc1c\uc0dd
-io_ex_manifest_EXC_=IWAE0015E \uc544\uce74\uc774\ube0c\uc5d0\uc11c Manifest\ub97c \uc77d\ub294 \uc911\uc5d0 IOException \ubc1c\uc0dd: {0}
-io_ex_reopen_EXC_=IWAE0016E {0}\uc744(\ub97c) \ub2e4\uc2dc \uc5ec\ub294 \ub3d9\uc548 IOException \ubc1c\uc0dd
-unable_replace_EXC_=IWAE0017E \uc6d0\ub798\uc758 \uc544\uce74\uc774\ube0c\ub97c \ubc14\uafc0 \uc218 \uc5c6\uc74c: {0}
-duplicate_file_EXC_=IWAE0018E {0}(\uc774)\ub77c\ub294 \uc774\ub984\uc758 \uc544\uce74\uc774\ube0c\uac00 \uc774\ubbf8 {1}(\uc774)\ub77c\ub294 \uc774\ub984\uc758 \ud30c\uc77c \ud3ec\ud568
-duplicate_entry_EXC_=IWAE0019E {0} uri\ub97c \uac00\uc9c0\ub294 \ud30c\uc77c\uc774\ub098 \uc790\uc6d0\uc774 \uc774\ubbf8 {1}(\uc774)\ub77c\ub294 \uc774\ub984\uc774 \uc9c0\uc815\ub41c \uc544\uce74\uc774\ube0c\uc5d0 \uc788\uc74c
-file_exist_as_dir_EXC_=IWAE0020E {0}(\uc774)\ub77c\ub294 \uc774\ub984\uc774 \uc9c0\uc815\ub41c \ud30c\uc77c\uc774 \uc788\uace0 \ub514\ub809\ud1a0\ub9ac\uc784
-uncontained_module_EXC_=IWAE0021E {0} \ubaa8\ub4c8\uc774 EAR \ud30c\uc77c\uc5d0 \uc788\uc74c
-dd_in_ear_load_EXC_=IWAE0022E "{1}" EAR \ud30c\uc77c\uc758 "{0}" \ubaa8\ub4c8\uc5d0 \ub300\ud55c \uc804\uac1c \uc124\uba85\uc790\ub97c \ub85c\ub4dc\ud558\ub294 \uc911\uc5d0 \uc608\uc678 \ubc1c\uc0dd
-nested_open_fail_EXC_=IWAE0023E "{1}" EAR \ud30c\uc77c\uc758 "{0}" \ubaa8\ub4c8 \ud30c\uc77c\uc744 \uc5f4 \uc218 \uc5c6\uc74c
-duplicate_module_EXC_=IWAE0024E "{0}" EAR \ud30c\uc77c\uc758 \uc804\uac1c \uc124\uba85\uc790\uac00 "{1}" uri\ub97c \uac00\uc9c0\ub294 \ubaa8\ub4c8\uc744 \uc774\ubbf8 \ud3ec\ud568
-no_sec_role_EXC_=IWAE0025E {0}: EAR \ud30c\uc77c \uc804\uac1c \uc124\uba85\uc790\uc5d0 {1}(\uc774)\ub77c\ub294 \uc774\ub984\uc774 \uc9c0\uc815\ub41c \ubcf4\uc548 \uc5ed\ud560\uc774 \uc5c6\uc74c
-dup_sec_role_EXC_=IWAE0026E {0}: EAR \ud30c\uc77c \uc804\uac1c \uc124\uba85\uc790\uc5d0 {1}(\uc774)\ub77c\ub294 \uc774\ub984\uc774 \uc9c0\uc815\ub41c \ubcf4\uc548 \uc5ed\ud560\uc774 \uc774\ubbf8 \uc788\uc74c
-dup_sec_role_module_EXC_=IWAE0027E {0}\uc758 \uc804\uac1c \uc124\uba85\uc790\uc5d0 {1}(\uc774)\ub77c\ub294 \uc774\ub984\uc774 \uc9c0\uc815\ub41c \ubcf4\uc548 \uc5ed\ud560\uc774 \uc774\ubbf8 \uc788\uc74c
-dup_resource_EXC_=IWAE0028E "{1}" \uc544\uce74\uc774\ube0c\uc5d0 "{0}"(\uc774)\ub77c\ub294 \uc774\ub984\uc774 \uc9c0\uc815\ub41c \uc790\uc6d0\uc774 \uc774\ubbf8 \uc788\uc74c
-error_saving_EXC_=IWAE0030E {0} \uc800\uc7a5 \uc911\uc5d0 \uc624\ub958 \ubc1c\uc0dd
-add_copy_class_dir_EXC_=IWAE0031E "addCopyClass" \uba54\uc18c\ub4dc\ub294 \ub514\ub809\ud1a0\ub9ac\uc5d0\ub294 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. URI: {0}
-add_copy_lib_dir_EXC_=IWAE0032E "addCopyLib" \uba54\uc18c\ub4dc\ub294 \ub514\ub809\ud1a0\ub9ac\uc5d0\ub294 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. URI: {0}
-list_components_war_EXC_=IWAE0033E WAR \ud30c\uc77c\uc758 \uad6c\uc131\uc694\uc18c\ub97c \ub098\uc5f4\ud558\ub294 \uc911\uc5d0 \uc608\uc678 \ubc1c\uc0dd: {0}
-open_nested_EXC_=IWAE0034E "{1}" \uc544\uce74\uc774\ube0c\uc5d0 \uc911\ucca9\ub418\uc5b4 \uc788\ub294 "{0}" \uc544\uce74\uc774\ube0c\ub97c \uc5f4 \uc218 \uc5c6\uc5c8\uc74c
-make_temp_file_WARN_=IWAE0035W \uacbd\uace0: {0}\uc5d0 \ub300\ud55c \uc784\uc2dc \ud30c\uc77c\uc744 \uc791\uc131\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uc131\ub2a5\uc5d0 \uc601\ud5a5\uc744 \uc904 \uac83\uc785\ub2c8\ub2e4.
-file_not_found_EXC_=IWAE0036E URI \uc774\ub984: {0}, \ud30c\uc77c \uc774\ub984: {1}
-could_not_open_EXC_=IWAE0037E {0}\uc744(\ub97c) \uc5f4 \uc218 \uc5c6\uc5c8\uc74c
-could_not_find_dir_EXC_=IWAE0038E {0} \ub514\ub809\ud1a0\ub9ac\ub97c \uc5f4 \uc218 \uc5c6\uc74c
-not_a_dir_EXC_=IWAE0039E \ud30c\uc77c\uc774 \ub514\ub809\ud1a0\ub9ac\uac00 \uc544\ub2c8\uae30 \ub54c\ubb38\uc5d0 \ub514\ub809\ud1a0\ub9ac\ub97c \uc5f4 \uc218 \uc5c6\uc74c: {0}
-inferred_dds_EXC_=IWAE0040E Manifest\uac00 \uc5d4\ud130\ud504\ub77c\uc774\uc988 Bean\uc744 \uc120\uc5b8\ud558\uc9c0 \uc54a\uc73c\ub098 \uc77c\ub828\ud654\ub41c \uc804\uac1c \uc124\uba85\uc790\uac00 JAR\uc5d0 \uc788\uae30 \ub54c\ubb38\uc5d0 "{0}" EJB JAR \ud30c\uc77c\uc740 \ubc84\uc804 1.0\uc774\ub77c\uace0 \uc720\ucd94\ub418\uc5c8\uc2b5\ub2c8\ub2e4.
-filename_exception_EXC_=IWAE0041E \ud30c\uc77c \uc774\ub984: {0}, \uc608\uc678: {1}
-no_dds_10_EXC_=IWAE0042E EJB 1.0 JAR \ud30c\uc77c\uc5d0 \uc804\uac1c \uc124\uba85\uc790 \uc5c6\uc74c: {0}
-manifest_dd_load_EXC_=IWAE0043E JAR Manifest\uac00 \uc804\uac1c \uc124\uba85\uc790 \ud30c\uc77c\uc744 \ub85c\ub4dc\ud560 \uc218 \uc5c6\ub294 \uc5d4\ud130\ud504\ub77c\uc774\uc988 Bean\uc744 \uc120\uc5b8: {0}
-manifest_dd_find_EXC_=IWAE0044E JAR Manifest\uac00 \uc804\uac1c \uc124\uba85\uc790 \ud30c\uc77c\uc744 \ucc3e\uc744 \uc218 \uc5c6\ub294 \uc5d4\ud130\ud504\ub77c\uc774\uc988 Bean\uc744 \uc120\uc5b8: {0}
-io_ex_reading_dd_EXC_=IWAE0045E {0}\uc744(\ub97c) \uc77d\ub294 \uc911\uc5d0 IO \uc608\uc678 \ubc1c\uc0dd
-ser_not_dd_EXC_=IWAE0046E "{0}" \ud30c\uc77c\uc5d0 \uc788\ub294 \uc77c\ub828\ud654\ub41c \uc624\ube0c\uc81d\ud2b8\uac00 javax.ejb.deployment.DeploymentDescriptor\uc758 \uc778\uc2a4\ud134\uc2a4\uac00 \uc544\ub2d8
-reading_dd_EXC_=IWAE0047E {0}\uc744(\ub97c) \uc77d\ub294 \uc911\uc5d0 \uc608\uc678 \ubc1c\uc0dd
-missing_class_EXC_=IWAE0048E \ud544\uc694\ud55c \ud074\ub798\uc2a4\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc5c8\uae30 \ub54c\ubb38\uc5d0 {0}\uc758 \uc77c\ub828\ud654\ub97c \ucde8\uc18c\ud560 \uc218 \uc5c6\uc5c8\uc2b5\ub2c8\ub2e4. \uc608\uc678: {1}
-Converted=\ubcc0\ud658\ub428
-Stack_trace_of_nested_exce_EXC_=IWAE0049E \uc911\ucca9\ub41c \uc608\uc678\uc758 \uc2a4\ud0dd \ucd94\uc801:
-IOException_occurred_while_EXC_=IWAE0050E Manifest\ub97c \ubcf5\uc0ac\ud558\ub294 \ub3d9\uc548 IOException \ubc1c\uc0dd
-Extract_destination_is_the_EXC_=IWAE0051E \ucd94\ucd9c \ub300\uc0c1\uc774 \uc18c\uc2a4 \ud30c\uc77c\uacfc \uac19\uc740 \uacbd\ub85c\uc784
-Parameter_should_not_be_nu_EXC_=IWAE0052E \ub9e4\uac1c\ubcc0\uc218\uac00 \ub110\uc774\uba74 \uc548 \ub428
-Archive_is_not_a_valid_EJB_EXC_=IWAE0055E \uc77c\ub828\ud654\ub41c \uc804\uac1c \uc124\uba85\uc790\ub97c Manifest\ub098 ".ser" \ud655\uc7a5\uc790\ub97c \uac00\uc9c4 \uc5d4\ud2f0\ud2f0\uc5d0\uc11c \ucc3e\uc744 \uc218 \uc5c6\uae30 \ub54c\ubb38\uc5d0 \uc544\uce74\uc774\ube0c\uac00 \uc62c\ubc14\ub978 EJB JAR \ud30c\uc77c(1.0)\uc774 \uc544\ub2d8
-_The_following_files_could_EXC_=IWAE0056E \ub2e4\uc74c \ud30c\uc77c\uc744 \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc5c8\uc74c:
-FixPrimKeyCommand_failed_-_EXC_=IWAE0057E FixPrimKeyCommand \uc2e4\ud328 - \uc608\uc678 \uc2a4\ud0dd \ucd94\uc801:
-FixPrimKeyCommand_usage___=FixPrimKeyCommand \uc0ac\uc6a9\ubc95: <sourceJarFilePath> [destinationPath]
-FixPrimKeyCommand_usage__s_EXC_=IWAE0058E FixPrimKeyCommand \uc0ac\uc6a9\ubc95: sourceJarFilePath\uac00 \uc62c\ubc14\ub978 EJB JAR \ud30c\uc77c\uc774\ub098 \ud3bc\uccd0\uc9c4 EJB JAR \ud30c\uc77c\uc758 \ub514\ub809\ud1a0\ub9ac\ub97c \uac00\ub9ac\ucf1c\uc57c \ud568
-Repair_command_failed_-_ex_EXC_=IWAE0059E \uc218\uc815 \uba85\ub839 \uc2e4\ud328 - \uc608\uc678 \uc2a4\ud0dd \ucd94\uc801:
-Repairs_all_entries_in_the=META-INF \ubc0f/\ub610\ub294 WEB-INF \ub514\ub809\ud1a0\ub9ac\uc758 \ubaa8\ub4e0 \ud56d\ubaa9\uc774 \uc815\ud655\ud55c \ub300\uc18c\ubb38\uc790\uac00 \ub418\ub3c4\ub85d \uc218\uc815
-RepairArchiveCommand_usage=RepairArchiveCommand \uc0ac\uc6a9\ubc95: <sourceJarFilePath> <destinationPath>
-RepairArchiveCommand_usage1_ERROR_=IWAE0060E RepairArchiveCommand \uc0ac\uc6a9\ubc95: sourceJarFilePath\uac00 \uc62c\ubc14\ub978 \uc544\uce74\uc774\ube0c\ub098 \ud3bc\uccd0\uc9c4 \uc544\uce74\uc774\ube0c\uc758 \ub514\ub809\ud1a0\ub9ac\ub97c \uac00\ub9ac\ucf1c\uc57c \ud568
-Application_Client_Jar_Fil=\uc751\uc6a9\ud504\ub85c\uadf8\ub7a8 \ud074\ub77c\uc774\uc5b8\ud2b8 JAR \ud30c\uc77c
-EAR_File=EAR \ud30c\uc77c
-EJB_Jar_File=EJB JAR \ud30c\uc77c
-RAR_File=RAR \ud30c\uc77c
-WAR_File=WAR \ud30c\uc77c
-Error_occurred_iterating_f_EXC_=IWAE0061E \ud30c\uc77c\uc744 \ubc18\ubcf5\ud558\ub294 \uc911\uc5d0 \uc624\ub958 \ubc1c\uc0dd
-End_of_list_reached_EXC_=IWAE0062E \ubaa9\ub85d\uc758 \ub05d\uc5d0 \ub3c4\ub2ec
-Internal_Error__Iterator_o_EXC_=IWAE0063E \ub0b4\ubd80 \uc624\ub958: \ubc18\ubcf5\uae30\uac00 zip \ud56d\ubaa9\uacfc \ub3d9\uae30\ud654\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc74c
-Error_iterating_the_archiv_EXC_=IWAE0064E \uc544\uce74\uc774\ube0c\ub97c \ubc18\ubcf5\ud558\ub294 \uc911\uc5d0 \uc624\ub958 \ubc1c\uc0dd
-Absolute_path_unknown_EXC_=IWAE0065E \uc54c \uc218 \uc5c6\ub294 \uc808\ub300 \uacbd\ub85c
-Original_archive_is_not_a__EXC_=IWAE0066E \uc6d0\ub798\uc758 \uc544\uce74\uc774\ube0c\uac00 \ub514\ub809\ud1a0\ub9ac\uac00 \uc544\ub2d8
-Null_uri_EXC_=IWAE0067E \ub110 uri
-Module_file=\ubaa8\ub4c8 \ud30c\uc77c
-A_WAR_file=WAR \ud30c\uc77c
-An_EJB_JAR_file=EJB JAR \ud30c\uc77c
-An_Application_Client_JAR_file=\uc751\uc6a9\ud504\ub85c\uadf8\ub7a8 \ud074\ub77c\uc774\uc5b8\ud2b8 JAR \ud30c\uc77c
-A_RAR_file=RAR \ud30c\uc77c
-A_Application_file=\uc751\uc6a9\ud504\ub85c\uadf8\ub7a8 \ud30c\uc77c
-A_file_does_not_exist_for_module=uri\uac00 \uc788\ub294 \ubaa8\ub4c8 \uc694\uc18c\uc5d0 \ub300\ud55c \ud30c\uc77c\uc774 \uc5c6\uc74c: {0}
-File_not_correct_type={1} EAR \ud30c\uc77c\uc758 {0} \ud30c\uc77c\uc774 \uc751\uc6a9\ud504\ub85c\uadf8\ub7a8 \uc804\uac1c \uc124\uba85\uc790\ub97c \uae30\ubcf8\uc73c\ub85c \ud558\ub294 \uc815\ud655\ud55c \uc720\ud615\uc774 \uc544\ub2d9\ub2c8\ub2e4. \uc608\uc0c1\ud558\ub294 \uc720\ud615: {2}".
-Module_not_in_EAR=EAR\uc5d0 \ubaa8\ub4c8\uc774 \uc5c6\uc74c: {0}
-Module_file_does_not_exist_2=\ubaa8\ub4c8 \ucc38\uc870\uc5d0 \ub300\ud55c \ubaa8\ub4c8 \ud30c\uc77c\uc774 \uc5c6\uc2b5\ub2c8\ub2e4. \ubaa8\ub4c8 = {0}
-FileImpl._Error_0=\ubc18\ubcf5\uc801\uc778 \ud3ec\ud568\uc774 \ud5c8\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_pt_BR.properties b/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_pt_BR.properties
deleted file mode 100644
index 485cbef53..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_pt_BR.properties
+++ /dev/null
@@ -1,94 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-subclass_responsibilty_EXC_=IWAE0001E {0} deve ser implementado na subclasse
-key_class_reflection_ERROR_=IWAE0002E N\u00e3o \u00e9 poss\u00edvel refletir a classe "{0}" para comparar o campo de chave principal "{1}" a partir da entidade "{2}"
-key_field_reflection_ERROR_=IWAE0003E N\u00e3o \u00e9 poss\u00edvel refletir o tipo de campo de chave principal "{0}" a partir da entidade "{1}"
-removing_key_field_INFO_=IWAE0004I Removendo campo de chave principal inv\u00e1lida "{0}" da entidade "{1}"
-repair_usage_ERROR_=IWAE0005E Uso de RepairArchiveCommand: n\u00e3o \u00e9 poss\u00edvel gravar em destinationPath: {0}
-invalid_archive_EXC_=IWAE0006E O archive n\u00e3o \u00e9 um {0} v\u00e1lido porque o descritor de implementa\u00e7\u00e3o n\u00e3o foi encontrado (distin\u00e7\u00e3o entre mai\u00fasculas e min\u00fasculas): {1}
-load_resource_EXC_=IWAE0007E N\u00e3o foi poss\u00edvel carregar o recurso "{0}" no archive "{1}"
-nested_jar_EXC_=IWAE0008E Ocorreu um erro ao ler {0} a partir de {1}
-make_temp_dir_EXC_=IWAE0009E N\u00e3o \u00e9 poss\u00edvel criar diret\u00f3rio temp: {0}
-invalid_classpath_WARN_=IWAE0010W O elemento do classpath "{0}" n\u00e3o \u00e9 um diret\u00f3rio ou um arquivo Zip
-invalid_cp_file_WARN_=IWAE0011W O elemento do classpath "{0}" n\u00e3o aponta para um arquivo local
-io_ex_loading_EXC_=IWAE0012E Ocorreu uma exce\u00e7\u00e3o ES ao carregar {0}
-tx_bean_mgd_WARN_=IWAE0013W Importa\u00e7\u00e3o de EJB 1.0: N\u00e3o mapear descritor de controle TX_BEAN_MANAGED para {0}
-error_saving_EXC_=IWAE0014E Erro ao salvar {0}
-io_ex_manifest_EXC_=IWAE0015E Ocorreu uma exce\u00e7\u00e3o ES ao ler o manifesto no archive: {0}
-io_ex_reopen_EXC_=IWAE0016E Ocorreu uma exce\u00e7\u00e3o ES ao reabrir {0}
-unable_replace_EXC_=IWAE0017E N\u00e3o \u00e9 poss\u00edvel substituir o archive original: {0}
-duplicate_file_EXC_=IWAE0018E O archive {0} j\u00e1 cont\u00e9m um arquivo denominado {1}
-duplicate_entry_EXC_=IWAE0019E O arquivo ou recurso com o uri {0} j\u00e1 existe no archive denominado {1}
-file_exist_as_dir_EXC_=IWAE0020E O arquivo {0} existe e \u00e9 um diret\u00f3rio
-uncontained_module_EXC_=IWAE0021E O m\u00f3dulo {0} n\u00e3o \u00e9 contido por um arquivo EAR
-dd_in_ear_load_EXC_=IWAE0022E Ocorreu uma exce\u00e7\u00e3o ao carregar o descritor de implementa\u00e7\u00e3o para o m\u00f3dulo "{0}" no arquivo EAR "{1}"
-nested_open_fail_EXC_=IWAE0023E N\u00e3o \u00e9 poss\u00edvel abrir o arquivo de m\u00f3dulo "{0}" no arquivo EAR "{1}"
-duplicate_module_EXC_=IWAE0024E O descritor de implementa\u00e7\u00e3o para o arquivo EAR "{0}" j\u00e1 cont\u00e9m um m\u00f3dulo que possui uri "{1}"
-no_sec_role_EXC_=IWAE0025E {0}: O descritor de implementa\u00e7\u00e3o do Arquivo EAR n\u00e3o cont\u00e9m uma fun\u00e7\u00e3o de seguran\u00e7a denominada {1}
-dup_sec_role_EXC_=IWAE0026E {0}: O descritor de implementa\u00e7\u00e3o do Arquivo EAR j\u00e1 cont\u00e9m uma fun\u00e7\u00e3o de seguran\u00e7a denominada {1}
-dup_sec_role_module_EXC_=IWAE0027E O descritor de implementa\u00e7\u00e3o para {0} j\u00e1 cont\u00e9m uma fun\u00e7\u00e3o de seguran\u00e7a denominada {1}
-dup_resource_EXC_=IWAE0028E O recurso denominado "{0}" j\u00e1 existe no archive "{1}"
-error_saving_EXC_=IWAE0030E Erro ao salvar {0}
-add_copy_class_dir_EXC_=IWAE0031E O m\u00e9todo "addCopyClass" n\u00e3o \u00e9 suportado para diret\u00f3rios. URI: {0}
-add_copy_lib_dir_EXC_=IWAE0032E O m\u00e9todo "addCopyLib" n\u00e3o \u00e9 suportado para diret\u00f3rios. URI: {0}
-list_components_war_EXC_=IWAE0033E Ocorreu uma exce\u00e7\u00e3o ao listar componentes no arquivo WAR: {0}
-open_nested_EXC_=IWAE0034E N\u00e3o foi poss\u00edvel abrir o archive aninhado "{0}" em "{1}"
-make_temp_file_WARN_=IWAE0035W Aviso: N\u00e3o \u00e9 poss\u00edvel criar arquivo temp para {0}. Isto causar\u00e1 impacto no desempenho.
-file_not_found_EXC_=IWAE0036E Nome do URI: {0}; Nome do arquivo: {1}
-could_not_open_EXC_=IWAE0037E N\u00e3o foi poss\u00edvel abrir {0}
-could_not_find_dir_EXC_=IWAE0038E N\u00e3o \u00e9 poss\u00edvel abrir o diret\u00f3rio {0}
-not_a_dir_EXC_=IWAE0039E N\u00e3o \u00e9 poss\u00edvel abrir o diret\u00f3rio porque o arquivo n\u00e3o \u00e9 um diret\u00f3rio: {0}
-inferred_dds_EXC_=IWAE0040E Sup\u00f4s-se que o arquivo JAR EJB "{0}" tinha a vers\u00e3o 1.0, porque o manifesto n\u00e3o declara os beans corporativos, mas descritores de implementa\u00e7\u00e3o serializados existem no JAR.
-filename_exception_EXC_=IWAE0041E Nome do arquivo: {0}; Exce\u00e7\u00e3o: {1}
-no_dds_10_EXC_=IWAE0042E N\u00e3o h\u00e1 descritores de implementa\u00e7\u00e3o no arquivo JAR EJB 1.0: {0}
-manifest_dd_load_EXC_=IWAE0043E O manifesto JAR declara um bean corporativo para o qual o descritor de implementa\u00e7\u00e3o n\u00e3o pode ser carregado: {0}
-manifest_dd_find_EXC_=IWAE0044E O manifesto JAR declara um bean corporativo para o qual o descritor de implementa\u00e7\u00e3o n\u00e3o pode ser encontrado: {0}
-io_ex_reading_dd_EXC_=IWAE0045E Ocorreu uma Exce\u00e7\u00e3o ES ao ler {0}
-ser_not_dd_EXC_=IWAE0046E O objeto serializado no arquivo "{0}" n\u00e3o \u00e9 uma inst\u00e2ncia de javax.ejb.deployment.DeploymentDescriptor
-reading_dd_EXC_=IWAE0047E Ocorreu uma Exce\u00e7\u00e3o ao ler {0}
-missing_class_EXC_=IWAE0048E N\u00e3o foi poss\u00edvel desserializar {0} porque uma classe requerida n\u00e3o p\u00f4de ser encontrada. Exce\u00e7\u00e3o: {1}
-Converted=Convertido
-Stack_trace_of_nested_exce_EXC_=IWAE0049E Rastreio de exce\u00e7\u00e3o aninhada:
-IOException_occurred_while_EXC_=IWAE0050E Ocorreu uma Exce\u00e7\u00e3o ES ao copiar o manifesto
-Extract_destination_is_the_EXC_=IWAE0051E O destino da extra\u00e7\u00e3o \u00e9 o mesmo caminho que o arquivo de origem
-Parameter_should_not_be_nu_EXC_=IWAE0052E O par\u00e2metro n\u00e3o deve ser nulo
-Archive_is_not_a_valid_EJB_EXC_=IWAE0055E O archive n\u00e3o \u00e9 um arquivo JAR EJB v\u00e1lido (1.0) porque nenhum descritor de implementa\u00e7\u00e3o serializado pode ser encontrado no manifesto ou nas entradas com uma extens\u00e3o ".ser"
-_The_following_files_could_EXC_=IWAE0056E Os arquivos a seguir n\u00e3o puderam ser carregados:
-FixPrimKeyCommand_failed_-_EXC_=IWAE0057E FixPrimKeyCommand falhou - rastreio da pilha de exce\u00e7\u00e3o:
-FixPrimKeyCommand_usage___=Utiliza\u00e7\u00e3o de FixPrimKeyCommand: <sourceJarFilePath> [destinationPath]
-FixPrimKeyCommand_usage__s_EXC_=IWAE0058E Uso de FixPrimKeyCommand: sourceJarFilePath deve apontar para um arquivo JAR EJB v\u00e1lido ou diret\u00f3rio de um arquivo JAR EJB expandido
-Repair_command_failed_-_ex_EXC_=IWAE0059E Falha no comando Reparar - rastreio da pilha de exce\u00e7\u00e3o:
-Repairs_all_entries_in_the=Repara todas as entradas nos diret\u00f3rios META-INF e/ou WEB-INF para que elas estejam com a caixa correta
-RepairArchiveCommand_usage=Utiliza\u00e7\u00e3o de RepairArchiveCommand: <sourceJarFilePath> <destinationPath>
-RepairArchiveCommand_usage1_ERROR_=IWAE0060E Uso de RepairArchiveCommand: sourceJarFilePath deve apontar para um archive v\u00e1lido ou diret\u00f3rio de um archive expandido
-Application_Client_Jar_Fil=Arquivo JAR do Cliente do Aplicativo
-EAR_File=Arquivo EAR
-EJB_Jar_File=Arquivo JAR EJB
-RAR_File=Arquivo RAR
-WAR_File=Arquivo WAR
-Error_occurred_iterating_f_EXC_=IWAE0061E Ocorreu um erro ao iterar arquivos
-End_of_list_reached_EXC_=IWAE0062E Alcan\u00e7ado o fim da lista
-Internal_Error__Iterator_o_EXC_=IWAE0063E Erro Interno: Iterador n\u00e3o sincronizado com entradas zip
-Error_iterating_the_archiv_EXC_=IWAE0064E Erro ao iterar o archive
-Absolute_path_unknown_EXC_=IWAE0065E Caminho absoluto desconhecido
-Original_archive_is_not_a__EXC_=IWAE0066E O archive original n\u00e3o \u00e9 um diret\u00f3rio
-Null_uri_EXC_=IWAE0067E Uri nulo
-Module_file=Arquivo de m\u00f3dulo
-A_WAR_file=Arquivo WAR
-An_EJB_JAR_file=Arquivo JAR EJB
-An_Application_Client_JAR_file=Arquivo JAR do Cliente do Aplicativo
-A_RAR_file=Arquivo RAR
-A_Application_file=Arquivo do Aplicativo
-A_file_does_not_exist_for_module=Um arquivo n\u00e3o existe para o elemento de m\u00f3dulo que possui a uri: {0}
-File_not_correct_type=O arquivo {0} no arquivo EAR {1} n\u00e3o \u00e9 o tipo correto, baseado no descritor de implementa\u00e7\u00e3o de aplicativo. Tipo estendido: {2}";
-Module_not_in_EAR=O m\u00f3dulo n\u00e3o est\u00e1 em uma EAR: {0}
-Module_file_does_not_exist_2=O arquivo de m\u00f3dulo n\u00e3o existe para a refer\u00eancia de M\u00f3dulo. M\u00f3dulo = {0}
-FileImpl._Error_0=Conten\u00e7\u00e3o recursiva n\u00e3o permitida para
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_zh.properties b/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_zh.properties
deleted file mode 100644
index 05b516995..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_zh.properties
+++ /dev/null
@@ -1,94 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-subclass_responsibilty_EXC_=IWAE0001E {0} \u5fc5\u987b\u5728\u5b50\u7c7b\u4e2d\u5b9e\u73b0
-key_class_reflection_ERROR_=IWAE0002E \u672a\u80fd\u53cd\u6620\u7c7b\u201c{0}\u201d\u4ee5\u4fbf\u5bf9\u5b9e\u4f53\u201c{2}\u201d\u7684\u4e3b\u952e\u5b57\u6bb5\u201c{1}\u201d\u8fdb\u884c\u6bd4\u8f83
-key_field_reflection_ERROR_=IWAE0003E \u672a\u80fd\u53cd\u6620\u5b9e\u4f53\u201c{1}\u201d\u7684\u4e3b\u952e\u5b57\u6bb5\u201c{0}\u201d\u7684\u7c7b\u578b
-removing_key_field_INFO_=IWAE0004I \u4ece\u5b9e\u4f53\u201c{1}\u201d\u4e2d\u9664\u53bb\u65e0\u6548\u7684\u4e3b\u952e\u5b57\u6bb5\u201c{0}\u201d
-repair_usage_ERROR_=IWAE0005E RepairArchiveCommand \u7528\u6cd5\uff1a\u4e0d\u80fd\u5199\u5165 destinationPath\uff1a{0}
-invalid_archive_EXC_=IWAE0006E \u5f52\u6863\u4e0d\u662f\u6709\u6548\u7684 {0}\uff0c\u539f\u56e0\u662f\u627e\u4e0d\u5230\u90e8\u7f72\u63cf\u8ff0\u7b26\uff08\u533a\u5206\u5927\u5c0f\u5199\uff09\uff1a{1}
-load_resource_EXC_=IWAE0007E \u672a\u80fd\u88c5\u5165\u5f52\u6863\u201c{1}\u201d\u4e2d\u7684\u8d44\u6e90\u201c{0}\u201d
-nested_jar_EXC_=IWAE0008E \u4ece {1} \u4e2d\u8bfb\u53d6 {0} \u65f6\u53d1\u751f\u4e86\u9519\u8bef
-make_temp_dir_EXC_=IWAE0009E \u65e0\u6cd5\u5efa\u7acb\u4e34\u65f6\u76ee\u5f55\uff1a{0}
-invalid_classpath_WARN_=IWAE0010W \u7c7b\u8def\u5f84\u5143\u7d20\u201c{0}\u201d\u4e0d\u662f\u76ee\u5f55\u6216\u538b\u7f29\u6587\u4ef6
-invalid_cp_file_WARN_=IWAE0011W \u7c7b\u8def\u5f84\u5143\u7d20\u201c{0}\u201d\u4e0d\u6307\u5411\u672c\u5730\u6587\u4ef6
-io_ex_loading_EXC_=IWAE0012E \u88c5\u5165 {0} \u65f6\u53d1\u751f\u4e86 IO \u5f02\u5e38
-tx_bean_mgd_WARN_=IWAE0013W EJB 1.0 \u5bfc\u5165\uff1a\u6ca1\u6709\u5bf9 {0} \u6620\u5c04 TX_BEAN_MANAGED \u63a7\u5236\u63cf\u8ff0\u7b26
-error_saving_EXC_=IWAE0014E \u4fdd\u5b58 {0} \u65f6\u51fa\u9519
-io_ex_manifest_EXC_=IWAE0015E \u8bfb\u53d6\u5f52\u6863 {0} \u4e2d\u7684\u6e05\u5355\u65f6\u53d1\u751f IO \u5f02\u5e38
-io_ex_reopen_EXC_=IWAE0016E \u91cd\u65b0\u6253\u5f00 {0} \u65f6\u53d1\u751f IO \u5f02\u5e38
-unable_replace_EXC_=IWAE0017E \u65e0\u6cd5\u66ff\u6362\u539f\u59cb\u5f52\u6863\uff1a{0}
-duplicate_file_EXC_=IWAE0018E \u540d\u4e3a {0} \u7684\u5f52\u6863\u5df2\u7ecf\u5305\u542b\u540d\u4e3a {1} \u7684\u6587\u4ef6
-duplicate_entry_EXC_=IWAE0019E \u5177\u6709 uri {0} \u7684\u6587\u4ef6\u6216\u8d44\u6e90\u5df2\u5b58\u5728\u4e8e\u540d\u4e3a {1} \u7684\u5f52\u6863\u4e2d
-file_exist_as_dir_EXC_=IWAE0020E \u540d\u4e3a {0} \u7684\u6587\u4ef6\u5df2\u5b58\u5728\u5e76\u4e14\u8be5\u540d\u79f0\u662f\u4e00\u4e2a\u76ee\u5f55
-uncontained_module_EXC_=IWAE0021E \u6a21\u5757 {0} \u4e0d\u5305\u542b\u5728 EAR \u6587\u4ef6\u4e2d
-dd_in_ear_load_EXC_=IWAE0022E \u4e3a EAR \u6587\u4ef6\u201c{1}\u201d\u4e2d\u7684\u6a21\u5757\u201c{0}\u201d\u88c5\u5165\u90e8\u7f72\u63cf\u8ff0\u7b26\u65f6\u53d1\u751f\u4e86\u5f02\u5e38
-nested_open_fail_EXC_=IWAE0023E \u65e0\u6cd5\u6253\u5f00 EAR \u6587\u4ef6\u201c{1}\u201d\u4e2d\u7684\u6a21\u5757\u6587\u4ef6\u201c{0}\u201d
-duplicate_module_EXC_=IWAE0024E EAR \u6587\u4ef6\u201c{0}\u201d\u7684\u90e8\u7f72\u63cf\u8ff0\u7b26\u5df2\u7ecf\u5305\u542b\u5177\u6709 uri\u201c{1}\u201d\u7684\u6a21\u5757
-no_sec_role_EXC_=IWAE0025E {0}\uff1aEAR \u6587\u4ef6\u90e8\u7f72\u63cf\u8ff0\u7b26\u4e0d\u5305\u542b\u540d\u4e3a {1} \u7684\u5b89\u5168\u89d2\u8272
-dup_sec_role_EXC_=IWAE0026E {0}\uff1aEAR \u6587\u4ef6\u90e8\u7f72\u63cf\u8ff0\u7b26\u5df2\u7ecf\u5305\u542b\u540d\u4e3a {1} \u7684\u5b89\u5168\u89d2\u8272
-dup_sec_role_module_EXC_=IWAE0027E {0} \u7684\u90e8\u7f72\u63cf\u8ff0\u7b26\u5df2\u7ecf\u5305\u542b\u540d\u4e3a {1} \u7684\u5b89\u5168\u89d2\u8272
-dup_resource_EXC_=IWAE0028E \u540d\u4e3a\u201c{0}\u201d\u7684\u8d44\u6e90\u5728\u5f52\u6863\u201c{1}\u201d\u4e2d\u5df2\u7ecf\u5b58\u5728
-error_saving_EXC_=IWAE0030E \u4fdd\u5b58 {0} \u65f6\u51fa\u9519
-add_copy_class_dir_EXC_=IWAE0031E \u65b9\u6cd5\u201caddCopyClass\u201d\u5bf9\u4e8e\u76ee\u5f55\u4e0d\u53d7\u652f\u6301\u3002URI\uff1a{0}
-add_copy_lib_dir_EXC_=IWAE0032E \u65b9\u6cd5\u201caddCopyLib\u201d\u5bf9\u4e8e\u76ee\u5f55\u4e0d\u53d7\u652f\u6301\u3002URI\uff1a{0}
-list_components_war_EXC_=IWAE0033E \u5217\u793a WAR \u6587\u4ef6 {0} \u4e2d\u7684\u7ec4\u4ef6\u65f6\u53d1\u751f\u4e86\u5f02\u5e38
-open_nested_EXC_=IWAE0034E \u65e0\u6cd5\u6253\u5f00\u201c{1}\u201d\u4e2d\u7684\u5d4c\u5957\u5f52\u6863\u201c{0}\u201d
-make_temp_file_WARN_=IWAE0035W \u8b66\u544a\uff1a\u65e0\u6cd5\u4e3a {0} \u521b\u5efa\u4e34\u65f6\u6587\u4ef6\u3002\u8fd9\u5c06\u5f71\u54cd\u6027\u80fd\u3002
-file_not_found_EXC_=IWAE0036E URI \u540d\uff1a{0}\uff1b\u6587\u4ef6\u540d\uff1a{1}
-could_not_open_EXC_=IWAE0037E \u65e0\u6cd5\u6253\u5f00 {0}
-could_not_find_dir_EXC_=IWAE0038E \u65e0\u6cd5\u6253\u5f00\u76ee\u5f55 {0}
-not_a_dir_EXC_=IWAE0039E \u65e0\u6cd5\u6253\u5f00\u76ee\u5f55\uff0c\u539f\u56e0\u662f\u6587\u4ef6\u4e0d\u662f\u76ee\u5f55\uff1a{0}
-inferred_dds_EXC_=IWAE0040E \u63a8\u65ad EJB JAR \u6587\u4ef6\u201c{0}\u201d\u4e3a\u7248\u672c 1.0\uff0c\u539f\u56e0\u662f\u6e05\u5355\u6ca1\u6709\u58f0\u660e\u4f01\u4e1a bean\uff0c\u4f46 JAR \u4e2d\u6709\u5e8f\u5217\u5316\u7684\u90e8\u7f72\u63cf\u8ff0\u7b26\u3002
-filename_exception_EXC_=IWAE0041E \u6587\u4ef6\u540d\uff1a{0}\uff1b\u5f02\u5e38\uff1a{1}
-no_dds_10_EXC_=IWAE0042E EJB 1.0 JAR \u6587\u4ef6 {0} \u4e2d\u6ca1\u6709\u90e8\u7f72\u63cf\u8ff0\u7b26
-manifest_dd_load_EXC_=IWAE0043E JAR \u6e05\u5355\u58f0\u660e\u4e86\u4e00\u4e2a\u4e0d\u80fd\u4e3a\u5176\u88c5\u5165\u90e8\u7f72\u63cf\u8ff0\u7b26\u6587\u4ef6\u7684\u4f01\u4e1a bean\uff1a{0}
-manifest_dd_find_EXC_=IWAE0044E JAR \u6e05\u5355\u58f0\u660e\u4e86\u4e00\u4e2a\u4e0d\u80fd\u4e3a\u5176\u627e\u5230\u90e8\u7f72\u63cf\u8ff0\u7b26\u6587\u4ef6\u7684\u4f01\u4e1a bean\uff1a{0}
-io_ex_reading_dd_EXC_=IWAE0045E \u8bfb\u53d6 {0} \u65f6\u53d1\u751f\u4e86 IO \u5f02\u5e38
-ser_not_dd_EXC_=IWAE0046E \u6587\u4ef6\u201c{0}\u201d\u4e2d\u7684\u5e8f\u5217\u5316\u5bf9\u8c61\u4e0d\u662f javax.ejb.deployment.DeploymentDescriptor \u7684\u5b9e\u4f8b
-reading_dd_EXC_=IWAE0047E \u8bfb\u53d6 {0} \u65f6\u53d1\u751f\u4e86\u5f02\u5e38
-missing_class_EXC_=IWAE0048E \u672a\u80fd\u53cd\u5e8f\u5217\u5316 {0}\uff0c\u539f\u56e0\u662f\u627e\u4e0d\u5230\u6240\u9700\u7684\u7c7b\u3002\u5f02\u5e38\uff1a{1}
-Converted=\u5df2\u8f6c\u6362
-Stack_trace_of_nested_exce_EXC_=IWAE0049E \u5d4c\u5957\u5f02\u5e38\u7684\u5806\u6808\u8ddf\u8e2a\uff1a
-IOException_occurred_while_EXC_=IWAE0050E \u590d\u5236\u6e05\u5355\u65f6\u53d1\u751f IO \u5f02\u5e38
-Extract_destination_is_the_EXC_=IWAE0051E \u62bd\u53d6\u76ee\u6807\u8def\u5f84\u4e0e\u6e90\u6587\u4ef6\u8def\u5f84\u76f8\u540c
-Parameter_should_not_be_nu_EXC_=IWAE0052E \u53c2\u6570\u4e0d\u5e94\u4e3a\u7a7a
-Archive_is_not_a_valid_EJB_EXC_=IWAE0055E \u5f52\u6863\u4e0d\u662f\u6709\u6548\u7684 EJB JAR \u6587\u4ef6\uff081.0\uff09\uff0c\u539f\u56e0\u662f\u4e0d\u7ba1\u5728\u6e05\u5355\u4e2d\u8fd8\u662f\u5728\u6269\u5c55\u540d\u4e3a\u201c.ser\u201d\u7684\u6761\u76ee\u4e2d\u90fd\u627e\u4e0d\u5230\u5e8f\u5217\u5316\u90e8\u7f72\u63cf\u8ff0\u7b26
-_The_following_files_could_EXC_=IWAE0056E \u672a\u80fd\u88c5\u5165\u4e0b\u5217\u6587\u4ef6\uff1a
-FixPrimKeyCommand_failed_-_EXC_=IWAE0057E FixPrimKeyCommand \u5931\u8d25 \uff0d \u5f02\u5e38\u5806\u6808\u8ddf\u8e2a\uff1a
-FixPrimKeyCommand_usage___=FixPrimKeyCommand \u7528\u6cd5\uff1a<sourceJarFilePath> [destinationPath]
-FixPrimKeyCommand_usage__s_EXC_=IWAE0058E FixPrimKeyCommand \u7528\u6cd5\uff1asourceJarFilePath \u5fc5\u987b\u6307\u5411\u6709\u6548\u7684 EJB JAR \u6587\u4ef6\u6216\u5df2\u89e3\u538b\u7f29\u7684 EJB JAR \u6587\u4ef6\u7684\u76ee\u5f55
-Repair_command_failed_-_ex_EXC_=IWAE0059E \u4fee\u590d\u547d\u4ee4\u5931\u8d25 \uff0d \u5f02\u5e38\u5806\u6808\u8ddf\u8e2a\uff1a
-Repairs_all_entries_in_the=\u4fee\u590d META-INF \u548c\uff0f\u6216 WEB-INF \u76ee\u5f55\u4e2d\u7684\u6240\u6709\u6761\u76ee\u4ee5\u4f7f\u5b83\u4eec\u90fd\u662f\u6b63\u786e\u7684
-RepairArchiveCommand_usage=RepairArchiveCommand \u7528\u6cd5\uff1a<sourceJarFilePath> <destinationPath>
-RepairArchiveCommand_usage1_ERROR_=IWAE0060E RepairArchiveCommand \u7528\u6cd5\uff1asourceJarFilePath \u5fc5\u987b\u6307\u5411\u6709\u6548\u7684\u5f52\u6863\u6216\u5df2\u89e3\u538b\u7f29\u5f52\u6863\u7684\u76ee\u5f55
-Application_Client_Jar_Fil=\u5e94\u7528\u7a0b\u5e8f\u5ba2\u6237\u673a JAR \u6587\u4ef6
-EAR_File=EAR \u6587\u4ef6
-EJB_Jar_File=EJB JAR \u6587\u4ef6
-RAR_File=RAR \u6587\u4ef6
-WAR_File=WAR \u6587\u4ef6
-Error_occurred_iterating_f_EXC_=IWAE0061E \u8fed\u4ee3\u6587\u4ef6\u65f6\u53d1\u751f\u4e86\u9519\u8bef
-End_of_list_reached_EXC_=IWAE0062E \u5230\u8fbe\u4e86\u5217\u8868\u7684\u672b\u5c3e
-Internal_Error__Iterator_o_EXC_=IWAE0063E \u5185\u90e8\u9519\u8bef\uff1a\u8fed\u4ee3\u5668\u4e0e\u538b\u7f29\u6761\u76ee\u4e0d\u540c\u6b65
-Error_iterating_the_archiv_EXC_=IWAE0064E \u8fed\u4ee3\u5f52\u6863\u65f6\u51fa\u9519
-Absolute_path_unknown_EXC_=IWAE0065E \u7edd\u5bf9\u8def\u5f84\u672a\u77e5
-Original_archive_is_not_a__EXC_=IWAE0066E \u539f\u59cb\u5f52\u6863\u4e0d\u662f\u76ee\u5f55
-Null_uri_EXC_=IWAE0067E \u7a7a\u7684 uri
-Module_file=\u6a21\u5757\u6587\u4ef6
-A_WAR_file=WAR \u6587\u4ef6
-An_EJB_JAR_file=EJB JAR \u6587\u4ef6
-An_Application_Client_JAR_file=\u5e94\u7528\u7a0b\u5e8f\u5ba2\u6237\u673a JAR \u6587\u4ef6
-A_RAR_file=RAR \u6587\u4ef6
-A_Application_file=\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6
-A_file_does_not_exist_for_module=\u5bf9\u4e8e\u5177\u6709 uri {0} \u7684\u6a21\u5757\u5143\u7d20\uff0c\u6587\u4ef6\u4e0d\u5b58\u5728
-File_not_correct_type=\u6839\u636e\u5e94\u7528\u7a0b\u5e8f\u90e8\u7f72\u63cf\u8ff0\u7b26\uff0cEAR \u6587\u4ef6 {1} \u4e2d\u7684\u6587\u4ef6 {0} \u7c7b\u578b\u4e0d\u6b63\u786e\u3002\u671f\u671b\u7684\u7c7b\u578b\uff1a{2}\uff1b
-Module_not_in_EAR=\u6a21\u5757\u4e0d\u5728 EAR {0} \u4e2d
-Module_file_does_not_exist_2=\u6a21\u5757\u5f15\u7528\u7684\u6a21\u5757\u6587\u4ef6\u4e0d\u5b58\u5728\u3002\u6a21\u5757 = {0}
-FileImpl._Error_0=\u4e0d\u5141\u8bb8\u9012\u5f52\u5305\u542b
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_zh_TW.properties b/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_zh_TW.properties
deleted file mode 100644
index 25dc5a517..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/commonarchive_zh_TW.properties
+++ /dev/null
@@ -1,94 +0,0 @@
-###############################################################################
-# Copyright (c) 2001, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-subclass_responsibilty_EXC_=IWAE0001E \u5fc5\u9808\u5728\u5b50\u985e\u5225\u4e2d\u5be6\u4f5c {0}
-key_class_reflection_ERROR_=IWAE0002E \u7121\u6cd5\u53cd\u6620\u985e\u5225 "{0}" \u4ee5\u4fbf\u5f9e\u5be6\u9ad4 "{2}" \u6bd4\u8f03\u4e3b\u9375\u6b04\u4f4d "{1}"
-key_field_reflection_ERROR_=IWAE0003E \u7121\u6cd5\u5f9e\u5be6\u9ad4 "{1}" \u53cd\u6620\u4e3b\u9375\u6b04\u4f4d "{0}" \u985e\u578b
-removing_key_field_INFO_=IWAE0004I \u5f9e\u5be6\u9ad4 "{1}" \u79fb\u9664\u7121\u6548\u7684\u4e3b\u9375\u6b04\u4f4d "{0}"
-repair_usage_ERROR_=IWAE0005E RepairArchiveCommand \u7528\u6cd5\uff1a\u7121\u6cd5\u5beb\u5165 destinationPath\uff1a{0}
-invalid_archive_EXC_=IWAE0006E \u4fdd\u5b58\u6a94\u662f\u7121\u6548\u7684 {0}\uff0c\u56e0\u70ba\u627e\u4e0d\u5230\u90e8\u7f72\u63cf\u8ff0\u5b50\uff08\u5340\u5206\u5927\u5c0f\u5beb\uff09\uff1a{1}
-load_resource_EXC_=IWAE0007E \u7121\u6cd5\u5c07\u8cc7\u6e90 "{0}" \u8f09\u5165\u4fdd\u5b58\u6a94 "{1}"
-nested_jar_EXC_=IWAE0008E \u5f9e {1} \u8b80\u53d6 {0} \u6642\u767c\u751f\u932f\u8aa4
-make_temp_dir_EXC_=IWAE0009E \u7121\u6cd5\u88fd\u4f5c\u66ab\u6642\u76ee\u9304\uff1a{0}
-invalid_classpath_WARN_=IWAE0010W \u985e\u5225\u8def\u5f91\u5143\u7d20 "{0}" \u4e0d\u662f\u76ee\u9304\u6216 Zip \u6a94
-invalid_cp_file_WARN_=IWAE0011W \u985e\u5225\u8def\u5f91\u5143\u7d20 "{0}" \u4e0d\u662f\u6307\u5411\u672c\u7aef\u6a94\u6848
-io_ex_loading_EXC_=IWAE0012E \u8f09\u5165 {0} \u6642\u767c\u751f IO \u7570\u5e38\u72c0\u6cc1
-tx_bean_mgd_WARN_=IWAE0013W EJB 1.0 \u532f\u5165\uff1a\u4e0d\u5c0d\u6620 {0} \u7684 TX_BEAN_MANAGED \u63a7\u5236\u63cf\u8ff0\u5b50
-error_saving_EXC_=IWAE0014E \u5132\u5b58 {0} \u6642\u767c\u751f\u932f\u8aa4
-io_ex_manifest_EXC_=IWAE0015E \u8b80\u53d6\u4fdd\u5b58\u6a94\u4e2d\u7684\u8655\u7406\u6642\u767c\u751f IOException\uff1a{0}
-io_ex_reopen_EXC_=IWAE0016E \u91cd\u65b0\u958b\u555f {0} \u6642\u767c\u751f IOException
-unable_replace_EXC_=IWAE0017E \u7121\u6cd5\u7f6e\u63db\u539f\u59cb\u4fdd\u5b58\u6a94\uff1a{0}
-duplicate_file_EXC_=IWAE0018E \u4fdd\u5b58\u6a94 {0} \u5df2\u5305\u542b\u540d\u7a31\u662f {1} \u7684\u6a94\u6848
-duplicate_entry_EXC_=IWAE0019E \u4fdd\u5b58\u6a94 {1} \u5df2\u5b58\u5728\u542b\u6709 uri {0} \u7684\u6a94\u6848\u6216\u8cc7\u6e90
-file_exist_as_dir_EXC_=IWAE0020E {0} \u6a94\u5b58\u5728\u800c\u4e14\u662f\u76ee\u9304
-uncontained_module_EXC_=IWAE0021E EAR \u6a94\u6c92\u6709\u5305\u542b\u6a21\u7d44 {0}
-dd_in_ear_load_EXC_=IWAE0022E \u5c07\u6a21\u7d44 "{0}" \u7684\u90e8\u7f72\u63cf\u8ff0\u5b50\u8f09\u5165 EAR \u6a94 "{1}" \u6642\u767c\u751f\u7570\u5e38\u72c0\u6cc1
-nested_open_fail_EXC_=IWAE0023E \u5728 EAR \u6a94 "{1}" \u4e2d\u7121\u6cd5\u958b\u555f\u6a21\u7d44\u6a94\u6848 "{0}"
-duplicate_module_EXC_=IWAE0024E EAR \u6a94 "{0}" \u7684\u90e8\u7f72\u63cf\u8ff0\u5b50\u5df2\u5305\u542b\u5177\u6709 uri "{1}" \u7684\u6a21\u7d44
-no_sec_role_EXC_=IWAE0025E {0}: EAR \u6a94\u90e8\u7f72\u63cf\u8ff0\u5b50\u4e0d\u542b\u5b89\u5168\u89d2\u8272 {1}
-dup_sec_role_EXC_=IWAE0026E {0}: EAR \u6a94\u90e8\u7f72\u63cf\u8ff0\u5b50\u5df2\u5305\u542b\u5b89\u5168\u89d2\u8272 {1}
-dup_sec_role_module_EXC_=IWAE0027E {0} \u7684\u90e8\u7f72\u63cf\u8ff0\u5b50\u5df2\u5305\u542b\u5b89\u5168\u89d2\u8272 {1}
-dup_resource_EXC_=IWAE0028E \u8cc7\u6e90 "{0}" \u5df2\u5b58\u5728\u65bc\u4fdd\u5b58\u6a94 "{1}" \u4e2d
-error_saving_EXC_=IWAE0030E \u5132\u5b58 {0} \u6642\u767c\u751f\u932f\u8aa4
-add_copy_class_dir_EXC_=IWAE0031E \u65b9\u6cd5 "addCopyClass" \u4e0d\u652f\u63f4\u76ee\u9304\u3002URI\uff1a{0}
-add_copy_lib_dir_EXC_=IWAE0032E \u65b9\u6cd5 "addCopyLib" \u4e0d\u652f\u63f4\u76ee\u9304\u3002URI\uff1a{0}
-list_components_war_EXC_=IWAE0033E \u5217\u51fa WAR \u6a94\u4e2d\u7684\u5143\u4ef6\u6642\u767c\u751f\u7570\u5e38\u72c0\u6cc1\uff1a{0}
-open_nested_EXC_=IWAE0034E \u7121\u6cd5\u958b\u555f "{1}" \u4e2d\u653e\u7f6e\u7684\u4fdd\u5b58\u6a94 "{0}"
-make_temp_file_WARN_=IWAE0035W \u8b66\u544a\uff1a\u7121\u6cd5\u5efa\u7acb {0} \u7684\u66ab\u5b58\u6a94\u3002\u9019\u6a23\u6703\u5f71\u97ff\u6548\u80fd\u3002
-file_not_found_EXC_=IWAE0036E URI \u540d\u7a31\uff1a{0}\uff1b\u6a94\u540d\uff1a{1}
-could_not_open_EXC_=IWAE0037E \u7121\u6cd5\u958b\u555f {0}
-could_not_find_dir_EXC_=IWAE0038E \u7121\u6cd5\u958b\u555f\u76ee\u9304 {0}
-not_a_dir_EXC_=IWAE0039E \u7121\u6cd5\u958b\u555f\u76ee\u9304\uff0c\u56e0\u70ba\u6a94\u6848\u4e0d\u662f\u76ee\u9304\uff1a{0}
-inferred_dds_EXC_=IWAE0040E \u63a8\u65b7 EJB JAR \u6a94 "{0}" \u662f\u7248\u672c 1.0\uff0c\u56e0\u70ba Manifest \u6c92\u6709\u5ba3\u544a Enterprise Bean\uff0c\u4f46\u662f\u5e8f\u5217\u5316\u7684\u90e8\u7f72\u63cf\u8ff0\u5b50\u5b58\u5728\u65bc JAR\u3002
-filename_exception_EXC_=IWAE0041E \u6a94\u540d\u7a31\uff1a{0}\uff1b\u7570\u5e38\u72c0\u6cc1\uff1a{1}
-no_dds_10_EXC_=IWAE0042E EJB 1.0 JAR \u6a94\u6c92\u6709\u90e8\u7f72\u63cf\u8ff0\u5b50\uff1a{0}
-manifest_dd_load_EXC_=IWAE0043E JAR \u8655\u7406\u5ba3\u544a\u7121\u6cd5\u8f09\u5165\u90e8\u7f72\u63cf\u8ff0\u5b50\u6a94\u7684 Enterprise Bean\uff1a{0}
-manifest_dd_find_EXC_=IWAE0044E JAR \u8655\u7406\u5ba3\u544a\u627e\u4e0d\u5230\u90e8\u7f72\u63cf\u8ff0\u5b50\u6a94\u7684 Enterprise Bean\uff1a{0}
-io_ex_reading_dd_EXC_=IWAE0045E \u8b80\u53d6 {0} \u6642\u767c\u751f IO \u7570\u5e38\u72c0\u6cc1
-ser_not_dd_EXC_=IWAE0046E \u6a94 "{0}" \u4e2d\u7684\u5e8f\u5217\u5316\u7269\u4ef6\u4e0d\u662f javax.ejb.deployment.DeploymentDescriptor \u5be6\u4f8b
-reading_dd_EXC_=IWAE0047E \u8b80\u53d6 {0} \u6642\u767c\u751f\u7570\u5e38\u72c0\u6cc1
-missing_class_EXC_=IWAE0048E \u7121\u6cd5\u53d6\u6d88\u5e8f\u5217\u5316 {0}\uff0c\u56e0\u70ba\u627e\u4e0d\u5230\u5fc5\u8981\u7684\u985e\u5225\u3002\u7570\u5e38\u72c0\u6cc1\uff1a{1}
-Converted=\u8f49\u63db
-Stack_trace_of_nested_exce_EXC_=IWAE0049E \u5de2\u72c0\u7570\u5e38\u72c0\u6cc1\u7684\u5806\u758a\u8ffd\u8e64\uff1a
-IOException_occurred_while_EXC_=IWAE0050E \u8907\u88fd\u8655\u7406\u6642\u767c\u751f IOException
-Extract_destination_is_the_EXC_=IWAE0051E \u53d6\u51fa\u76ee\u7684\u5730\u662f\u8207\u7a0b\u5f0f\u6a94\u76f8\u540c\u7684\u8def\u5f91
-Parameter_should_not_be_nu_EXC_=IWAE0052E \u53c3\u6578\u4e0d\u53ef\u4ee5\u662f\u7a7a\u503c
-Archive_is_not_a_valid_EJB_EXC_=IWAE0055E \u4fdd\u5b58\u6a94\u4e0d\u662f\u6709\u6548\u7684 EJB JAR \u6a94 (1.0)\uff0c\u56e0\u70ba\u5728 manifest \u6216\u542b\u6709 ".ser" \u526f\u6a94\u540d\u7684\u9805\u76ee\u4e2d\u627e\u4e0d\u5230\u5e8f\u5217\u5316\u7684\u90e8\u7f72\u63cf\u8ff0\u5b50
-_The_following_files_could_EXC_=IWAE0056E \u7121\u6cd5\u8f09\u5165\u4e0b\u5217\u6a94\u6848\uff1a
-FixPrimKeyCommand_failed_-_EXC_=IWAE0057E FixPrimKeyCommand \u5931\u6557 - \u7570\u5e38\u72c0\u6cc1\u5806\u758a\u8ffd\u8e64\uff1a
-FixPrimKeyCommand_usage___=FixPrimKeyCommand \u7528\u6cd5\uff1a<sourceJarFilePath> [destinationPath]
-FixPrimKeyCommand_usage__s_EXC_=IWAE0058E FixPrimKeyCommand \u7528\u6cd5\uff1asourceJarFilePath \u5fc5\u9808\u6307\u5411\u6709\u6548\u7684 EJB JAR \u6a94\u6216 inflated EJB JAR \u6a94\u7684\u76ee\u9304
-Repair_command_failed_-_ex_EXC_=IWAE0059E Repair \u6307\u4ee4\u5931\u6557 - \u7570\u5e38\u72c0\u6cc1\u5806\u758a\u8ffd\u8e64\uff1a
-Repairs_all_entries_in_the=\u4fee\u6b63 META-INF \u53ca/\u6216 WEB-INF \u76ee\u9304\u4e2d\u7684\u5168\u90e8\u9805\u76ee\u6210\u70ba\u6b63\u78ba\u5927\u5c0f\u5beb
-RepairArchiveCommand_usage=RepairArchiveCommand \u7528\u6cd5\uff1a<sourceJarFilePath> <destinationPath>
-RepairArchiveCommand_usage1_ERROR_=IWAE0060E RepairArchiveCommand \u7528\u6cd5\uff1asourceJarFilePath \u5fc5\u9808\u6307\u5411\u6709\u6548\u7684\u4fdd\u5b58\u6a94\u6216 inflated \u4fdd\u5b58\u6a94\u7684\u76ee\u9304
-Application_Client_Jar_Fil=\u61c9\u7528\u7a0b\u5f0f\u7528\u6236\u7aef JAR \u6a94
-EAR_File=EAR \u6a94
-EJB_Jar_File=EJB JAR \u6a94
-RAR_File=RAR \u6a94
-WAR_File=WAR \u6a94
-Error_occurred_iterating_f_EXC_=IWAE0061E \u758a\u4ee3\u6a94\u6848\u6642\u767c\u751f\u932f\u8aa4
-End_of_list_reached_EXC_=IWAE0062E \u5230\u9054\u6e05\u55ae\u7d50\u5c3e
-Internal_Error__Iterator_o_EXC_=IWAE0063E \u5167\u90e8\u932f\u8aa4\uff1a\u758a\u4ee3\u8207 zip \u9805\u76ee\u4e0d\u540c\u6b65
-Error_iterating_the_archiv_EXC_=IWAE0064E \u758a\u4ee3\u4fdd\u5b58\u6a94\u6642\u767c\u751f\u932f\u8aa4
-Absolute_path_unknown_EXC_=IWAE0065E \u7d55\u5c0d\u8def\u5f91\u4e0d\u660e
-Original_archive_is_not_a__EXC_=IWAE0066E \u539f\u59cb\u4fdd\u5b58\u6a94\u4e0d\u662f\u76ee\u9304
-Null_uri_EXC_=IWAE0067E \u7a7a\u503c uri
-Module_file=\u6a21\u7d44\u6a94
-A_WAR_file=WAR \u6a94
-An_EJB_JAR_file=EJB JAR \u6a94
-An_Application_Client_JAR_file=\u61c9\u7528\u7a0b\u5f0f\u7528\u6236\u7aef JAR \u6a94
-A_RAR_file=RAR \u6a94
-A_Application_file=\u61c9\u7528\u7a0b\u5f0f\u6a94\u6848
-A_file_does_not_exist_for_module=\u5177\u6709\u4e0b\u5217 URI \u4e4b\u6a21\u7d44\u5143\u7d20\u7684\u6a94\u6848\u4e0d\u5b58\u5728\uff1a{0}
-File_not_correct_type=EAR \u6a94 {1} \u4e2d\u7684 {0} \u6a94\u4e0d\u662f\u4ee5\u61c9\u7528\u7a0b\u5f0f\u90e8\u7f72\u63cf\u8ff0\u5b50\u70ba\u57fa\u790e\u7684\u6b63\u78ba\u985e\u578b\u3002\u9810\u671f\u7684\u985e\u578b\uff1a{2}";
-Module_not_in_EAR=\u6a21\u7d44\u4e0d\u5728 EAR \u4e2d\uff1a{0}
-Module_file_does_not_exist_2=\u6c92\u6709\u6a21\u7d44\u53c3\u7167\u7684\u6a21\u7d44\u6a94\u3002\u6a21\u7d44 = {0}
-FileImpl._Error_0=\u4e0d\u5141\u8a31\u4e0b\u5217\u7684\u905e\u8ff4\u5305\u542b
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ApplicationClientFile.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ApplicationClientFile.java
deleted file mode 100644
index 73b84984b..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ApplicationClientFile.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import org.eclipse.jst.j2ee.client.ApplicationClient;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException;
-
-
-/**
- * @generated
- */
-public interface ApplicationClientFile extends ModuleFile {
-
- /**
- * @throws DeploymentDescriptorLoadException -
- * is a runtime exception, because we can't override the signature of the generated
- * methods
- */
-
-
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The DeploymentDescriptor reference
- */
- ApplicationClient getDeploymentDescriptor() throws DeploymentDescriptorLoadException;
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l
- * The new value of the DeploymentDescriptor reference
- */
- void setDeploymentDescriptor(ApplicationClient value);
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/Archive.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/Archive.java
deleted file mode 100644
index 46694dd67..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/Archive.java
+++ /dev/null
@@ -1,468 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Collection;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ReopenException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveManifest;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.FileIterator;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.RuntimeClasspathEntry;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.SaveFilter;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.looseconfig.LooseArchive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategy;
-
-
-/**
- * @generated
- */
-public interface Archive extends Container {
-
- public static final int EXPAND_NONE = 0;
- public static final int EXPAND_WAR_FILES = 1 << 1;
- public static final int EXPAND_EAR_FILES = 1 << 2;
- public static final int EXPAND_EJBJAR_FILES = 1 << 3;
- public static final int EXPAND_APPCLIENT_FILES = 1 << 4;
- public static final int EXPAND_ARCHIVES = 1 << 5;
- public static final int EXPAND_RAR_FILES = 1 << 6;
- public static final int EXPAND_ALL = (1 << 1) | (1 << 2) | (1 << 3) | (1 << 4) | (1 << 5) | (1 << 6);
-
- public Archive addCopy(Archive anArchive) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-
- public File addCopy(File aFile) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-
- /**
- * Get a flattened list from the directory, then addCopy the list
- *
- * @throws com.ibm.etools.archive.exception.DuplicateObjectException
- * if a file with a uri that equals one of the nested files in the directory exists
- *
- * @return java.util.List the copied files that were added to the archive
- */
- public List addCopy(ReadOnlyDirectory dir) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-
- public List addCopyFiles(List listOfFiles) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-
- public void addOrReplaceMofResource(Resource aResource);
-
- /**
- * @deprecated Use {@link #getDependentOpenArchives()}
- *
- * If any opened archive contains files that have this archive as its loading container, return
- * false; otherwise return true. This method supports the following scenario: open jar A. create
- * jar B. Copy files from A to B. Attempt to close jar A before saving jar B. Then attempt to
- * save B, and the save fails because A is closed. This method allows client code to test for
- * dependent open archives before saving the source archive. If this method returns false, the
- * solution is to either close or save B before closing A.
- */
- public boolean canClose();
-
- /**
- * Closes the load strategy for this archive and closes all contained archives; WARNING: If
- * files have been copied from this archive to another archive, then the destination archive
- * should be saved or closed before this archive can be safely closed; to test if this archive
- * can safely close invoke {@link #canClose()}
- */
- public void close();
-
- /**
- * Save this archive as an expanded directory where the flags is the result of bitwise or of the
- * specified types to be expanded; example:
- * <code>anEarFile.saveAsDirectory(anEarFile.EXPAND_WAR_FILES | anEarFile.EXPAND_EJBJARFILES)</code>;
- *
- * If this archive was loaded from the same uri as it is being extracted to, the orignal will be
- * deleted and replaced with the directory
- *
- * @throws SaveFailureException
- * if an exception occurs while saving
- *
- * @throws ReopenException
- * if an exception occurs while re-syncing the archive to the newly saved
- * destination
- */
- public void extract(int expansionFlags) throws SaveFailureException, ReopenException;
-
- /**
- * For performance, save the archive without reopening; Further operations on this instance
- * without first calling {@link #reopen}will yield unexpected results.
- *
- * @see #extract(int)
- */
- public void extractNoReopen(int expansionFlags) throws SaveFailureException;
-
- /**
- * Save this archive as a directory using the specified uri
- *
- * The archive will not be renamed
- *
- * @throws SaveFailureException
- * if an exception occurs while saving
- *
- * @see #extract(int)
- */
- public void extractTo(String uri, int expansionFlags) throws SaveFailureException;
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return java.lang.ClassLoader
- */
- public java.lang.ClassLoader getArchiveClassLoader();
-
- /**
- * Return a list of files in the ARchive that start with the prefix
- */
- public java.util.List filterFilesByPrefix(String prefix);
-
- /**
- * Return a list of files in the Archive excluding any file that starts with one of the prefixes
- */
- public java.util.List filterFilesWithoutPrefix(String[] prefixes);
-
- /**
- * Returns a filtered list of archive files; adds will not be reflected; use
- *
- * @link Archive#add(File)
- */
- public List getArchiveFiles();
-
- public ResourceSet getResourceSet();
-
- /**
- * Return a list of all root level (non-nested) opened archives containing files that have this
- * archive as its loading container; the set will be empty if no such opened archive exists.
- * This method supports the following scenario: open jar A. create jar B. Copy files from A to
- * B. Attempt to close jar A before saving jar B. Then attempt to save B, and the save fails
- * because A is closed. This method allows client code to test for dependent open archives
- * before saving the source archive. If the return value is not empty, the solution is to either
- * close or save B before closing A.
- */
- public Set getDependentOpenArchives();
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return java.lang.String
- */
- public java.lang.String getExtraClasspath();
-
- /**
- * Used internally by the framework, specifically as an optimization when saving/exploding
- * archives with nested archives
- */
- public FileIterator getFilesForSave() throws IOException;
-
- public Collection getLoadedMofResources();
-
- public ArchiveManifest getManifest();
-
- public Resource getMofResource(String uri) throws FileNotFoundException, ResourceLoadException;
-
- public org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions getOptions();
-
- /**
- * @see LoadStrategy#getResourceInputStream(String)
- */
- public InputStream getResourceInputStream(String uri) throws IOException;
-
- /**
- * Used for websphere runtime where archives are on disk (not nested in jars)
- *
- * @return list of absolute paths that represents this archive only, and in the case of
- * WARFiles, the nested loadable contents.
- */
- public RuntimeClasspathEntry[] getLocalRuntimeClassPath();
-
- /**
- * Used for websphere runtime where archives are on disk (not nested in jars) to get the
- * recursive behavior, the Archive must belong to an EAR file
- *
- * @return list of absolute paths that represents this archive, all it's prereqs, recursive.
- */
- public RuntimeClasspathEntry[] getFullRuntimeClassPath();
-
- /**
- * Used for websphere runtime where archives are on disk (not nested in jars) to get the
- * recursive behavior, the Archive must belong to an EAR file
- *
- * @return list of absolute paths that represents the dependencies of this Archive, all it's
- * prereqs, recursive.
- */
- public RuntimeClasspathEntry[] getDependencyClassPath();
-
- /**
- * Return the absolute path of the root from which meta resources get loaded
- */
- public String getResourcesPath() throws FileNotFoundException;
-
- /**
- * Return the absolute path of the root from which classes and properties are loaded
- */
- public String getBinariesPath() throws FileNotFoundException;
-
- /**
- * Optional filter for saving a subset of files; filter will be applied for all save and extract
- * invokations
- */
- public SaveFilter getSaveFilter();
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return com.ibm.etools.archive.SaveStrategy
- */
- public org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategy getSaveStrategy();
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return java.lang.String
- */
- public java.lang.String getXmlEncoding();
-
- /**
- * Return whether this Archive has
- *
- * @other on it's classpath, either directly or transitively
- * @param Archive
- * other - another archive in the same EAR file
- */
- public boolean hasClasspathVisibilityTo(Archive other);
-
- /**
- * Internal API; Used for implementation of {@link #hasClasspathVisibilityTo(Archive)}
- *
- * @param Archive
- * other - another archive in the same EAR file
- * @param Set
- * visited - the set of archives already visited
- */
- public boolean hasClasspathVisibilityTo(Archive other, Set visited, EARFile ear);
-
- /**
- * Perform any necessary initialization after the archive has been opened.
- */
- public void initializeAfterOpen();
-
- /**
- * Used internally by the load strategy
- */
- public void initializeClassLoader();
-
- /**
- * An item is considered a duplicate if the archive contains a file or loaded mof resource with
- * the uri, or if the uri is equal to the manifest uri
- */
- public boolean isDuplicate(String uri);
-
- /**
- * Used as an optimization at copy time
- */
- public boolean isManifestSet();
-
- public boolean isMofResourceLoaded(String uri);
-
- /**
- * Used internally for dispatch between the archive and the load strategy when building the file
- * list; clients should not need to call this method.
- */
- public boolean isNestedArchive(String uri);
-
- /**
- * Indicates whether the archive is still opened for read; if not, IOExceptions could be thrown
- * on attempts to get input streams on file entries. reopen() will cause this archive and its
- * nested archives to rebuild their load strategies
- */
- public boolean isOpen();
-
- /**
- * Create a new mof resource and add it to the resource set of the context of this archive; all
- * resources in memory are saved when the archive is saved
- *
- * @throws DuplicateObjectException
- * if a resource already exists in this archive having the uri
- */
- public Resource makeMofResource(String uri) throws DuplicateObjectException;
-
- /**
- * Create a new mof resource and add it to the resource set of the context of this archive; all
- * resources in memory are saved when the archive is saved
- *
- * @throws DuplicateObjectException
- * if a resource already exists in this archive having the uri
- */
- public Resource makeMofResource(String uri, EList extent) throws DuplicateObjectException;
-
- /**
- * Used internally for dispatch between the archive and the load strategy when building the file
- * list; clients should not need to call this method.
- */
- public Archive openNestedArchive(String uri) throws OpenFailureException;
-
- /**
- * Used internally for dispatch between the archive and the load strategy when building the file
- * list; clients should not need to call this method.
- */
- public Archive openNestedArchive(LooseArchive loose) throws OpenFailureException;
-
- /**
- * Set the value of the extra class path with no refresh of the class loader
- */
- public void primSetExtraClasspath(java.lang.String newExtraClasspath);
-
- public void remove(File aFile);
-
- /**
- * Used internally for "re-syncing" an archive after save; clients normally should not need this
- * method
- */
- public void reopen() throws ReopenException;
-
- /**
- * Used internally for reopening nested archives; clients normally should not need this method
- */
- public void reopen(Archive parent) throws ReopenException;
-
- /**
- * Save this archive as a jar file with the uri of the archive;
- *
- * @throws SaveFailureException
- * if an exception occurs while saving
- *
- * @throws ReopenException
- * if an exception occurs while re-syncing the archive to the newly saved
- * destination
- */
- public void save() throws SaveFailureException, ReopenException;
-
- /**
- * Save this archive using the save strategy specified
- *
- * @throws SaveFailureException
- * if an exception occurs while saving
- */
- public void save(SaveStrategy aStrategy) throws SaveFailureException;
-
- /**
- * Save this archive as a jar file using uri provided; If the uri is different than the URI of
- * this archive, the uri of this archive will change to the new uri (for reopen)
- *
- * @throws SaveFailureException
- * if an exception occurs while saving
- *
- * @throws ReopenException
- * if an exception occurs while re-syncing the archive to the newly saved
- * destination
- */
- public void saveAs(String uri) throws SaveFailureException, ReopenException;
-
- /**
- * For performance, save the archive without reopening; Further operations on this instance
- * without first calling {@link #reopen}will yield unexpected results.
- *
- * @see #saveAs(String)
- */
- public void saveAsNoReopen(String uri) throws SaveFailureException;
-
- /**
- * For performance, save the archive without reopening; Further operations on this instance
- * without first calling {@link #reopen}will yield unexpected results.
- *
- * @see #save()
- */
- public void saveNoReopen() throws SaveFailureException;
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newArchiveClassLoader
- * java.lang.ClassLoader
- */
- public void setArchiveClassLoader(java.lang.ClassLoader newArchiveClassLoader);
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newExtraClasspath
- * java.lang.String
- */
- public void setExtraClasspath(java.lang.String newExtraClasspath);
-
- public void setManifest(ArchiveManifest newManifest);
-
- public void setManifest(java.util.jar.Manifest aManifest);
-
- /**
- * Sets the Class-path manifest entry, rebuilds the class loader, and refreshes any reflected
- * java classes
- */
- public void setManifestClassPathAndRefresh(String classpath);
-
- public void setOptions(org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions newOptions);
-
- /**
- * Optional filter for saving a subset of files; filter will be applied for all save and extract
- * invokations
- */
- public void setSaveFilter(SaveFilter aFilter);
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newSaveStrategy
- * com.ibm.etools.archive.SaveStrategy
- */
- public void setSaveStrategy(org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategy newSaveStrategy);
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newXmlEncoding
- * java.lang.String
- */
- public void setXmlEncoding(java.lang.String newXmlEncoding);
-
- /**
- * Determine whether java reflection should be set up for this archive
- */
- public boolean shouldUseJavaReflection();
-
- /**
- * Returns the value of the '<em><b>Types</b></em>' attribute list. The list contents are
- * of type {@link java.lang.String}. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Types</em>' attribute list isn't clear, there really should be
- * more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Types</em>' attribute list.
- * @see org.eclipse.jst.j2ee.internal.commonarchivecore.CommonarchivePackage#getArchive_Types()
- * @model type="java.lang.String"
- * @generated
- */
- EList getTypes();
-
- boolean isType(String type);
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ArchiveTypeDiscriminatorRegistry.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ArchiveTypeDiscriminatorRegistry.java
deleted file mode 100644
index d0a763084..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ArchiveTypeDiscriminatorRegistry.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-
-
-
-/**
- * @author mdelder
- */
-public class ArchiveTypeDiscriminatorRegistry {
-
- private Collection discriminators = null;
- private Collection customTypes = null;
-
- /*
- * Most known types are of length 3. Whenver a new type is added that is not of length 3,
- * modifications may be necessary to the 'isKnownArchiveType() method
- */
- private static final String[] defaultKnownTypes = new String[]{"ear", "war", "jar", "zip", "far"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
-
-
- public static final ArchiveTypeDiscriminatorRegistry INSTANCE = new ArchiveTypeDiscriminatorRegistry();
-
- public static void registorDiscriminator(GenericArchiveTypeDiscriminator discriminator) {
- INSTANCE.getDiscriminators().add(discriminator);
- INSTANCE.addKnownArchiveTypes(discriminator.getCustomFileExtensions());
- }
-
- public static ArchiveTypeDiscriminatorRegistry getInstance() {
- return INSTANCE;
- }
-
- /**
- * @return
- */
- public Collection getDiscriminators() {
- if (discriminators == null)
- discriminators = new ArrayList();
- return discriminators;
- }
-
- public void contributeTypes(Archive archive) {
- if (discriminators == null)
- return;
- GenericArchiveTypeDiscriminator discriminator = null;
- for (Iterator itr = discriminators.iterator(); itr.hasNext();) {
- discriminator = (GenericArchiveTypeDiscriminator) itr.next();
- if (discriminator.discriminate(archive))
- archive.getTypes().add(discriminator.getTypeKey());
- }
- }
-
- public void addKnownArchiveTypes(String[] newTypes) {
- if (customTypes == null) {
- customTypes = new ArrayList();
- }
- for (int i = 0; i < newTypes.length; i++) {
- customTypes.add(newTypes[i]);
- }
- }
-
- public boolean isKnownArchiveType(String fileURI) {
- if (fileURI == null || fileURI.length() == 0)
- return false;
-
- String lowerCaseUri = fileURI.toLowerCase();
- /*
- * Ensure that the length of the URI is long enough to contain a .3 style extension
- */
- if (lowerCaseUri.length() > 4 && lowerCaseUri.charAt(lowerCaseUri.length() - 4) == '.') {
- String ending = lowerCaseUri.substring(lowerCaseUri.length() - 3);
- for (int i = 0; i < defaultKnownTypes.length; i++)
- if (defaultKnownTypes[i].equals(ending))
- return true;
- }
-
- String customType = null;
- if (customTypes != null) {
- Iterator customTypesIterator = customTypes.iterator();
- while (customTypesIterator.hasNext()) {
- customType = (String) customTypesIterator.next();
- if (fileURI.endsWith(customType))
- return true;
- }
- }
-
- return false;
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ClientModuleRef.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ClientModuleRef.java
deleted file mode 100644
index 9e48b06ec..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ClientModuleRef.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-import org.eclipse.jst.j2ee.client.ApplicationClient;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveWrappedException;
-
-
-
-
-public interface ClientModuleRef extends ModuleRef {
- ApplicationClient getApplicationClient() throws ArchiveWrappedException;
-} //ClientModuleRef
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonArchiveFactoryRegistry.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonArchiveFactoryRegistry.java
deleted file mode 100644
index 153081021..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonArchiveFactoryRegistry.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Aug 7, 2003
- *
- * To change the template for this generated file go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl;
-
-
-/**
- * @author jlanuti
- *
- * To change the template for this generated type comment go to Window>Preferences>Java>Code
- * Generation>Code and Comments
- */
-public class CommonArchiveFactoryRegistry {
-
- public static CommonArchiveFactoryRegistry INSTANCE = new CommonArchiveFactoryRegistry();
-
- protected CommonarchiveFactory commonArchiveFactory = ((CommonarchiveFactoryImpl) CommonarchivePackage.eINSTANCE.getCommonarchiveFactory()).getDelegate();
-
- /**
- * Constructor
- */
- public CommonArchiveFactoryRegistry() {
- super();
- }
-
- public CommonarchiveFactory getCommonArchiveFactory() {
- return commonArchiveFactory;
- }
-
- public void setCommonArchiveFactory(CommonarchiveFactory factory) {
- commonArchiveFactory = factory;
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonArchiveResourceHandler.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonArchiveResourceHandler.java
deleted file mode 100644
index 06357a86d..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonArchiveResourceHandler.java
+++ /dev/null
@@ -1,62 +0,0 @@
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-/*
- * Licensed Material - Property of IBM
- * (C) Copyright IBM Corp. 2001, 2002 - All Rights Reserved.
- * US Government Users Restricted Rights - Use, duplication or disclosure
- * restricted by GSA ADP Schedule Contract with IBM Corp.
- */
-
-/*
- * Licensed Materials - Property of IBM,
- * WebSphere Studio Workbench
- * (c) Copyright IBM Corp 2001
- */
-
-import java.text.MessageFormat;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-public class CommonArchiveResourceHandler {
-
- private static ResourceBundle fgResourceBundle;
-
- /**
- * Returns the resource bundle used by all classes in this Project
- */
- public static ResourceBundle getResourceBundle() {
- try {
- return ResourceBundle.getBundle("commonarchive");//$NON-NLS-1$
- } catch (MissingResourceException e) {
- // does nothing - this method will return null and
- // getString(String, String) will return the key
- // it was called with
- }
- return null;
- }
-
- public static String getString(String key) {
- if (fgResourceBundle == null) {
- fgResourceBundle = getResourceBundle();
- }
-
- if (fgResourceBundle != null) {
- try {
- return fgResourceBundle.getString(key);
- } catch (MissingResourceException e) {
- return "!" + key + "!";//$NON-NLS-2$//$NON-NLS-1$
- }
- }
- return "!" + key + "!";//$NON-NLS-2$//$NON-NLS-1$
- }
-
- public static String getString(String key, Object[] args) {
-
- try {
- return MessageFormat.format(getString(key), args);
- } catch (IllegalArgumentException e) {
- return getString(key);
- }
-
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonarchiveFactory.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonarchiveFactory.java
deleted file mode 100644
index 3b80abbd3..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonarchiveFactory.java
+++ /dev/null
@@ -1,445 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.util.Set;
-
-import org.eclipse.emf.ecore.EFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.looseconfig.LooseArchive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy;
-
-
-/**
- * @generated
- */
-public interface CommonarchiveFactory extends EFactory {
-
- /**
- * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- CommonarchiveFactory eINSTANCE = new org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl();
-
- /**
- * Tell the factory that an archive has been opened; the factory maintains a weak set of all the
- * open archives to determine if another archive can be closed.
- */
- public void archiveClosed(Archive aClosedArchive);
-
- /**
- * Tell the factory that an archive has been opened; the factory maintains a weak set of all the
- * open archives to determine if another archive can be closed.
- */
- public void archiveOpened(Archive anOpenArchive);
-
- /**
- * @deprecated Use {@link #getOpenArchivesDependingOn(Archive)}
- *
- * If any opened archive contains files that have the parameter as its loading container, return
- * false; otherwise return true. This method supports the following scenario: open jar A. create
- * jar B. Copy files from A to B. Attempt to close jar A before saving jar B. Then attempt to
- * save B, and the save fails because A is closed. This method allows client code to test for
- * dependent open archives before saving the source archive. If this method returns false, the
- * solution is to either close or save B before closing A.
- */
- public boolean canClose(Archive anArchive);
-
- /**
- * Close any open archives and delete the temp files associated with nested archives. Due to
- * limitations in the deleteOnExit() method of file, in 1.2.2 there is no way to ensure these
- * files get deleted. Client code should use good practice by calling {@link Archive#close}when
- * finished with an Archive instance, rather than just discard an instance with open file
- * handles and wait for it to be gc'd. Beyond that, program code compiled for 1.3 can (and
- * should) implement the following shutdown hook: <code>
- * Runtime.getRuntime().addShutdownHook(new Thread() {
- public void run() {
- ((CommonarchivePackage)EPackage.Registry.INSTANCE.getEPackage(CommonarchivePackage.eNS_URI)).getCommonarchiveFactory().closeOpenArchives();
- }
- });</code>
- */
- public void closeOpenArchives();
-
- public Archive copy(Archive anArchive);
-
- public ModuleFile copy(ModuleFile aModuleFile);
-
- /**
- * Creates a new archive for editing, and initializes it appropriately (adds an empty deployment
- * descriptor)
- */
- public ApplicationClientFile createApplicationClientFileInitialized(String uri);
-
- /**
- * Creates a new archive for editing, and initializes it appropriately
- */
- public Archive createArchiveInitialized(String uri);
-
- /**
- * Used internally; clients usually should not need this method
- */
- public LoadStrategy createChildLoadStrategy(String uri, LoadStrategy parent) throws java.io.IOException, java.io.FileNotFoundException;
-
- /**
- * Creates a new archive for editing, and initializes it appropriately (adds an empty deployment
- * descriptor)
- */
- public EARFile createEARFileInitialized(String uri);
-
- /**
- * Creates a new archive for editing, and initializes it appropriately (adds an empty deployment
- * descriptor)
- */
- public EJBJarFile createEJBJarFileInitialized(String uri);
-
- /**
- * Create an initialized archive based on the given URI and options
- */
- public Archive createArchiveInitialized(ArchiveOptions options, java.lang.String uri);
-
- /**
- * Create an initialized EAR based on the given URI and options
- */
- public EARFile createEARFileInitialized(ArchiveOptions options, java.lang.String uri);
-
- /**
- * Create an initialized EJB based on the given URI and options
- */
- public EJBJarFile createEJBJarFileInitialized(ArchiveOptions options, java.lang.String uri);
-
- /**
- * Initialize archive based on the options
- */
- public void initializeNewApplicationClientFile(ApplicationClientFile anArchive, String uri, ArchiveOptions options);
-
- /**
- * Initialize archive based on the options
- */
- public void initializeNewArchive(Archive anArchive, String uri, ArchiveOptions options);
-
- /**
- * Initialize archive based on the options
- */
- public void initializeNewEARFile(EARFile anArchive, String uri, ArchiveOptions options);
-
- /**
- * Initialized archive based on the options
- */
- public void initializeNewEJBJarFile(EJBJarFile anArchive, String uri, ArchiveOptions options);
-
- /**
- * Initialized archive based on the options
- */
- public void initializeNewModuleFile(ModuleFile anArchive, String uri, ArchiveOptions options);
-
- /**
- * Initialized archive based on the options
- */
- public void initializeNewRARFile(RARFile anArchive, String uri, ArchiveOptions options);
-
- /**
- * Initialized archive based on the options
- */
- public void initializeNewWARFile(WARFile anArchive, String uri, ArchiveOptions options);
-
- /**
- * Returns a NullLoadStrategyImpl; used for new archives
- */
- LoadStrategy createEmptyLoadStrategy();
-
- /**
- * Helper method to dynamically build a load strategy from the file system. Determines whether
- * the uri points to a jar file or directory and returns the appropriate strategy
- */
- public LoadStrategy createLoadStrategy(String uri) throws FileNotFoundException, IOException;
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public RARFile createRARFileInitialized(java.lang.String uri);
-
- /**
- * Creates a new archive for editing, and initializes it appropriately (adds an empty deployment
- * descriptor)
- */
- public WARFile createWARFileInitialized(String uri);
-
- /**
- * Helper method to introspect an archive and get it's class path entries before fully opening
- * the archive; needed because we may need extra classpath info to be able to open the 1.0 file
- * and deserialize its deployment descriptor
- *
- * @return a tokenized array of class path components
- */
- public String[] getManifestClassPathValues(String uri) throws OpenFailureException;
-
- /**
- * Return a list of all root level (non-nested) opened archives containing files that have the
- * parameter as its loading container; the set will be empty if no such opened archive exists.
- * This method supports the following scenario: open jar A. create jar B. Copy files from A to
- * B. Attempt to close jar A before saving jar B. Then attempt to save B, and the save fails
- * because A is closed. This method allows client code to test for dependent open archives
- * before saving the source archive. If the return value is not empty, the solution is to either
- * close or save B before closing A.
- */
- public Set getOpenArchivesDependingOn(Archive anArchive);
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public ApplicationClientFile openApplicationClientFile(ArchiveOptions options, String uri) throws OpenFailureException;
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public ApplicationClientFile openApplicationClientFile(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException;
-
- public ApplicationClientFile openApplicationClientFile(String uri) throws OpenFailureException;
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public Archive openArchive(ArchiveOptions options, String uri) throws OpenFailureException;
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public Archive openArchive(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException;
-
- /**
- * open the archive by the passed uri
- *
- * @return the appropriate kind of archive
- */
- public Archive openArchive(String uri) throws OpenFailureException;
-
- /**
- * open the archive by the passed uri, and use the extraClassPath for java reflection, in
- * addition to the manifest class-path; mostly used for ejb 1.0 jar files to be converted
- *
- * @return the appropriate kind of archive
- */
- public Archive openArchive(String uri, String extraClassPath) throws OpenFailureException;
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public EARFile openEARFile(ArchiveOptions options, String uri) throws OpenFailureException;
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public EARFile openEARFile(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException;
-
- public EARFile openEARFile(String uri) throws OpenFailureException;
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public EJBJarFile openEJB11JarFile(ArchiveOptions options, String uri) throws OpenFailureException;
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EJBJarFile openEJB11JarFile(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException;
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EJBJarFile openEJB11JarFile(String uri) throws OpenFailureException;
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public EJBJarFile openEJBJarFile(ArchiveOptions options, String uri) throws OpenFailureException;
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public EJBJarFile openEJBJarFile(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException;
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public EJBJarFile openEJBJarFile(LoadStrategy aLoadStrategy, String uri, String extraClassPath) throws OpenFailureException;
-
- public EJBJarFile openEJBJarFile(String uri) throws OpenFailureException;
-
- public EJBJarFile openEJBJarFile(String uri, String extraClassPath) throws OpenFailureException;
-
- /**
- * Used internally for openning an Archive in an Archive
- */
- public Archive openNestedArchive(String uri, Archive parent) throws OpenFailureException;
-
- /**
- * Used internally for openning an Archive in an Archive
- */
- public Archive openNestedArchive(LooseArchive loose, Archive parent) throws OpenFailureException;
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public RARFile openRARFile(ArchiveOptions options, java.lang.String uri) throws OpenFailureException;
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public RARFile openRARFile(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException;
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public RARFile openRARFile(String uri) throws OpenFailureException;
-
- public ReadOnlyDirectory openReadOnlyDirectory(String uri) throws java.io.IOException;
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public WARFile openWARFile(ArchiveOptions options, String uri) throws OpenFailureException;
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public WARFile openWARFile(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException;
-
- public WARFile openWARFile(String uri) throws OpenFailureException;
-
- /**
- * Open the archive by the passed parameter, without attempting to determine what kind of
- * archive it is
- *
- * @return an instance of Archive, but not a subclass
- */
- Archive primOpenArchive(String uri) throws OpenFailureException;
-
- Archive primOpenArchive(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException;
-
- Archive primOpenArchive(ArchiveOptions options, String uri) throws OpenFailureException;
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WARFile value
- */
- WARFile createWARFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return EJBJarFile value
- */
- EJBJarFile createEJBJarFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ApplicationClientFile value
- */
- ApplicationClientFile createApplicationClientFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return EARFile value
- */
- EARFile createEARFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return RARFile value
- */
- RARFile createRARFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return Archive value
- */
- Archive createArchive();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return File value
- */
- File createFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ReadOnlyDirectory value
- */
- ReadOnlyDirectory createReadOnlyDirectory();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- CommonarchivePackage getCommonarchivePackage();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return EJBModuleRef value
- */
- EJBModuleRef createEJBModuleRef();
-
- /**
- * Convienince method for wrapping a standalone EJB JAR file
- */
- EJBModuleRef createEJBModuleRef(EJBJarFile ejbJarFile);
-
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WebModuleRef value
- */
- WebModuleRef createWebModuleRef();
-
- /**
- * Convienince method for wrapping a standalone WAR file
- */
- WebModuleRef createWebModuleRef(WARFile warFile);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ClientModuleRef value
- */
- ClientModuleRef createClientModuleRef();
-
- /**
- * Convienince method for wrapping a standalone Application Client JAR file
- */
- ClientModuleRef createClientModuleRef(ApplicationClientFile clientFile);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ConnectorModuleRef value
- */
- ConnectorModuleRef createConnectorModuleRef();
-
- /**
- * Convienince method for wrapping a standalone RAR file
- */
- ConnectorModuleRef createConnectorModuleRef(RARFile rarFile);
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonarchivePackage.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonarchivePackage.java
deleted file mode 100644
index 83111e661..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/CommonarchivePackage.java
+++ /dev/null
@@ -1,1024 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-
-/**
- * @lastgen interface CommonarchivePackage extends EPackage {}
- */
-public interface CommonarchivePackage extends EPackage {
- /**
- * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "commonarchivecore"; //$NON-NLS-1$
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTAINER = 7;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WAR_FILE = 3;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MODULE_FILE = 6;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EAR_FILE = 4;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MODULE_REF = 10;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EJB_MODULE_REF = 11;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_MODULE_REF = 12;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CLIENT_MODULE_REF = 13;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONNECTOR_MODULE_REF = 14;
- /**
- * @generated This field/method will be replaced during code generation.
- */
-
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int APPLICATION_CLIENT_FILE = 5;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EJB_JAR_FILE = 2;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int RAR_FILE = 9;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ARCHIVE = 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILE = 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILE__URI = 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILE__LAST_MODIFIED = 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILE__SIZE = 2;
- /**
- * The feature id for the '<em><b>Directory Entry</b></em>' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FILE__DIRECTORY_ENTRY = 3;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILE__ORIGINAL_URI = 4;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILE__LOADING_CONTAINER = 5;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILE__CONTAINER = 6;
-
- /**
- * The number of structural features of the the '<em>File</em>' class. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FILE_FEATURE_COUNT = 7;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTAINER__URI = FILE__URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTAINER__LAST_MODIFIED = FILE__LAST_MODIFIED;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTAINER__SIZE = FILE__SIZE;
- /**
- * The feature id for the '<em><b>Directory Entry</b></em>' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONTAINER__DIRECTORY_ENTRY = FILE__DIRECTORY_ENTRY;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTAINER__ORIGINAL_URI = FILE__ORIGINAL_URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTAINER__LOADING_CONTAINER = FILE__LOADING_CONTAINER;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTAINER__CONTAINER = FILE__CONTAINER;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTAINER__FILES = FILE_FEATURE_COUNT + 0;
- /**
- * The number of structural features of the the '<em>Container</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONTAINER_FEATURE_COUNT = FILE_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ARCHIVE__URI = CONTAINER__URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ARCHIVE__LAST_MODIFIED = CONTAINER__LAST_MODIFIED;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ARCHIVE__SIZE = CONTAINER__SIZE;
- /**
- * The feature id for the '<em><b>Directory Entry</b></em>' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ARCHIVE__DIRECTORY_ENTRY = CONTAINER__DIRECTORY_ENTRY;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ARCHIVE__ORIGINAL_URI = CONTAINER__ORIGINAL_URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ARCHIVE__LOADING_CONTAINER = CONTAINER__LOADING_CONTAINER;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ARCHIVE__CONTAINER = CONTAINER__CONTAINER;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ARCHIVE__FILES = CONTAINER__FILES;
- /**
- * The feature id for the '<em><b>Types</b></em>' attribute list. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ARCHIVE__TYPES = CONTAINER_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>Archive</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ARCHIVE_FEATURE_COUNT = CONTAINER_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MODULE_FILE__URI = ARCHIVE__URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MODULE_FILE__LAST_MODIFIED = ARCHIVE__LAST_MODIFIED;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MODULE_FILE__SIZE = ARCHIVE__SIZE;
- /**
- * The feature id for the '<em><b>Directory Entry</b></em>' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODULE_FILE__DIRECTORY_ENTRY = ARCHIVE__DIRECTORY_ENTRY;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MODULE_FILE__ORIGINAL_URI = ARCHIVE__ORIGINAL_URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MODULE_FILE__LOADING_CONTAINER = ARCHIVE__LOADING_CONTAINER;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MODULE_FILE__CONTAINER = ARCHIVE__CONTAINER;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MODULE_FILE__FILES = ARCHIVE__FILES;
- /**
- * The feature id for the '<em><b>Types</b></em>' attribute list. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODULE_FILE__TYPES = ARCHIVE__TYPES;
-
- /**
- * The number of structural features of the the '<em>Module File</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODULE_FILE_FEATURE_COUNT = ARCHIVE_FEATURE_COUNT + 0;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EJB_JAR_FILE__URI = MODULE_FILE__URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EJB_JAR_FILE__LAST_MODIFIED = MODULE_FILE__LAST_MODIFIED;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EJB_JAR_FILE__SIZE = MODULE_FILE__SIZE;
- /**
- * The feature id for the '<em><b>Directory Entry</b></em>' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EJB_JAR_FILE__DIRECTORY_ENTRY = MODULE_FILE__DIRECTORY_ENTRY;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EJB_JAR_FILE__ORIGINAL_URI = MODULE_FILE__ORIGINAL_URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EJB_JAR_FILE__LOADING_CONTAINER = MODULE_FILE__LOADING_CONTAINER;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EJB_JAR_FILE__CONTAINER = MODULE_FILE__CONTAINER;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EJB_JAR_FILE__FILES = MODULE_FILE__FILES;
- /**
- * The feature id for the '<em><b>Types</b></em>' attribute list. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EJB_JAR_FILE__TYPES = MODULE_FILE__TYPES;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EJB_JAR_FILE__DEPLOYMENT_DESCRIPTOR = MODULE_FILE_FEATURE_COUNT + 0;
- /**
- * The number of structural features of the the '<em>EJB Jar File</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EJB_JAR_FILE_FEATURE_COUNT = MODULE_FILE_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WAR_FILE__URI = MODULE_FILE__URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WAR_FILE__LAST_MODIFIED = MODULE_FILE__LAST_MODIFIED;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WAR_FILE__SIZE = MODULE_FILE__SIZE;
- /**
- * The feature id for the '<em><b>Directory Entry</b></em>' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int WAR_FILE__DIRECTORY_ENTRY = MODULE_FILE__DIRECTORY_ENTRY;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WAR_FILE__ORIGINAL_URI = MODULE_FILE__ORIGINAL_URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WAR_FILE__LOADING_CONTAINER = MODULE_FILE__LOADING_CONTAINER;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WAR_FILE__CONTAINER = MODULE_FILE__CONTAINER;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WAR_FILE__FILES = MODULE_FILE__FILES;
- /**
- * The feature id for the '<em><b>Types</b></em>' attribute list. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int WAR_FILE__TYPES = MODULE_FILE__TYPES;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WAR_FILE__DEPLOYMENT_DESCRIPTOR = MODULE_FILE_FEATURE_COUNT + 0;
- /**
- * The number of structural features of the the '<em>WAR File</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int WAR_FILE_FEATURE_COUNT = MODULE_FILE_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EAR_FILE__URI = MODULE_FILE__URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EAR_FILE__LAST_MODIFIED = MODULE_FILE__LAST_MODIFIED;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EAR_FILE__SIZE = MODULE_FILE__SIZE;
- /**
- * The feature id for the '<em><b>Directory Entry</b></em>' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EAR_FILE__DIRECTORY_ENTRY = MODULE_FILE__DIRECTORY_ENTRY;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EAR_FILE__ORIGINAL_URI = MODULE_FILE__ORIGINAL_URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EAR_FILE__LOADING_CONTAINER = MODULE_FILE__LOADING_CONTAINER;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EAR_FILE__CONTAINER = MODULE_FILE__CONTAINER;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EAR_FILE__FILES = MODULE_FILE__FILES;
- /**
- * The feature id for the '<em><b>Types</b></em>' attribute list. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EAR_FILE__TYPES = MODULE_FILE__TYPES;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EAR_FILE__MODULE_REFS = MODULE_FILE_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EAR_FILE__DEPLOYMENT_DESCRIPTOR = MODULE_FILE_FEATURE_COUNT + 1;
- /**
- * The number of structural features of the the '<em>EAR File</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EAR_FILE_FEATURE_COUNT = MODULE_FILE_FEATURE_COUNT + 2;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int APPLICATION_CLIENT_FILE__URI = MODULE_FILE__URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int APPLICATION_CLIENT_FILE__LAST_MODIFIED = MODULE_FILE__LAST_MODIFIED;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int APPLICATION_CLIENT_FILE__SIZE = MODULE_FILE__SIZE;
- /**
- * The feature id for the '<em><b>Directory Entry</b></em>' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int APPLICATION_CLIENT_FILE__DIRECTORY_ENTRY = MODULE_FILE__DIRECTORY_ENTRY;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int APPLICATION_CLIENT_FILE__ORIGINAL_URI = MODULE_FILE__ORIGINAL_URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int APPLICATION_CLIENT_FILE__LOADING_CONTAINER = MODULE_FILE__LOADING_CONTAINER;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int APPLICATION_CLIENT_FILE__CONTAINER = MODULE_FILE__CONTAINER;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int APPLICATION_CLIENT_FILE__FILES = MODULE_FILE__FILES;
- /**
- * The feature id for the '<em><b>Types</b></em>' attribute list. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int APPLICATION_CLIENT_FILE__TYPES = MODULE_FILE__TYPES;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int APPLICATION_CLIENT_FILE__DEPLOYMENT_DESCRIPTOR = MODULE_FILE_FEATURE_COUNT + 0;
- /**
- * The number of structural features of the the '<em>Application Client File</em>' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int APPLICATION_CLIENT_FILE_FEATURE_COUNT = MODULE_FILE_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int READ_ONLY_DIRECTORY = 8;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int READ_ONLY_DIRECTORY__URI = CONTAINER__URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int READ_ONLY_DIRECTORY__LAST_MODIFIED = CONTAINER__LAST_MODIFIED;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int READ_ONLY_DIRECTORY__SIZE = CONTAINER__SIZE;
- /**
- * The feature id for the '<em><b>Directory Entry</b></em>' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int READ_ONLY_DIRECTORY__DIRECTORY_ENTRY = CONTAINER__DIRECTORY_ENTRY;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int READ_ONLY_DIRECTORY__ORIGINAL_URI = CONTAINER__ORIGINAL_URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int READ_ONLY_DIRECTORY__LOADING_CONTAINER = CONTAINER__LOADING_CONTAINER;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int READ_ONLY_DIRECTORY__CONTAINER = CONTAINER__CONTAINER;
-
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int READ_ONLY_DIRECTORY__FILES = CONTAINER__FILES;
- /**
- * The number of structural features of the the '<em>Read Only Directory</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int READ_ONLY_DIRECTORY_FEATURE_COUNT = CONTAINER_FEATURE_COUNT + 0;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int RAR_FILE__URI = MODULE_FILE__URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int RAR_FILE__LAST_MODIFIED = MODULE_FILE__LAST_MODIFIED;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int RAR_FILE__SIZE = MODULE_FILE__SIZE;
- /**
- * The feature id for the '<em><b>Directory Entry</b></em>' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int RAR_FILE__DIRECTORY_ENTRY = MODULE_FILE__DIRECTORY_ENTRY;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int RAR_FILE__ORIGINAL_URI = MODULE_FILE__ORIGINAL_URI;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int RAR_FILE__LOADING_CONTAINER = MODULE_FILE__LOADING_CONTAINER;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int RAR_FILE__CONTAINER = MODULE_FILE__CONTAINER;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int RAR_FILE__FILES = MODULE_FILE__FILES;
- /**
- * The feature id for the '<em><b>Types</b></em>' attribute list. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int RAR_FILE__TYPES = MODULE_FILE__TYPES;
-
- /**
- * The feature id for the '<em><b>Deployment Descriptor</b></em>' reference. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int RAR_FILE__DEPLOYMENT_DESCRIPTOR = MODULE_FILE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>RAR File</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int RAR_FILE_FEATURE_COUNT = MODULE_FILE_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MODULE_REF__MODULE_FILE = 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MODULE_REF__EAR_FILE = 1;
-
- /**
- * The feature id for the '<em><b>Module</b></em>' reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODULE_REF__MODULE = 2;
-
- /**
- * The number of structural features of the the '<em>Module Ref</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MODULE_REF_FEATURE_COUNT = 3;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EJB_MODULE_REF__MODULE_FILE = MODULE_REF__MODULE_FILE;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EJB_MODULE_REF__EAR_FILE = MODULE_REF__EAR_FILE;
-
- /**
- * The feature id for the '<em><b>Module</b></em>' reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EJB_MODULE_REF__MODULE = MODULE_REF__MODULE;
-
- /**
- * The number of structural features of the the '<em>EJB Module Ref</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EJB_MODULE_REF_FEATURE_COUNT = MODULE_REF_FEATURE_COUNT + 0;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_MODULE_REF__MODULE_FILE = MODULE_REF__MODULE_FILE;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_MODULE_REF__EAR_FILE = MODULE_REF__EAR_FILE;
-
- /**
- * The feature id for the '<em><b>Module</b></em>' reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int WEB_MODULE_REF__MODULE = MODULE_REF__MODULE;
-
- /**
- * The number of structural features of the the '<em>Web Module Ref</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int WEB_MODULE_REF_FEATURE_COUNT = MODULE_REF_FEATURE_COUNT + 0;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CLIENT_MODULE_REF__MODULE_FILE = MODULE_REF__MODULE_FILE;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CLIENT_MODULE_REF__EAR_FILE = MODULE_REF__EAR_FILE;
-
- /**
- * The feature id for the '<em><b>Module</b></em>' reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CLIENT_MODULE_REF__MODULE = MODULE_REF__MODULE;
-
- /**
- * The number of structural features of the the '<em>Client Module Ref</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CLIENT_MODULE_REF_FEATURE_COUNT = MODULE_REF_FEATURE_COUNT + 0;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONNECTOR_MODULE_REF__MODULE_FILE = MODULE_REF__MODULE_FILE;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONNECTOR_MODULE_REF__EAR_FILE = MODULE_REF__EAR_FILE;
-
- /**
- * The feature id for the '<em><b>Module</b></em>' reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONNECTOR_MODULE_REF__MODULE = MODULE_REF__MODULE;
-
- /**
- * The number of structural features of the the '<em>Connector Module Ref</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONNECTOR_MODULE_REF_FEATURE_COUNT = MODULE_REF_FEATURE_COUNT + 0;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- String eNS_URI = "commonarchive.xmi"; //$NON-NLS-1$
- /**
- * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_PREFIX = "org.eclipse.jst.j2ee.internal.commonarchivecore"; //$NON-NLS-1$
-
- /**
- * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- CommonarchivePackage eINSTANCE = org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchivePackageImpl.init();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return Container object
- */
- EClass getContainer();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getContainer_Files();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WARFile object
- */
- EClass getWARFile();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getWARFile_DeploymentDescriptor();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ModuleFile object
- */
- EClass getModuleFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return EARFile object
- */
- EClass getEARFile();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getEARFile_DeploymentDescriptor();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getEARFile_ModuleRefs();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ModuleRef object
- */
- EClass getModuleRef();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getModuleRef_ModuleFile();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getModuleRef_EarFile();
-
- /**
- * Returns the meta object for the reference '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.ModuleRef#getModule <em>Module</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Module</em>'.
- * @see org.eclipse.jst.j2ee.internal.commonarchivecore.ModuleRef#getModule()
- * @see #getModuleRef()
- * @generated
- */
- EReference getModuleRef_Module();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return EJBModuleRef object
- */
- EClass getEJBModuleRef();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WebModuleRef object
- */
- EClass getWebModuleRef();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ClientModuleRef object
- */
- EClass getClientModuleRef();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ConnectorModuleRef object
- */
- EClass getConnectorModuleRef();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ApplicationClientFile object
- */
- EClass getApplicationClientFile();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getApplicationClientFile_DeploymentDescriptor();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return EJBJarFile object
- */
- EClass getEJBJarFile();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getEJBJarFile_DeploymentDescriptor();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return RARFile object
- */
- EClass getRARFile();
-
- /**
- * Returns the meta object for the reference '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.RARFile#getDeploymentDescriptor <em>Deployment Descriptor</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Deployment Descriptor</em>'.
- * @see org.eclipse.jst.j2ee.internal.commonarchivecore.RARFile#getDeploymentDescriptor()
- * @see #getRARFile()
- * @generated
- */
- EReference getRARFile_DeploymentDescriptor();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return Archive object
- */
- EClass getArchive();
-
- /**
- * Returns the meta object for the attribute list '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.Archive#getTypes <em>Types</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute list '<em>Types</em>'.
- * @see org.eclipse.jst.j2ee.internal.commonarchivecore.Archive#getTypes()
- * @see #getArchive()
- * @generated
- */
- EAttribute getArchive_Types();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return File object
- */
- EClass getFile();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getFile_URI();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getFile_LastModified();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getFile_Size();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.File#isDirectoryEntry <em>Directory Entry</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Directory Entry</em>'.
- * @see org.eclipse.jst.j2ee.internal.commonarchivecore.File#isDirectoryEntry()
- * @see #getFile()
- * @generated
- */
- EAttribute getFile_DirectoryEntry();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getFile_OriginalURI();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getFile_LoadingContainer();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getFile_Container();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ReadOnlyDirectory object
- */
- EClass getReadOnlyDirectory();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- CommonarchiveFactory getCommonarchiveFactory();
-
-} //CommonarchivePackage
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ConnectorModuleRef.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ConnectorModuleRef.java
deleted file mode 100644
index b42d0610f..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ConnectorModuleRef.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveWrappedException;
-import org.eclipse.jst.j2ee.jca.Connector;
-
-
-public interface ConnectorModuleRef extends ModuleRef {
- Connector getConnector() throws ArchiveWrappedException;
-
-} //ConnectorModuleRef
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/Container.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/Container.java
deleted file mode 100644
index cea334e92..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/Container.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStream;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * @generated
- */
-public interface Container extends File {
-
- /**
- * Indicate whether the archive contains a file having a relative path of the parameter; the uri
- * may or may not have a leading separator
- */
- public boolean containsFile(String uri);
-
- /**
- * Return the absolute path of the file from its load strategy, if it is known. Should be used
- * mainly for read-only runtime purposes, as edit-time modifications may make the result
- * undefined.
- *
- * @throws FileNotFoundException
- * if the archive is "virtual", eg, a nested jar
- */
- public String getAbsolutePath() throws FileNotFoundException;
-
- public File getFile(String uri) throws FileNotFoundException;
-
- public InputStream getInputStream(String uri) throws FileNotFoundException, IOException;
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return com.ibm.etools.archive.LoadStrategy
- */
- public org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy getLoadStrategy();
-
- /**
- * Indicates whether the archive has ever had its files enumerated; used as an optimization
- */
- public boolean isIndexed();
-
- /**
- * Goes directly to the strategy
- */
- public InputStream primGetInputStream(String uri) throws FileNotFoundException, IOException;
-
- public void rebuildFileIndex();
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newLoadStrategy
- * com.ibm.etools.archive.LoadStrategy
- */
- public void setLoadStrategy(org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy newLoadStrategy);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of Files references
- */
- EList getFiles();
-
- /**
- * Clears the list of files in this Container and drops the index
- */
- public void clearFiles();
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/EARFile.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/EARFile.java
deleted file mode 100644
index 20c7545d5..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/EARFile.java
+++ /dev/null
@@ -1,299 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import java.io.FileNotFoundException;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jst.j2ee.application.Application;
-import org.eclipse.jst.j2ee.application.ConnectorModule;
-import org.eclipse.jst.j2ee.application.EjbModule;
-import org.eclipse.jst.j2ee.application.JavaClientModule;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.application.WebModule;
-import org.eclipse.jst.j2ee.client.ApplicationClient;
-import org.eclipse.jst.j2ee.common.EjbRef;
-import org.eclipse.jst.j2ee.common.SecurityRole;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveWrappedException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.EmptyResourceException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ObjectNotFoundException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.jca.Connector;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-
-
-/**
- * @generated
- */
-public interface EARFile extends ModuleFile {
-
- /**
- * Makes a copy of
- *
- * @aModuleFile, using its local deployment descriptor; creates a new Module and adds it to the
- * Application deployment descriptor of this EAR file and adds the copy of the
- * ModuleFile to this EAR.
- *
- * @return The copied module file
- *
- * @exception DuplicateObjectException
- * if this EAR already contains a file with the same uri as
- * @aModuleFile
- */
-
- public ModuleFile addCopy(ModuleFile aModuleFile) throws DuplicateObjectException;
-
-
- /**
- * This is the same as addCopy(ModuleFile) except the return value is the new ModuleRef
- */
- public ModuleRef addCopyRef(ModuleFile aModuleFile) throws DuplicateObjectException;
-
- /**
- * Add a copy of the security role to the dd for the module; if an alt dd is specified, add to
- * that dd; otherwise add to the standard dd of the module; also add a copy of the role to the
- * ear file dd if a role with that name does not already exist
- *
- * @throws DuplicateObjectException
- * if the dd for aModule already contains a role with that name
- */
- public SecurityRole addCopy(SecurityRole aRole, Module aModule) throws DuplicateObjectException;
-
- /**
- * Add a copy of the security role to the ear file's dd, if it does not already contain a role
- * with the same name
- */
- public SecurityRole addCopyIfNotExists(SecurityRole aRole);
-
- EObject getAltDeploymentDescriptor(Module aModule) throws FileNotFoundException, ResourceLoadException, EmptyResourceException;
-
- /**
- * Returns a filtered list of ApplicationClientFiles; adds will not be reflected; use
- *
- * @link Archive#add(File)
- */
- public List getApplicationClientFiles();
-
- /**
- * Returns a filtered list of ClientModuleRefs
- */
- public List getClientModuleRefs();
-
- /**
- * @throws DeploymentDescriptorLoadException -
- * is a runtime exception, because we can't override the signature of the generated
- * methods
- */
-
-
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The DeploymentDescriptor reference
- */
- Application getDeploymentDescriptor() throws DeploymentDescriptorLoadException;
-
- Connector getDeploymentDescriptor(ConnectorModule aModule) throws FileNotFoundException, ResourceLoadException, EmptyResourceException;
-
- EJBJar getDeploymentDescriptor(EjbModule aModule) throws FileNotFoundException, ResourceLoadException, EmptyResourceException;
-
- ApplicationClient getDeploymentDescriptor(JavaClientModule aModule) throws FileNotFoundException, ResourceLoadException, EmptyResourceException;
-
- EObject getDeploymentDescriptor(Module aModule) throws FileNotFoundException, ResourceLoadException, EmptyResourceException;
-
- WebApp getDeploymentDescriptor(WebModule aModule) throws FileNotFoundException, ResourceLoadException, EmptyResourceException;
-
- /**
- * Returns a filtered list of EJBJarFiles; adds will not be reflected; use
- *
- * @link Archive#add(File)
- */
- public List getEJBJarFiles();
-
- /**
- * Returns a filtered list of EJBModuleRefs
- */
- public List getEJBModuleRefs();
-
-
- /**
- * Return an enterprise bean referenced by the EjbRef, if one exists. The ejb-link value of the
- * ref must equate to a named enterprise bean contained in the jar; otherwise return null.
- * Returns the first hit found; assumption that the ejb names are unique within the scope of the
- * ear file. This will likely be replaced with a better way for dereferencing ejb refs.
- *
- * Can be used with ejb 1.1 references only.
- *
- * @deprecated {@link#getEnterpiseBeanFromRef(EjbRef ref, String moduleUri )
- * @param EjbRef
- * ref - An ejb reference
- * @return EnterpriseBean
- */
- public EnterpriseBean getEnterpiseBeanFromRef(EjbRef ref);
-
- /**
- * Return an enterprise bean referenced by the EjbRef and a module uri, if one exists. The
- * ejb-link value of the ref must equate to a named enterprise bean contained in the jar;
- * otherwise return null. Returns the first hit found; assumption that the ejb names are unique
- * within the scope of the ear file. This will likely be replaced with a better way for
- * dereferencing ejb refs.
- *
- * Can be used with ejb 1.1 & ejb 2.0 references.
- *
- * @param EjbRef
- * ref - An ejb reference
- * @param String
- * moduleUri - The module uri
- * @return EnterpriseBean
- */
- public EnterpriseBean getEnterpiseBeanFromRef(EjbRef ref, String moduleUri);
-
- public Module getModule(String uri, String altDD);
-
- /**
- * @return the module ref which references
- * @moduleDescriptor
- */
- public ModuleRef getModuleRef(Module moduleDescriptor);
-
- /**
- * @return java.util.List of all module refs in this EAR having a reference to
- * @aModuleFile
- */
- public List getModuleRefs(ModuleFile aModuleFile);
-
- /**
- * Returns a filtered list of ModuleFiles; adds will not be reflected; use
- *
- * @link Archive#add(File)
- */
- public List getModuleFiles();
-
- /**
- * Returns a filtered list of RarFiles; adds will not be reflected; use
- *
- * @link Archive#add(File)
- */
- public List getRARFiles();
-
- /**
- * Returns a filtered list of FARFiles; adds will not be reflected; use
- * {@link Archive#add(File)}
- */
- public List getFARFiles();
-
- /**
- * Returns a filtered list of ConnectorModuleRefs
- */
- public List getConnectorModuleRefs();
-
- /**
- * Return all security roles from all existing modules (EjbModule and WebModule)
- */
- public EList getRolesFromAllModules();
-
- /**
- * Return all security roles from an existing module (EjbModule and WebModule)
- */
- public EList getRolesFromModule(Module aModule);
-
- /**
- * Returns a filtered list of WarFiles; adds will not be reflected; use
- *
- * @link Archive#add(File)
- */
- public List getWARFiles();
-
- /**
- * Returns a filtered list of WebModuleRefs
- */
- public List getWebModuleRefs();
-
- /**
- * Copy the role into each ModuleFile in the ear file which does not already contain the role
- * Assumption: a role with the same name as
- *
- * @role exists in the application deployment descriptor
- */
- public void pushDownRole(SecurityRole role);
-
- /**
- * Copy the role into the ModuleFile for the module, if the module does not already contain the
- * role Assumption: a role with the same name as
- *
- * @role exists in the application deployment descriptor
- */
- public void pushDownRole(SecurityRole role, Module aModule);
-
- /**
- * Attempt to remove the module for the parameter from this object's dd, then remove the module
- * file, if it is not referenced from any other ModuleRef, from the list of files
- */
- public void remove(ModuleRef aModuleRef);
-
- /**
- * Rename the security role in the ear file's dd; push this change down to any contained module
- * dd's; if the module specifies an alt-dd, the change will be reflected there; otherwise it
- * will be reflected in the standard dd of the module
- *
- * @throws ObjectNotFoundException
- * if the dd for the ear does not contain a role with the existingRoleName
- *
- * @throws DuplicateObjectException
- * if the dd for the ear file already contains a role with the new name
- */
- public void renameSecurityRole(String existingRoleName, String newRoleName) throws ObjectNotFoundException, DuplicateObjectException;
-
- /**
- * For each security role in the dd for each module, add a copy to the ear file's dd; if an
- * alt-dd is specified for the module, use that dd; otherwise use the standard dd in the module
- * file
- */
- public void rollUpRoles();
-
- /**
- * For each security role in the dd for a module, add a copy to the ear file's dd; if an alt-dd
- * is specified for the module, use that dd; otherwise use the standard dd in the module file
- */
- public void rollUpRoles(Module aModule);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l
- * The new value of the DeploymentDescriptor reference
- */
- void setDeploymentDescriptor(Application value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of ModuleRefs references
- */
- EList getModuleRefs();
-
- public List getArchivesOfType(String type);
-
- /**
- * Return a Map of Modules as keys and a List of EJB References as the values. This will let you
- * know which Modules the references came from. You can filter the list of EJB References
- * returned on the linked attributed of the reference. This means that you can filter linked
- * references, non-linked references, or neither (i.e., return all references).
- */
- Map getEJBReferences(boolean filterLinkedReferences, boolean filterNonLinkedReferences) throws ArchiveWrappedException;
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/EJBJarFile.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/EJBJarFile.java
deleted file mode 100644
index e7bd0a70a..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/EJBJarFile.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import java.util.List;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-
-
-/**
- * @generated
- */
-public interface EJBJarFile extends ModuleFile {
-
- /**
- * Used for tools performing selective import
- */
- public List getAssociatedFiles(EnterpriseBean ejb);
-
- /**
- * @throws DeploymentDescriptorLoadException -
- * is a runtime exception, because we can't override the signature of the generated
- * methods
- */
-
-
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The DeploymentDescriptor reference
- */
- EJBJar getDeploymentDescriptor() throws DeploymentDescriptorLoadException;
-
- public boolean isImportedFrom10();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l
- * The new value of the DeploymentDescriptor reference
- */
- void setDeploymentDescriptor(EJBJar value);
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/EJBModuleRef.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/EJBModuleRef.java
deleted file mode 100644
index cec50714c..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/EJBModuleRef.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveWrappedException;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-
-
-public interface EJBModuleRef extends ModuleRef {
-
- EJBJar getEJBJar() throws ArchiveWrappedException;
-
-} //EJBModuleRef
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/File.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/File.java
deleted file mode 100644
index 650d9f140..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/File.java
+++ /dev/null
@@ -1,256 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import java.io.InputStream;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * @generated
- */
-public interface File extends EObject {
-
- /**
- * Return the path up to the filename; e.g., from com/ibm/foo/bar.class, com/ibm/foo
- */
- public String getDirectoryURI();
-
- public InputStream getInputStream() throws java.io.FileNotFoundException, java.io.IOException;
-
- /**
- * Return the tail of the file path; e.g., from com/ibm/foo/bar.class, return bar.class
- */
- public String getName();
-
- public boolean isApplicationClientFile();
-
- public boolean isArchive();
-
- public boolean isContainer();
-
- public boolean isEARFile();
-
- public boolean isFARFile();
-
- public boolean isEJBJarFile();
-
- public boolean isModuleFile();
-
- public boolean isRARFile();
-
- public boolean isReadOnlyDirectory();
-
- public boolean isWARFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the URI attribute
- */
- String getURI();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value
- * The new value of the URI attribute
- */
- void setURI(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the LastModified attribute
- */
- long getLastModified();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.File#getLastModified <em>Last Modified</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Last Modified</em>' attribute.
- * @see #isSetLastModified()
- * @see #unsetLastModified()
- * @see #getLastModified()
- * @generated
- */
- void setLastModified(long value);
-
- /**
- * Unsets the value of the '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.File#getLastModified <em>Last Modified</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetLastModified()
- * @see #getLastModified()
- * @see #setLastModified(long)
- * @generated
- */
- void unsetLastModified();
-
- /**
- * Returns whether the value of the '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.File#getLastModified <em>Last Modified</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Last Modified</em>' attribute is set.
- * @see #unsetLastModified()
- * @see #getLastModified()
- * @see #setLastModified(long)
- * @generated
- */
- boolean isSetLastModified();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Size attribute
- */
- long getSize();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.File#getSize <em>Size</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Size</em>' attribute.
- * @see #isSetSize()
- * @see #unsetSize()
- * @see #getSize()
- * @generated
- */
- void setSize(long value);
-
- /**
- * Unsets the value of the '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.File#getSize <em>Size</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetSize()
- * @see #getSize()
- * @see #setSize(long)
- * @generated
- */
- void unsetSize();
-
- /**
- * Returns whether the value of the '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.File#getSize <em>Size</em>}' attribute is set.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Size</em>' attribute is set.
- * @see #unsetSize()
- * @see #getSize()
- * @see #setSize(long)
- * @generated
- */
- boolean isSetSize();
-
- /**
- * Returns the value of the '<em><b>Directory Entry</b></em>' attribute. <!--
- * begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Directory Entry</em>' attribute isn't clear, there really
- * should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Directory Entry</em>' attribute.
- * @see #isSetDirectoryEntry()
- * @see #unsetDirectoryEntry()
- * @see #setDirectoryEntry(boolean)
- * @see org.eclipse.jst.j2ee.internal.commonarchivecore.CommonarchivePackage#getFile_DirectoryEntry()
- * @model unsettable="true"
- * @generated
- */
- boolean isDirectoryEntry();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.File#isDirectoryEntry <em>Directory Entry</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Directory Entry</em>' attribute.
- * @see #isSetDirectoryEntry()
- * @see #unsetDirectoryEntry()
- * @see #isDirectoryEntry()
- * @generated
- */
- void setDirectoryEntry(boolean value);
-
- /**
- * Unsets the value of the '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.File#isDirectoryEntry <em>Directory Entry</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetDirectoryEntry()
- * @see #isDirectoryEntry()
- * @see #setDirectoryEntry(boolean)
- * @generated
- */
- void unsetDirectoryEntry();
-
- /**
- * Returns whether the value of the '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.File#isDirectoryEntry <em>Directory Entry</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Directory Entry</em>' attribute is set.
- * @see #unsetDirectoryEntry()
- * @see #isDirectoryEntry()
- * @see #setDirectoryEntry(boolean)
- * @generated
- */
- boolean isSetDirectoryEntry();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the OriginalURI attribute
- */
- String getOriginalURI();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value
- * The new value of the OriginalURI attribute
- */
- void setOriginalURI(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The LoadingContainer reference
- */
- Container getLoadingContainer();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l
- * The new value of the LoadingContainer reference
- */
- void setLoadingContainer(Container value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The Container reference
- */
- Container getContainer();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l
- * The new value of the Container reference
- */
- void setContainer(Container value);
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/GenericArchiveTypeDiscriminator.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/GenericArchiveTypeDiscriminator.java
deleted file mode 100644
index c2acce7f1..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/GenericArchiveTypeDiscriminator.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-/**
- * @author mdelder
- */
-public interface GenericArchiveTypeDiscriminator {
-
- /**
- * This is a unique identifier that contributors should use to specify the generic type that
- * should be associated with archives. Example: com.yourcompany.j2ee.extension.customModule
- *
- * @return
- */
- public String getTypeKey();
-
- /**
- * If common archive should recognize file extensions other than the standard ones, e.g., .jar,
- * .zip, then these file extensions can be specified here.
- *
- * @return
- */
- public String[] getCustomFileExtensions();
-
- /**
- * Method that individual discriminators can implement to determine if an Archive is of a
- * particular type. Implementers should be sensitive to performance requirments. Usually simple
- * tests should be performed, such as:
- * <code>if (anArchive.containsFile("xxx.xml")<code>. The result will
- * be stored in the Archive's "types" attribute.
- * @param anArchive
- * @return
- */
- public boolean discriminate(Archive anArchive);
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ModuleFile.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ModuleFile.java
deleted file mode 100644
index 5704b827b..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ModuleFile.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException;
-
-/**
- * @generated
- */
-public interface ModuleFile extends Archive {
-
- public Resource getDeploymentDescriptorResource() throws java.io.FileNotFoundException, ResourceLoadException;
-
- public String getDeploymentDescriptorUri();
-
- /**
- * Return the container for this archive casted to EARFile; null if this file is not contained
- * in an EARFile
- */
- public EARFile getEARFile();
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return com.ibm.etools.archive.ExportStrategy
- */
- public org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ExportStrategy getExportStrategy();
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return com.ibm.etools.archive.ImportStrategy
- */
- public org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ImportStrategy getImportStrategy();
-
- /**
- * Returns the specification version of the module file. For example, "2.0"
- *
- * @deprecated, Use getDeploymentDescriptorResource().getModuleVersionID();
- */
- public String getSpecVersion();
-
- /**
- * Return the version ID of the module For example, "20"
- *
- * @return int
- */
- public int getSpecVersionID();
-
- EObject getStandardDeploymentDescriptor() throws DeploymentDescriptorLoadException;
-
- /**
- * Answers whether the deployment descriptor is null; used for copy, to determine whether the
- * import strategy needs to be copied or not
- */
- public boolean isDeploymentDescriptorSet();
-
- public Resource makeDeploymentDescriptorResource();
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newExportStrategy
- * com.ibm.etools.archive.ExportStrategy
- */
- public void setExportStrategy(org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ExportStrategy newExportStrategy);
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newImportStrategy
- * com.ibm.etools.archive.ImportStrategy
- */
- public void setImportStrategy(org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ImportStrategy newImportStrategy);
-
- /**
- * Sets the J2EE version for this archive
- *
- * @see org.eclipse.jst.j2ee.internal.J2EEVersionConstants
- */
- public void setJ2EEVersion(int versionID);
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ModuleRef.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ModuleRef.java
deleted file mode 100644
index 65678da1f..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ModuleRef.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStream;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveWrappedException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException;
-
-
-public interface ModuleRef extends EObject {
-
- /**
- * Return the parsed local deployment descriptor from the ModuleFile
- */
- EObject getStandardDeploymentDescriptor();
-
- /**
- * Return the parsed alt dd, if it exists, from the EAR file containing this module
- */
- EObject getAltDeploymentDescriptor() throws ArchiveWrappedException;
-
- /**
- * Return an alt dd if it exists, otherwise the local dd
- */
- EObject getDeploymentDescriptor() throws ArchiveWrappedException;
-
-
- /**
- * Gets the uri from the {@link Module}referenced by this ref; if there is no module, (eg. a
- * standalone JAR), gets the uri from the {@link ModuleFile}. Assumption: The uri of the
- * {@link Module}and {@link ModuleFile}should stay in sync
- */
- String getUri();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The ModuleFile reference
- */
- ModuleFile getModuleFile();
-
- /**
- * Similar to {@link Archive#getMofResource(String)}, except that alt-dd indirection is
- * considered. If this module uses an alt-dd, then the uri will be prepended with the "alt-root"
- * and the resource will be loaded from the owning EAR file. In this case, all hrefs into and
- * out of this resource should be relative to the root of the EAR. The hrefs are taken care of
- * for free when the client uses {@link #makeAltDescriptorsAndResources()}. The alt root is
- * automatically generated when it does not exist.
- *
- * @see ModuleExtension#getAltRoot()
- */
- Resource getMofResource(String uri) throws FileNotFoundException, ResourceLoadException;
-
- public InputStream getAltResourceInputStream(String uri) throws IOException;
-
- public InputStream getLocalResourceInputStream(String uri) throws IOException;
-
- /**
- * Return an input stream from the resources path of either the ModuleFile, if the module does
- * not use alt-dd, or from the altRoot of the module, found in the resources path of the EAR
- *
- * @see LoadStrategy#getResourceInputStream(String)
- */
- public InputStream getResourceInputStream(String uri) throws IOException;
-
-
- /**
- * Retrieve a resource from the ModuleFile
- *
- * @see Archive#getMofResource(String)
- */
- Resource getLocalMofResource(String uri) throws FileNotFoundException, ResourceLoadException;
-
- /**
- * The uri will be prepended with the "alt-root" and the resource will be loaded from the owning
- * EAR file.
- */
- Resource getAltMofResource(String uri) throws FileNotFoundException, ResourceLoadException;
-
- /**
- * Create a new mof resource and add it to the resource set of the context of either the module
- * file if this ModuleRef is not an alt, or to the EAR file if it is an alt. If this module is
- * uses an alt-dd, then the uri will be prepended with the "alt-root" The alt root is
- * automatically generated when it does not exist.
- *
- * @throws DuplicateObjectException
- * if a resource already exists in this archive having the uri
- */
- Resource makeMofResource(String uri) throws DuplicateObjectException;
-
- Resource makeLocalMofResource(String uri) throws DuplicateObjectException;
-
- Resource makeAltMofResource(String uri) throws DuplicateObjectException;
-
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l
- * The new value of the ModuleFile reference
- */
- void setModuleFile(ModuleFile value);
-
- /**
- * Rename this module; both its ModuleFile and Module element from the Application deployment
- * descriptor.
- */
- public void setURI(String uri);
-
- boolean isEJB();
-
- boolean isWeb();
-
- boolean isClient();
-
- boolean isConnector();
-
- boolean usesAltDD();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The EarFile reference
- */
- EARFile getEarFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l
- * The new value of the EarFile reference
- */
- void setEarFile(EARFile value);
-
- /**
- * Returns the value of the '<em><b>Module</b></em>' reference. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Module</em>' reference isn't clear, there really should be
- * more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Module</em>' reference.
- * @see #setModule(Module)
- * @see org.eclipse.jst.j2ee.internal.commonarchivecore.CommonarchivePackage#getModuleRef_Module()
- * @model required="true"
- * @generated
- */
- Module getModule();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.ModuleRef#getModule <em>Module</em>}'
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Module</em>' reference.
- * @see #getModule()
- * @generated
- */
- void setModule(Module value);
-
-} //ModuleRef
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/RARFile.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/RARFile.java
deleted file mode 100644
index 22a3e5f9d..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/RARFile.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException;
-import org.eclipse.jst.j2ee.jca.Connector;
-
-
-/**
- * @generated
- */
-public interface RARFile extends ModuleFile {
-
- /**
- * Returns the value of the '<em><b>Deployment Descriptor</b></em>' reference. <!--
- * begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Deployment Descriptor</em>' reference list isn't clear, there
- * really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Deployment Descriptor</em>' reference.
- * @see #setDeploymentDescriptor(Connector)
- * @see org.eclipse.jst.j2ee.internal.commonarchivecore.CommonarchivePackage#getRARFile_DeploymentDescriptor()
- * @model required="true"
- * @generated
- */
- Connector getDeploymentDescriptor();
-
- /**
- * Sets the value of the '
- * {@link org.eclipse.jst.j2ee.internal.commonarchivecore.RARFile#getDeploymentDescriptor <em>Deployment Descriptor</em>}'
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Deployment Descriptor</em>' reference.
- * @see #getDeploymentDescriptor()
- * @generated
- */
- void setDeploymentDescriptor(Connector value);
-
- /**
- * Extracts the RAR file to the specified directory. This method should be used for expanding
- * the RAR file if it is a standalone RAR. If the RAR file is packaged as part of an EAR, this
- * method should not be used. Instead, the expandTo() of the EAR should be used expand the
- * contents of the ear and the nested RAR relative to the EAR's directory (similar to WAR's).
- * Creation date: (2/6/2001 7:44:41 PM)
- *
- * @param dir
- * java.lang.String
- * @param expandFlags
- * int
- */
- void extractToConnectorDirectory(String dir, int expandFlags) throws SaveFailureException;
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ReadOnlyDirectory.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ReadOnlyDirectory.java
deleted file mode 100644
index 83ef763a1..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ReadOnlyDirectory.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import java.util.List;
-
-/**
- * @generated
- */
-public interface ReadOnlyDirectory extends Container {
-
- public boolean containsFileInSelfOrSubdirectory(String uri);
-
- public File getFileInSelfOrSubdirectory(String uri) throws java.io.FileNotFoundException;
-
- /**
- * Returns a flat list of all the files contained in this directory and subdirectories, with the
- * directories filtered out, as the list would appear in an archive
- */
- public List getFilesRecursive();
-
- /**
- * Return a filtered list on the files with just the instances of ReadOnlyDirectory
- */
- public List getReadOnlyDirectories();
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/RepairArchiveCommand.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/RepairArchiveCommand.java
deleted file mode 100644
index d7cfe2d19..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/RepairArchiveCommand.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.emf.common.command.AbstractCommand;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveConstants;
-import org.eclipse.jst.j2ee.internal.J2EEConstants;
-
-
-/**
- * Insert the type's description here. Creation date: (02/27/01 2:20:44 PM)
- *
- * @author: Administrator
- */
-public class RepairArchiveCommand extends AbstractCommand {
- protected Archive archive;
- protected static Map directoryNames;
-
- /**
- * RepairMetaInfCommand constructor comment.
- *
- * @param label
- * java.lang.String
- * @param description
- * java.lang.String
- */
- public RepairArchiveCommand(Archive anArchive) {
- super("Repair Archive", CommonArchiveResourceHandler.getString("Repairs_all_entries_in_the")); //$NON-NLS-2$ = "Repairs all entries in the META-INF and/or WEB-INF directories to be the correct case"//$NON-NLS-1$
- archive = anArchive;
- //Ensure Initiailization
- getDirectoryNames();
- }
-
- /**
- * @see com.ibm.etools.common.command.Command
- */
- public void execute() {
- List files = archive.getFiles();
- for (int i = 0; i < files.size(); i++) {
- File aFile = (File) files.get(i);
- if (aFile.isArchive()) {
- new RepairArchiveCommand((Archive) aFile).execute();
- } else {
- String upperUri = aFile.getURI().toUpperCase();
- Iterator keysAndValues = directoryNames.entrySet().iterator();
- while (keysAndValues.hasNext()) {
- String uri = aFile.getURI();
- Map.Entry entry = (Map.Entry) keysAndValues.next();
- String key = (String) entry.getKey();
- String value = (String) entry.getValue();
- if (upperUri.startsWith(key) && !uri.startsWith(value)) {
- String tail = uri.substring(key.length());
- aFile.setURI(value.concat(tail));
- break;
- }
- }
- }
- }
- }
-
- /**
- * Insert the method's description here. Creation date: (03/14/01 5:55:14 PM)
- *
- * @return java.util.Set
- */
- protected static java.util.Map getDirectoryNames() {
- if (directoryNames == null) {
- directoryNames = new HashMap(6);
- directoryNames.put(J2EEConstants.META_INF.toUpperCase(), J2EEConstants.META_INF);
- directoryNames.put(J2EEConstants.WEB_INF.toUpperCase(), J2EEConstants.WEB_INF);
- directoryNames.put(ArchiveConstants.WEBAPP_LIB_URI.toUpperCase(), ArchiveConstants.WEBAPP_LIB_URI);
- directoryNames.put(ArchiveConstants.WEBAPP_CLASSES_URI.toUpperCase(), ArchiveConstants.WEBAPP_CLASSES_URI);
- }
- return directoryNames;
- }
-
- public Collection getResult() {
- return Arrays.asList(new Object[]{archive});
- }
-
- /**
- * Insert the method's description here. Creation date: (03/14/01 6:46:16 PM)
- *
- * @param args
- * java.lang.String[]
- */
- public static void main(String[] args) {
- if (!validateArgs(args))
- return;
- try {
- Archive anArchive = CommonArchiveFactoryRegistry.INSTANCE.getCommonArchiveFactory().primOpenArchive(args[0]);
- new RepairArchiveCommand(anArchive).execute();
- anArchive.saveAs(args[1]);
- } catch (Exception ex) {
- System.out.println(CommonArchiveResourceHandler.getString("Repair_command_failed_-_ex_EXC_")); //$NON-NLS-1$ = "Repair command failed - exception stack trace:"
- ex.printStackTrace();
- }
- }
-
- protected boolean prepare() {
- return true;
- }
-
- /**
- * @see com.ibm.etools.common.command.Command
- */
- public void redo() {
- //Default
- }
-
- protected static boolean validateArgs(String[] args) {
- if (!(args.length == 2)) {
- org.eclipse.jem.util.logger.proxy.Logger.getLogger().logError(CommonArchiveResourceHandler.getString("RepairArchiveCommand_usage")); //$NON-NLS-1$ = "RepairArchiveCommand usage: <sourceJarFilePath> <destinationPath>"
- return false;
- }
- java.io.File file = new java.io.File(args[0]);
- boolean isZip = false;
- java.util.zip.ZipFile zip = null;
- try {
- zip = new java.util.zip.ZipFile(file);
- isZip = true;
- } catch (java.io.IOException ex) {
- isZip = false;
- } finally {
- if (zip != null)
- try {
- zip.close();
- } catch (java.io.IOException ex) {
- //Ignore
- }
- }
- if (!isZip && !file.isDirectory()) {
- System.out.println(CommonArchiveResourceHandler.getString("RepairArchiveCommand_usage1_ERROR_")); //$NON-NLS-1$ = "RepairArchiveCommand usage: sourceJarFilePath must point to a valid archive or directory of an inflated archive"
- return false;
- }
- if (new java.io.File(args[1]).canWrite()) {
- System.out.println(CommonArchiveResourceHandler.getString("repair_usage_ERROR_", (new Object[]{args[1]}))); //$NON-NLS-1$ = "RepairArchiveCommand usage: cannot write to destinationPath "
- return false;
- }
- return true;
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ValidateXmlCommand.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ValidateXmlCommand.java
deleted file mode 100644
index cb6bfb2b8..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/ValidateXmlCommand.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.command.AbstractCommand;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jst.j2ee.internal.xml.CollectingErrorHandler;
-import org.eclipse.jst.j2ee.internal.xml.XmlDocumentReader;
-import org.xml.sax.InputSource;
-
-/**
- * Insert the type's description here. Creation date: (03/19/01 10:04:08 AM)
- *
- * @author: Administrator
- */
-public class ValidateXmlCommand extends AbstractCommand {
- protected List results;
- protected ModuleFile archive;
- public boolean validateNested = true;
-
- /**
- * ValidateXmlCommand constructor comment.
- */
- protected ValidateXmlCommand() {
- super();
- }
-
- /**
- * ValidateXmlCommand constructor comment.
- *
- * @param label
- * java.lang.String
- * @param description
- * java.lang.String
- */
- public ValidateXmlCommand(ModuleFile m) {
- super();
- archive = m;
- }
-
- /**
- * ValidateXmlCommand constructor comment.
- *
- * @param label
- * java.lang.String
- */
- protected ValidateXmlCommand(String label) {
- super(label);
- }
-
- /**
- * ValidateXmlCommand constructor comment.
- *
- * @param label
- * java.lang.String
- * @param description
- * java.lang.String
- */
- protected ValidateXmlCommand(String label, String description) {
- super(label, description);
- }
-
- /**
- * @see Command
- */
- public void execute() {
- results = new ArrayList();
- validatateXml();
- if (isValidateNested()) {
- List archives = archive.getArchiveFiles();
- for (int i = 0; i < archives.size(); i++) {
- Archive a = (Archive) archives.get(i);
- if (!a.isModuleFile())
- continue;
- ModuleFile m = (ModuleFile) a;
- ValidateXmlCommand cmd = new ValidateXmlCommand(m);
- cmd.execute();
- results.addAll(cmd.getResult());
- }
- }
- }
-
- /**
- * @return List of XmlValidationResult; 1 for the archive, and one for each nested module file
- */
- public Collection getResult() {
- return results;
- }
-
- /**
- * Insert the method's description here. Creation date: (10/22/2001 1:06:52 PM)
- *
- * @return boolean
- */
- public boolean isValidateNested() {
- return validateNested;
- }
-
- protected boolean prepare() {
- return true;
- }
-
- /**
- * @see Command
- */
- public void redo() {
- //Default
- }
-
- /**
- * Insert the method's description here. Creation date: (10/22/2001 1:06:52 PM)
- *
- * @param newValidateNested
- * boolean
- */
- public void setValidateNested(boolean newValidateNested) {
- validateNested = newValidateNested;
- }
-
- protected void validatateXml() {
- ByteArrayOutputStream bos = new ByteArrayOutputStream();
- Resource res = archive.getStandardDeploymentDescriptor().eResource();
- XmlValidationResult result = new XmlValidationResult();
- result.setArchive(archive);
- try {
- res.save(bos, new java.util.HashMap());
- } catch (Exception ex) {
- throw new org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveRuntimeException(ex);
- }
- ByteArrayInputStream inStream = new ByteArrayInputStream(bos.toByteArray());
- InputSource source = new InputSource(inStream);
- CollectingErrorHandler handler = new CollectingErrorHandler();
- XmlDocumentReader parseAdapter = new XmlDocumentReader(source, null, handler);
-
- // the following try/catch clause is added to handle the case
- // when SAX parser throws a fatal exception (type SAXException)
- // for unmatching end tag that results in a RuntimeException to
- // be thrown. Need to catch it so we can get the parser exceptions
- // and display them to the user.
- try {
- parseAdapter.parseDocument();
- } catch (RuntimeException re) {
-
- if (handler.getCaughtExceptions() != null) {
- result.setArchive(archive);
- result.setCaughtExceptions(handler.getCaughtExceptions());
- results.add(result);
- }
-
- throw re;
- }
-
- result.setArchive(archive);
- result.setCaughtExceptions(handler.getCaughtExceptions());
- results.add(result);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/WARFile.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/WARFile.java
deleted file mode 100644
index cd3df3232..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/WARFile.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import java.util.List;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-
-
-/**
- * @generated
- */
-public interface WARFile extends ModuleFile {
-
- /**
- * Copy the file, and swizzle the file uri if necessary by prepending the classes directory
- *
- * @throws DuplicateObjectException
- * of a file with the modified uri already exists in the archive
- *
- * @throws IllegalArgumentException
- * if the parameter is a ReadOnlyDirectory
- */
- public File addCopyClass(File aFile) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-
- /**
- * Copy the file, and swizzle the file uri if necessary by prepending the libs directory
- *
- * @throws DuplicateObjectException
- * of a file with the modified uri already exists in the archive
- *
- * @throws IllegalArgumentException
- * if the parameter is a ReadOnlyDirectory
- */
- public File addCopyLib(File aFile) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-
- /**
- * getClasses() - filter files to return the class files from \web-inf\classes
- */
- public List getClasses();
-
- /**
- * @throws DeploymentDescriptorLoadException -
- * is a runtime exception, because we can't override the signature of the generated
- * methods
- */
-
-
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The DeploymentDescriptor reference
- */
- WebApp getDeploymentDescriptor() throws DeploymentDescriptorLoadException;
-
- /**
- * Filter files to return the files from \we-inf\lib
- */
- public List getLibs();
-
- /**
- * Filter files to return the JARs and Zips from \we-inf\lib
- */
- public List getLibArchives();
-
- /**
- * getResources() - filter files to return the Web resources within the WAR (no
- * classes/libs/metadata)
- */
- public List getResources();
-
- /**
- * Return the source file that matches the output file passed in
- *
- * @param aClassFile
- * The .class file or other output file to find the source for
- * @return String The matching source. Null if there is no matching source found
- */
- public File getSourceFile(File aClassFile);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l
- * The new value of the DeploymentDescriptor reference
- */
- void setDeploymentDescriptor(WebApp value);
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/WebModuleRef.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/WebModuleRef.java
deleted file mode 100644
index bd4a3d2ca..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/WebModuleRef.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveWrappedException;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-
-
-public interface WebModuleRef extends ModuleRef {
- WebApp getWebApp() throws ArchiveWrappedException;
-
-} //WebModuleRef
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/XmlValidationResult.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/XmlValidationResult.java
deleted file mode 100644
index c55958531..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/XmlValidationResult.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal;
-
-
-
-import java.util.List;
-
-
-
-/**
- * Insert the type's description here. Creation date: (03/19/01 3:31:53 PM)
- *
- * @author: Administrator
- */
-public class XmlValidationResult {
- protected ModuleFile archive;
- protected List caughtExceptions;
-
- /**
- * XmlValidationResult constructor comment.
- */
- public XmlValidationResult() {
- super();
- }
-
- /**
- * Insert the method's description here. Creation date: (03/19/01 3:34:45 PM)
- *
- * @return com.ibm.etools.commonarchive.ModuleFile
- */
- public ModuleFile getArchive() {
- return archive;
- }
-
- /**
- * Insert the method's description here. Creation date: (03/19/01 3:34:45 PM)
- *
- * @return java.util.List
- */
- public java.util.List getCaughtExceptions() {
- return caughtExceptions;
- }
-
- /**
- * Insert the method's description here. Creation date: (03/19/01 3:34:45 PM)
- *
- * @param newArchive
- * com.ibm.etools.commonarchive.ModuleFile
- */
- public void setArchive(ModuleFile newArchive) {
- archive = newArchive;
- }
-
- /**
- * Insert the method's description here. Creation date: (03/19/01 3:34:45 PM)
- *
- * @param newCaughtExceptions
- * java.util.List
- */
- public void setCaughtExceptions(java.util.List newCaughtExceptions) {
- caughtExceptions = newCaughtExceptions;
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ArchiveException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ArchiveException.java
deleted file mode 100644
index fc458b1dd..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ArchiveException.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * Base exception class for non-runtime exceptions occurring with manipulation of archives
- */
-public class ArchiveException extends Exception {
- /**
- *
- */
- public ArchiveException() {
- super();
- }
-
- /**
- *
- */
- public ArchiveException(String s) {
- super(s);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ArchiveRuntimeException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ArchiveRuntimeException.java
deleted file mode 100644
index 8b8ae7827..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ArchiveRuntimeException.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-import org.eclipse.jst.j2ee.internal.IWrappedException;
-import org.eclipse.jst.j2ee.internal.WrappedRuntimeException;
-
-
-
-/**
- * Base exception class for runtime exceptions occurring with manipulation of archives; there are
- * some situations where we can only throw a runtime exception instead of a subtype of exception,
- * because the signatures of etools generated methods cannot be overridden to throw any exception
- * other than runtime.
- */
-public class ArchiveRuntimeException extends WrappedRuntimeException implements IWrappedException {
- /**
- * Constructor for ArchiveRuntimeException.
- */
- public ArchiveRuntimeException() {
- super();
- }
-
- /**
- * Constructor for ArchiveRuntimeException.
- *
- * @param e
- */
- public ArchiveRuntimeException(Exception e) {
- super(e);
- }
-
- /**
- * Constructor for ArchiveRuntimeException.
- *
- * @param s
- */
- public ArchiveRuntimeException(String s) {
- super(s);
- }
-
- /**
- * Constructor for ArchiveRuntimeException.
- *
- * @param s
- * @param e
- */
- public ArchiveRuntimeException(String s, Exception e) {
- super(s, e);
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ArchiveWrappedException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ArchiveWrappedException.java
deleted file mode 100644
index dc7fbe29d..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ArchiveWrappedException.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-import org.eclipse.jst.j2ee.internal.IWrappedException;
-import org.eclipse.jst.j2ee.internal.WrappedException;
-
-
-
-/**
- * Base exception class for non-runtime exceptions occurring with manipulation of archives, where a
- * caught exception causes this exception to be thrown
- */
-public class ArchiveWrappedException extends WrappedException implements IWrappedException {
- /**
- * Constructor for ArchiveWrappedException.
- */
- public ArchiveWrappedException() {
- super();
- }
-
- /**
- * Constructor for ArchiveWrappedException.
- *
- * @param e
- */
- public ArchiveWrappedException(Exception e) {
- super(e);
- }
-
- /**
- * Constructor for ArchiveWrappedException.
- *
- * @param s
- */
- public ArchiveWrappedException(String s) {
- super(s);
- }
-
- /**
- * Constructor for ArchiveWrappedException.
- *
- * @param s
- * @param e
- */
- public ArchiveWrappedException(String s, Exception e) {
- super(s, e);
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/DeploymentDescriptorLoadException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/DeploymentDescriptorLoadException.java
deleted file mode 100644
index 19025f8b9..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/DeploymentDescriptorLoadException.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * Exception which can occur if an error/exception occurs while loading a deployment descriptor
- */
-public class DeploymentDescriptorLoadException extends ArchiveRuntimeException {
- /**
- * ResourceLoadException constructor comment.
- */
- public DeploymentDescriptorLoadException() {
- super();
- }
-
- /**
- * ResourceLoadException constructor comment.
- *
- * @param e
- * java.lang.Exception
- */
- public DeploymentDescriptorLoadException(Exception e) {
- super(e);
- }
-
- /**
- * ResourceLoadException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public DeploymentDescriptorLoadException(String s) {
- super(s);
- }
-
- /**
- * ResourceLoadException constructor comment.
- *
- * @param s
- * java.lang.String
- * @param e
- * java.lang.Exception
- */
- public DeploymentDescriptorLoadException(String s, Exception e) {
- super(s, e);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/DuplicateObjectException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/DuplicateObjectException.java
deleted file mode 100644
index 5d0ea62bd..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/DuplicateObjectException.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * Exception which can occur when an attemp is made to add to a list an object equaling, or having
- * the same name, id, etc, as another object in the list.
- */
-public class DuplicateObjectException extends ArchiveException {
- protected Object duplicate;
-
- /**
- * DuplicateObjectException constructor comment.
- */
- public DuplicateObjectException() {
- super();
- }
-
- /**
- * DuplicateObjectException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public DuplicateObjectException(String s) {
- super(s);
- }
-
- /**
- * DuplicateObjectException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public DuplicateObjectException(String s, Object o) {
- super(s);
- setDuplicate(o);
- }
-
- /**
- * Insert the method's description here. Creation date: (04/16/01 9:43:00 AM)
- *
- * @return java.lang.Object
- */
- public java.lang.Object getDuplicate() {
- return duplicate;
- }
-
- /**
- * Insert the method's description here. Creation date: (04/16/01 9:43:00 AM)
- *
- * @param newDuplicate
- * java.lang.Object
- */
- protected void setDuplicate(java.lang.Object newDuplicate) {
- duplicate = newDuplicate;
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/EmptyResourceException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/EmptyResourceException.java
deleted file mode 100644
index a3c223ad7..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/EmptyResourceException.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * Exception which occurs when a mof resource's extent contains zero elements and an attempt is made
- * to access an elememt from the resource.
- */
-public class EmptyResourceException extends ArchiveException {
- /**
- * EmptyResourceException constructor comment.
- */
- public EmptyResourceException() {
- super();
- }
-
- /**
- * EmptyResourceException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public EmptyResourceException(String s) {
- super(s);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/IArchiveWrappedException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/IArchiveWrappedException.java
deleted file mode 100644
index a89b2082e..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/IArchiveWrappedException.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-import org.eclipse.jst.j2ee.internal.IWrappedException;
-
-/**
- * @deprecated
- * @see org.eclipse.jst.j2ee.internal.exception.IWrappedException
- */
-public interface IArchiveWrappedException extends IWrappedException {
- //Default
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ManifestException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ManifestException.java
deleted file mode 100644
index 3eaad7323..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ManifestException.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-public class ManifestException extends ArchiveRuntimeException {
-
- /**
- * Constructor for ManifestException.
- */
- public ManifestException() {
- super();
- }
-
- /**
- * Constructor for ManifestException.
- *
- * @param e
- */
- public ManifestException(Exception e) {
- super(e);
- }
-
- /**
- * Constructor for ManifestException.
- *
- * @param s
- */
- public ManifestException(String s) {
- super(s);
- }
-
- /**
- * Constructor for ManifestException.
- *
- * @param s
- * @param e
- */
- public ManifestException(String s, Exception e) {
- super(s, e);
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NestedJarException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NestedJarException.java
deleted file mode 100644
index a2a7e3e05..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NestedJarException.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * Runtime exception thrown when an error occurs reading a jar within a jar
- */
-public class NestedJarException extends ArchiveRuntimeException {
-
- public NestedJarException() {
- super();
- }
-
- public NestedJarException(Exception e) {
- super(e);
- }
-
- public NestedJarException(String s, Exception e) {
- super(s, e);
- }
-
- public NestedJarException(String s) {
- super(s);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NoEJB10DescriptorsException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NoEJB10DescriptorsException.java
deleted file mode 100644
index 3b062c942..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NoEJB10DescriptorsException.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * Insert the type's description here. Creation date: (06/05/01 7:31:27 PM)
- *
- * @author: Administrator
- */
-public class NoEJB10DescriptorsException extends RuntimeException {
- /**
- * NoEJB10DescriptorsException constructor comment.
- */
- public NoEJB10DescriptorsException() {
- super();
- }
-
- /**
- * NoEJB10DescriptorsException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public NoEJB10DescriptorsException(String s) {
- super(s);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NoModuleElementException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NoModuleElementException.java
deleted file mode 100644
index 3351aa655..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NoModuleElementException.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * @deprecated No Longer used; check for null instead Exception which occurs if an attempt is made
- * to access a non-existent module dd element from an ear file
- */
-public class NoModuleElementException extends ArchiveException {
- /**
- * NoModuleElementException constructor comment.
- */
- public NoModuleElementException() {
- super();
- }
-
- /**
- * NoModuleElementException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public NoModuleElementException(String s) {
- super(s);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NoModuleFileException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NoModuleFileException.java
deleted file mode 100644
index 76586b46d..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NoModuleFileException.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-public class NoModuleFileException extends ArchiveRuntimeException {
-
- /**
- * Constructor for NoModuleFileException.
- */
- public NoModuleFileException() {
- super();
- }
-
- /**
- * Constructor for NoModuleFileException.
- *
- * @param e
- */
- public NoModuleFileException(Exception e) {
- super(e);
- }
-
- /**
- * Constructor for NoModuleFileException.
- *
- * @param s
- */
- public NoModuleFileException(String s) {
- super(s);
- }
-
- /**
- * Constructor for NoModuleFileException.
- *
- * @param s
- * @param e
- */
- public NoModuleFileException(String s, Exception e) {
- super(s, e);
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NotADeploymentDescriptorException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NotADeploymentDescriptorException.java
deleted file mode 100644
index 5f9d32a2c..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NotADeploymentDescriptorException.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * Insert the type's description here. Creation date: (06/06/01 9:26:43 AM)
- *
- * @author: Administrator
- */
-public class NotADeploymentDescriptorException extends Exception {
- /**
- * NotADeploymentDescriptorException constructor comment.
- */
- public NotADeploymentDescriptorException() {
- super();
- }
-
- /**
- * NotADeploymentDescriptorException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public NotADeploymentDescriptorException(String s) {
- super(s);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NotSupportedException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NotSupportedException.java
deleted file mode 100644
index 74334854f..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/NotSupportedException.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-public class NotSupportedException extends ArchiveWrappedException {
- /**
- * NotSupportedException constructor comment.
- */
- public NotSupportedException() {
- super();
- }
-
- /**
- * NotSupportedException constructor comment.
- *
- * @param e
- * java.lang.Exception
- */
- public NotSupportedException(Exception e) {
- super(e);
- }
-
- /**
- * NotSupportedException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public NotSupportedException(String s) {
- super(s);
- }
-
- /**
- * NotSupportedException constructor comment.
- *
- * @param s
- * java.lang.String
- * @param e
- * java.lang.Exception
- */
- public NotSupportedException(String s, Exception e) {
- super(s, e);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ObjectNotFoundException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ObjectNotFoundException.java
deleted file mode 100644
index 52a8170a4..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ObjectNotFoundException.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * Insert the type's description here. Creation date: (02/08/01 8:33:51 PM)
- *
- * @author: Administrator
- */
-public class ObjectNotFoundException extends ArchiveException {
- /**
- * ObjectNotFoundException constructor comment.
- */
- public ObjectNotFoundException() {
- super();
- }
-
- /**
- * ObjectNotFoundException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public ObjectNotFoundException(String s) {
- super(s);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/OpenFailureException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/OpenFailureException.java
deleted file mode 100644
index 90b29d8ef..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/OpenFailureException.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * Exception which occurs while opening an archive; could occur for a variety of reasons, eg, io
- * failure, deployment descriptor errors, etc. Check the nested exception for more info.
- */
-public class OpenFailureException extends ArchiveWrappedException {
- /**
- * OpenFailureException constructor comment.
- */
- public OpenFailureException() {
- super();
- }
-
- /**
- * OpenFailureException constructor comment.
- *
- * @param e
- * java.lang.Exception
- */
- public OpenFailureException(Exception e) {
- super(e);
- }
-
- /**
- * OpenFailureException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public OpenFailureException(String s) {
- super(s);
- }
-
- /**
- * OpenFailureException constructor comment.
- *
- * @param s
- * java.lang.String
- * @param e
- * java.lang.Exception
- */
- public OpenFailureException(String s, Exception e) {
- super(s, e);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ReopenException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ReopenException.java
deleted file mode 100644
index 566c7889e..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ReopenException.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * Exception which can be thrown as a result of an IO exception which may occur while "re-syncing"
- * an archive after it has been saved. For example, if 10 files are copied from Archive A to Archive
- * B, then archive b is saved, its contents will be loaded from a new source, the newly saved jar
- * file. Therefore, the archive will be reopened after saving, which could result in an IOException.
- */
-public class ReopenException extends ArchiveWrappedException {
- /**
- * ReopenException constructor comment.
- */
- public ReopenException() {
- super();
- }
-
- /**
- * ReopenException constructor comment.
- *
- * @param e
- * java.lang.Exception
- */
- public ReopenException(Exception e) {
- super(e);
- }
-
- /**
- * ReopenException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public ReopenException(String s) {
- super(s);
- }
-
- /**
- * ReopenException constructor comment.
- *
- * @param s
- * java.lang.String
- * @param e
- * java.lang.Exception
- */
- public ReopenException(String s, Exception e) {
- super(s, e);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ResourceLoadException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ResourceLoadException.java
deleted file mode 100644
index 8e58df5b4..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/ResourceLoadException.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * Exception thrown if in exception other than java.io.FileNotFoundException is caught while
- * attempting to load a mof resource.
- */
-public class ResourceLoadException extends ArchiveRuntimeException {
- /**
- * ResourceLoadException constructor comment.
- */
- public ResourceLoadException() {
- super();
- }
-
- /**
- * ResourceLoadException constructor comment.
- *
- * @param e
- * java.lang.Exception
- */
- public ResourceLoadException(Exception e) {
- super(e);
- }
-
- /**
- * ResourceLoadException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public ResourceLoadException(String s) {
- super(s);
- }
-
- /**
- * ResourceLoadException constructor comment.
- *
- * @param s
- * java.lang.String
- * @param e
- * java.lang.Exception
- */
- public ResourceLoadException(String s, Exception e) {
- super(s, e);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/SaveFailureException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/SaveFailureException.java
deleted file mode 100644
index 860565eb9..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/SaveFailureException.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-/**
- * Exception which occurs while saving an archive; could occur for a variety of reasons, eg, io
- * failure, etc. Check the nested exception for more info.
- */
-public class SaveFailureException extends ArchiveWrappedException {
- /**
- * SaveFailureException constructor comment.
- */
- public SaveFailureException() {
- super();
- }
-
- /**
- * SaveFailureException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public SaveFailureException(Exception e) {
- super(e);
- }
-
- /**
- * SaveFailureException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public SaveFailureException(String s) {
- super(s);
- }
-
- /**
- * SaveFailureException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public SaveFailureException(String s, Exception e) {
- super(s, e);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/SubclassResponsibilityException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/SubclassResponsibilityException.java
deleted file mode 100644
index a9e9e5c6e..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/SubclassResponsibilityException.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveResourceHandler;
-
-/**
- * Runtime exception used as a way to enforce abstract behavior without declaring the methods
- * abstract. Necessary because impl classes in the etools generated hierarchy cannot be abstract if
- * they have subtypes.
- */
-public class SubclassResponsibilityException extends ArchiveRuntimeException {
- /**
- * SubclassResponsibilityException constructor comment.
- */
- public SubclassResponsibilityException() {
- super();
- }
-
- /**
- * SubclassResponsibilityException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public SubclassResponsibilityException(String methodName) {
- super(CommonArchiveResourceHandler.getString("subclass_responsibilty_EXC_", (new Object[]{methodName}))); //$NON-NLS-1$ = " must be implemented in subclass"
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/UncontainedModuleFileException.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/UncontainedModuleFileException.java
deleted file mode 100644
index 5f69ebeb5..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/exception/UncontainedModuleFileException.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.exception;
-
-
-/**
- * @deprecated Exception no longer thrown; check for null instead. Exception which may be thrown
- * whenever a {@link ModuleFile}is expected to be contained within an ear file but it
- * is not
- */
-public class UncontainedModuleFileException extends ArchiveRuntimeException {
- /**
- * UncontainedModuleException constructor comment.
- */
- public UncontainedModuleFileException() {
- super();
- }
-
- /**
- * UncontainedModuleException constructor comment.
- *
- * @param s
- * java.lang.String
- */
- public UncontainedModuleFileException(String s) {
- super(s);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveConstants.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveConstants.java
deleted file mode 100644
index 47418eeb1..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveConstants.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-import org.eclipse.jst.j2ee.internal.J2EEConstants;
-
-
-
-/**
- * This is a catalog of useful constants for the archive support. Can be used to store relative
- * paths to specific xml and xmi resources.
- */
-public interface ArchiveConstants extends J2EEConstants {
- //Standard Jar info
- /** "com" */
- String RAR_CLASSES_URI = "com"; //$NON-NLS-1$
-
- /**
- * Relative path in a war file with no leading slash "WEB-INF/lib/"
- */
- String WEBAPP_LIB_URI = "WEB-INF/lib/"; //$NON-NLS-1$
-
- /**
- * Relative path in a war file with no leading slash "WEB-INF/classes/"
- */
- String WEBAPP_CLASSES_URI = "WEB-INF/classes/"; //$NON-NLS-1$
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveInit.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveInit.java
deleted file mode 100644
index 17992efc0..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveInit.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.looseconfig.LooseconfigPackage;
-import org.eclipse.jst.j2ee.internal.J2EEInit;
-import org.eclipse.wst.common.internal.emf.utilities.ExtendedEcoreUtil;
-
-
-/**
- * Initializer class to preregister packages
- */
-public class ArchiveInit {
- protected static boolean initialized = false;
- protected static boolean plugin_initialized = false;
-
- public static void init() {
- init(true);
- }
-
- public static void init(boolean shouldPreRegisterPackages) {
- if (!initialized) {
- initialized = true;
- invokePrereqInits(shouldPreRegisterPackages);
- if (shouldPreRegisterPackages)
- preRegisterPackages();
- }
- }
-
- private static void preRegisterPackages() {
- //CommonarchivePackage reg
- ExtendedEcoreUtil.preRegisterPackage("commonarchive.xmi", new EPackage.Descriptor() { //$NON-NLS-1$
- public EPackage getEPackage() {
- return CommonarchivePackage.eINSTANCE;
- }
- });
- ExtendedEcoreUtil.preRegisterPackage("commonarchive.looseconfig.xmi", new EPackage.Descriptor() { //$NON-NLS-1$
- public EPackage getEPackage() {
- return LooseconfigPackage.eINSTANCE;
- }
- });
- }
-
- public static void invokePrereqInits(boolean shouldPreRegisterPackages) {
- J2EEInit.init(shouldPreRegisterPackages);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveManifest.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveManifest.java
deleted file mode 100644
index 207ebe5f6..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveManifest.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.util.Map;
-import java.util.jar.Attributes;
-
-/**
- * Contains the API of
- *
- * @link java.util.jar.Manifest, along with added helpers
- */
-public interface ArchiveManifest {
- /**
- * Creates a new manifest entry (attributes) for the given name
- */
- public void addEntry(String entryName);
-
- public void addEntry(String entryName, Attributes attr);
-
- /**
- * Adds the key/value pair to the attributes for the given entry name; if the entry does not
- * exist, creates a new attributes
- */
- public void addEntryAttribute(String entryName, String key, String value);
-
- /**
- * Defaults the version to "1.0" if not already set
- */
- public void addVersionIfNecessary();
-
- public void appendClassPath(String extension);
-
- /**
- * @see java.util.jar.Manifest#clear
- */
- public void clear();
-
- /**
- * @see java.util.jar.Manifest#getAttributes
- */
- public Attributes getAttributes(String name);
-
- public String getClassPath();
-
- public String[] getClassPathTokenized();
-
- /**
- * @see java.util.jar.Manifest#getEntries
- */
- public Map getEntries();
-
- public String getEntryAttribute(String entryName, String key);
-
- /**
- * @see java.util.jar.Manifest#getAttributes
- */
- public Attributes getMainAttributes();
-
- public String getMainClass();
-
- /**
- * Return the value iff the entry exists in a case-sensitive manner; manifest version is
- * required for the manifest to save correctly
- */
- public String getManifestVersion();
-
- /**
- * Add all the entries not already contained in the class path of this manifest
- */
- public void mergeClassPath(String[] classPathEntries);
-
- /**
- * @see java.util.jar.Manifest#read
- */
- public void read(InputStream is) throws IOException;
-
- public void removeEntry(String entryName);
-
- public void removeEntryAttribute(String entryName, Object key);
-
- public void setClassPath(String aSpaceDelimitedPath);
-
- public void setMainClass(String className);
-
- public void setManifestVersion(java.lang.String version);
-
- /**
- * @see java.util.jar.Manifest#write
- */
- public void write(OutputStream out) throws IOException;
-
- /**
- * Writes the Manifest to the specified OutputStream, splitting each classpath entry on a line
- * by itself.
- *
- * @param out
- * the output stream
- * @exception IOException
- * if an I/O error has occurred
- */
- public void writeSplittingClasspath(OutputStream out) throws IOException;
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveManifestImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveManifestImpl.java
deleted file mode 100644
index 75f2cdacb..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveManifestImpl.java
+++ /dev/null
@@ -1,323 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-
-import java.io.DataOutputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.StringTokenizer;
-import java.util.jar.Attributes;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil;
-
-
-/**
- * Helper class for manifest files
- */
-public class ArchiveManifestImpl extends java.util.jar.Manifest implements org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveManifest {
- /**
- * ArchiveManifest constructor comment.
- */
- public ArchiveManifestImpl() {
- super();
- }
-
- /**
- * ArchiveManifest constructor comment.
- *
- * @param is
- * java.io.InputStream
- * @throws java.io.IOException
- * The exception description.
- */
- public ArchiveManifestImpl(java.io.InputStream is) throws java.io.IOException {
- super(is);
- }
-
- /**
- * ArchiveManifest constructor comment.
- *
- * @param man
- * java.util.jar.Manifest
- */
- public ArchiveManifestImpl(java.util.jar.Manifest man) {
- super(man);
- }
-
- /**
- * Creates a new manifest entry (attributes) for the given name
- */
- public void addEntry(String entryName) {
- Attributes attr = new Attributes();
- addEntry(entryName, attr);
- }
-
- public void addEntry(String entryName, Attributes attr) {
- getEntries().put(entryName, attr);
- }
-
- /**
- * Adds the key/value pair to the attributes for the given entry name; if the entry does not
- * exist, creates a new attributes
- */
- public void addEntryAttribute(String entryName, String key, String value) {
- Attributes attr = getAttributes(entryName);
- if (attr == null)
- addEntry(entryName);
- attr = getAttributes(entryName);
- attr.putValue(key, value);
- }
-
- public void addVersionIfNecessary() {
- //This is a hack because of the fact that the manifest does not serialize correctly if
- //The version is not set. In addition to saves, the serialization is used for copy
- if (getManifestVersion() == null || getManifestVersion().equals(""))//$NON-NLS-1$
- setManifestVersion("1.0");//$NON-NLS-1$
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveManifest
- */
- public void appendClassPath(java.lang.String extension) {
- String classPath = getClassPath();
- if (classPath != null)
- setClassPath(classPath + " " + extension);//$NON-NLS-1$
- else
- setClassPath(extension);
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveManifest
- */
- public java.lang.String getClassPath() {
- return ArchiveUtil.getValueIgnoreKeyCase(Attributes.Name.CLASS_PATH.toString(), getMainAttributes());
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveManifest
- */
- public java.lang.String[] getClassPathTokenized() {
- String classPath = getClassPath();
- if (classPath == null)
- return new String[0];
- return org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil.getTokens(classPath);
- }
-
- public String getEntryAttribute(String entryName, String key) {
- Attributes attr = getAttributes(entryName);
- if (attr == null)
- return null;
- return attr.getValue(key);
- }
-
- public String getMainClass() {
- return ArchiveUtil.getValueIgnoreKeyCase(Attributes.Name.MAIN_CLASS.toString(), getMainAttributes());
- }
-
- public String getManifestVersion() {
- return getMainAttributes().getValue(Attributes.Name.MANIFEST_VERSION);
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveManifest
- */
- public void mergeClassPath(java.lang.String[] classPathEntries) {
- StringBuffer sb = new StringBuffer();
- java.util.List existing = java.util.Arrays.asList(getClassPathTokenized());
- String cp = getClassPath();
- if (cp != null)
- sb.append(cp);
- boolean empty = cp == null || "".equals(cp); //$NON-NLS-1$
- for (int i = 0; i < classPathEntries.length; i++) {
- if (!existing.contains(classPathEntries[i])) {
- if (!empty)
- sb.append(" "); //$NON-NLS-1$
- else
- empty = false;
- sb.append(classPathEntries[i]);
- }
- }
- setClassPath(sb.toString());
- }
-
- public void removeEntry(String entryName) {
- getEntries().remove(entryName);
- }
-
- public void removeEntryAttribute(String entryName, Object key) {
- Attributes attr = getAttributes(entryName);
- if (attr != null)
- attr.remove(key);
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveManifest
- */
- public void setClassPath(java.lang.String aSpaceDelimitedPath) {
- Attributes attributes = getMainAttributes();
- if (aSpaceDelimitedPath == null)
- attributes.remove(Attributes.Name.CLASS_PATH);
- else
- attributes.putValue(Attributes.Name.CLASS_PATH.toString(), aSpaceDelimitedPath);
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveManifest
- */
- public void setMainClass(java.lang.String className) {
- Attributes attributes = getMainAttributes();
- if (className == null)
- attributes.remove(Attributes.Name.MAIN_CLASS);
- else
- attributes.putValue(Attributes.Name.MAIN_CLASS.toString(), className);
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveManifest
- */
- public void setManifestVersion(java.lang.String version) {
- Attributes attributes = getMainAttributes();
- attributes.putValue(Attributes.Name.MANIFEST_VERSION.toString(), version);
- }
-
- /**
- * Writes the Manifest to the specified OutputStream, splitting each classpath entry on a line
- * by itself.
- *
- * @param out
- * the output stream
- * @exception IOException
- * if an I/O error has occurred
- */
- public void writeSplittingClasspath(OutputStream out) throws IOException {
- DataOutputStream dos = new DataOutputStream(out);
- // Write out the main attributes for the manifest
- writeMainSplittingClasspath(getMainAttributes(), dos);
- // Now write out the pre-entry attributes
- Iterator it = getEntries().entrySet().iterator();
- while (it.hasNext()) {
- Map.Entry e = (Map.Entry) it.next();
- StringBuffer buffer = new StringBuffer("Name: "); //$NON-NLS-1$
- buffer.append((String) e.getKey());
- buffer.append("\r\n"); //$NON-NLS-1$
- localMake72Safe(buffer);
- dos.writeBytes(buffer.toString());
- write((Attributes) e.getValue(), dos);
- }
- dos.flush();
- }
-
- /*
- * Writes the current attributes to the specified data output stream. XXX Need to handle UTF8
- * values and break up lines longer than 72 bytes
- *
- * @see Attributes#write
- */
- protected void write(Attributes attributes, DataOutputStream os) throws IOException {
- Iterator it = attributes.entrySet().iterator();
- while (it.hasNext()) {
- Map.Entry e = (Map.Entry) it.next();
- StringBuffer buffer = new StringBuffer(((Attributes.Name) e.getKey()).toString());
- buffer.append(": "); //$NON-NLS-1$
- buffer.append((String) e.getValue());
- buffer.append("\r\n"); //$NON-NLS-1$
- localMake72Safe(buffer);
- os.writeBytes(buffer.toString());
- }
- os.writeBytes("\r\n"); //$NON-NLS-1$
- }
-
- /*
- * Writes the current attributes to the specified data output stream, make sure to write out the
- * MANIFEST_VERSION or SIGNATURE_VERSION attributes first.
- *
- * @see Attributes#writeMain
- */
- protected void writeMainSplittingClasspath(Attributes attributes, DataOutputStream out) throws IOException {
- // write out the *-Version header first, if it exists
- String vername = Attributes.Name.MANIFEST_VERSION.toString();
- String version = attributes.getValue(vername);
- if (version == null) {
- vername = Attributes.Name.SIGNATURE_VERSION.toString();
- version = attributes.getValue(vername);
- }
-
- if (version != null) {
- out.writeBytes(vername + ": " + version + "\r\n"); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- // write out all attributes except for the version
- // we wrote out earlier
- Iterator it = attributes.entrySet().iterator();
- while (it.hasNext()) {
- Map.Entry e = (Map.Entry) it.next();
- String name = ((Attributes.Name) e.getKey()).toString();
- if ((version != null) && !(name.equalsIgnoreCase(vername))) {
- if (name.equalsIgnoreCase(Attributes.Name.CLASS_PATH.toString())) {
- writeSplit(out, name, (String) e.getValue());
- continue;
- }
- StringBuffer buffer = new StringBuffer(name);
- buffer.append(": "); //$NON-NLS-1$
- buffer.append((String) e.getValue());
- buffer.append("\r\n"); //$NON-NLS-1$
- localMake72Safe(buffer);
- out.writeBytes(buffer.toString());
- }
- }
- out.writeBytes("\r\n"); //$NON-NLS-1$
- }
-
- protected void writeSplit(DataOutputStream out, String name, String value) throws IOException {
- StringTokenizer tok = new StringTokenizer(value);
- int inc = 0;
- while (tok.hasMoreTokens()) {
- StringBuffer buffer = null;
- if (inc == 0) {
- buffer = new StringBuffer(name);
- buffer.append(": "); //$NON-NLS-1$
- } else {
- buffer = new StringBuffer();
- buffer.append(' ');
- }
- buffer.append(tok.nextToken());
- if (tok.countTokens() > 0)
- buffer.append(" \r\n"); //$NON-NLS-1$
- else
- buffer.append("\r\n"); //$NON-NLS-1$
- localMake72Safe(buffer);
- out.writeBytes(buffer.toString());
- inc++;
- }
- }
-
- /**
- * Adds line breaks to enforce a maximum 72 bytes per line.
- */
- protected static void localMake72Safe(StringBuffer line) {
- int length = line.length();
- if (length > 72) {
- int index = 70;
- while (index - 1 < length) {
- line.insert(index, "\r\n "); //$NON-NLS-1$
- index += 72;
- length += 3;
- }
- }
- return;
- }
-
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveOptions.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveOptions.java
deleted file mode 100644
index 92cdbcf36..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveOptions.java
+++ /dev/null
@@ -1,226 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy;
-
-
-/**
- * Insert the type's description here. Creation date: (05/02/01 2:58:48 PM)
- *
- * @author: Administrator
- */
-public class ArchiveOptions implements Cloneable {
-
- public static final int SAX = 1;
- public static final int DOM = 2;
- public static final int DEFAULT = 3;
-
- private int rendererType = DEFAULT;
-
- /**
- * Load strategy for opening/reading the archive; optional - if null a load strategy will be
- * created when the archive is opened
- */
- private LoadStrategy loadStrategy;
- /**
- * Indicator for whether auto java reflection should be turned on in the archive - defaults to
- * true
- */
- private boolean useJavaReflection = true;
- /**
- * Indicator for whether the archive will be modified after opening or if it is just being
- * opened, read, saved to a new location; this is an optimization to avoid temp file creation
- * and saving of individual files within a nested archive if the nested archive will not change -
- * defaults to false
- */
- private boolean isReadOnly;
-
- /**
- * Indicator for whether a libary nested in another archive (eg, utility JARs in an EAR) will be
- * saved out as an ordinary file or as a nested Archive. When loaded into memory these files are
- * treated as Archives, to support dynamic class loading for Java reflection of classes in
- * EJBJarFiles and dependent JARs. An archive opened for edit, either by adding or removing
- * files or changning the Manifest or a deployment descriptor, will be saved as a new file one
- * file at a time. The default for this flag is true; it only applies to library Archives, not
- * instances of ModuleFile. If you wish to edit a nested library, set this flag to false
- */
- private boolean saveLibrariesAsFiles = true;
-
-
- private boolean saveOnlyDirtyMofResources = true;
-
- /**
- * By default, nested archives are treated as primitive archives and are not piped through the
- * discriminator tree on the archive factory; module files in an EAR are opened using the
- * specific open methods on the factory; change this flag if you'd like nested archives to be
- * discriminated
- */
- private boolean discriminateNestedArchives = false;
-
- private Map readOnlyFlags;
-
- /**
- * ArchiveOptions constructor comment.
- */
- public ArchiveOptions() {
- super();
- }
-
- /**
- * Make a copy of the reciever, setting the loadStrategy to null
- */
- public Object clone() {
- return cloneWith(null);
- }
-
- /**
- * Make a copy of the reciever, setting the loadStrategy to null
- */
- public ArchiveOptions cloneWith(LoadStrategy aLoadStrategy) {
- try {
- ArchiveOptions result = (ArchiveOptions) super.clone();
- result.setLoadStrategy(aLoadStrategy);
- result.readOnlyFlags = null;
- return result;
- } catch (CloneNotSupportedException ignore) {
- return null;
- }
- }
-
- public ArchiveOptions cloneWith(LoadStrategy aLoadStrategy, String uri) {
- ArchiveOptions result = cloneWith(aLoadStrategy);
- result.setIsReadOnly(isReadOnly(uri));
- return result;
- }
-
- public org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy getLoadStrategy() {
- return loadStrategy;
- }
-
- public boolean isReadOnly() {
- return isReadOnly;
- }
-
- /**
- * Insert the method's description here. Creation date: (7/18/2001 2:42:11 PM)
- *
- * @return boolean
- */
- public boolean saveOnlyDirtyMofResources() {
- return saveOnlyDirtyMofResources;
- }
-
- public void setIsReadOnly(boolean newIsReadOnly) {
- isReadOnly = newIsReadOnly;
- }
-
- public void setIsReadOnly(boolean readOnly, String uri) {
- if (readOnlyFlags == null)
- readOnlyFlags = new HashMap();
- readOnlyFlags.put(uri, new Boolean(readOnly));
- }
-
- public boolean isReadOnly(String uri) {
- if (readOnlyFlags != null) {
- Boolean bool = (Boolean) readOnlyFlags.get(uri);
- if (bool != null)
- return bool.booleanValue();
- }
- return isReadOnly;
- }
-
- public void setLoadStrategy(org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy newLoadStrategy) {
- loadStrategy = newLoadStrategy;
- loadStrategy.setReadOnly(isReadOnly());
- loadStrategy.setRendererType(getRendererType());
- }
-
- /**
- * Insert the method's description here. Creation date: (7/18/2001 2:42:11 PM)
- *
- * @param newSaveOnlyDirtyMofResources
- * boolean
- */
- public void setSaveOnlyDirtyMofResources(boolean newSaveOnlyDirtyMofResources) {
- saveOnlyDirtyMofResources = newSaveOnlyDirtyMofResources;
- }
-
- public void setUseJavaReflection(boolean newUseJavaReflection) {
- useJavaReflection = newUseJavaReflection;
- }
-
- public boolean useJavaReflection() {
- return useJavaReflection;
- }
-
- /**
- * Gets the saveLibrariesAsFiles.
- *
- * @return Returns a boolean
- */
- public boolean isSaveLibrariesAsFiles() {
- return saveLibrariesAsFiles;
- }
-
- /**
- * Sets the saveLibrariesAsFiles.
- *
- * @param saveLibrariesAsFiles
- * The saveLibrariesAsFiles to set
- */
- public void setSaveLibrariesAsFiles(boolean saveLibrariesAsFiles) {
- this.saveLibrariesAsFiles = saveLibrariesAsFiles;
- }
-
-
- /**
- * Gets the discriminateNestedArchives.
- *
- * @return Returns a boolean
- */
- public boolean shouldDiscriminateNestedArchives() {
- return discriminateNestedArchives;
- }
-
- /**
- * Sets the discriminateNestedArchives.
- *
- * @param discriminateNestedArchives
- * The discriminateNestedArchives to set
- */
- public void setDiscriminateNestedArchives(boolean discriminateNestedArchives) {
- this.discriminateNestedArchives = discriminateNestedArchives;
- }
-
- /**
- * @return Returns the rendererType.
- */
- public int getRendererType() {
- return rendererType;
- }
-
- /**
- * The rendererType allows a user to override the renderer used by Common Archive for special
- * cases in the UI where you really want to use a non-synchronizing renderer.
- *
- * @param rendererType
- * The rendererType to set.
- */
- public void setRendererType(int rendererType) {
- this.rendererType = rendererType;
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveTypeDiscriminator.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveTypeDiscriminator.java
deleted file mode 100644
index 9236586fd..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveTypeDiscriminator.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ImportStrategy;
-
-
-/**
- * An interface that defines an API for opening archives. The {@link CommonArchiveFactory}
- * implementation uses a root level discriminator to open an archive. The main benefit of this api
- * is it allows extended teams or third parties to plug in to the framework to allow specialized
- * kinds of jar files do be discerned at creation/open time without the client having to provide a
- * lot of logic. For example, a client would simply write
- * <code>((CommonArchivePackage)EPackage.Registry.INSTANCE.getEPackage(CommonArchivePackage.eNS_URI)).getCommonArchiveFactory().open(aString)<code>, and get back
- * the correct kind of archive instance. A discriminator contains children, which is an ordered list of discriminators, each of which
- * can have its turn to determine if it can open an archive. The first one to succeed wins. Once a discriminator determines that it
- * can open an archive, it gives each of its children the opportuntity to do something more specific, and so on. In the base
- * implementation, discriminators are defined as single instances of an inner class for each import strategy. The following code shows
- * how to register a discriminator for a specialized EJBJarFile:
- * <code>EjbJar11ImportStrategyImpl.getDiscriminator().addChild(aDiscriminator);</code>
- * This would be done as an initialization at startup time. If the child discriminator is ever invoked, the parent will have already
- * determined that the archive is an EJBJarFile and will have converted it to that type.
- */
-public interface ArchiveTypeDiscriminator {
- public void addChild(ArchiveTypeDiscriminator child);
-
- /**
- * @throws java.util.NoSuchElementException
- * if the predecessor is not included in the list of children
- */
- public void addChildAfter(ArchiveTypeDiscriminator child, ArchiveTypeDiscriminator predecessor) throws java.util.NoSuchElementException;
-
- /**
- * @throws java.util.NoSuchElementException
- * if the successor is not included in the list of children
- */
- public void addChildBefore(ArchiveTypeDiscriminator child, ArchiveTypeDiscriminator successor) throws java.util.NoSuchElementException;
-
- /**
- * Performs tests on the archive to determine if it is the kind this discriminator is interested
- * in
- */
- public boolean canImport(Archive anArchive);
-
- /**
- * Factory method to create the import strategy for a converted archive
- */
- public ImportStrategy createImportStrategy(Archive old, Archive newArchive);
-
- /**
- * Return a string to be presented either through an exception or error message when a specific
- * kind of archive is expected and this discriminator can't open it.
- */
- public String getUnableToOpenMessage();
-
- public boolean hasChild(ArchiveTypeDiscriminator disc);
-
- public boolean hasChildren();
-
- /**
- * Point of entry for attempting to open an archive
- *
- * @return a converted archive or null if this discriminator can't convert it
- */
- public Archive openArchive(Archive anArchive) throws OpenFailureException;
-
- public void removeChild(ArchiveTypeDiscriminator child);
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveTypeDiscriminatorImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveTypeDiscriminatorImpl.java
deleted file mode 100644
index 7d7b26818..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveTypeDiscriminatorImpl.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-
-import java.util.List;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveResourceHandler;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ImportStrategy;
-
-
-/**
- * @see ArchiveTypeDiscriminator
- */
-public abstract class ArchiveTypeDiscriminatorImpl implements ArchiveTypeDiscriminator {
- protected List children;
-
- public ArchiveTypeDiscriminatorImpl() {
- super();
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveTypeDiscriminator
- */
- public void addChild(ArchiveTypeDiscriminator child) {
- if (hasChild(child))
- return;
- getChildren().add(child);
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveTypeDiscriminator
- */
- public void addChildAfter(org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveTypeDiscriminator child, org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveTypeDiscriminator predecessor) throws java.util.NoSuchElementException {
- if (hasChild(child))
- return;
- int index = getChildren().indexOf(predecessor);
- if (index >= 0) {
- index++;
- getChildren().add(index, child);
- } else {
- throw new java.util.NoSuchElementException(predecessor.toString());
- }
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveTypeDiscriminator
- */
- public void addChildBefore(ArchiveTypeDiscriminator child, ArchiveTypeDiscriminator successor) throws java.util.NoSuchElementException {
- if (hasChild(child))
- return;
- int index = getChildren().indexOf(successor);
- if (index >= 0) {
- getChildren().add(index, child);
- } else {
- throw new java.util.NoSuchElementException(successor.toString());
- }
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveTypeDiscriminator
- */
- public abstract boolean canImport(Archive anArchive);
-
- /**
- * @see com.ibm.etools.archive.ArchiveTypeDiscriminator
- */
- public Archive convert(Archive anArchive) throws OpenFailureException {
- Archive destination = createConvertedArchive();
-
- //turn of notifications
- destination.eSetDeliver(false);
- destination.eSetDeliver(false);
-
- //Copy the relevant attributes
- destination.setURI(anArchive.getURI());
- destination.setOriginalURI(anArchive.getURI());
- destination.setSize(anArchive.getSize());
- destination.setLastModified(anArchive.getLastModified());
-
- destination.setLoadStrategy(anArchive.getLoadStrategy());
- destination.setOptions(anArchive.getOptions());
- destination.setExtraClasspath(anArchive.getExtraClasspath());
- if (destination.isModuleFile()) {
- ImportStrategy importStrategy = createImportStrategy(anArchive, destination);
- ((ModuleFile) destination).setImportStrategy(importStrategy);
- }
-
-
-
- //turn notifications back on
- destination.eSetDeliver(true);
- destination.eSetDeliver(true);
-
- return destination;
- }
-
- public abstract Archive createConvertedArchive();
-
- /**
- * @see com.ibm.etools.archive.ArchiveTypeDiscriminator
- */
- public abstract ImportStrategy createImportStrategy(Archive old, Archive newArchive);
-
- public java.util.List getChildren() {
- if (children == null)
- children = new java.util.ArrayList();
- return children;
- }
-
- /**
- * Iterate through each child and attempt to convert the archive to the child's type; return the
- * converted archive from the first child that succeeds, or null if no child succeeds or no
- * child exists
- */
- protected Archive getImportableArchiveFromChild(Archive anArchive) throws OpenFailureException {
- if (!hasChildren()) {
- return null;
- }
- List theChildren = getChildren();
- Archive childConvertedArchive = null;
- for (int i = 0; i < theChildren.size(); i++) {
- ArchiveTypeDiscriminator child = (ArchiveTypeDiscriminator) theChildren.get(i);
- childConvertedArchive = child.openArchive(anArchive);
- if (childConvertedArchive != null) {
- return childConvertedArchive;
- }
- }
- return null;
- }
-
- protected String getXmlDDMessage(String archiveType, String ddUri) {
- return CommonArchiveResourceHandler.getString("invalid_archive_EXC_", (new Object[]{archiveType, ddUri})); //$NON-NLS-1$ = "Archive is not a valid {0} because the deployment descriptor can not be found (case sensitive): {1}"
- }
-
- public boolean hasChild(ArchiveTypeDiscriminator disc) {
- return hasChildren() && getChildren().contains(disc);
- }
-
- public boolean hasChildren() {
- return children != null && children.size() > 0;
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveTypeDiscriminator
- */
- public Archive openArchive(Archive anArchive) throws OpenFailureException {
- if (!canImport(anArchive)) {
- return null;
- }
- Archive convertedArchive = convert(anArchive);
- Archive childConvertedArchive = getImportableArchiveFromChild(convertedArchive);
- if (childConvertedArchive != null)
- return childConvertedArchive;
- return convertedArchive;
- }
-
- /**
- * @see com.ibm.etools.archive.ArchiveTypeDiscriminator
- */
- public void removeChild(org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveTypeDiscriminator child) {
- getChildren().remove(child);
- }
-
- public void setChildren(java.util.List newChildren) {
- children = newChildren;
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveURIConverterImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveURIConverterImpl.java
deleted file mode 100644
index c8c032981..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ArchiveURIConverterImpl.java
+++ /dev/null
@@ -1,309 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.net.URLConnection;
-import java.util.StringTokenizer;
-import java.util.zip.ZipEntry;
-import java.util.zip.ZipFile;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.impl.URIConverterImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy;
-
-
-/**
- * Helper class used for loading of mof resources contained within an archive; knows how to retrieve
- * an input stream for a given uri
- */
-public class ArchiveURIConverterImpl extends URIConverterImpl {
- protected static final String fileProtocol = "file"; //$NON-NLS-1$
- protected static final String platformProtocol = "platform"; //$NON-NLS-1$
- private String inFilepath, outFilepath;
-
- public ArchiveURIConverterImpl(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive anArchive, String resourcesPath) {
- setArchive(anArchive);
- this.resourcesPath = resourcesPath;
- setInputFilepath(resourcesPath);
- String outpath = resourcesPath;
- if (outpath == null) {
- LoadStrategy l = anArchive.getLoadStrategy();
- if (l != null && l.isDirectory()) {
- try {
- outpath = l.getAbsolutePath();
- } catch (FileNotFoundException ignore) {
- //Ignore
- }
- }
- }
- setOutputFilepath(outpath);
- }
-
- /** The archive from which resources will be loaded */
- protected org.eclipse.jst.j2ee.commonarchivecore.internal.Archive archive;
- protected String resourcesPath;
-
- public org.eclipse.jst.j2ee.commonarchivecore.internal.Archive getArchive() {
- return archive;
- }
-
- public InputStream createInputStream(URI uri) throws IOException {
- InputStream in = null;
- if (resourcesPath != null)
- in = makeInputStream(uri);
- if (in != null)
- return in;
- return getArchive().getInputStream(uri.toString());
- }
-
- public void setArchive(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive newArchive) {
- archive = newArchive;
- }
-
- /**
- * Gets the resourcesPath.
- *
- * @return Returns a String
- */
- public String getResourcesPath() {
- return resourcesPath;
- }
-
- /**
- * Sets the resourcesPath.
- *
- * @param resourcesPath
- * The resourcesPath to set
- */
- public void setResourcesPath(String resourcesPath) {
- this.resourcesPath = resourcesPath;
- setInputFilepath(resourcesPath);
- setOutputFilepath(resourcesPath);
- }
-
- public URI normalize(URI uri) {
- return getInternalURIMap().getURI(uri);
- }
-
- /**
- * The input file path consists of a string of directories or zip files separated by semi-colons
- * that are searched when an input stream is constructed.
- *
- * @return The file path
- */
- public String getInputFilepath() {
- return inFilepath;
- }
-
- /**
- * @param filepath
- * The file path
- */
- public void setInputFilepath(String filepath) {
- inFilepath = filepath;
- }
-
- /**
- * @return The output file path
- */
- public String getOutputFilepath() {
- return outFilepath;
- }
-
- /**
- * The output file path is the path name of a directory to prepend to relative file path names
- * when an output stream is constructed.
- *
- * @param filepath
- * The output file path
- */
- public void setOutputFilepath(String filepath) {
- outFilepath = filepath;
- }
-
- /**
- * Convert the URI to an input stream.
- *
- * @param uri
- * The uri
- */
- public InputStream makeInputStream(URI uri) throws IOException {
- URI converted = uri;
-
- if ((fileProtocol.equals(converted.scheme()) || converted.scheme() == null) && inFilepath != null) {
- return searchFilePath(converted.toString());
- }
- URL url = createURL(converted.toString());
- URLConnection urlConnection = url.openConnection();
- return urlConnection.getInputStream();
- }
-
- /**
- * Search the file path if the file portion of the URL is not absolute (does not begin with "/";
- * otherwise, attempt to create an input stream for the file.
- */
- protected InputStream searchFilePath(String filename) throws IOException {
- File file = new File(filename);
- if (file.isAbsolute())
- return new FileInputStream(file);
- StringTokenizer st = new StringTokenizer(inFilepath, ";"); //$NON-NLS-1$
- while (st.hasMoreTokens()) {
- String f = st.nextToken();
- ZipFile zf = null;
- try {
- zf = new ZipFile(f);
- } catch (Exception e) {
- //Ignore
- }
- InputStream in = null;
- if (zf != null) {
- in = searchZipFile(zf, filename);
- if (in == null)
- try {
- zf.close();
- } catch (Exception e) {
- //Ignore
- }
- } else {
- in = searchDirectory(f, filename);
- }
- if (in != null)
- return in;
- }
- return null;
- }
-
- /**
- * This method determines whether the file with the relative path name of filename exists in the
- * given directory. If not, it returns null; otherwise, it opens the file up and returns the
- * input source.
- *
- * @param dir
- * java.lang.String
- * @return java.io.InputSource
- */
- protected InputStream searchDirectory(String dir, String filename) throws IOException {
- if (dir.equals(".")) //$NON-NLS-1$
- dir = System.getProperty("user.dir"); //$NON-NLS-1$
- File f = new File(dir + System.getProperty("file.separator") + filename.replace('/', File.separatorChar)); //$NON-NLS-1$
- if (!f.exists())
- return null;
- return new FileInputStream(f);
- }
-
- /**
- * This method determines whether there is a ZipEntry whose name is filename in the given
- * ZipFile. If not, it returns null; otherwise, it returns an input source to read from the
- * ZipEntry.
- *
- * @param zip
- * java.util.zip.ZipFile
- * @return java.io.InputSource
- */
- protected InputStream searchZipFile(ZipFile zip, String filename) throws IOException {
- ZipEntry entry = zip.getEntry(filename);
- if (entry == null)
- return null;
- return zip.getInputStream(entry);
- }
-
- /**
- * Make a URL from the uri; if the attempt fails, attempt to append "file:" to the URI; if the
- * attempt still fails, attempt to replace the protocol with the file protocol.
- *
- * @param uri
- * The string uri
- */
- public URL createURL(String uri) throws MalformedURLException {
- MalformedURLException m = null;
- if (uri == null)
- return null;
- URL url = null;
- try {
- url = new URL(uri);
- } catch (Exception e) {
- m = (MalformedURLException) e;
- }
- if (url != null)
- return url;
- // Either treat the URI as a filepath (if there are no : or
- // a : in position 1) or replace the given protocol with the
- // file protocol.
- int index = uri.indexOf(":"); //$NON-NLS-1$
- if (index == -1 || index == 1)
- uri = fileProtocol + ":" + uri; //$NON-NLS-1$
- else if (index > 0)
- uri = fileProtocol + ":" + uri.substring(index + 1); //$NON-NLS-1$
- try {
- url = new URL(uri);
- } catch (Exception e) {
- //Ignore
- }
- if (url != null)
- return url;
- throw m;
- }
-
- /**
- * Convert the URI to an output stream.
- *
- * @param uri
- * The uri
- */
- public OutputStream createOutputStream(URI uri) throws IOException {
- URI converted = uri;
- if (platformProtocol.equals(converted.scheme())) {
- URL resolvedURL = resolvePlatform(new URL(converted.toString()));
- if (resolvedURL != null) {
- converted = URI.createFileURI(resolvedURL.getFile());
- }
- }
- if (fileProtocol.equals(converted.scheme()) || converted.scheme() == null) {
- return openFileOutputStream(converted);
- }
- URL url = createURL(converted.toString());
- URLConnection urlConnection = url.openConnection();
- urlConnection.setDoOutput(true);
- return urlConnection.getOutputStream();
- }
-
- protected URL resolvePlatform(URL url) throws IOException {
- // let WorkbenchURIConverter implement this one.
- return null;
- }
-
- /**
- * Open a file output stream for the given uri (the uri has file protocol). If an output file
- * path is specified and the file name is relative, prepend the output file path to the file
- * name. Make the directories that contain the file if they do not exist.
- */
- protected OutputStream openFileOutputStream(URI uri) throws IOException {
- File file = new File(uri.toFileString());
- if (!file.isAbsolute() && outFilepath != null) {
- file = new File(outFilepath + File.separator + uri.toFileString());
- }
- String parent = file.getParent();
- if (parent != null) {
- new File(parent).mkdirs();
- }
- OutputStream outputStream = new FileOutputStream(file);
- return outputStream;
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ExportStrategy.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ExportStrategy.java
deleted file mode 100644
index 89b080090..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ExportStrategy.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ArchiveStrategy;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategy;
-
-
-
-/**
- * ExportStrategy knows what to do just before a dump of an archive is about to occur, typically
- * adding items such as deployment descriptors and such. This provides a delegation model for
- * archive/version/platform specific rules about which resources etc need to be exported. Clients
- * can implement this interface, and "plug in" to an instance of an archive.
- */
-public interface ExportStrategy extends ArchiveStrategy {
- /**
- * Returns whether this strategy has already saved a file entry having a uri named by the
- * parameter
- */
- public boolean hasSaved(String uri);
-
- /**
- * The archive is saving itself, and giving the export strategy the opportunity to do whatever
- * it needs to do. The export strategy may write entries directly to the SaveStrategy, but if it
- * does, it should remember the names of these entries so the archive does not attempt to
- * duplicate by saving an entry with the same name
- */
- public void preSave(SaveStrategy aSaveStrategy) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException;
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/FileExtensionsFilterImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/FileExtensionsFilterImpl.java
deleted file mode 100644
index 7fb9b7c73..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/FileExtensionsFilterImpl.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-
-import java.util.Set;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-
-
-/**
- * Insert the type's description here. Creation date: (02/28/01 1:20:09 PM)
- *
- * @author: Administrator
- */
-public class FileExtensionsFilterImpl extends SaveFilterImpl implements org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.SaveFilter {
- protected Set excludedExtensions;
- protected boolean isCaseSensitive = false;
- protected Set excludedExtensionsAsUppercase;
-
- /**
- * FileExtensionsFilterImpl constructor comment.
- */
- public FileExtensionsFilterImpl(String[] extensionsToExclude, boolean caseSensitive) {
- super();
- Set extensions = new java.util.HashSet();
- for (int i = 0; i < extensionsToExclude.length; i++) {
- extensions.add(extensionsToExclude[i]);
- }
- setExcludedExtensions(extensions);
- setIsCaseSensitive(caseSensitive);
- initialize();
- }
-
- /**
- * FileExtensionsFilterImpl constructor comment.
- */
- public FileExtensionsFilterImpl(String extension, boolean caseSensitive) {
- super();
- Set extensions = new java.util.HashSet(1);
- extensions.add(extension);
- setExcludedExtensions(extensions);
- setIsCaseSensitive(caseSensitive);
- initialize();
- }
-
- /**
- * FileExtensionsFilterImpl constructor comment.
- */
- public FileExtensionsFilterImpl(Set extensionsToExclude, boolean caseSensitive) {
- super();
- setExcludedExtensions(extensionsToExclude);
- setIsCaseSensitive(caseSensitive);
- initialize();
- }
-
- /**
- * Insert the method's description here. Creation date: (02/28/01 1:24:28 PM)
- *
- * @return java.util.Set
- */
- public java.util.Set getExcludedExtensions() {
- return excludedExtensions;
- }
-
- /**
- * Insert the method's description here. Creation date: (02/28/01 2:42:20 PM)
- *
- * @return java.util.Set
- */
- protected java.util.Set getExcludedExtensionsAsUppercase() {
- return excludedExtensionsAsUppercase;
- }
-
- protected void initialize() {
- if (isCaseSensitive())
- return;
-
- java.util.HashSet aSet = new java.util.HashSet();
- java.util.Iterator it = getExcludedExtensions().iterator();
- while (it.hasNext()) {
- aSet.add(((String) it.next()).toUpperCase());
- }
- setExcludedExtensionsAsUppercase(aSet);
- }
-
- public boolean isCaseSensitive() {
- return isCaseSensitive;
- }
-
- /**
- * Insert the method's description here. Creation date: (02/28/01 1:24:28 PM)
- *
- * @param newExcludedExtensions
- * java.util.Set
- */
- protected void setExcludedExtensions(java.util.Set newExcludedExtensions) {
- excludedExtensions = newExcludedExtensions;
- }
-
- /**
- * Insert the method's description here. Creation date: (02/28/01 2:42:20 PM)
- *
- * @param newExcludedExtensionsAsUppercase
- * java.util.Set
- */
- protected void setExcludedExtensionsAsUppercase(java.util.Set newExcludedExtensionsAsUppercase) {
- excludedExtensionsAsUppercase = newExcludedExtensionsAsUppercase;
- }
-
- protected void setIsCaseSensitive(boolean value) {
- isCaseSensitive = value;
- }
-
- /**
- * @see com.ibm.etools.archive.SaveFilter
- */
- public boolean shouldSave(String uri, Archive anArchive) {
- String extension = org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil.getFileNameExtension(uri);
- if (extension.equals(""))//$NON-NLS-1$
- return true;
-
- Set excluded;
- if (isCaseSensitive()) {
- excluded = getExcludedExtensions();
- } else {
- excluded = getExcludedExtensionsAsUppercase();
- extension = extension.toUpperCase();
- }
-
- return !excluded.contains(extension);
-
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/FileIterator.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/FileIterator.java
deleted file mode 100644
index 9502b6165..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/FileIterator.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-
-import java.io.InputStream;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-
-
-/**
- * Insert the type's description here. Creation date: (05/02/01 5:20:00 PM)
- *
- * @author: Administrator
- */
-public interface FileIterator {
- public InputStream getInputStream(File aFile) throws java.io.IOException, java.io.FileNotFoundException;
-
- public boolean hasNext();
-
- public File next();
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/FileIteratorImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/FileIteratorImpl.java
deleted file mode 100644
index 7433f940e..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/FileIteratorImpl.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-
-import java.io.InputStream;
-import java.util.List;
-import java.util.NoSuchElementException;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveResourceHandler;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-
-
-public class FileIteratorImpl implements FileIterator {
- protected List files;
- protected int position = 0;
-
- /**
- * Insert the method's description here. Creation date: (05/02/01 6:16:52 PM)
- */
- public FileIteratorImpl() {
- //Default
- }
-
- public FileIteratorImpl(List theFiles) {
- super();
- files = theFiles;
- }
-
- public InputStream getInputStream(File aFile) throws java.io.IOException, java.io.FileNotFoundException {
- return aFile.getInputStream();
- }
-
- public boolean hasNext() {
- return position < files.size();
- }
-
- public File next() {
- if (!hasNext())
- throw new NoSuchElementException(CommonArchiveResourceHandler.getString("End_of_list_reached_EXC_")); //$NON-NLS-1$ = "End of list reached"
- return (File) files.get(position++);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ManifestPackageEntryImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ManifestPackageEntryImpl.java
deleted file mode 100644
index a3ef827a1..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ManifestPackageEntryImpl.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-
-
-/**
- * Used for manifest support.
- */
-public class ManifestPackageEntryImpl extends java.util.jar.Attributes {
- static final String NAME = "Name";//$NON-NLS-1$
- static final String SPECIFICATION_TITLE = "Specification-Title";//$NON-NLS-1$
- static final String SPECIFICATION_VERSION = "Specification-Version";//$NON-NLS-1$
- static final String SPECIFICATION_VENDOR = "Specification-Vendor";//$NON-NLS-1$
- static final String IMPLEMENTATION_TITLE = "Implementation-Title";//$NON-NLS-1$
- static final String IMPLEMENTATION_VERSION = "Implementation-Version";//$NON-NLS-1$
- static final String IMPLEMENTATION_VENDOR = "Implementation-Vendor";//$NON-NLS-1$
-
- /**
- * ManifestPackageEntry constructor comment.
- */
- public ManifestPackageEntryImpl() {
- super();
- }
-
- /**
- * ManifestPackageEntry constructor comment.
- *
- * @param size
- * int
- */
- public ManifestPackageEntryImpl(int size) {
- super(size);
- }
-
- /**
- * ManifestPackageEntry constructor comment.
- *
- * @param attr
- * java.util.jar.Attributes
- */
- public ManifestPackageEntryImpl(java.util.jar.Attributes attr) {
- super(attr);
- }
-
- public String getImplementationTitle() {
- return (String) get(IMPLEMENTATION_TITLE);
- }
-
- public String getImplementationVendor() {
- return (String) get(IMPLEMENTATION_VENDOR);
- }
-
- public String getImplementationVersion() {
- return (String) get(IMPLEMENTATION_VERSION);
- }
-
- public String getName() {
- return (String) get(NAME);
- }
-
- public String getSpecificationTitle() {
- return (String) get(SPECIFICATION_TITLE);
- }
-
- public String getSpecificationVendor() {
- return (String) get(SPECIFICATION_VENDOR);
- }
-
- public String getSpecificationVersion() {
- return (String) get(SPECIFICATION_VERSION);
- }
-
- public void setImplementationTitle(String value) {
- put(IMPLEMENTATION_TITLE, value);
- }
-
- public void setImplementationVendor(String value) {
- put(IMPLEMENTATION_VENDOR, value);
- }
-
- public void setImplementationVersion(String value) {
- put(IMPLEMENTATION_VERSION, value);
- }
-
- public void setName(String value) {
- put(NAME, value);
- }
-
- public void setSpecificationTitle(String value) {
- put(SPECIFICATION_TITLE, value);
- }
-
- public void setSpecificationVendor(String value) {
- put(SPECIFICATION_VENDOR, value);
- }
-
- public void setSpecificationVersion(String value) {
- put(SPECIFICATION_VERSION, value);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/NestedArchiveIterator.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/NestedArchiveIterator.java
deleted file mode 100644
index 7de9773bf..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/NestedArchiveIterator.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-
-import java.io.FilterInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.List;
-import java.util.zip.ZipEntry;
-import java.util.zip.ZipInputStream;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveResourceHandler;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveRuntimeException;
-
-
-public class NestedArchiveIterator extends FileIteratorImpl {
- protected ZipInputStream zipInputStream;
- protected ZipEntry currentEntry;
-
- static class WrapperInputStream extends FilterInputStream {
- /**
- * @param in
- */
- public WrapperInputStream(InputStream in) {
- super(in);
- // TODO Auto-generated constructor stub
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.io.FilterInputStream#close()
- */
- public void close() throws IOException {
- //do nothing because we want to prevent the clients from closing the zip
- }
- }
-
- /**
- * NestedArchiveIterator constructor comment.
- */
- public NestedArchiveIterator(List theFiles, ZipInputStream stream) {
- super(theFiles);
- zipInputStream = stream;
- }
-
- public InputStream getInputStream(File aFile) throws java.io.IOException, java.io.FileNotFoundException {
- if (!aFile.getURI().equals(currentEntry.getName()))
- throw new java.io.IOException(CommonArchiveResourceHandler.getString("Internal_Error__Iterator_o_EXC_")); //$NON-NLS-1$ = "Internal Error: Iterator out of sync with zip entries"
- return new WrapperInputStream(zipInputStream);
- }
-
- public File next() {
- File next = super.next();
- try {
- do {
- currentEntry = zipInputStream.getNextEntry();
- } while (currentEntry.isDirectory());
- } catch (java.io.IOException ex) {
- throw new ArchiveRuntimeException(CommonArchiveResourceHandler.getString("Error_iterating_the_archiv_EXC_"), ex); //$NON-NLS-1$ = "Error iterating the archive"
- }
- return next;
- }
-
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ResourceProxyValidator.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ResourceProxyValidator.java
deleted file mode 100644
index a28a3b9c4..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/ResourceProxyValidator.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Jun 11, 2003
- *
- * To change the template for this generated file go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * @author cbridgha
- *
- * To change the template for this generated type comment go to Window>Preferences>Java>Code
- * Generation>Code and Comments
- */
-final class ResourceProxyValidator {
- static HashMap resourceURIMap = new HashMap();
-
- private static void resolveContainedProxies(EObject refObject) {
- List contained = refObject.eContents();
- EObject mofObject;
- for (int i = 0; i < contained.size(); i++) {
- mofObject = (EObject) contained.get(i);
- resolveProxies(mofObject);
- }
- }
-
- private static void resolveNonContainedProxies(EObject refObject) {
- List references = refObject.eClass().getEAllReferences();
- EReference reference;
- EObject proxyOrObject;
- for (int i = 0; i < references.size(); i++) {
- reference = (EReference) references.get(i);
- if (!reference.isContainment() && !reference.isTransient()) {
- if (reference.isMany()) {
- Iterator value = ((List) refObject.eGet(reference)).iterator();
- while (value.hasNext()) {
- proxyOrObject = (EObject) value.next();
- if (proxyOrObject.eIsProxy())
- value.remove();
- }
- } else {
- proxyOrObject = (EObject) refObject.eGet(reference, false);
- if (proxyOrObject != null && proxyOrObject.eIsProxy()) {
- URI resourceURI = ((EObjectImpl) proxyOrObject).eProxyURI().trimFragment();
- String protocol = resourceURI.scheme();
- if (protocol == null || !protocol.equals("java")) { //$NON-NLS-1$
- String id = ((EObjectImpl) proxyOrObject).eProxyURI().fragment();
- if (resourceURIMap.get(resourceURI) != null) {
- Resource cachedResource = (Resource) resourceURIMap.get(resourceURI);
- proxyOrObject = (EObject) ((XMLResource) cachedResource).getIDToEObjectMap().get(id);
- } else {
- proxyOrObject = (EObject) refObject.eGet(reference);
- resourceURIMap.put(resourceURI, proxyOrObject.eResource());
- }
- if (proxyOrObject == null || proxyOrObject.eIsProxy())
- refObject.eSet(reference, null);
- }
- }
- }
- }
- }
- }
-
- private static void resolveProxies(EObject refObject) {
- if (refObject != null) {
- resolveNonContainedProxies(refObject);
- resolveContainedProxies(refObject);
- }
- }
-
- /**
- * Force all of the proxies with <code>resource</code> to be resolved.
- */
- static void checkForUnresolvableProxies(Resource resource) {
- resourceURIMap = new HashMap(); //Reset hashmap on each call
- if (resource != null) {
- List topLevels = resource.getContents();
- EObject mofObject;
- for (int i = 0; i < topLevels.size(); i++) {
- mofObject = (EObject) topLevels.get(i);
- resolveProxies(mofObject);
- }
- }
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/RuntimeClasspathEntry.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/RuntimeClasspathEntry.java
deleted file mode 100644
index 3281c6716..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/RuntimeClasspathEntry.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-
-public interface RuntimeClasspathEntry {
-
-
- /**
- * The resolved absolute path of the entry
- */
- String getAbsolutePath();
-
- void setAbsolutePath(String absolutePath);
-
- /**
- * A single token from the Class-Path: attrbute
- */
- String getManifestValue();
-
- void setManifestValue(String manifestValue);
-
- /**
- * valid only if this entry is a library in a WARFile, under WEB-INF/lib
- */
- WARFile getWarFile();
-
- void setWarFile(WARFile aWarFile);
-
- /**
- * true if this entry is a library in a WAR file
- */
- boolean isWebLib();
-
- /**
- * The resolved archive inside an EAR that this entry points to; Note that this is NOT the
- * Archive that has the entry in the manifest, but rather the referenced archive/
- */
- Archive getReferencedArchive();
-
- void setReferencedArchive(Archive anArchive);
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/RuntimeClasspathEntryImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/RuntimeClasspathEntryImpl.java
deleted file mode 100644
index caf60cb51..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/RuntimeClasspathEntryImpl.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-
-public class RuntimeClasspathEntryImpl implements RuntimeClasspathEntry {
-
- /** A single token from the Class-Path: attrbute */
- protected String manifestValue;
- /** The resolved absolute path of the entry */
- protected String absolutePath;
- /** valid only if this entry is a library in a WARFile, under WEB-INF/lib */
- protected WARFile warFile;
-
- protected Archive referencedArchive;
-
- /**
- * Constructor for ManifestClasspathEntryImpl.
- */
- public RuntimeClasspathEntryImpl() {
- super();
- }
-
- /**
- * Gets the absolutePath.
- *
- * @return Returns a String
- */
- public String getAbsolutePath() {
- return absolutePath;
- }
-
- /**
- * Sets the absolutePath.
- *
- * @param absolutePath
- * The absolutePath to set
- */
- public void setAbsolutePath(String absolutePath) {
- this.absolutePath = absolutePath;
- }
-
- /**
- * Gets the manifestValue.
- *
- * @return Returns a String
- */
- public String getManifestValue() {
- return manifestValue;
- }
-
- /**
- * Sets the manifestValue.
- *
- * @param manifestValue
- * The manifestValue to set
- */
- public void setManifestValue(String manifestValue) {
- this.manifestValue = manifestValue;
- }
-
-
-
- /**
- * Gets the warFile.
- *
- * @return Returns a WARFile
- */
- public WARFile getWarFile() {
- return warFile;
- }
-
- /**
- * Sets the warFile.
- *
- * @param warFile
- * The warFile to set
- */
- public void setWarFile(WARFile warFile) {
- this.warFile = warFile;
- }
-
- public String toString() {
- return getAbsolutePath();
- }
-
- public boolean equals(Object o) {
- if (o instanceof RuntimeClasspathEntry)
- return getAbsolutePath().equals(((RuntimeClasspathEntry) o).getAbsolutePath());
- return false;
- }
-
- public int hashCode() {
- return getAbsolutePath().hashCode();
- }
-
-
- /**
- * @see RuntimeClasspathEntry#isWebLib()
- */
- public boolean isWebLib() {
- return warFile != null;
- }
-
- /**
- * Gets the referencedArchive.
- *
- * @return Returns a Archive
- */
- public Archive getReferencedArchive() {
- return referencedArchive;
- }
-
- /**
- * Sets the referencedArchive.
- *
- * @param referencedArchive
- * The referencedArchive to set
- */
- public void setReferencedArchive(Archive referencedArchive) {
- this.referencedArchive = referencedArchive;
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/SaveFilter.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/SaveFilter.java
deleted file mode 100644
index a05828fae..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/SaveFilter.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-
-/**
- * Object used for saving an archive with only a subset of its files. By default all files are
- * saved. Clients can create a custom filter and set it on a save strategy, and call
- * {@link Archive#save(SaveStrategy)}
- */
-public interface SaveFilter {
- /**
- * Answer whether an element in the archive having the uri should be saved; the uri may be for a
- * file, a nested archive, or a loaded mof resource
- */
- public boolean shouldSave(String uri, Archive anArchive);
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/SaveFilterImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/SaveFilterImpl.java
deleted file mode 100644
index de041ecf4..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/SaveFilterImpl.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-
-
-
-/**
- * Default filter which allows all elememts to save
- */
-public class SaveFilterImpl implements org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.SaveFilter {
- /**
- * SaveFilterImpl constructor comment.
- */
- public SaveFilterImpl() {
- super();
- }
-
- /**
- * @see com.ibm.etools.archive.SaveFilter
- */
- public boolean shouldSave(java.lang.String uri, Archive anArchive) {
- return true;
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/SelectedFilesFilterImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/SelectedFilesFilterImpl.java
deleted file mode 100644
index 4b81f724d..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/helpers/SelectedFilesFilterImpl.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.helpers;
-
-
-
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-
-
-/**
- * Insert the type's description here. Creation date: (03/23/01 11:04:52 AM)
- *
- * @author: Administrator
- */
-public class SelectedFilesFilterImpl extends SaveFilterImpl {
- /** Set of file uris to be saved */
- protected Set selectedFileNames;
-
- /**
- * SelectedFilesFilterImpl constructor comment.
- */
- public SelectedFilesFilterImpl() {
- super();
- }
-
- /**
- * Constructor with a preselected subset of the files in the archive to be saved; each element
- * in the list must be an instance of {@link com.ibm.etools.commonarchive.File}
- */
- public SelectedFilesFilterImpl(List archiveFiles) {
- super();
- Set fileNames = new HashSet();
- for (int i = 0; i < archiveFiles.size(); i++) {
- File aFile = (File) archiveFiles.get(i);
- fileNames.add(aFile.getURI());
- }
- setSelectedFileNames(fileNames);
- }
-
- /**
- * Parameter must be a set of valid uris in the archive
- */
- public SelectedFilesFilterImpl(Set fileNames) {
- super();
- setSelectedFileNames(fileNames);
- }
-
- /**
- * Insert the method's description here. Creation date: (03/23/01 11:19:01 AM)
- *
- * @return java.util.Set
- */
- public java.util.Set getSelectedFileNames() {
- return selectedFileNames;
- }
-
- /**
- * Insert the method's description here. Creation date: (03/23/01 11:19:01 AM)
- *
- * @param newSelectedFileNames
- * java.util.Set
- */
- public void setSelectedFileNames(java.util.Set newSelectedFileNames) {
- selectedFileNames = newSelectedFileNames;
- }
-
- public boolean shouldSave(java.lang.String uri, Archive anArchive) {
- return getSelectedFileNames().contains(uri);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/AltResourceRegister.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/AltResourceRegister.java
deleted file mode 100644
index 3eef77b31..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/AltResourceRegister.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-import java.util.Collections;
-import java.util.HashSet;
-import java.util.Set;
-
-public class AltResourceRegister {
- protected static Set registeredURIs = new HashSet();
-
- protected AltResourceRegister() {
- //Default
- }
-
-
- /**
- * Registers an Archive relative path for the resource which can be copied up as an alt in an
- * EAR file. The uri should be in cananonical form and use the forward slash, eg,
- * "META-INF/vendor-extensions.xmi"
- */
- public static void registerURI(String uri) {
- registeredURIs.add(uri);
- }
-
- public static void deRegisterURI(String uri) {
- registeredURIs.remove(uri);
- }
-
- public static boolean isRegistered(String uri) {
- return registeredURIs.contains(uri);
- }
-
- public static Set getRegisteredURIs() {
- return Collections.unmodifiableSet(registeredURIs);
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ApplicationClientFileImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ApplicationClientFileImpl.java
deleted file mode 100644
index d7ada6b70..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ApplicationClientFileImpl.java
+++ /dev/null
@@ -1,359 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.client.ApplicationClient;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ApplicationClientFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Container;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException;
-import org.eclipse.jst.j2ee.internal.J2EEConstants;
-import org.eclipse.jst.j2ee.internal.client.ClientPackage;
-import org.eclipse.jst.j2ee.internal.common.XMLResource;
-
-
-/**
- * @generated
- */
-public class ApplicationClientFileImpl extends ModuleFileImpl implements ApplicationClientFile {
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected ApplicationClient deploymentDescriptor = null;
-
- public ApplicationClientFileImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EClass eStaticClass() {
- return CommonarchivePackage.eINSTANCE.getApplicationClientFile();
- }
-
- /**
- * @throws DeploymentDescriptorLoadException -
- * is a runtime exception, because we can't override the signature of the generated
- * methods
- */
- public ApplicationClient getDeploymentDescriptor() throws DeploymentDescriptorLoadException {
- ApplicationClient dd = this.getDeploymentDescriptorGen();
- if (dd == null && canLazyInitialize()) {
- try {
- getImportStrategy().importMetaData();
- } catch (Exception e) {
- throw new DeploymentDescriptorLoadException(getDeploymentDescriptorUri(), e);
- }
- }
-
- return this.getDeploymentDescriptorGen();
- }
-
- /**
- * @see com.ibm.etools.commonarchive.impl.ModuleFileImpl
- */
- public java.lang.String getDeploymentDescriptorUri() {
- return J2EEConstants.APP_CLIENT_DD_URI;
- }
-
- /**
- * Return the DeployementDescriptor.
- */
- public EObject getStandardDeploymentDescriptor() throws DeploymentDescriptorLoadException {
- return getDeploymentDescriptor();
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isApplicationClientFile() {
- return true;
- }
-
- public boolean isDeploymentDescriptorSet() {
- return deploymentDescriptor != null;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.impl.ModuleFileImpl
- */
- public org.eclipse.emf.ecore.EObject makeDeploymentDescriptor(XMLResource resource) {
- ApplicationClient aClient = ((ClientPackage) EPackage.Registry.INSTANCE.getEPackage(ClientPackage.eNS_URI)).getClientFactory().createApplicationClient();
- resource.setID(aClient, J2EEConstants.APP_CLIENT_ID);
- setDeploymentDescriptorGen(aClient);
- resource.getContents().add(aClient);
- return aClient;
- }
-
- public void setDeploymentDescriptor(ApplicationClient l) {
- this.setDeploymentDescriptorGen(l);
- replaceRoot(getMofResourceMakeIfNecessary(getDeploymentDescriptorUri()), l);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__CONTAINER :
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, CommonarchivePackage.APPLICATION_CLIENT_FILE__CONTAINER, msgs);
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__FILES :
- return ((InternalEList) getFiles()).basicAdd(otherEnd, msgs);
- default :
- return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);
- }
- }
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__CONTAINER :
- return eBasicSetContainer(null, CommonarchivePackage.APPLICATION_CLIENT_FILE__CONTAINER, msgs);
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__FILES :
- return ((InternalEList) getFiles()).basicRemove(otherEnd, msgs);
- default :
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
- if (eContainerFeatureID >= 0) {
- switch (eContainerFeatureID) {
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__CONTAINER :
- return eContainer.eInverseRemove(this, CommonarchivePackage.CONTAINER__FILES, Container.class, msgs);
- default :
- return eDynamicBasicRemoveFromContainer(msgs);
- }
- }
- return eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__URI :
- return getURI();
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__LAST_MODIFIED :
- return new Long(getLastModified());
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__SIZE :
- return new Long(getSize());
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__DIRECTORY_ENTRY :
- return isDirectoryEntry() ? Boolean.TRUE : Boolean.FALSE;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__ORIGINAL_URI :
- return getOriginalURI();
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__LOADING_CONTAINER :
- if (resolve)
- return getLoadingContainer();
- return basicGetLoadingContainer();
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__CONTAINER :
- return getContainer();
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__FILES :
- return getFiles();
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__TYPES :
- return getTypes();
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__DEPLOYMENT_DESCRIPTOR :
- if (resolve)
- return getDeploymentDescriptor();
- return basicGetDeploymentDescriptor();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__URI :
- return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri);
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__LAST_MODIFIED :
- return isSetLastModified();
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__SIZE :
- return isSetSize();
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__DIRECTORY_ENTRY :
- return isSetDirectoryEntry();
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__ORIGINAL_URI :
- return ORIGINAL_URI_EDEFAULT == null ? originalURI != null : !ORIGINAL_URI_EDEFAULT.equals(originalURI);
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__LOADING_CONTAINER :
- return loadingContainer != null;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__CONTAINER :
- return getContainer() != null;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__FILES :
- return files != null && !files.isEmpty();
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__TYPES :
- return types != null && !types.isEmpty();
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__DEPLOYMENT_DESCRIPTOR :
- return deploymentDescriptor != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__URI :
- setURI((String) newValue);
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__LAST_MODIFIED :
- setLastModified(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__SIZE :
- setSize(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__DIRECTORY_ENTRY :
- setDirectoryEntry(((Boolean) newValue).booleanValue());
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__ORIGINAL_URI :
- setOriginalURI((String) newValue);
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__LOADING_CONTAINER :
- setLoadingContainer((Container) newValue);
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__CONTAINER :
- setContainer((Container) newValue);
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__FILES :
- getFiles().clear();
- getFiles().addAll((Collection) newValue);
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__TYPES :
- getTypes().clear();
- getTypes().addAll((Collection) newValue);
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__DEPLOYMENT_DESCRIPTOR :
- setDeploymentDescriptor((ApplicationClient) newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__URI :
- setURI(URI_EDEFAULT);
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__LAST_MODIFIED :
- unsetLastModified();
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__SIZE :
- unsetSize();
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__DIRECTORY_ENTRY :
- unsetDirectoryEntry();
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__ORIGINAL_URI :
- setOriginalURI(ORIGINAL_URI_EDEFAULT);
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__LOADING_CONTAINER :
- setLoadingContainer((Container) null);
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__CONTAINER :
- setContainer((Container) null);
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__FILES :
- getFiles().clear();
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__TYPES :
- getTypes().clear();
- return;
- case CommonarchivePackage.APPLICATION_CLIENT_FILE__DEPLOYMENT_DESCRIPTOR :
- setDeploymentDescriptor((ApplicationClient) null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public ApplicationClient getDeploymentDescriptorGen() {
- if (deploymentDescriptor != null && deploymentDescriptor.eIsProxy()) {
- ApplicationClient oldDeploymentDescriptor = deploymentDescriptor;
- deploymentDescriptor = (ApplicationClient) EcoreUtil.resolve(deploymentDescriptor, this);
- if (deploymentDescriptor != oldDeploymentDescriptor) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, CommonarchivePackage.APPLICATION_CLIENT_FILE__DEPLOYMENT_DESCRIPTOR, oldDeploymentDescriptor, deploymentDescriptor));
- }
- }
- return deploymentDescriptor;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public ApplicationClient basicGetDeploymentDescriptor() {
- return deploymentDescriptor;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setDeploymentDescriptorGen(ApplicationClient newDeploymentDescriptor) {
- ApplicationClient oldDeploymentDescriptor = deploymentDescriptor;
- deploymentDescriptor = newDeploymentDescriptor;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.APPLICATION_CLIENT_FILE__DEPLOYMENT_DESCRIPTOR, oldDeploymentDescriptor, deploymentDescriptor));
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ArchiveCopySessionUtility.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ArchiveCopySessionUtility.java
deleted file mode 100644
index cf4868ec2..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ArchiveCopySessionUtility.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-import java.util.List;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jst.j2ee.ejb.CMPAttribute;
-import org.eclipse.jst.j2ee.ejb.ContainerManagedEntity;
-import org.eclipse.jst.j2ee.internal.common.XMLResource;
-import org.eclipse.wst.common.internal.emf.utilities.EtoolsCopySession;
-import org.eclipse.wst.common.internal.emf.utilities.EtoolsCopyUtility;
-
-
-/**
- * OverRide class to use the proper copying of XMLResource doctypes. Had to create this class Due to
- * the way it's handled in the copy commands of EtoolsCopyUtility
- *
- * Creation date: (11/18/01 88888888:48 PM)
- *
- * @author: Jared Jurkiewicz
- */
-public class ArchiveCopySessionUtility extends EtoolsCopySession {
- public EObject copy(EObject aRefObject, String idSuffix) {
- EObject copied = super.copy(aRefObject, idSuffix);
- if (copied instanceof ContainerManagedEntity)
- copyPrimKeyInfo((ContainerManagedEntity) aRefObject, (ContainerManagedEntity) copied);
- return copied;
- }
-
- public EObject primCopy(EObject aRefObject, String idSuffix) {
- EObject copied = super.primCopy(aRefObject, idSuffix);
- if (copied instanceof ContainerManagedEntity)
- copyPrimKeyInfo((ContainerManagedEntity) aRefObject, (ContainerManagedEntity) copied);
- return copied;
- }
-
- public ArchiveCopySessionUtility(EtoolsCopyUtility aCopyUtility) {
- super(aCopyUtility);
- }
-
- /**
- * @see com.ibm.etools.emf.ecore.utilities.copy.EtoolsCopySession#newInstance(Resource, String)
- */
- public Resource newInstance(Resource aResource, String newUri) {
- Resource copyResource = super.newInstance(aResource, newUri);
-
- if (aResource instanceof XMLResource)
- ((XMLResource) copyResource).setVersionID(((XMLResource) aResource).getVersionID());
- return copyResource;
- }
-
- public EObject getCopyIfFound(EObject anObject) {
- EObject copiedObject = super.getCopyIfFound(anObject);
- if ((anObject instanceof JavaClass) && (anObject == copiedObject)) {
- copiedObject = newInstance(anObject);
- URI uri = EcoreUtil.getURI(anObject);
- ((InternalEObject) copiedObject).eSetProxyURI(uri);
- }
- return copiedObject;
- }
-
- public EObject copyObject(EObject aRefObject, String idSuffix) {
- EObject copied = super.copyObject(aRefObject, idSuffix);
- if (copied instanceof ContainerManagedEntity)
- copyPrimKeyInfo((ContainerManagedEntity) aRefObject, (ContainerManagedEntity) copied);
- return copied;
- }
-
- public void copyPrimKeyInfo(ContainerManagedEntity source, ContainerManagedEntity copied) {
- CMPAttribute primKeyField = source.getPrimKeyField();
- if (primKeyField != null)
- copied.setPrimKeyField(primKeyField);
- }
-
- /*
- * Super class override to handle unresolvable proxies (JavaClass)
- */
-
- protected void copyReference(EReference aReference, EObject aRefObject, String idSuffix, EObject copyRef) {
- if (aReference.isMany()) {
- List value = (List) aRefObject.eGet(aReference);
- if (value != null)
- copyManyReference(aReference, value, aRefObject, idSuffix, copyRef);
- } else if (aRefObject.eIsSet(aReference)) {
- Object value = aRefObject.eGet(aReference);
- if (value == null)
- value = ((InternalEObject) aRefObject).eGet(aReference, false);
- copySingleReference(aReference, (EObject) value, aRefObject, idSuffix, copyRef);
- }
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ArchiveCopyUtility.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ArchiveCopyUtility.java
deleted file mode 100644
index 95f69034b..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ArchiveCopyUtility.java
+++ /dev/null
@@ -1,239 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveResourceHandler;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveRuntimeException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveManifest;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveManifestImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil;
-import org.eclipse.jst.j2ee.internal.J2EEConstants;
-import org.eclipse.jst.j2ee.internal.common.util.Defaultable;
-import org.eclipse.jst.j2ee.webapplication.FilterMapping;
-import org.eclipse.wst.common.internal.emf.utilities.CopyGroup;
-import org.eclipse.wst.common.internal.emf.utilities.EtoolsCopySession;
-import org.eclipse.wst.common.internal.emf.utilities.EtoolsCopyUtility;
-
-
-
-/**
- * Insert the type's description here. Creation date: (12/18/00 6:26:48 PM)
- *
- * @author: Administrator
- */
-public class ArchiveCopyUtility extends EtoolsCopyUtility {
- /**
- * ModuleFileCopyUtiltity constructor comment.
- */
- public ArchiveCopyUtility() {
- super();
- setCopyAdapters(true);
- }
-
- /*
- * End of code pulled from EtoolsCopyUtility to over-ride the primCopy method.
- */
-
- protected void addDeferredSingleReferenceCopy(EReference reference, EObject aValue, String idSuffix, EObject aCopyContainer) {
- if (((Defaultable) aValue).isDefault())
- return;
- super.addDeferredSingleReferenceCopy(reference, aValue, idSuffix, aCopyContainer);
- }
-
- public ArchiveManifest copy(ArchiveManifest mf) {
- try {
- ByteArrayOutputStream out = new ByteArrayOutputStream();
- mf.write(out);
- InputStream in = new ByteArrayInputStream(out.toByteArray());
- return new ArchiveManifestImpl(in);
- } catch (IOException iox) {
- //This should almost never happen, unless there is an issure with memory allocation
- throw new ArchiveRuntimeException(CommonArchiveResourceHandler.getString("IOException_occurred_while_EXC_"), iox); //$NON-NLS-1$ = "IOException occurred while copying manifest"
- }
- }
-
- public Archive copy(Archive anArchive) {
-
- //First create a copy group and copy util; copy the archive and all its resources
- CopyGroup copyGroup = new CopyGroup();
- copyGroup.setPreserveIds(true);
- prepareResourcesForCopy(anArchive, copyGroup);
- copyGroup.add(anArchive);
- this.copy(copyGroup);
-
- Archive copiedArchive = (Archive) getCopy(anArchive);
-
- finishCopy(anArchive, copiedArchive, copyGroup);
- return copiedArchive;
- }
-
- public ModuleFile copy(ModuleFile aModuleFile) {
- /**
- * Timing issue; if the resources containing the bindings, extensions, and dd have not yet
- * be loaded, force that before the copy occurs; otherwise, they will get loaded as the
- * accessors are invoked during copy. Because they will be loaded but not copied into the
- * new archive's context, then changes will not get saved. By forcing the load before the
- * copy commences, the loaded resources will also be copied to the new archive
- */
- aModuleFile.getStandardDeploymentDescriptor();
-
- /*
- * RLS-8/12/2002 Hack to fix botp defect "141640-failed to install .war file with
- * filter-mapping" The problem is that there is a transient field on the filter mapping
- * class for the servlet name the relationship to the servlet is lazily populated the first
- * time it is requested. If we don't trip it, then it won't get copied.
- */
-
- if (aModuleFile.isWARFile()) {
- List filterMappings = ((WARFile) aModuleFile).getDeploymentDescriptor().getFilterMappings();
- for (int i = 0; i < filterMappings.size(); i++) {
- ((FilterMapping) filterMappings.get(i)).getServlet();
- }
- }
- ModuleFile copied = (ModuleFile) copy((Archive) aModuleFile);
-
- return copied;
- }
-
- /*
- * The following methods were pulled out of EtoolsCopyUtility so we can over-ride the
- * EtoolsCopySession object with our own such that doictypes do get preserved with XML
- * Resources.
- */
- public void copy(CopyGroup aGroup) {
- if (aGroup != null) {
- EtoolsCopySession session = new ArchiveCopySessionUtility(this);
- session.setPreserveIds(aGroup.getPreserveIds());
- session.copy(aGroup);
- session.flush();
- }
- }
-
- public EObject copy(EObject aRefObject, String idSuffix) {
- EtoolsCopySession session = new ArchiveCopySessionUtility(this);
- EObject copied = session.copy(aRefObject, idSuffix);
- session.flush();
- return copied;
- }
-
- public Resource copy(Resource aResource, String newUri) {
- EtoolsCopySession session = new ArchiveCopySessionUtility(this);
- Resource copied = session.copy(aResource, newUri);
- session.flush();
- return copied;
- }
-
- protected void copyImportStrategyIfNecessary(ModuleFile aModuleFile, ModuleFile copy) {
- if (!aModuleFile.isDeploymentDescriptorSet())
- copy.setImportStrategy(aModuleFile.getImportStrategy().createImportStrategy(aModuleFile, copy));
- }
-
- public EObject copyObject(EObject aRefObject, String idSuffix) {
- EtoolsCopySession session = new ArchiveCopySessionUtility(this);
- EObject copied = session.copyObject(aRefObject, idSuffix);
- session.flush();
- return copied;
- }
-
- public static void createCopy(CopyGroup aGroup) {
- ArchiveCopyUtility utility = new ArchiveCopyUtility();
- utility.copy(aGroup);
- }
-
- protected void finishCopy(Archive source, Archive copy, CopyGroup group) {
-
- copy.setLoadStrategy(getCommonarchiveFactory().createEmptyLoadStrategy());
- copy.setExtraClasspath(source.getExtraClasspath());
- copy.setXmlEncoding(source.getXmlEncoding());
- if (source.isManifestSet()) {
- copy.setManifest(copy(source.getManifest()));
- } else {
- try {
- File manifestToCopy = source.getFile(J2EEConstants.MANIFEST_URI);
- if (manifestToCopy != null) {
- File copiedManifest = (File) getCopy(manifestToCopy);
- copiedManifest.setLoadingContainer(manifestToCopy.getLoadingContainer());
- copy.addCopy(copiedManifest);
- }
- } catch (FileNotFoundException e) {
- //Ignore
- } catch (DuplicateObjectException e) {
- //Ignore
- }
- }
- retrieveResourcesFromCopy(copy, group);
-
- if (source.isModuleFile())
- copyImportStrategyIfNecessary((ModuleFile) source, (ModuleFile) copy);
-
- List files = source.getFiles();
- for (int i = 0; i < files.size(); i++) {
- File aFile = (File) files.get(i);
- File copiedFile = (File) getCopy(aFile);
- copiedFile.setLoadingContainer(aFile.getLoadingContainer());
- if (aFile.isArchive())
- finishNestedCopy((Archive) aFile, (Archive) copiedFile);
- }
- //Notification was suspended during copy; therefore we need to make sure the files
- //In the archive get indexed
- copy.rebuildFileIndex();
- }
-
- protected void finishNestedCopy(Archive source, Archive copy) {
-
- CopyGroup group = new CopyGroup();
- prepareResourcesForCopy(source, group);
- copy(group);
- finishCopy(source, copy, group);
- }
-
- private CommonarchiveFactory getCommonarchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
-
- protected void prepareResourcesForCopy(Archive anArchive, CopyGroup copyGroup) {
- Iterator iter = anArchive.getLoadedMofResources().iterator();
- while (iter.hasNext()) {
- Resource resource = (Resource) iter.next();
- if (!ArchiveUtil.isJavaResource(resource))
- copyGroup.add(resource);
- }
- }
-
- protected void retrieveResourcesFromCopy(Archive copiedArchive, CopyGroup copyGroup) {
-
- List resources = copyGroup.getCopiedResources();
- for (int i = 0; i < resources.size(); i++) {
- Resource copiedResource = (Resource) resources.get(i);
- copiedArchive.addOrReplaceMofResource(copiedResource);
- }
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ArchiveImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ArchiveImpl.java
deleted file mode 100644
index 8d53a8031..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ArchiveImpl.java
+++ /dev/null
@@ -1,1602 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.common.util.WrappedException;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jem.internal.java.adapters.ReadAdaptor;
-import org.eclipse.jem.internal.java.adapters.jdk.JavaJDKAdapterFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ArchiveTypeDiscriminatorRegistry;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveResourceHandler;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Container;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ReadOnlyDirectory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ManifestException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ReopenException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveManifest;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveManifestImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.RuntimeClasspathEntry;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.RuntimeClasspathEntryImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.SaveFilter;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.looseconfig.LooseArchive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectorySaveStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategy;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipStreamSaveStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveFileDynamicClassLoader;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ClasspathUtil;
-import org.eclipse.jst.j2ee.internal.J2EEConstants;
-import org.eclipse.wst.common.internal.emf.utilities.EtoolsCopyUtility;
-import org.eclipse.wst.common.internal.emf.utilities.ExtendedEcoreUtil;
-
-
-/**
- * @generated
- */
-public class ArchiveImpl extends ContainerImpl implements Archive {
-
- /**
- * The cached value of the '{@link #getTypes() <em>Types</em>}' attribute list. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getTypes()
- * @generated
- * @ordered
- */
- protected EList types = null;
-
- /** Our specialized manifest */
- protected ArchiveManifest manifest;
-
- /** Implementer for saving this archive */
- protected SaveStrategy saveStrategy;
-
- /**
- * Optional filter for saving a subset of files; filter will be applied for all save and extract
- * invokations
- */
- protected SaveFilter saveFilter;
-
- /** Encoding to be used for all xmi resources and xml dds; defaults to UTF-8 */
- protected String xmlEncoding = J2EEConstants.DEFAULT_XML_ENCODING;
-
- /** Custom class loader used to load classes from the archive */
- protected ClassLoader archiveClassLoader;
-
- /**
- * path of the standard classpath format where the archive may look for classes not found in the
- * system classpath or in the archive - used for java reflection
- */
- protected String extraClasspath;
-
- protected ArchiveOptions options;
-
- public ArchiveImpl() {
- super();
- getCommonArchiveFactory().archiveOpened(this);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EClass eStaticClass() {
- return CommonarchivePackage.eINSTANCE.getArchive();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EList getTypes() {
- if (types == null) {
- types = new EDataTypeUniqueEList(String.class, this, CommonarchivePackage.ARCHIVE__TYPES);
- }
- return types;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.ARCHIVE__CONTAINER :
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, CommonarchivePackage.ARCHIVE__CONTAINER, msgs);
- case CommonarchivePackage.ARCHIVE__FILES :
- return ((InternalEList) getFiles()).basicAdd(otherEnd, msgs);
- default :
- return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);
- }
- }
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.ARCHIVE__CONTAINER :
- return eBasicSetContainer(null, CommonarchivePackage.ARCHIVE__CONTAINER, msgs);
- case CommonarchivePackage.ARCHIVE__FILES :
- return ((InternalEList) getFiles()).basicRemove(otherEnd, msgs);
- default :
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
- if (eContainerFeatureID >= 0) {
- switch (eContainerFeatureID) {
- case CommonarchivePackage.ARCHIVE__CONTAINER :
- return eContainer.eInverseRemove(this, CommonarchivePackage.CONTAINER__FILES, Container.class, msgs);
- default :
- return eDynamicBasicRemoveFromContainer(msgs);
- }
- }
- return eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.ARCHIVE__URI :
- return getURI();
- case CommonarchivePackage.ARCHIVE__LAST_MODIFIED :
- return new Long(getLastModified());
- case CommonarchivePackage.ARCHIVE__SIZE :
- return new Long(getSize());
- case CommonarchivePackage.ARCHIVE__DIRECTORY_ENTRY :
- return isDirectoryEntry() ? Boolean.TRUE : Boolean.FALSE;
- case CommonarchivePackage.ARCHIVE__ORIGINAL_URI :
- return getOriginalURI();
- case CommonarchivePackage.ARCHIVE__LOADING_CONTAINER :
- if (resolve)
- return getLoadingContainer();
- return basicGetLoadingContainer();
- case CommonarchivePackage.ARCHIVE__CONTAINER :
- return getContainer();
- case CommonarchivePackage.ARCHIVE__FILES :
- return getFiles();
- case CommonarchivePackage.ARCHIVE__TYPES :
- return getTypes();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.ARCHIVE__URI :
- setURI((String) newValue);
- return;
- case CommonarchivePackage.ARCHIVE__LAST_MODIFIED :
- setLastModified(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.ARCHIVE__SIZE :
- setSize(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.ARCHIVE__DIRECTORY_ENTRY :
- setDirectoryEntry(((Boolean) newValue).booleanValue());
- return;
- case CommonarchivePackage.ARCHIVE__ORIGINAL_URI :
- setOriginalURI((String) newValue);
- return;
- case CommonarchivePackage.ARCHIVE__LOADING_CONTAINER :
- setLoadingContainer((Container) newValue);
- return;
- case CommonarchivePackage.ARCHIVE__CONTAINER :
- setContainer((Container) newValue);
- return;
- case CommonarchivePackage.ARCHIVE__FILES :
- getFiles().clear();
- getFiles().addAll((Collection) newValue);
- return;
- case CommonarchivePackage.ARCHIVE__TYPES :
- getTypes().clear();
- getTypes().addAll((Collection) newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.ARCHIVE__URI :
- setURI(URI_EDEFAULT);
- return;
- case CommonarchivePackage.ARCHIVE__LAST_MODIFIED :
- unsetLastModified();
- return;
- case CommonarchivePackage.ARCHIVE__SIZE :
- unsetSize();
- return;
- case CommonarchivePackage.ARCHIVE__DIRECTORY_ENTRY :
- unsetDirectoryEntry();
- return;
- case CommonarchivePackage.ARCHIVE__ORIGINAL_URI :
- setOriginalURI(ORIGINAL_URI_EDEFAULT);
- return;
- case CommonarchivePackage.ARCHIVE__LOADING_CONTAINER :
- setLoadingContainer((Container) null);
- return;
- case CommonarchivePackage.ARCHIVE__CONTAINER :
- setContainer((Container) null);
- return;
- case CommonarchivePackage.ARCHIVE__FILES :
- getFiles().clear();
- return;
- case CommonarchivePackage.ARCHIVE__TYPES :
- getTypes().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.ARCHIVE__URI :
- return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri);
- case CommonarchivePackage.ARCHIVE__LAST_MODIFIED :
- return isSetLastModified();
- case CommonarchivePackage.ARCHIVE__SIZE :
- return isSetSize();
- case CommonarchivePackage.ARCHIVE__DIRECTORY_ENTRY :
- return isSetDirectoryEntry();
- case CommonarchivePackage.ARCHIVE__ORIGINAL_URI :
- return ORIGINAL_URI_EDEFAULT == null ? originalURI != null : !ORIGINAL_URI_EDEFAULT.equals(originalURI);
- case CommonarchivePackage.ARCHIVE__LOADING_CONTAINER :
- return loadingContainer != null;
- case CommonarchivePackage.ARCHIVE__CONTAINER :
- return getContainer() != null;
- case CommonarchivePackage.ARCHIVE__FILES :
- return files != null && !files.isEmpty();
- case CommonarchivePackage.ARCHIVE__TYPES :
- return types != null && !types.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String toString() {
- if (eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (types: "); //$NON-NLS-1$
- result.append(types);
- result.append(')');
- return result.toString();
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public Archive addCopy(Archive anArchive) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException {
- checkAddValid(anArchive);
- Archive copy = getCommonArchiveFactory().copy(anArchive);
- getFiles().add(copy);
- return copy;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive Adds a copy of the parameter to this archive
- * @throws com.ibm.etools.archive.exception.DuplicateObjectException
- * if the archive already contains a file with the specified uri
- */
- public File addCopy(File aFile) throws DuplicateObjectException {
- if (aFile.isReadOnlyDirectory()) {
- addCopy((ReadOnlyDirectory) aFile);
- return null;
- }
- checkAddValid(aFile);
- File copy = copy(aFile);
- getFiles().add(copy);
- return copy;
- }
-
- /**
- * Get a flattened list from the directory, then addCopy the list
- *
- * @throws com.ibm.etools.archive.exception.DuplicateObjectException
- * if a file with a uri that equals one of the nested files in the directory exists
- *
- * @return java.util.List the copied files that were added to the archive
- */
- public java.util.List addCopy(ReadOnlyDirectory dir) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException {
- return addCopyFiles(dir.getFilesRecursive());
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public List addCopyFiles(java.util.List list) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException {
- //Optimization - make sure the fileIndex is already built to speed up
- // containsFile
- getFiles();
- List copyList = new ArrayList();
- for (int i = 0; i < list.size(); i++) {
- File aFile = (File) list.get(i);
- checkAddValid(aFile);
- copyList.add(copy(aFile));
- }
- getFiles().addAll(copyList);
- return copyList;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void addOrReplaceMofResource(org.eclipse.emf.ecore.resource.Resource aResource) {
- getLoadStrategy().addOrReplaceMofResource(aResource);
- }
-
- /**
- * @deprecated Use {@link #getDependentOpenArchives()}
- * @see com.ibm.etools.commonarchive.Archive
- */
- public boolean canClose() {
- return !getCommonArchiveFactory().getOpenArchivesDependingOn(this).isEmpty();
- }
-
- protected void checkAddValid(File aFile) throws DuplicateObjectException {
- checkAddValid(aFile.getURI());
- }
-
- protected void checkAddValid(String aUri) throws DuplicateObjectException {
- try {
- File f = getFile(aUri);
- if (f != null)
- throw new DuplicateObjectException(CommonArchiveResourceHandler.getString("duplicate_file_EXC_", (new Object[]{getURI(), aUri})), f); //$NON-NLS-1$ = "The archive named {0} already contains a file named {1}"
- } catch (FileNotFoundException ok) {
- //Ignore
- }
- }
-
- protected void cleanupAfterTempSave(String aUri, java.io.File original, java.io.File destinationFile) throws SaveFailureException {
-
- checkWriteable(original);
- boolean deleteWorked = false;
- if (original.isDirectory() && !isRenameable(original)) {
- throw new SaveFailureException(CommonArchiveResourceHandler.getString("unable_replace_EXC_", (new Object[]{original.getAbsolutePath()}))); //$NON-NLS-1$ = "Unable to replace original archive "
- }
-
- for (int i = 0; i < 10; i++) {
- if (ArchiveUtil.delete(original)) {
- deleteWorked = true;
- break;
- }
- try {
- // TODO Major hack here; the problem is that a previous call
- // to close the source file may not yet have
- //been reflected in the os/vm; therefore a subsequent call
- // to delete fails. To get around this,
- //wait for a bit and retry; if it continues to fail, then
- // time out and throw an exception
- Thread.sleep(250);
- } catch (InterruptedException e) {
- //Ignore
- }
- }
- if (deleteWorked) {
- for (int i = 0; i < 10; i++) {
- if (destinationFile.renameTo(original))
- return;
- try {
- Thread.sleep(250);
- } catch (InterruptedException e) {
- //Ignore
- }
- }
- }
- throw new SaveFailureException(CommonArchiveResourceHandler.getString("unable_replace_EXC_", (new Object[]{original.getAbsolutePath()}))); //$NON-NLS-1$ = "Unable to replace original archive "
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void close() {
- getLoadStrategy().close();
- releaseClassLoader();
- getCommonArchiveFactory().archiveClosed(this);
- if (isIndexed()) {
- List archives = getArchiveFiles();
- for (int i = 0; i < archives.size(); i++) {
- ((Archive) archives.get(i)).close();
- }
- }
- }
-
- protected File copy(File aFile) {
- File copy = null;
- if (aFile.isArchive())
- copy = getCommonArchiveFactory().copy((Archive) aFile);
- else
- copy = (File) EtoolsCopyUtility.createCopy(aFile);
- return copy;
- }
-
- protected LoadStrategy createLoadStrategyForReopen(Archive parent) throws IOException {
- LoadStrategy aLoadStrategy = null;
- LooseArchive loose = getLoadStrategy().getLooseArchive();
-
- if (loose != null) {
- aLoadStrategy = getCommonArchiveFactory().createLoadStrategy(loose.getBinariesPath());
- aLoadStrategy.setLooseArchive(loose);
- } else if (parent == null)
- aLoadStrategy = getCommonArchiveFactory().createLoadStrategy(getURI());
- else
- aLoadStrategy = getCommonArchiveFactory().createChildLoadStrategy(getURI(), parent.getLoadStrategy());
-
- return aLoadStrategy;
- }
-
- protected RuntimeClasspathEntry createRuntimeClasspathEntry(String absolutePath) {
- RuntimeClasspathEntry entry = new RuntimeClasspathEntryImpl();
- entry.setAbsolutePath(absolutePath);
- return entry;
- }
-
- /**
- * Convert all the classpath entries to absolute paths
- */
- protected List createRuntimeClasspathEntries(String[] entries, String parentPath) {
-
- List aList = new ArrayList(entries.length);
- for (int i = 0; i < entries.length; i++) {
- String entry = entries[i];
- /*
- * Added for loose module support - if the cananonicalized entry resolves to an archive
- * in the containing ear, then add the absolute path of that archive
- */
- Archive dependentJar = resolveClasspathEntryInEAR(entry);
- if (dependentJar != null) {
- try {
- RuntimeClasspathEntry runEntry = createRuntimeClasspathEntry(dependentJar.getBinariesPath(), entry);
- runEntry.setReferencedArchive(dependentJar);
- aList.add(runEntry);
- continue;
- } catch (FileNotFoundException shouldntHappenInRuntime) {
- //Ignore
- }
- }
- //Otherwise, compute the absolute path of the entry relative to
- // this jar
- java.io.File aFile = new java.io.File(entry);
- String absPath = null;
- if (aFile.isAbsolute())
- absPath = aFile.getAbsolutePath();
- else {
- absPath = ArchiveUtil.getOSUri(parentPath, entry);
- absPath = ClasspathUtil.normalizePath(absPath);
- }
- aList.add(createRuntimeClasspathEntry(absPath, entry));
- }
-
- return aList;
- }
-
- protected RuntimeClasspathEntry createRuntimeClasspathEntry(String absolutePath, String manifestValue) {
- RuntimeClasspathEntry entry = createRuntimeClasspathEntry(absolutePath);
- entry.setManifestValue(manifestValue);
- return entry;
- }
-
- protected SaveStrategy createSaveStrategyForDirectory(java.io.File dir, int expansionFlags) {
- return new DirectorySaveStrategyImpl(dir.getAbsolutePath(), expansionFlags);
- }
-
- protected SaveStrategy createSaveStrategyForDirectory(String aUri, int expansionFlags) {
- return new DirectorySaveStrategyImpl(aUri, expansionFlags);
- }
-
- protected SaveStrategy createSaveStrategyForJar(java.io.File aFile) throws java.io.IOException {
- if (aFile.exists() && aFile.isDirectory())
- throw new IOException(CommonArchiveResourceHandler.getString("file_exist_as_dir_EXC_", (new Object[]{aFile.getAbsolutePath()})));//$NON-NLS-1$ = "A file named {0} exists and is a directory"
- java.io.File parent = aFile.getParentFile();
- if (parent != null)
- parent.mkdirs();
- java.io.OutputStream out = new java.io.FileOutputStream(aFile);
- return new ZipStreamSaveStrategyImpl(out);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void extract(int expansionFlags) throws SaveFailureException, ReopenException {
- extractNoReopen(expansionFlags);
- reopen();
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void extractNoReopen(int expansionFlags) throws SaveFailureException {
- String aUri = getURI();
- java.io.File aDir = new java.io.File(aUri);
- boolean inUse = getLoadStrategy().isUsing(aDir);
-
- try {
- java.io.File destinationDir = inUse ? ArchiveUtil.createTempDirectory(aUri, aDir.getCanonicalFile().getParentFile()) : aDir;
- SaveStrategy aSaveStrategy = createSaveStrategyForDirectory(destinationDir, expansionFlags);
- save(aSaveStrategy);
- aSaveStrategy.close();
- close();
- if (inUse) {
- cleanupAfterTempSave(aUri, aDir, destinationDir);
- }
- } catch (java.io.IOException ex) {
- throw new SaveFailureException(CommonArchiveResourceHandler.getString("error_saving_EXC_", (new Object[]{uri})), ex); //$NON-NLS-1$ = "Error saving "
- }
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void extractTo(java.lang.String aUri, int expansionFlags) throws SaveFailureException {
- java.io.File aDir = new java.io.File(aUri);
- if (getLoadStrategy().isUsing(aDir))
- throw new SaveFailureException(CommonArchiveResourceHandler.getString("Extract_destination_is_the_EXC_")); //$NON-NLS-1$ = "Extract destination is the same path as source file"
-
- try {
- SaveStrategy aSaveStrategy = createSaveStrategyForDirectory(aDir, expansionFlags);
- save(aSaveStrategy);
- aSaveStrategy.close();
- } catch (java.io.IOException ex) {
- throw new SaveFailureException(CommonArchiveResourceHandler.getString("error_saving_EXC_", (new Object[]{aUri})), ex); //$NON-NLS-1$ = "Error saving "
- }
-
- }
-
- public java.util.List filterFilesByPrefix(String prefix) {
- return filterFiles(prefix, null);
- }
-
- public java.util.List filterFiles(String prefix, String[] suffixes) {
- List subset = new ArrayList();
- List theFiles = getFiles();
- for (int i = 0; i < theFiles.size(); i++) {
- File aFile = (File) theFiles.get(i);
- if (!aFile.isDirectoryEntry() && aFile.getURI().startsWith(prefix))
- if (suffixes == null || hasSuffix(aFile.getURI(), suffixes))
- subset.add(aFile);
- }
- return subset;
- }
-
- /**
- * @param uri
- * @param suffixes
- * @return
- */
- private boolean hasSuffix(String aUri, String[] suffixes) {
- for (int i = 0; i < suffixes.length; i++) {
- if (aUri.endsWith(suffixes[i]))
- return true;
- }
- return false;
- }
-
- public java.util.List filterFilesWithoutPrefix(String[] prefixes) {
- List subset = new ArrayList();
- List theFiles = getFiles();
- for (int i = 0; i < theFiles.size(); i++) {
- File aFile = (File) theFiles.get(i);
- if (aFile.isDirectoryEntry())
- continue;
- boolean shouldAdd = true;
- for (int j = 0; j < prefixes.length; j++) {
- if (aFile.getURI().startsWith(prefixes[j])) {
- shouldAdd = false;
- break;
- }
- }
- if (shouldAdd)
- subset.add(aFile);
- }
- return subset;
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return java.lang.ClassLoader
- */
- public java.lang.ClassLoader getArchiveClassLoader() {
- if (archiveClassLoader == null)
- initializeClassLoader();
- return archiveClassLoader;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public java.util.List getArchiveFiles() {
- List archives = new ArrayList();
- List fileList = getFiles();
- for (int i = 0; i < fileList.size(); i++) {
- File aFile = (File) fileList.get(i);
- if (aFile.isArchive()) {
- archives.add(aFile);
- }
- }
- return archives;
- }
-
- /**
- * Parse the manifest class path and the extra class path, and instantiate a URL classloader,
- * with a parent of the archiveClassLoader
- */
- protected ClassLoader getClassPathClassLoader(ClassLoader parentCl) {
-
- List classPathComponents = new ArrayList();
- if (getManifest() != null)
- classPathComponents.addAll(Arrays.asList(getManifest().getClassPathTokenized()));
- String extraCp = getExtraClasspath();
- if (extraCp != null)
- classPathComponents.addAll(Arrays.asList(ArchiveUtil.getTokens(extraCp, ";")));//$NON-NLS-1$
-
- java.net.URL[] urlArray = ArchiveUtil.toLocalURLs(classPathComponents, getRootForRelativeDependentJars());
- return new java.net.URLClassLoader(urlArray, parentCl);
- }
-
- public ResourceSet getResourceSet() {
- return getLoadStrategy().getResourceSet();
- }
-
- /**
- * Helper method to determine the parent for the custom class loader used by this archive
- */
- protected ClassLoader getDefaultClassLoader() {
- ClassLoader pluginClassLoader = getClass().getClassLoader();
- return pluginClassLoader == null ? ClassLoader.getSystemClassLoader() : pluginClassLoader;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public java.util.Set getDependentOpenArchives() {
- return getCommonArchiveFactory().getOpenArchivesDependingOn(this);
- }
-
- /**
- * Convert all the classpath entries to absolute paths
- */
- protected List getEntriesAsAbsolutePaths(String[] entries, String parentPath) {
-
- List aList = new ArrayList(entries.length);
- for (int i = 0; i < entries.length; i++) {
- String entry = entries[i];
- /*
- * Added for loose module support - if the cananonicalized entry resolves to an archive
- * in the containing ear, then add the absolute path of that archive
- */
- Archive dependentJar = resolveClasspathEntryInEAR(entry);
- if (dependentJar != null) {
- try {
- aList.add(dependentJar.getAbsolutePath());
- continue;
- } catch (FileNotFoundException shouldntHappenInRuntime) {
- //Ignore
- }
- }
- //Otherwise, compute the absolute path of the entry relative to
- // this jar
- java.io.File aFile = new java.io.File(entry);
- if (aFile.isAbsolute())
- aList.add(aFile.getAbsolutePath());
- else
- aList.add(ArchiveUtil.getOSUri(parentPath, entry));
- }
-
- return aList;
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return java.lang.String
- */
- public String getExtraClasspath() {
- return extraClasspath;
- }
-
- /**
- * Used internally by the framework, specifically as an optimization when saving/exploding
- * archives with nested archives
- */
- public org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.FileIterator getFilesForSave() throws IOException {
- return getLoadStrategy().getFileIterator();
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public java.io.InputStream getInputStream() throws java.io.FileNotFoundException, java.io.IOException {
- if (getLoadingContainer() != null || getLoadStrategy() == null || getLoadStrategy().isDirectory())
- return super.getInputStream();
-
- //This archive was copied in; this operation is not supported for
- // module files
- if (isModuleFile() || !getOptions().isSaveLibrariesAsFiles())
- throw new IOException("Undefined state of nested archive"); //$NON-NLS-1$
-
- //We have to find the absolute path of the original archive from which
- // this was copied,
- //if it is known
-
- List list = getFiles();
-
- String absolutePath = null;
- for (int i = 0; i < list.size(); i++) {
- File aFile = (File) list.get(i);
- if (aFile.isArchive())
- continue;
- absolutePath = aFile.getLoadingContainer().getAbsolutePath();
- }
-
- return new FileInputStream(absolutePath);
- }
-
- /**
- * @see LoadStrategy#getResourceInputStream(String)
- */
- public InputStream getResourceInputStream(String aUri) throws IOException {
- return getLoadStrategy().getResourceInputStream(aUri);
- }
-
- protected JavaJDKAdapterFactory getJavaAdapterFactory() {
- return (JavaJDKAdapterFactory) EcoreUtil.getAdapterFactory(getLoadStrategy().getResourceSet().getAdapterFactories(), ReadAdaptor.TYPE_KEY);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive returns an immutable collection of the loaded
- * resources in the resource set
- */
- public Collection getLoadedMofResources() {
- return getLoadStrategy().getLoadedMofResources();
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- */
- public ArchiveManifest getManifest() {
- if (manifest == null) {
- InputStream in = null;
- try {
- in = getInputStream(J2EEConstants.MANIFEST_URI);
- makeManifest(in);
- } catch (FileNotFoundException ex) {
- makeManifest();
- } catch (Resource.IOWrappedException ex) {
- WrappedException wrapEx = new WrappedException((ex).getWrappedException());
- if (ExtendedEcoreUtil.getFileNotFoundDetector().isFileNotFound(wrapEx))
- makeManifest();
- else
- throw new ManifestException(CommonArchiveResourceHandler.getString("io_ex_manifest_EXC_", (new Object[]{getURI()})), ex); //$NON-NLS-1$ = "An IOException occurred reading the manifest: "
- } catch (IOException ex) {
- throw new ManifestException(CommonArchiveResourceHandler.getString("io_ex_manifest_EXC_", (new Object[]{getURI()})), ex); //$NON-NLS-1$ = "An IOException occurred reading the manifest: "
- } finally {
- if (in != null)
- try {
- in.close();
- } catch (IOException iox) {
- //Ignore
- }
- }
- }
- //This is a hack because of the fact that the manifest does not
- // serialize correctly if
- //The version is not set. In addition to saves, the serialization is
- // used for copy
- if (manifest.getManifestVersion() == null || manifest.getManifestVersion().equals("")) //$NON-NLS-1$
- manifest.setManifestVersion("1.0");//$NON-NLS-1$
- return manifest;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public org.eclipse.emf.ecore.resource.Resource getMofResource(java.lang.String aUri) throws FileNotFoundException, ResourceLoadException {
- return getLoadStrategy().getMofResource(aUri);
- }
-
- protected Resource getMofResourceMakeIfNecessary(String aUri) {
- if (getLoadStrategy() == null)
- return null;
- Resource resource = null;
- try {
- resource = getMofResource(aUri);
- } catch (java.io.FileNotFoundException ex) {
- try {
- resource = makeMofResource(aUri);
- } catch (DuplicateObjectException dox) {
- //We just checked for this; it won't happen
- }
- }
- return resource;
- }
-
- public org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions getOptions() {
- if (options == null) {
- options = new ArchiveOptions();
- }
- return options;
- }
-
- /**
- * When looking at the class path of this jar (from the manifest), some of the elements may have
- * a relative path, thus we need to determine the install location of this jar. If the absolute
- * path from which the archive was loaded, return the parent directory of that path; otherwise,
- * see if the containing archive has an absolute path; if neither work, default to the current
- * working directory
- */
- public String getRootForRelativeDependentJars() {
- String path = null;
- Container theContainer = this;
- while (theContainer != null && path == null) {
- try {
- path = theContainer.getAbsolutePath();
- } catch (FileNotFoundException ex) {
- //Ignore
- }
- theContainer = theContainer.getLoadingContainer();
- }
- if (path == null) {
- path = System.getProperty("user.dir");//$NON-NLS-1$
- if (path == null)
- //At this point what else can we do?
- return "";//$NON-NLS-1$
- return new java.io.File(path).getAbsolutePath();
- }
- return new java.io.File(path).getParentFile().getAbsolutePath();
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public java.lang.String[] getRuntimeClassPath() {
-
- String absolutePath;
- try {
- absolutePath = getBinariesPath();
- } catch (IOException ex) {
- return new String[0];
- }
-
- List entries = new ArrayList();
- entries.add(absolutePath);
-
- String parentPath = new java.io.File(absolutePath).getParentFile().getAbsolutePath();
- String[] mfEntries = getManifest().getClassPathTokenized();
- entries.addAll(getEntriesAsAbsolutePaths(mfEntries, parentPath));
-
- return (String[]) entries.toArray(new String[entries.size()]);
- }
-
- /**
- * Optional filter for saving a subset of files; filter will be applied for all save and extract
- * invokations
- */
- public org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.SaveFilter getSaveFilter() {
- return saveFilter;
- }
-
- /**
- * Insert the method's description here. Creation date: (12/04/00 3:31:32 PM)
- *
- * @return com.ibm.etools.archive.SaveStrategy
- */
- public org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategy getSaveStrategy() {
- return saveStrategy;
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return java.lang.String
- */
- public java.lang.String getXmlEncoding() {
- return xmlEncoding;
- }
-
- /**
- * The default is to do nothing; subclasses may override as necessary
- *
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void initializeAfterOpen() {
- //Default
- }
-
- public void initializeClassLoader() {
- //Some load strategies may provide a mof context for which
- //an alternate class loader is not necessary
- if (!shouldUseJavaReflection())
- return;
- ClassLoader extraCl = null;
- ClassLoader defaultCl = getDefaultClassLoader();
- if (getContainer() == null || !getContainer().isEARFile())
- extraCl = getClassPathClassLoader(defaultCl);
- ClassLoader cl = createDynamicClassLoader(defaultCl, extraCl);
- setArchiveClassLoader(cl);
- JavaJDKAdapterFactory factory = getJavaAdapterFactory();
- factory.setContextClassLoader(cl);
- factory.flushAll();
- }
-
- public ClassLoader createDynamicClassLoader(ClassLoader parentCl, ClassLoader extraCl) {
- return new ArchiveFileDynamicClassLoader(this, parentCl, extraCl);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isArchive() {
- return true;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public boolean isDuplicate(java.lang.String aUri) {
- return containsFile(aUri) || isMofResourceLoaded(aUri) || J2EEConstants.MANIFEST_URI.equals(aUri);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public boolean isManifestSet() {
- return manifest != null;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public boolean isMofResourceLoaded(java.lang.String aUri) {
- return getLoadStrategy().isMofResourceLoaded(aUri);
- }
-
- /**
- * By default just test the extension of the uri for one of the known archive types; subclasses
- * may which to override.
- *
- * @see com.ibm.etools.commonarchive.Archive
- */
- public boolean isNestedArchive(java.lang.String aUri) {
- //110390.3 Error loading alt-bindings
- /*
- * Don't infer that a folder which ends with .jar is an exploded archive; EAR file will do
- * that IF the folder is declared as a module in the EAR
- */
- if (getLoadStrategy().isDirectory()) {
- try {
- String path = ArchiveUtil.getOSUri(getAbsolutePath(), aUri);
- java.io.File ioFile = new java.io.File(path);
- if (!ioFile.exists() || (ioFile.isDirectory() && aUri.startsWith(J2EEConstants.ALT_INF)))
- return false;
- } catch (IOException ex) {
- return false;
- }
- }
- return ArchiveTypeDiscriminatorRegistry.INSTANCE.isKnownArchiveType(aUri);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public boolean isOpen() {
- return getLoadStrategy() != null && getLoadStrategy().isOpen();
- }
-
- public ArchiveManifest makeManifest() {
- ArchiveManifest mf = new ArchiveManifestImpl();
- setManifest(mf);
- return mf;
- }
-
- public ArchiveManifest makeManifest(InputStream in) throws IOException {
- ArchiveManifest mf = new ArchiveManifestImpl(in);
- setManifest(mf);
- return mf;
- }
-
- public Resource makeMofResource(String aUri) throws DuplicateObjectException {
- return makeMofResource(aUri, null);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive#makeMofResource(String, EList)
- */
- public Resource makeMofResource(String aUri, EList extent) throws DuplicateObjectException {
- if (isDuplicate(aUri))
- throw new DuplicateObjectException(CommonArchiveResourceHandler.getString("duplicate_entry_EXC_", (new Object[]{aUri, getURI()}))); //$NON-NLS-1$ = "A file or resource with uri {0} already exists in the archive named {1}"
- return getLoadStrategy().makeMofResource(aUri, extent);
- }
-
- /**
- * @see Archive
- */
- public Archive openNestedArchive(String aUri) throws OpenFailureException {
- return getCommonArchiveFactory().openNestedArchive(aUri, this);
- }
-
- /**
- * @see Archive
- */
- public Archive openNestedArchive(LooseArchive loose) throws OpenFailureException {
- return getCommonArchiveFactory().openNestedArchive(loose, this);
- }
-
- /**
- * Set the value of the extra class path with no refresh of the class loader
- */
- public void primSetExtraClasspath(java.lang.String newExtraClasspath) {
- extraClasspath = newExtraClasspath;
- }
-
- /**
- * Remove references to the archive class loader to prevent gc problems or problems with temp
- * files not getting deleted
- */
- public void releaseClassLoader() {
- if (archiveClassLoader != null) {
- setArchiveClassLoader(null);
- getJavaAdapterFactory().setContextClassLoader(null);
- }
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void remove(File aFile) {
- getFiles().remove(aFile);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void reopen() throws ReopenException {
- reopen(null);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void reopen(Archive parent) throws ReopenException {
- LoadStrategy aLoadStrategy = null;
- try {
- aLoadStrategy = createLoadStrategyForReopen(parent);
- } catch (IOException ex) {
- throw new ReopenException(CommonArchiveResourceHandler.getString("io_ex_reopen_EXC_", (new Object[]{getURI()})), ex); //$NON-NLS-1$ = "IOException occurred while reopening "
- }
- //PQ54572
- LoadStrategy current = getLoadStrategy();
- if (current != null) {
- aLoadStrategy.setResourceSet(current.primGetResourceSet());
- /*
- * fixing problem with orphaned load strategy listening to the resource set
- */
- current.setResourceSet(null);
- }
-
- setLoadStrategy(aLoadStrategy);
- initializeClassLoader();
- if (!isIndexed())
- return;
- List fileList = getFiles();
- for (int i = 0; i < fileList.size(); i++) {
- File f = (File) fileList.get(i);
- f.setOriginalURI(f.getURI());
- f.setLoadingContainer(this);
- if (f.isArchive())
- ((Archive) f).reopen(this);
- }
- getCommonArchiveFactory().archiveOpened(this);
- }
-
- protected void replaceRoot(Resource aResource, EObject root) {
- if (aResource == null)
- return;
- EList extent = aResource.getContents();
- EObject existingRoot = null;
- if (!extent.isEmpty()) {
- existingRoot = (EObject) extent.get(0);
- if (existingRoot == root)
- return;
- extent.remove(0);
- }
- if (root != null)
- extent.add(0, root);
- }
-
- protected Archive resolveClasspathEntryInEAR(String entry) {
- /*
- * Added to support runtime classpath for loose modules
- */
- Container parent = getContainer();
- if (parent == null || !parent.isEARFile())
- return null;
-
- String aUri = ArchiveUtil.deriveEARRelativeURI(entry, this);
- if (aUri == null)
- return null;
-
- File aFile = null;
- try {
- aFile = parent.getFile(aUri);
- } catch (FileNotFoundException ex) {
- return null;
- }
-
- return aFile.isArchive() ? (Archive) aFile : null;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void save() throws SaveFailureException, ReopenException {
- saveAs(getURI());
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void save(org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategy aStrategy) throws SaveFailureException {
- setSaveStrategy(aStrategy);
- SaveFilter existingFilter = aStrategy.getFilter();
- boolean oldDelivery = eDeliver();
- try {
- if (getOptions().isReadOnly())
- eSetDeliver(false);
- aStrategy.setFilter(getSaveFilter());
- aStrategy.save();
- try {
- aStrategy.finish();
- } catch (java.io.IOException iox) {
- throw new SaveFailureException(getURI(), iox);
- }
- } finally {
- //We have to leave the file index if we are a directory because we
- // might have
- //open file handles to archives
- if (getOptions().isReadOnly() && !getLoadStrategy().isDirectory()) {
- files.clear();
- //((BasicEList)files).setListImplementation(new ArrayList(0));
- eSetDeliver(oldDelivery);
- eAdapters().remove(getFileIndexAdapter());
- fileIndexAdapter = null;
- fileIndex = null;
- }
- setSaveStrategy(null);
- aStrategy.setFilter(existingFilter);
- }
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void saveAs(String aUri) throws SaveFailureException, ReopenException {
- saveAsNoReopen(aUri);
- reopen();
- }
-
- /**
- * If we can rename it then we can delete it
- */
- protected boolean isRenameable(java.io.File orig) {
- java.io.File origCopy1 = null;
- java.io.File origCopy2 = null;
- try {
- origCopy1 = orig.getCanonicalFile();
- origCopy2 = orig.getCanonicalFile();
- } catch (java.io.IOException ex) {
- return false;
- }
- String name = null;
- String baseName = "save.tmp"; //$NON-NLS-1$
- try {
- if (orig.getParent() != null)
- baseName = new java.io.File(orig.getParent(), baseName).getCanonicalPath();
- } catch (java.io.IOException ex) {
- return false;
- }
-
- java.io.File temp = null;
- int index = 0;
- do {
- name = baseName + index;
- temp = new java.io.File(name);
- index++;
- } while (temp.exists());
- return origCopy1.renameTo(temp) && temp.renameTo(origCopy2);
- }
-
- protected void checkWriteable(java.io.File dest) throws SaveFailureException {
- List locked = ArchiveUtil.getWriteProtectedFiles(dest, null);
- if (locked.isEmpty())
- return;
-
- StringBuffer msg = new StringBuffer();
- msg.append("Cannot write to file: "); //$NON-NLS-1$
- msg.append(dest.getAbsolutePath());
- msg.append('\n');
- msg.append("One or more files is write protected or locked:"); //$NON-NLS-1$
- msg.append('\n');
- for (int i = 0; i < locked.size(); i++) {
- java.io.File aFile = (java.io.File) locked.get(i);
- msg.append(aFile.getAbsolutePath());
- msg.append('\n');
- }
- throw new SaveFailureException(msg.toString());
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void saveAsNoReopen(String aUri) throws SaveFailureException {
- java.io.File aFile = new java.io.File(aUri);
- checkWriteable(aFile);
- boolean fileExisted = aFile.exists();
- //botp 142149
- //boolean inUse = getLoadStrategy().isUsing(aFile);
- SaveStrategy aSaveStrategy = null;
- try {
- try {
- java.io.File destinationFile = fileExisted ? ArchiveUtil.createTempFile(aUri, aFile.getCanonicalFile().getParentFile()) : aFile;
- aSaveStrategy = createSaveStrategyForJar(destinationFile);
- save(aSaveStrategy);
- aSaveStrategy.close();
- this.close();
- if (fileExisted) {
- cleanupAfterTempSave(aUri, aFile, destinationFile);
- }
- } catch (java.io.IOException ex) {
- throw new SaveFailureException(CommonArchiveResourceHandler.getString("error_saving_EXC_", (new Object[]{aUri})), ex); //$NON-NLS-1$ = "Error saving "
- }
- } catch (SaveFailureException failure) {
- try {
- if (aSaveStrategy != null)
- aSaveStrategy.close();
- } catch (IOException weTried) {
- //Ignore
- }
- if (!fileExisted)
- aFile.delete();
- throw failure;
- }
-
- setURI(aUri);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void saveNoReopen() throws SaveFailureException {
- saveAsNoReopen(getURI());
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newArchiveClassLoader
- * java.lang.ClassLoader
- */
- public void setArchiveClassLoader(java.lang.ClassLoader newArchiveClassLoader) {
- archiveClassLoader = newArchiveClassLoader;
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newExtraClasspath
- * java.lang.String
- */
- public void setExtraClasspath(java.lang.String newExtraClasspath) {
- primSetExtraClasspath(newExtraClasspath);
- //Optimization - only re init if a cl exists; otherwise it will init on
- // demand
- if (archiveClassLoader != null)
- initializeClassLoader();
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- */
- public void setManifest(ArchiveManifest newManifest) {
- manifest = newManifest;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void setManifest(java.util.jar.Manifest aManifest) {
- setManifest((ArchiveManifest) new org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveManifestImpl(aManifest));
- }
-
- /**
- * Sets the Class-path manifest entry, rebuilds the class loader, and refreshes any reflected
- * java classes
- */
- public void setManifestClassPathAndRefresh(String classpath) {
- ArchiveManifest mf = getManifest();
- if (manifest == null) {
- makeManifest();
- }
- mf.setClassPath(classpath);
- //Optimization - only re init if a cl exists; otherwise it will init on
- // demand
- if (archiveClassLoader != null)
- initializeClassLoader();
- }
-
- public void setOptions(org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions newOptions) {
- options = newOptions;
- }
-
- /**
- * Optional filter for saving a subset of files; filter will be applied for all save and extract
- * invokations
- */
- public void setSaveFilter(org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.SaveFilter newSaveFilter) {
- saveFilter = newSaveFilter;
- }
-
- /**
- * Insert the method's description here. Creation date: (12/04/00 3:31:32 PM)
- *
- * @param newSaveStrategy
- * com.ibm.etools.archive.SaveStrategy
- */
- public void setSaveStrategy(org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategy newSaveStrategy) {
- saveStrategy = newSaveStrategy;
- if (newSaveStrategy != null) {
- newSaveStrategy.setArchive(this);
- }
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newXmlEncoding
- * java.lang.String
- */
- public void setXmlEncoding(java.lang.String newXmlEncoding) {
- xmlEncoding = newXmlEncoding;
- }
-
- /**
- * Determine whether java reflection should be set up for this archive
- */
- public boolean shouldUseJavaReflection() {
- return getOptions().useJavaReflection() && getLoadStrategy().isClassLoaderNeeded();
- }
-
- protected void throwResourceLoadException(String resourceUri, Exception ex) throws ResourceLoadException {
- throw new ResourceLoadException(CommonArchiveResourceHandler.getString("load_resource_EXC_", (new Object[]{resourceUri, getURI()})), ex); //$NON-NLS-1$ = "Could not load resource "{0}" in archive "{1}""
- }
-
- public String getResourcesPath() throws FileNotFoundException {
- return getLoadStrategy().getResourcesPath();
- }
-
- public String getBinariesPath() throws FileNotFoundException {
- return getLoadStrategy().getBinariesPath();
- }
-
- protected RuntimeClasspathEntry[] emptyClasspath() {
- return new RuntimeClasspathEntry[0];
- }
-
- protected String internalGetBinariesPath() {
- try {
- return getBinariesPath();
- } catch (FileNotFoundException ex) {
- return null;
- }
- }
-
- /**
- * By default return just the contents of this archive
- */
- public RuntimeClasspathEntry[] getLocalRuntimeClassPath() {
-
- String absolutePath = internalGetBinariesPath();
- if (absolutePath == null)
- return emptyClasspath();
- return new RuntimeClasspathEntry[]{createRuntimeClasspathEntry(absolutePath)};
- }
-
- protected RuntimeClasspathEntry[] getDependencyClassPathAtThisLevel() {
- String absolutePath = internalGetBinariesPath();
- if (absolutePath == null)
- return emptyClasspath();
- String parentPath = new java.io.File(absolutePath).getParentFile().getAbsolutePath();
- String[] mfEntries = getManifest().getClassPathTokenized();
- if (mfEntries.length == 0)
- return emptyClasspath();
- List entries = new ArrayList();
- entries.addAll(createRuntimeClasspathEntries(mfEntries, parentPath));
-
- return (RuntimeClasspathEntry[]) entries.toArray(new RuntimeClasspathEntry[entries.size()]);
- }
-
- public RuntimeClasspathEntry[] getFullRuntimeClassPath() {
- return concat(getLocalRuntimeClassPath(), getDependencyClassPath());
- }
-
- protected RuntimeClasspathEntry[] concat(RuntimeClasspathEntry[] array1, RuntimeClasspathEntry[] array2) {
- List temp = new ArrayList();
- temp.addAll(Arrays.asList(array1));
- temp.addAll(Arrays.asList(array2));
- return (RuntimeClasspathEntry[]) temp.toArray(new RuntimeClasspathEntry[temp.size()]);
- }
-
- public RuntimeClasspathEntry[] getDependencyClassPath() {
- List entries = new ArrayList();
- Set visited = new HashSet();
- Set processedEntries = new HashSet();
- visited.add(this);
- getDependencyClassPath(visited, entries, processedEntries, this);
- return (RuntimeClasspathEntry[]) entries.toArray(new RuntimeClasspathEntry[entries.size()]);
- }
-
- protected void getDependencyClassPath(Set visitedArchives, List entries, Set processedEntries, Archive current) {
-
- RuntimeClasspathEntry[] local = ((ArchiveImpl) current).getDependencyClassPathAtThisLevel();
- for (int i = 0; i < local.length; i++) {
- RuntimeClasspathEntry entry = local[i];
- if (!processedEntries.contains(entry)) {
- entries.add(entry);
- processedEntries.add(entry);
- }
- Archive resolved = entry.getReferencedArchive();
- if (resolved == null)
- ClasspathUtil.processManifest(entry.getAbsolutePath(), entries, processedEntries);
- else if (!visitedArchives.contains(resolved)) {
- visitedArchives.add(resolved);
- getDependencyClassPath(visitedArchives, entries, processedEntries, resolved);
- }
-
- }
- }
-
- protected EARFile getEARFile() {
- Container parent = getContainer();
- if (parent == null || !(parent instanceof EARFile))
- return null;
- return (EARFile) parent;
- }
-
- protected Archive getResolvedArchive(String mfValue, EARFile ear) {
- String aUri = ArchiveUtil.deriveEARRelativeURI(mfValue, this);
- if (aUri == null)
- return null;
- try {
- return (Archive) ear.getFile(aUri);
- } catch (FileNotFoundException ex) {
- return null;
- } catch (ClassCastException ex2) {
- return null;
- }
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive#hasClasspathVisibilityTo(Archive)
- */
- public boolean hasClasspathVisibilityTo(Archive other) {
- if (other == null)
- return false;
- EARFile ear = getEARFile();
- if (ear == null)
- return false;
- Set visited = new HashSet();
- return hasClasspathVisibilityTo(other, visited, ear);
- }
-
- public boolean hasClasspathVisibilityTo(Archive other, Set visited, EARFile ear) {
- if (this == other)
- return true;
- if (visited.contains(this))
- return false;
- visited.add(this);
- String[] mfEntries = getManifest().getClassPathTokenized();
- for (int i = 0; i < mfEntries.length; i++) {
- Archive anArchive = getResolvedArchive(mfEntries[i], ear);
- if (anArchive != null && anArchive.hasClasspathVisibilityTo(other, visited, ear))
- return true;
- }
- return false;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jst.j2ee.internal.commonarchivecore.Archive#isType(java.lang.String)
- */
- public boolean isType(String type) {
-
- return (types != null && getTypes().contains(type));
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ClientModuleRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ClientModuleRefImpl.java
deleted file mode 100644
index ae274d6c1..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ClientModuleRefImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.client.ApplicationClient;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ClientModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveWrappedException;
-
-
-public class ClientModuleRefImpl extends ModuleRefImpl implements ClientModuleRef, ModuleRef {
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected ClientModuleRefImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EClass eStaticClass() {
- return CommonarchivePackage.eINSTANCE.getClientModuleRef();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.CLIENT_MODULE_REF__EAR_FILE :
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, CommonarchivePackage.CLIENT_MODULE_REF__EAR_FILE, msgs);
- default :
- return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);
- }
- }
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.CLIENT_MODULE_REF__EAR_FILE :
- return eBasicSetContainer(null, CommonarchivePackage.CLIENT_MODULE_REF__EAR_FILE, msgs);
- default :
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
- if (eContainerFeatureID >= 0) {
- switch (eContainerFeatureID) {
- case CommonarchivePackage.CLIENT_MODULE_REF__EAR_FILE :
- return eContainer.eInverseRemove(this, CommonarchivePackage.EAR_FILE__MODULE_REFS, EARFile.class, msgs);
- default :
- return eDynamicBasicRemoveFromContainer(msgs);
- }
- }
- return eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.CLIENT_MODULE_REF__MODULE_FILE :
- if (resolve)
- return getModuleFile();
- return basicGetModuleFile();
- case CommonarchivePackage.CLIENT_MODULE_REF__EAR_FILE :
- return getEarFile();
- case CommonarchivePackage.CLIENT_MODULE_REF__MODULE :
- if (resolve)
- return getModule();
- return basicGetModule();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.CLIENT_MODULE_REF__MODULE_FILE :
- setModuleFile((ModuleFile) newValue);
- return;
- case CommonarchivePackage.CLIENT_MODULE_REF__EAR_FILE :
- setEarFile((EARFile) newValue);
- return;
- case CommonarchivePackage.CLIENT_MODULE_REF__MODULE :
- setModule((Module) newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.CLIENT_MODULE_REF__MODULE_FILE :
- setModuleFile((ModuleFile) null);
- return;
- case CommonarchivePackage.CLIENT_MODULE_REF__EAR_FILE :
- setEarFile((EARFile) null);
- return;
- case CommonarchivePackage.CLIENT_MODULE_REF__MODULE :
- setModule((Module) null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.CLIENT_MODULE_REF__MODULE_FILE :
- return moduleFile != null;
- case CommonarchivePackage.CLIENT_MODULE_REF__EAR_FILE :
- return getEarFile() != null;
- case CommonarchivePackage.CLIENT_MODULE_REF__MODULE :
- return module != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- public ApplicationClient getApplicationClient() throws ArchiveWrappedException {
- return (ApplicationClient) getDeploymentDescriptor();
- }
-
-
- /*
- * @see ModuleRef#isClient()
- */
- public boolean isClient() {
- return true;
- }
-
-} //ClientModuleRefImpl
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/CommonarchiveFactoryImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/CommonarchiveFactoryImpl.java
deleted file mode 100644
index b20034dc7..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/CommonarchiveFactoryImpl.java
+++ /dev/null
@@ -1,1071 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.WeakHashMap;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.jem.util.logger.proxy.Logger;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ApplicationClientFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ArchiveTypeDiscriminatorRegistry;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ClientModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveFactoryRegistry;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveResourceHandler;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ConnectorModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Container;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.RARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ReadOnlyDirectory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WebModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveTypeDiscriminator;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.looseconfig.LooseArchive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.AppClient12ImportStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategy;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryArchiveLoadStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Ear12ImportStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.EjbJar11ImportStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.NestedArchiveLoadStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.NullLoadStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.RarImportStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ReadOnlyDirectoryLoadStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.TempZipFileLoadStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil;
-
-
-/**
- * @generated
- */
-public class CommonarchiveFactoryImpl extends EFactoryImpl implements CommonarchiveFactory {
-
-
- protected Map openArchives;
- private static boolean delegateNeedsInit = true;
- private CommonarchiveFactory delegate = null;
-
- static {
- initPrereqs();
- }
-
- /**
- *
- */
- public CommonarchiveFactoryImpl() {
- super();
- initDelegate();
- }
-
- /**
- *
- */
- private void initDelegate() {
- if (delegateNeedsInit) {
- delegateNeedsInit = false;
- delegate = new CommonarchiveFactoryImpl() {
-
- public ApplicationClientFile createApplicationClientFile() {
- return createApplicationClientFileGen();
- }
-
-
- public ClientModuleRef createClientModuleRef() {
- return createClientModuleRefGen();
- }
-
- public ConnectorModuleRef createConnectorModuleRef() {
- return createConnectorModuleRefGen();
- }
-
- public EARFile createEARFile() {
- return createEARFileGen();
- }
-
- public EJBJarFile createEJBJarFile() {
- return createEJBJarFileGen();
- }
-
- public EJBModuleRef createEJBModuleRef() {
- return createEJBModuleRefGen();
- }
-
- public RARFile createRARFile() {
- return createRARFileGen();
- }
-
- public WARFile createWARFile() {
- return createWARFileGen();
- }
-
- public WebModuleRef createWebModuleRef() {
- return createWebModuleRefGen();
- }
- };
- }
-
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case CommonarchivePackage.FILE :
- return createFile();
- case CommonarchivePackage.ARCHIVE :
- return createArchive();
- case CommonarchivePackage.EJB_JAR_FILE :
- return createEJBJarFile();
- case CommonarchivePackage.WAR_FILE :
- return createWARFile();
- case CommonarchivePackage.EAR_FILE :
- return createEARFile();
- case CommonarchivePackage.APPLICATION_CLIENT_FILE :
- return createApplicationClientFile();
- case CommonarchivePackage.READ_ONLY_DIRECTORY :
- return createReadOnlyDirectory();
- case CommonarchivePackage.RAR_FILE :
- return createRARFile();
- case CommonarchivePackage.EJB_MODULE_REF :
- return createEJBModuleRef();
- case CommonarchivePackage.WEB_MODULE_REF :
- return createWebModuleRef();
- case CommonarchivePackage.CLIENT_MODULE_REF :
- return createClientModuleRef();
- case CommonarchivePackage.CONNECTOR_MODULE_REF :
- return createConnectorModuleRef();
- default :
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public void archiveClosed(Archive aClosedArchive) {
- getOpenArchives().remove(aClosedArchive);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public void archiveOpened(Archive anOpenArchive) {
- getOpenArchives().put(anOpenArchive, null);
- }
-
- /**
- * @deprecated Use {@link #getOpenArchivesDependingOn(Archive)}
- */
- public boolean canClose(Archive anArchive) {
- return !getOpenArchivesDependingOn(anArchive).isEmpty();
- }
-
- public void closeOpenArchives() {
- if (getOpenArchives().isEmpty())
- return;
- List opened = new ArrayList(getOpenArchives().size());
- Iterator it = getOpenArchives().keySet().iterator();
- while (it.hasNext()) {
- opened.add(it.next());
- }
- for (int i = 0; i < opened.size(); i++) {
- Archive anArchive = (Archive) opened.get(i);
- anArchive.close();
- }
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public Archive copy(Archive anArchive) {
- return new ArchiveCopyUtility().copy(anArchive);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public ModuleFile copy(ModuleFile aModuleFile) {
- return new ArchiveCopyUtility().copy(aModuleFile);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public ApplicationClientFile createApplicationClientFileInitialized(java.lang.String uri) {
- ApplicationClientFile clientFile = createApplicationClientFile();
- initializeNewApplicationClientFile(clientFile, uri);
- return clientFile;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public Archive createArchiveInitialized(java.lang.String uri) {
- Archive anArchive = createArchive();
- initializeNewArchive(anArchive, uri);
- return anArchive;
-
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public Archive createArchiveInitialized(ArchiveOptions options, java.lang.String uri) {
- Archive anArchive = createArchive();
- initializeNewArchive(anArchive, uri, options);
- return anArchive;
-
- }
-
- public LoadStrategy createChildLoadStrategy(String uri, LoadStrategy parent) throws java.io.IOException, java.io.FileNotFoundException {
-
- LoadStrategy childStrategy = null;
- if (parent.isDirectory()) {
- String dirName = ((DirectoryArchiveLoadStrategy) parent).getDirectoryUri();
- String qualifiedUri = ArchiveUtil.getOSUri(dirName, uri);
- childStrategy = createLoadStrategy(qualifiedUri);
- } else {
- childStrategy = createNestedLoadStrategy(uri, parent);
- }
- return childStrategy;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EARFile createEARFileInitialized(java.lang.String uri) {
- EARFile earFile = createEARFile();
- initializeNewEARFile(earFile, uri);
- return earFile;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EARFile createEARFileInitialized(ArchiveOptions options, java.lang.String uri) {
- EARFile earFile = createEARFile();
- initializeNewEARFile(earFile, uri, options);
- return earFile;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EJBJarFile createEJBJarFileInitialized(java.lang.String uri) {
- EJBJarFile ejbJarFile = createEJBJarFile();
- initializeNewEJBJarFile(ejbJarFile, uri);
- return ejbJarFile;
-
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EJBJarFile createEJBJarFileInitialized(ArchiveOptions options, java.lang.String uri) {
- EJBJarFile ejbJarFile = createEJBJarFile();
- initializeNewEJBJarFile(ejbJarFile, uri, options);
- return ejbJarFile;
-
- }
-
- /**
- * Returns a NullLoadStrategyImpl; used for new archives
- */
- public LoadStrategy createEmptyLoadStrategy() {
- return new NullLoadStrategyImpl();
- }
-
- /**
- * Helper method to dynamically build a load strategy from the file system. Determines whether
- * the uri points to a jar file or directory and returns the appropriate strategy
- */
- public LoadStrategy createLoadStrategy(String uri) throws FileNotFoundException, IOException {
- String filename = uri.replace('/', java.io.File.separatorChar);
- java.io.File file = new java.io.File(filename);
- if (!file.exists()) {
- throw new FileNotFoundException(CommonArchiveResourceHandler.getString("file_not_found_EXC_", (new Object[]{uri, file.getAbsolutePath()}))); //$NON-NLS-1$ = "URI Name: {0}; File name: {1}"
- }
- if (file.isDirectory()) {
- return new DirectoryArchiveLoadStrategyImpl(uri);
- }
- return new org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipFileLoadStrategyImpl(file);
- }
-
- /**
- * Create a load strategy for a nested archive; by default will extract the nested archive to a
- * temp file for performance reasons. This is because random access to the zip entries in a
- * nested archive is not supported by the java.util.zip package, and if the archive's contents
- * are being modified, copied, etc, this is much faster. If a temp file can not be created, or
- * if the archive is opened read only (for runtime), then use a NestedArchiveLoadStrategy, which
- * retrieves the contents of a zip entry by sequentially searching a zip input stream
- */
- public LoadStrategy createNestedLoadStrategy(String uri, LoadStrategy parent) {
- LoadStrategy loadStrategy = null;
- ArchiveOptions options = ((Archive) parent.getContainer()).getOptions();
-
- if (!options.isReadOnly(uri))
- loadStrategy = createTempZipFileStrategyIfPossible(uri, parent);
-
- if (loadStrategy == null)
- return new NestedArchiveLoadStrategyImpl(parent);
- return loadStrategy;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public RARFile createRARFileInitialized(java.lang.String uri) {
- RARFile rarFile = createRARFile();
- initializeNewRARFile(rarFile, uri);
- return rarFile;
- }
-
- public LoadStrategy createTempZipFileStrategyIfPossible(String uri, LoadStrategy parent) {
-
- if (!ArchiveUtil.shouldUseTempDirectoryForRead())
- return null;
-
- try {
- java.io.File tempFile = ArchiveUtil.createTempFile(uri);
- tempFile.deleteOnExit();
- InputStream in = parent.getInputStream(uri);
- OutputStream out = new FileOutputStream(tempFile);
- ArchiveUtil.copy(in, out);
- return new TempZipFileLoadStrategyImpl(tempFile);
- } catch (IOException ex) {
- ArchiveUtil.inform(CommonArchiveResourceHandler.getString("make_temp_file_WARN_", (new Object[]{uri})) + ex.getLocalizedMessage()); //$NON-NLS-1$ = "Warning: Unable to create temp file for {0}. This will impact performance."
- }
- return null;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public WARFile createWARFileInitialized(java.lang.String uri) {
- WARFile warFile = createWARFile();
- initializeNewWARFile(warFile, uri);
- return warFile;
- }
-
- protected ArchiveOptions defaultOptions(LoadStrategy aLoadStrategy) {
- ArchiveOptions options = new ArchiveOptions();
- options.setLoadStrategy(aLoadStrategy);
- return options;
- }
-
- public static CommonarchiveFactory getActiveFactory() {
- CommonarchivePackage pkg = getPackage();
- if (pkg != null)
- return pkg.getCommonarchiveFactory();
- return null;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public java.lang.String[] getManifestClassPathValues(java.lang.String uri) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException {
- Archive anArchive = primOpenArchive(uri);
- String[] result = anArchive.getManifest().getClassPathTokenized();
- anArchive.close();
- return result;
- }
-
- /**
- * Insert the method's description here. Creation date: (02/23/01 2:35:55 PM)
- *
- * @return java.util.Map
- */
- public java.util.Map getOpenArchives() {
- if (openArchives == null)
- openArchives = new WeakHashMap();
- return openArchives;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public Set getOpenArchivesDependingOn(Archive anArchive) {
- Set dependents = new HashSet();
- Iterator opened = getOpenArchives().keySet().iterator();
- while (opened.hasNext()) {
- Archive openedArchive = (Archive) opened.next();
- if (openedArchive == anArchive)
- continue;
- if (!openedArchive.isIndexed())
- //**********Optimization***********
- //If the file list has never been built for the archive, we don't want to trigger
- // it now,
- //and we are sure that the archive is not preventing the parameter from closing
- continue;
- List files = openedArchive.getFiles();
- for (int i = 0; i < files.size(); i++) {
- File aFile = (File) files.get(i);
- if (aFile.getLoadingContainer() == anArchive) {
- Archive outermost = openedArchive;
- Container c = openedArchive.getContainer();
- while (c != null && c.isArchive()) {
- outermost = (Archive) c;
- c = c.getContainer();
- }
- dependents.add(outermost);
- }
- }
- }
- //Elements from one of the children (e.g., a module file in an ear) may have been copied to
- //another archive
- List nestedArchives = anArchive.getArchiveFiles();
- for (int i = 0; i < nestedArchives.size(); i++) {
- dependents.addAll(getOpenArchivesDependingOn((Archive) nestedArchives.get(i)));
- }
- return dependents;
- }
-
- protected static void initPrereqs() {
- org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit.invokePrereqInits(true);
- ArchiveTypeDiscriminator disc = RootArchiveTypeDescriminatorImpl.singleton();
- disc.addChild(Ear12ImportStrategyImpl.getDiscriminator());
- disc.addChild(War22ImportStrategyImpl.getDiscriminator());
- disc.addChild(AppClient12ImportStrategyImpl.getDiscriminator());
- disc.addChild(RarImportStrategyImpl.getDiscriminator());
- disc.addChild(RootEJBJarDescriminatorImpl.singleton());
- }
-
- public void initializeNewApplicationClientFile(ApplicationClientFile anArchive, String uri) {
- initializeNewModuleFile(anArchive, uri);
- }
-
- public void initializeNewArchive(Archive anArchive, String uri) {
- anArchive.setURI(uri);
- anArchive.setSize(0);
- anArchive.setLastModified(System.currentTimeMillis());
- anArchive.setDirectoryEntry(false);
- anArchive.setLoadStrategy(createEmptyLoadStrategy());
- }
-
- public void initializeNewEARFile(EARFile anArchive, String uri) {
- initializeNewModuleFile(anArchive, uri);
- }
-
- public void initializeNewEJBJarFile(EJBJarFile anArchive, String uri) {
- initializeNewModuleFile(anArchive, uri);
- }
-
- public void initializeNewModuleFile(ModuleFile anArchive, String uri) {
- initializeNewArchive(anArchive, uri);
- anArchive.makeDeploymentDescriptorResource();
- }
-
- public void initializeNewRARFile(RARFile anArchive, String uri) {
- initializeNewModuleFile(anArchive, uri);
- }
-
- public void initializeNewWARFile(WARFile anArchive, String uri) {
- initializeNewModuleFile(anArchive, uri);
- }
-
- public void initializeNewApplicationClientFile(ApplicationClientFile anArchive, String uri, ArchiveOptions options) {
- initializeNewModuleFile(anArchive, uri, options);
- }
-
- public void initializeNewArchive(Archive anArchive, String uri, ArchiveOptions options) {
- if (options.getLoadStrategy() == null) {
- try {
- options.setLoadStrategy(createEmptyLoadStrategy());
- } catch (Exception ex) {
- Logger.getLogger().logError(ex);
- }
- }
-
- anArchive.setURI(uri);
- anArchive.setSize(0);
- anArchive.setLastModified(System.currentTimeMillis());
- anArchive.setDirectoryEntry(false);
- anArchive.setLoadStrategy(options.getLoadStrategy());
- anArchive.setOptions(options);
-
- }
-
- public void initializeNewEARFile(EARFile anArchive, String uri, ArchiveOptions options) {
- initializeNewModuleFile(anArchive, uri, options);
- }
-
- public void initializeNewEJBJarFile(EJBJarFile anArchive, String uri, ArchiveOptions options) {
- initializeNewModuleFile(anArchive, uri, options);
- }
-
- public void initializeNewModuleFile(ModuleFile anArchive, String uri, ArchiveOptions options) {
- initializeNewArchive(anArchive, uri, options);
- anArchive.makeDeploymentDescriptorResource();
- }
-
- public void initializeNewRARFile(RARFile anArchive, String uri, ArchiveOptions options) {
- initializeNewModuleFile(anArchive, uri, options);
- }
-
- public void initializeNewWARFile(WARFile anArchive, String uri, ArchiveOptions options) {
- initializeNewModuleFile(anArchive, uri, options);
- }
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public ApplicationClientFile openApplicationClientFile(ArchiveOptions options, String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(options, uri);
- ArchiveTypeDiscriminator disc = AppClient12ImportStrategyImpl.getDiscriminator();
- return (ApplicationClientFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public ApplicationClientFile openApplicationClientFile(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(aLoadStrategy, uri);
- ArchiveTypeDiscriminator disc = AppClient12ImportStrategyImpl.getDiscriminator();
- return (ApplicationClientFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public ApplicationClientFile openApplicationClientFile(String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(uri);
- ArchiveTypeDiscriminator disc = AppClient12ImportStrategyImpl.getDiscriminator();
- return (ApplicationClientFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public Archive openArchive(ArchiveOptions options, String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(options, uri);
- return openSpecificArchive(anArchive, RootArchiveTypeDescriminatorImpl.singleton());
- }
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public Archive openArchive(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(aLoadStrategy, uri);
- return openSpecificArchive(anArchive, RootArchiveTypeDescriminatorImpl.singleton());
- }
-
- /**
- * openArchive(String uri) - open the archive by the passed name, setting up the appropriate
- * strategies. Name may be a path to a jar, a zip, or a directory return the appropriate Archive
- * type
- */
- public Archive openArchive(java.lang.String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(uri);
- return openSpecificArchive(anArchive, RootArchiveTypeDescriminatorImpl.singleton());
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public Archive openArchive(String uri, String extraClassPath) throws OpenFailureException {
- Archive anArchive = primOpenArchive(uri);
- anArchive.setExtraClasspath(extraClassPath);
- return openSpecificArchive(anArchive, RootArchiveTypeDescriminatorImpl.singleton());
- }
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public EARFile openEARFile(ArchiveOptions options, String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(options, uri);
- ArchiveTypeDiscriminator disc = Ear12ImportStrategyImpl.getDiscriminator();
- return (EARFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EARFile openEARFile(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(aLoadStrategy, uri);
- ArchiveTypeDiscriminator disc = Ear12ImportStrategyImpl.getDiscriminator();
- return (EARFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EARFile openEARFile(String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(uri);
- ArchiveTypeDiscriminator disc = Ear12ImportStrategyImpl.getDiscriminator();
- return (EARFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public EJBJarFile openEJB11JarFile(ArchiveOptions options, String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(options, uri);
- ArchiveTypeDiscriminator disc = EjbJar11ImportStrategyImpl.getDiscriminator();
- return (EJBJarFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EJBJarFile openEJB11JarFile(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(aLoadStrategy, uri);
- ArchiveTypeDiscriminator disc = EjbJar11ImportStrategyImpl.getDiscriminator();
- return (EJBJarFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EJBJarFile openEJB11JarFile(String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(uri);
- ArchiveTypeDiscriminator disc = EjbJar11ImportStrategyImpl.getDiscriminator();
- return (EJBJarFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public EJBJarFile openEJBJarFile(ArchiveOptions options, String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(options, uri);
- RootEJBJarDescriminatorImpl disc = (RootEJBJarDescriminatorImpl) RootEJBJarDescriminatorImpl.singleton();
- return (EJBJarFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EJBJarFile openEJBJarFile(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(aLoadStrategy, uri);
- RootEJBJarDescriminatorImpl disc = (RootEJBJarDescriminatorImpl) RootEJBJarDescriminatorImpl.singleton();
- return (EJBJarFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EJBJarFile openEJBJarFile(LoadStrategy aLoadStrategy, String uri, String extraClassPath) throws OpenFailureException {
- Archive anArchive = primOpenArchive(aLoadStrategy, uri);
- anArchive.setExtraClasspath(extraClassPath);
- RootEJBJarDescriminatorImpl disc = (RootEJBJarDescriminatorImpl) RootEJBJarDescriminatorImpl.singleton();
- return (EJBJarFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EJBJarFile openEJBJarFile(String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(uri);
- RootEJBJarDescriminatorImpl disc = (RootEJBJarDescriminatorImpl) RootEJBJarDescriminatorImpl.singleton();
- return (EJBJarFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public EJBJarFile openEJBJarFile(String uri, String extraClassPath) throws OpenFailureException {
- Archive anArchive = primOpenArchive(uri);
- anArchive.setExtraClasspath(extraClassPath);
- RootEJBJarDescriminatorImpl disc = (RootEJBJarDescriminatorImpl) RootEJBJarDescriminatorImpl.singleton();
- return (EJBJarFile) openSpecificArchive(anArchive, disc);
- }
-
- public Archive openNestedArchive(LooseArchive loose, Archive parent) throws OpenFailureException {
- String uri = loose.getUri();
- try {
- LoadStrategy childStrategy = createLoadStrategy(loose.getBinariesPath());
- childStrategy.setLooseArchive(loose);
- ArchiveOptions options = parent.getOptions().cloneWith(childStrategy, loose.getUri());
- return primOpenArchive(options, uri);
- } catch (IOException ex) {
- throw new OpenFailureException(CommonArchiveResourceHandler.getString("open_nested_EXC_", (new Object[]{uri, parent.getURI()})), ex); //$NON-NLS-1$ = "Could not open the nested archive "{0}" in "{1}""
- }
- }
-
- /**
- * @see CommonarchiveFactory
- */
- public Archive openNestedArchive(String uri, Archive parent) throws OpenFailureException {
- try {
- LoadStrategy childStrategy = createChildLoadStrategy(uri, parent.getLoadStrategy());
- ArchiveOptions options = parent.getOptions().cloneWith(childStrategy, uri);
- if (options.shouldDiscriminateNestedArchives())
- return openArchive(options, uri);
- return primOpenArchive(options, uri);
- } catch (IOException ex) {
- throw new OpenFailureException(CommonArchiveResourceHandler.getString("open_nested_EXC_", (new Object[]{uri, parent.getURI()})), ex); //$NON-NLS-1$ = "Could not open the nested archive "{0}" in "{1}""
- }
- }
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public RARFile openRARFile(ArchiveOptions options, java.lang.String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(options, uri);
- ArchiveTypeDiscriminator disc = RarImportStrategyImpl.getDiscriminator();
- return (RARFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public RARFile openRARFile(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(aLoadStrategy, uri);
- ArchiveTypeDiscriminator disc = RarImportStrategyImpl.getDiscriminator();
- return (RARFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public RARFile openRARFile(String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(uri);
- ArchiveTypeDiscriminator disc = RarImportStrategyImpl.getDiscriminator();
- return (RARFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * openReadOnlyDirectory method comment.
- */
- public ReadOnlyDirectory openReadOnlyDirectory(java.lang.String uri) throws java.io.IOException {
- java.io.File aFile = new java.io.File(uri);
- if (!aFile.exists())
- throw new FileNotFoundException(CommonArchiveResourceHandler.getString("could_not_find_dir_EXC_", (new Object[]{uri}))); //$NON-NLS-1$ = "Unable to open directory "
- if (!aFile.isDirectory())
- throw new IOException(CommonArchiveResourceHandler.getString("not_a_dir_EXC_", (new Object[]{uri}))); //$NON-NLS-1$ = "Unable to open directory because file is not a directory :"
- LoadStrategy strategy = new ReadOnlyDirectoryLoadStrategyImpl(uri);
- ReadOnlyDirectory container = createReadOnlyDirectory();
- container.setURI(uri);
- container.setLoadStrategy(strategy);
- container.setLastModified(aFile.lastModified());
- return container;
- }
-
- /**
- * Take the primitive archive and run it through the list of discriminators to convert it to the
- * correct specialized type; after after conversion, tell the archive to initalize itself if
- * necessary.
- */
- protected Archive openSpecificArchive(Archive anArchive, ArchiveTypeDiscriminator disc) throws OpenFailureException {
- if (!disc.canImport(anArchive)) {
- anArchive.close();
- throw new OpenFailureException(disc.getUnableToOpenMessage());
- }
- Archive specificArchive = disc.openArchive(anArchive);
- specificArchive.initializeAfterOpen();
- return specificArchive;
- }
-
- /**
- * Special case for ejb jar files, because of the need to support non-compliant 1.0 jars
- */
- protected Archive openSpecificArchive(Archive anArchive, RootEJBJarDescriminatorImpl disc) throws OpenFailureException {
- Archive specific = openSpecificArchive(anArchive, (ArchiveTypeDiscriminator) disc);
- if (specific == anArchive) {
- //The discriminator failed to convert the archve to an ejb jar file
- anArchive.close();
- throw new OpenFailureException(disc.getUnableToOpenMessage());
- }
- return specific;
- }
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public WARFile openWARFile(ArchiveOptions options, java.lang.String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(options, uri);
- ArchiveTypeDiscriminator disc = War22ImportStrategyImpl.getDiscriminator();
- return (WARFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public WARFile openWARFile(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(aLoadStrategy, uri);
- ArchiveTypeDiscriminator disc = War22ImportStrategyImpl.getDiscriminator();
- return (WARFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public WARFile openWARFile(String uri) throws OpenFailureException {
- Archive anArchive = primOpenArchive(uri);
- ArchiveTypeDiscriminator disc = War22ImportStrategyImpl.getDiscriminator();
- return (WARFile) openSpecificArchive(anArchive, disc);
- }
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public Archive primOpenArchive(ArchiveOptions options, String uri) throws OpenFailureException {
- if (options.getLoadStrategy() == null) {
- try {
- options.setLoadStrategy(createLoadStrategy(uri));
- } catch (IOException ex) {
- throw new OpenFailureException(CommonArchiveResourceHandler.getString("could_not_open_EXC_", (new Object[]{uri})), ex); //$NON-NLS-1$ = "Could not open "
- }
- }
- Archive anArchive = createArchive();
- anArchive.setURI(uri);
- anArchive.setOriginalURI(uri);
- anArchive.setLoadStrategy(options.getLoadStrategy());
- anArchive.setOptions(options);
- ArchiveTypeDiscriminatorRegistry.getInstance().contributeTypes(anArchive);
- return anArchive;
- }
-
- /**
- * open the archive, setting up the appropriate strategies, using the loadStrategy passed in;
- * URI still necessary so the archive has a name, but it will not be used for io.
- */
- public Archive primOpenArchive(LoadStrategy aLoadStrategy, String uri) throws OpenFailureException {
- return primOpenArchive(defaultOptions(aLoadStrategy), uri);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.CommonarchiveFactory
- */
- public Archive primOpenArchive(String uri) throws OpenFailureException {
- return primOpenArchive(new ArchiveOptions(), uri);
- }
-
- protected void setOpenArchives(java.util.Map newOpenArchives) {
- openArchives = newOpenArchives;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public WARFile createWARFileGen() {
- WARFileImpl warFile = new WARFileImpl();
- return warFile;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EJBJarFile createEJBJarFileGen() {
- EJBJarFileImpl ejbJarFile = new EJBJarFileImpl();
- return ejbJarFile;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public ApplicationClientFile createApplicationClientFileGen() {
- ApplicationClientFileImpl applicationClientFile = new ApplicationClientFileImpl();
- return applicationClientFile;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EARFile createEARFileGen() {
- EARFileImpl earFile = new EARFileImpl();
- return earFile;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public RARFile createRARFileGen() {
- RARFileImpl rarFile = new RARFileImpl();
- return rarFile;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public File createFile() {
- FileImpl file = new FileImpl();
- return file;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public ReadOnlyDirectory createReadOnlyDirectory() {
- ReadOnlyDirectoryImpl readOnlyDirectory = new ReadOnlyDirectoryImpl();
- return readOnlyDirectory;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public CommonarchivePackage getCommonarchivePackage() {
- return (CommonarchivePackage) getEPackage();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static CommonarchivePackage getPackage() {
- return CommonarchivePackage.eINSTANCE;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EJBModuleRef createEJBModuleRefGen() {
- EJBModuleRefImpl ejbModuleRef = new EJBModuleRefImpl();
- return ejbModuleRef;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public WebModuleRef createWebModuleRefGen() {
- WebModuleRefImpl webModuleRef = new WebModuleRefImpl();
- return webModuleRef;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public ClientModuleRef createClientModuleRefGen() {
- ClientModuleRefImpl clientModuleRef = new ClientModuleRefImpl();
- return clientModuleRef;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public ConnectorModuleRef createConnectorModuleRefGen() {
- ConnectorModuleRefImpl connectorModuleRef = new ConnectorModuleRefImpl();
- return connectorModuleRef;
- }
-
- public ClientModuleRef createClientModuleRef(ApplicationClientFile clientFile) {
- ClientModuleRef ref = createClientModuleRef();
- ref.setModuleFile(clientFile);
- return ref;
- }
-
- /*
- * @see CommonarchiveFactory#createConnectorModuleRef(RARFile)
- */
- public ConnectorModuleRef createConnectorModuleRef(RARFile rarFile) {
- ConnectorModuleRef ref = createConnectorModuleRef();
- ref.setModuleFile(rarFile);
- return ref;
-
- }
-
- /*
- * @see CommonarchiveFactory#createEJBModuleRef(EJBJarFile)
- */
- public EJBModuleRef createEJBModuleRef(EJBJarFile ejbJarFile) {
- EJBModuleRef ref = createEJBModuleRef();
- ref.setModuleFile(ejbJarFile);
- return ref;
- }
-
- /*
- * @see CommonarchiveFactory#createWebModuleRef(WARFile)
- */
- public WebModuleRef createWebModuleRef(WARFile warFile) {
- WebModuleRef ref = createWebModuleRef();
- ref.setModuleFile(warFile);
- return ref;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Archive createArchive() {
- ArchiveImpl archive = new ArchiveImpl();
- return archive;
- }
-
- public ApplicationClientFile createApplicationClientFile() {
- return CommonArchiveFactoryRegistry.INSTANCE.getCommonArchiveFactory().createApplicationClientFile();
- }
-
-
- public ClientModuleRef createClientModuleRef() {
- return CommonArchiveFactoryRegistry.INSTANCE.getCommonArchiveFactory().createClientModuleRef();
- }
-
- public ConnectorModuleRef createConnectorModuleRef() {
- return CommonArchiveFactoryRegistry.INSTANCE.getCommonArchiveFactory().createConnectorModuleRef();
- }
-
- public EARFile createEARFile() {
- return CommonArchiveFactoryRegistry.INSTANCE.getCommonArchiveFactory().createEARFile();
- }
-
- public EJBJarFile createEJBJarFile() {
- return CommonArchiveFactoryRegistry.INSTANCE.getCommonArchiveFactory().createEJBJarFile();
- }
-
- public EJBModuleRef createEJBModuleRef() {
- return CommonArchiveFactoryRegistry.INSTANCE.getCommonArchiveFactory().createEJBModuleRef();
- }
-
- public RARFile createRARFile() {
- return CommonArchiveFactoryRegistry.INSTANCE.getCommonArchiveFactory().createRARFile();
- }
-
- public WARFile createWARFile() {
- return CommonArchiveFactoryRegistry.INSTANCE.getCommonArchiveFactory().createWARFile();
- }
-
- public WebModuleRef createWebModuleRef() {
- return CommonArchiveFactoryRegistry.INSTANCE.getCommonArchiveFactory().createWebModuleRef();
- }
-
- /**
- * @return
- */
- public CommonarchiveFactory getDelegate() {
- return delegate;
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/CommonarchivePackageImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/CommonarchivePackageImpl.java
deleted file mode 100644
index b6413825d..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/CommonarchivePackageImpl.java
+++ /dev/null
@@ -1,635 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.emf.ecore.impl.EcorePackageImpl;
-import org.eclipse.jem.java.impl.JavaRefPackageImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ApplicationClientFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ClientModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ConnectorModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Container;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.RARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ReadOnlyDirectory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WebModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.looseconfig.LooseconfigPackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.looseconfig.impl.LooseconfigPackageImpl;
-import org.eclipse.jst.j2ee.internal.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.internal.application.impl.ApplicationPackageImpl;
-import org.eclipse.jst.j2ee.internal.client.ClientPackage;
-import org.eclipse.jst.j2ee.internal.client.impl.ClientPackageImpl;
-import org.eclipse.jst.j2ee.internal.common.impl.CommonPackageImpl;
-import org.eclipse.jst.j2ee.internal.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.internal.ejb.impl.EjbPackageImpl;
-import org.eclipse.jst.j2ee.internal.jca.JcaPackage;
-import org.eclipse.jst.j2ee.internal.jca.impl.JcaPackageImpl;
-import org.eclipse.jst.j2ee.internal.jsp.impl.JspPackageImpl;
-import org.eclipse.jst.j2ee.internal.webapplication.WebapplicationPackage;
-import org.eclipse.jst.j2ee.internal.webapplication.impl.WebapplicationPackageImpl;
-import org.eclipse.jst.j2ee.webservice.internal.wsclient.impl.Webservice_clientPackageImpl;
-
-
-/**
- * @lastgen class CommonarchivePackageImpl extends EPackageImpl implements CommonarchivePackage,
- * EPackage {}
- */
-public class CommonarchivePackageImpl extends EPackageImpl implements CommonarchivePackage {
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass fileEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass archiveEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass ejbJarFileEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass warFileEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass earFileEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass applicationClientFileEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass moduleFileEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass containerEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass readOnlyDirectoryEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass rarFileEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass moduleRefEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass ejbModuleRefEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass webModuleRefEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass clientModuleRefEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass connectorModuleRefEClass = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- private CommonarchivePackageImpl() {
- super(eNS_URI, CommonarchiveFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static CommonarchivePackage init() {
- if (isInited)
- return (CommonarchivePackage) EPackage.Registry.INSTANCE.getEPackage(CommonarchivePackage.eNS_URI);
-
- // Obtain or create and register package.
- CommonarchivePackageImpl theCommonarchivePackage = (CommonarchivePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new CommonarchivePackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- JcaPackageImpl.init();
- Webservice_clientPackageImpl.init();
- EcorePackageImpl.init();
- JavaRefPackageImpl.init();
- CommonPackageImpl.init();
- ClientPackageImpl.init();
- WebapplicationPackageImpl.init();
- EjbPackageImpl.init();
- JspPackageImpl.init();
- ApplicationPackageImpl.init();
-
- // Obtain or create and register interdependencies
- LooseconfigPackageImpl theLooseconfigPackage = (LooseconfigPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(LooseconfigPackage.eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.getEPackage(LooseconfigPackage.eNS_URI) : LooseconfigPackage.eINSTANCE);
-
- // Step 1: create meta-model objects
- theCommonarchivePackage.createPackageContents();
- theLooseconfigPackage.createPackageContents();
-
- // Step 2: complete initialization
- theCommonarchivePackage.initializePackageContents();
- theLooseconfigPackage.initializePackageContents();
-
- return theCommonarchivePackage;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getContainer() {
- return containerEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getContainer_Files() {
- return (EReference) containerEClass.getEReferences().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getWARFile() {
- return warFileEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWARFile_DeploymentDescriptor() {
- return (EReference) warFileEClass.getEReferences().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getModuleFile() {
- return moduleFileEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getEARFile() {
- return earFileEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getEARFile_DeploymentDescriptor() {
- return (EReference) earFileEClass.getEReferences().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getEARFile_ModuleRefs() {
- return (EReference) earFileEClass.getEReferences().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getModuleRef() {
- return moduleRefEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getModuleRef_ModuleFile() {
- return (EReference) moduleRefEClass.getEReferences().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getModuleRef_EarFile() {
- return (EReference) moduleRefEClass.getEReferences().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getModuleRef_Module() {
- return (EReference) moduleRefEClass.getEReferences().get(2);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getEJBModuleRef() {
- return ejbModuleRefEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getWebModuleRef() {
- return webModuleRefEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getClientModuleRef() {
- return clientModuleRefEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getConnectorModuleRef() {
- return connectorModuleRefEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getApplicationClientFile() {
- return applicationClientFileEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getApplicationClientFile_DeploymentDescriptor() {
- return (EReference) applicationClientFileEClass.getEReferences().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getEJBJarFile() {
- return ejbJarFileEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getEJBJarFile_DeploymentDescriptor() {
- return (EReference) ejbJarFileEClass.getEReferences().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getRARFile() {
- return rarFileEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getRARFile_DeploymentDescriptor() {
- return (EReference) rarFileEClass.getEReferences().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getArchive() {
- return archiveEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getArchive_Types() {
- return (EAttribute) archiveEClass.getEAttributes().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getFile() {
- return fileEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getFile_URI() {
- return (EAttribute) fileEClass.getEAttributes().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getFile_LastModified() {
- return (EAttribute) fileEClass.getEAttributes().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getFile_Size() {
- return (EAttribute) fileEClass.getEAttributes().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getFile_DirectoryEntry() {
- return (EAttribute) fileEClass.getEAttributes().get(3);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getFile_OriginalURI() {
- return (EAttribute) fileEClass.getEAttributes().get(4);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getFile_LoadingContainer() {
- return (EReference) fileEClass.getEReferences().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getFile_Container() {
- return (EReference) fileEClass.getEReferences().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getReadOnlyDirectory() {
- return readOnlyDirectoryEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public CommonarchiveFactory getCommonarchiveFactory() {
- return (CommonarchiveFactory) getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is guarded to have no affect on
- * any invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void createPackageContents() {
- if (isCreated)
- return;
- isCreated = true;
-
- // Create classes and their features
- fileEClass = createEClass(FILE);
- createEAttribute(fileEClass, FILE__URI);
- createEAttribute(fileEClass, FILE__LAST_MODIFIED);
- createEAttribute(fileEClass, FILE__SIZE);
- createEAttribute(fileEClass, FILE__DIRECTORY_ENTRY);
- createEAttribute(fileEClass, FILE__ORIGINAL_URI);
- createEReference(fileEClass, FILE__LOADING_CONTAINER);
- createEReference(fileEClass, FILE__CONTAINER);
-
- archiveEClass = createEClass(ARCHIVE);
- createEAttribute(archiveEClass, ARCHIVE__TYPES);
-
- ejbJarFileEClass = createEClass(EJB_JAR_FILE);
- createEReference(ejbJarFileEClass, EJB_JAR_FILE__DEPLOYMENT_DESCRIPTOR);
-
- warFileEClass = createEClass(WAR_FILE);
- createEReference(warFileEClass, WAR_FILE__DEPLOYMENT_DESCRIPTOR);
-
- earFileEClass = createEClass(EAR_FILE);
- createEReference(earFileEClass, EAR_FILE__MODULE_REFS);
- createEReference(earFileEClass, EAR_FILE__DEPLOYMENT_DESCRIPTOR);
-
- applicationClientFileEClass = createEClass(APPLICATION_CLIENT_FILE);
- createEReference(applicationClientFileEClass, APPLICATION_CLIENT_FILE__DEPLOYMENT_DESCRIPTOR);
-
- moduleFileEClass = createEClass(MODULE_FILE);
-
- containerEClass = createEClass(CONTAINER);
- createEReference(containerEClass, CONTAINER__FILES);
-
- readOnlyDirectoryEClass = createEClass(READ_ONLY_DIRECTORY);
-
- rarFileEClass = createEClass(RAR_FILE);
- createEReference(rarFileEClass, RAR_FILE__DEPLOYMENT_DESCRIPTOR);
-
- moduleRefEClass = createEClass(MODULE_REF);
- createEReference(moduleRefEClass, MODULE_REF__MODULE_FILE);
- createEReference(moduleRefEClass, MODULE_REF__EAR_FILE);
- createEReference(moduleRefEClass, MODULE_REF__MODULE);
-
- ejbModuleRefEClass = createEClass(EJB_MODULE_REF);
-
- webModuleRefEClass = createEClass(WEB_MODULE_REF);
-
- clientModuleRefEClass = createEClass(CLIENT_MODULE_REF);
-
- connectorModuleRefEClass = createEClass(CONNECTOR_MODULE_REF);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This method is guarded to have
- * no affect on any invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized)
- return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- LooseconfigPackageImpl theLooseconfigPackage = (LooseconfigPackageImpl) EPackage.Registry.INSTANCE.getEPackage(LooseconfigPackage.eNS_URI);
- EjbPackageImpl theEjbPackage = (EjbPackageImpl) EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI);
- WebapplicationPackageImpl theWebapplicationPackage = (WebapplicationPackageImpl) EPackage.Registry.INSTANCE.getEPackage(WebapplicationPackage.eNS_URI);
- ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl) EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI);
- ClientPackageImpl theClientPackage = (ClientPackageImpl) EPackage.Registry.INSTANCE.getEPackage(ClientPackage.eNS_URI);
- JcaPackageImpl theJcaPackage = (JcaPackageImpl) EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI);
-
- // Add subpackages
- getESubpackages().add(theLooseconfigPackage);
-
- // Add supertypes to classes
- archiveEClass.getESuperTypes().add(this.getContainer());
- ejbJarFileEClass.getESuperTypes().add(this.getModuleFile());
- warFileEClass.getESuperTypes().add(this.getModuleFile());
- earFileEClass.getESuperTypes().add(this.getModuleFile());
- applicationClientFileEClass.getESuperTypes().add(this.getModuleFile());
- moduleFileEClass.getESuperTypes().add(this.getArchive());
- containerEClass.getESuperTypes().add(this.getFile());
- readOnlyDirectoryEClass.getESuperTypes().add(this.getContainer());
- rarFileEClass.getESuperTypes().add(this.getModuleFile());
- ejbModuleRefEClass.getESuperTypes().add(this.getModuleRef());
- webModuleRefEClass.getESuperTypes().add(this.getModuleRef());
- clientModuleRefEClass.getESuperTypes().add(this.getModuleRef());
- connectorModuleRefEClass.getESuperTypes().add(this.getModuleRef());
-
- // Initialize classes and features; add operations and parameters
- initEClass(fileEClass, File.class, "File", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
- initEAttribute(getFile_URI(), ecorePackage.getEString(), "URI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false); //$NON-NLS-1$
- initEAttribute(getFile_LastModified(), ecorePackage.getELong(), "lastModified", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false); //$NON-NLS-1$
- initEAttribute(getFile_Size(), ecorePackage.getELong(), "size", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false); //$NON-NLS-1$
- initEAttribute(getFile_DirectoryEntry(), ecorePackage.getEBoolean(), "directoryEntry", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false); //$NON-NLS-1$
- initEAttribute(getFile_OriginalURI(), ecorePackage.getEString(), "originalURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false); //$NON-NLS-1$
- initEReference(getFile_LoadingContainer(), this.getContainer(), null, "loadingContainer", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false); //$NON-NLS-1$
- initEReference(getFile_Container(), this.getContainer(), this.getContainer_Files(), "container", null, 0, 1, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false); //$NON-NLS-1$
-
- initEClass(archiveEClass, Archive.class, "Archive", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
- initEAttribute(getArchive_Types(), ecorePackage.getEString(), "types", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false); //$NON-NLS-1$
-
- initEClass(ejbJarFileEClass, EJBJarFile.class, "EJBJarFile", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
- initEReference(getEJBJarFile_DeploymentDescriptor(), theEjbPackage.getEJBJar(), null, "deploymentDescriptor", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false); //$NON-NLS-1$
-
- initEClass(warFileEClass, WARFile.class, "WARFile", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
- initEReference(getWARFile_DeploymentDescriptor(), theWebapplicationPackage.getWebApp(), null, "deploymentDescriptor", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false); //$NON-NLS-1$
-
- initEClass(earFileEClass, EARFile.class, "EARFile", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
- initEReference(getEARFile_ModuleRefs(), this.getModuleRef(), this.getModuleRef_EarFile(), "moduleRefs", null, 1, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false); //$NON-NLS-1$
- initEReference(getEARFile_DeploymentDescriptor(), theApplicationPackage.getApplication(), null, "deploymentDescriptor", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false); //$NON-NLS-1$
-
- initEClass(applicationClientFileEClass, ApplicationClientFile.class, "ApplicationClientFile", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
- initEReference(getApplicationClientFile_DeploymentDescriptor(), theClientPackage.getApplicationClient(), null, "deploymentDescriptor", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false); //$NON-NLS-1$
-
- initEClass(moduleFileEClass, ModuleFile.class, "ModuleFile", IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
-
- initEClass(containerEClass, Container.class, "Container", IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
- initEReference(getContainer_Files(), this.getFile(), this.getFile_Container(), "files", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false); //$NON-NLS-1$
-
- initEClass(readOnlyDirectoryEClass, ReadOnlyDirectory.class, "ReadOnlyDirectory", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
-
- initEClass(rarFileEClass, RARFile.class, "RARFile", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
- initEReference(getRARFile_DeploymentDescriptor(), theJcaPackage.getConnector(), null, "deploymentDescriptor", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false); //$NON-NLS-1$
-
- initEClass(moduleRefEClass, ModuleRef.class, "ModuleRef", IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
- initEReference(getModuleRef_ModuleFile(), this.getModuleFile(), null, "moduleFile", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false); //$NON-NLS-1$
- initEReference(getModuleRef_EarFile(), this.getEARFile(), this.getEARFile_ModuleRefs(), "earFile", null, 1, 1, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false); //$NON-NLS-1$
- initEReference(getModuleRef_Module(), theApplicationPackage.getModule(), null, "module", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false); //$NON-NLS-1$
-
- initEClass(ejbModuleRefEClass, EJBModuleRef.class, "EJBModuleRef", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
-
- initEClass(webModuleRefEClass, WebModuleRef.class, "WebModuleRef", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
-
- initEClass(clientModuleRefEClass, ClientModuleRef.class, "ClientModuleRef", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
-
- initEClass(connectorModuleRefEClass, ConnectorModuleRef.class, "ConnectorModuleRef", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$
-
- // Create resource
- createResource(eNS_URI);
- }
-} //CommonarchivePackageImpl
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ConnectorModuleRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ConnectorModuleRefImpl.java
deleted file mode 100644
index dff058cea..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ConnectorModuleRefImpl.java
+++ /dev/null
@@ -1,192 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ConnectorModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveWrappedException;
-import org.eclipse.jst.j2ee.jca.Connector;
-
-
-public class ConnectorModuleRefImpl extends ModuleRefImpl implements ConnectorModuleRef, ModuleRef {
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected ConnectorModuleRefImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EClass eStaticClass() {
- return CommonarchivePackage.eINSTANCE.getConnectorModuleRef();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.CONNECTOR_MODULE_REF__EAR_FILE :
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, CommonarchivePackage.CONNECTOR_MODULE_REF__EAR_FILE, msgs);
- default :
- return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);
- }
- }
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.CONNECTOR_MODULE_REF__EAR_FILE :
- return eBasicSetContainer(null, CommonarchivePackage.CONNECTOR_MODULE_REF__EAR_FILE, msgs);
- default :
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
- if (eContainerFeatureID >= 0) {
- switch (eContainerFeatureID) {
- case CommonarchivePackage.CONNECTOR_MODULE_REF__EAR_FILE :
- return eContainer.eInverseRemove(this, CommonarchivePackage.EAR_FILE__MODULE_REFS, EARFile.class, msgs);
- default :
- return eDynamicBasicRemoveFromContainer(msgs);
- }
- }
- return eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.CONNECTOR_MODULE_REF__MODULE_FILE :
- if (resolve)
- return getModuleFile();
- return basicGetModuleFile();
- case CommonarchivePackage.CONNECTOR_MODULE_REF__EAR_FILE :
- return getEarFile();
- case CommonarchivePackage.CONNECTOR_MODULE_REF__MODULE :
- if (resolve)
- return getModule();
- return basicGetModule();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.CONNECTOR_MODULE_REF__MODULE_FILE :
- setModuleFile((ModuleFile) newValue);
- return;
- case CommonarchivePackage.CONNECTOR_MODULE_REF__EAR_FILE :
- setEarFile((EARFile) newValue);
- return;
- case CommonarchivePackage.CONNECTOR_MODULE_REF__MODULE :
- setModule((Module) newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.CONNECTOR_MODULE_REF__MODULE_FILE :
- setModuleFile((ModuleFile) null);
- return;
- case CommonarchivePackage.CONNECTOR_MODULE_REF__EAR_FILE :
- setEarFile((EARFile) null);
- return;
- case CommonarchivePackage.CONNECTOR_MODULE_REF__MODULE :
- setModule((Module) null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.CONNECTOR_MODULE_REF__MODULE_FILE :
- return moduleFile != null;
- case CommonarchivePackage.CONNECTOR_MODULE_REF__EAR_FILE :
- return getEarFile() != null;
- case CommonarchivePackage.CONNECTOR_MODULE_REF__MODULE :
- return module != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- public Connector getConnector() throws ArchiveWrappedException {
- return (Connector) getDeploymentDescriptor();
- }
-
- /*
- * @see ModuleRef#isConnector()
- */
- public boolean isConnector() {
- return true;
- }
-
-} //ConnectorModuleRefImpl
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ContainerImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ContainerImpl.java
deleted file mode 100644
index d20d834ac..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ContainerImpl.java
+++ /dev/null
@@ -1,513 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterImpl;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Container;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil;
-
-
-/**
- * @generated
- */
-public abstract class ContainerImpl extends FileImpl implements Container {
-
-
- /**
- * Inner class which maintains the index for the domain's collection of nodes keyed by name.
- */
- protected class FileNotificationAdapter extends AdapterImpl {
- public boolean isAdapterForType(Object type) {
- return (type == "FileNotificationAdapter");//$NON-NLS-1$
- }
-
- public void addIndexedFile(String newValue, Notifier notifier) {
- fileIndex.put(newValue, notifier);
- if (notifier.eAdapters() == null || !notifier.eAdapters().contains(this))
- notifier.eAdapters().add(this);
- }
-
- public void removeIndexedFile(String oldValue, Notifier notifier) {
- fileIndex.remove(oldValue);
- notifier.eAdapters().remove(this);
- }
-
- public void notifyChanged(Notification notification) {
- if (fileIndex == null || notification.getFeature() == null)
- return;
- //If the name changed, update the index
- if (notification.getFeature().equals(CommonarchivePackage.eINSTANCE.getFile_URI()) && ((File) notification.getNotifier()).getContainer() == ContainerImpl.this) {
- fileIndex.remove(notification.getOldValue());
- fileIndex.put(notification.getNewValue(), notification.getNotifier());
- }
- //Handle adds and removes
- if (notification.getFeature().equals(CommonarchivePackage.eINSTANCE.getContainer_Files()) && notification.getNotifier() == ContainerImpl.this) {
- switch (notification.getEventType()) {
- case Notification.ADD : {
- File file = (File) notification.getNewValue();
- addIndexedFile(file.getURI(), file);
- break;
- }
- case Notification.REMOVE : {
- removeIndexedFile(((File) notification.getOldValue()).getURI(), (File) notification.getOldValue());
- break;
- }
- case Notification.ADD_MANY : {
- filesAdded((List) notification.getNewValue());
- break;
- }
- case Notification.REMOVE_MANY : {
- filesRemoved((List) notification.getOldValue());
- break;
- }
- case Notification.MOVE : {
- break;
- }
- case Notification.SET : {
- if (notification.getPosition() != Notification.NO_INDEX) { //This is now a
- // replace in
- // MOF2
- File file = (File) notification.getNewValue();
- removeIndexedFile(((File) notification.getOldValue()).getURI(), (File) notification.getOldValue());
- addIndexedFile(file.getURI(), file);
- }
- break;
- }
- }
- }
- }
-
- public void filesAdded(List newFiles) {
- for (int i = 0; i < newFiles.size(); i++) {
- File file = (File) newFiles.get(i);
- addIndexedFile(file.getURI(), file);
- }
- }
-
- public void filesRemoved(List oldFiles) {
- for (int i = 0; i < oldFiles.size(); i++) {
- File file = (File) oldFiles.get(i);
- removeIndexedFile(file.getURI(), file);
- }
- }
-
- public void rebuildFileIndex() {
- removeAdaptersIfNecessary();
- fileIndex = new HashMap();
-
- // If the primary collection already has elements,
- //'reflect them in the index...
- if (getFiles().size() > 0) {
- Iterator i = getFiles().iterator();
- while (i.hasNext()) {
- File file = (File) i.next();
- addIndexedFile(file.getURI(), file);
- }
- }
- }
-
- public void removeAdaptersIfNecessary() {
- if (fileIndex == null)
- return;
- Iterator iter = fileIndex.values().iterator();
- while (iter.hasNext()) {
- File aFile = (File) iter.next();
- aFile.eAdapters().remove(this);
- }
- }
- }
-
- /** Implementer for loading entries in this container */
- protected LoadStrategy loadStrategy;
- /**
- * Index to provide fast lookup by name of files.
- */
- protected Map fileIndex;
- /**
- * An adapter which maintains the file index
- */
- protected FileNotificationAdapter fileIndexAdapter;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList files = null;
-
- public ContainerImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EClass eStaticClass() {
- return CommonarchivePackage.eINSTANCE.getContainer();
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public boolean containsFile(java.lang.String aUri) {
- String key = aUri.startsWith("/") ? ArchiveUtil.truncateFromFrontIgnoreCase(aUri, "/") : aUri;//$NON-NLS-2$//$NON-NLS-1$
- if (isIndexed())
- return getFileIndex().containsKey(key);
- return getLoadStrategy().contains(key);
-
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Container
- */
- public java.lang.String getAbsolutePath() throws java.io.FileNotFoundException {
- return getLoadStrategy().getAbsolutePath();
- }
-
- public File getFile(String URI) throws java.io.FileNotFoundException {
- if (!isIndexed()) {
- getFiles();
- }
- File file = (File) getFileIndex().get(URI);
- if (file == null) {
- throw new java.io.FileNotFoundException(URI);
- }
- return file;
- }
-
- /**
- * Insert the method's description here. Creation date: (12/05/00 7:20:21 PM)
- *
- * @return java.util.Map
- */
- protected java.util.Map getFileIndex() {
- if (fileIndex == null)
- getFileIndexAdapter().rebuildFileIndex();
- return fileIndex;
- }
-
- /**
- * Insert the method's description here. Creation date: (12/05/00 7:20:21 PM)
- *
- * @return FileNotificationAdapter
- */
- protected FileNotificationAdapter getFileIndexAdapter() {
- if (fileIndexAdapter == null) {
- fileIndexAdapter = new FileNotificationAdapter();
- eAdapters().add(fileIndexAdapter);
- }
- return fileIndexAdapter;
- }
-
- /**
- * List is built on demand, by requesting from the load strategy.
- */
- public EList getFiles() {
- EList filesList = this.getFilesGen();
- if (!isIndexed()) {
- if (filesList.isEmpty() && getLoadStrategy() != null) {
- filesList.addAll(getLoadStrategy().collectFiles());
- }
- //Causes the index to be built
- getFileIndex();
- }
- return filesList;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive Looks for a file with the given uri, and returns an
- * input stream; optimization: if the file list has not been built, goes directly to the
- * loadStrategy.
- */
- public java.io.InputStream getInputStream(java.lang.String aUri) throws java.io.IOException, java.io.FileNotFoundException {
- if (isIndexed()) {
- return getFile(aUri).getInputStream();
- }
- return primGetInputStream(aUri);
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return com.ibm.etools.archive.LoadStrategy
- */
- public org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy getLoadStrategy() {
- return loadStrategy;
- }
-
- public boolean isContainer() {
- return true;
- }
-
- public boolean isIndexed() {
- return fileIndex != null;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive Goes directly to the loadStrategy.
- */
- public java.io.InputStream primGetInputStream(java.lang.String aUri) throws java.io.IOException, java.io.FileNotFoundException {
- return getLoadStrategy().getInputStream(aUri);
- }
-
- public void rebuildFileIndex() {
- getFileIndexAdapter().rebuildFileIndex();
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newLoadStrategy
- * com.ibm.etools.archive.LoadStrategy
- */
- public void setLoadStrategy(org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy newLoadStrategy) {
-
- if (newLoadStrategy != null) {
- newLoadStrategy.setContainer(this);
- if (loadStrategy != null) {
- newLoadStrategy.setRendererType(loadStrategy.getRendererType());
- newLoadStrategy.setReadOnly(loadStrategy.isReadOnly());
- loadStrategy.setContainer(null);
- loadStrategy.close();
- }
- }
- loadStrategy = newLoadStrategy;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getFilesGen() {
- if (files == null) {
- files = new EObjectContainmentWithInverseEList(File.class, this, CommonarchivePackage.CONTAINER__FILES, CommonarchivePackage.FILE__CONTAINER);
- }
- return files;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.CONTAINER__CONTAINER :
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, CommonarchivePackage.CONTAINER__CONTAINER, msgs);
- case CommonarchivePackage.CONTAINER__FILES :
- return ((InternalEList) getFiles()).basicAdd(otherEnd, msgs);
- default :
- return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);
- }
- }
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.CONTAINER__CONTAINER :
- return eBasicSetContainer(null, CommonarchivePackage.CONTAINER__CONTAINER, msgs);
- case CommonarchivePackage.CONTAINER__FILES :
- return ((InternalEList) getFiles()).basicRemove(otherEnd, msgs);
- default :
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
- if (eContainerFeatureID >= 0) {
- switch (eContainerFeatureID) {
- case CommonarchivePackage.CONTAINER__CONTAINER :
- return eContainer.eInverseRemove(this, CommonarchivePackage.CONTAINER__FILES, Container.class, msgs);
- default :
- return eDynamicBasicRemoveFromContainer(msgs);
- }
- }
- return eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.CONTAINER__URI :
- return getURI();
- case CommonarchivePackage.CONTAINER__LAST_MODIFIED :
- return new Long(getLastModified());
- case CommonarchivePackage.CONTAINER__SIZE :
- return new Long(getSize());
- case CommonarchivePackage.CONTAINER__DIRECTORY_ENTRY :
- return isDirectoryEntry() ? Boolean.TRUE : Boolean.FALSE;
- case CommonarchivePackage.CONTAINER__ORIGINAL_URI :
- return getOriginalURI();
- case CommonarchivePackage.CONTAINER__LOADING_CONTAINER :
- if (resolve)
- return getLoadingContainer();
- return basicGetLoadingContainer();
- case CommonarchivePackage.CONTAINER__CONTAINER :
- return getContainer();
- case CommonarchivePackage.CONTAINER__FILES :
- return getFiles();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.CONTAINER__URI :
- setURI((String) newValue);
- return;
- case CommonarchivePackage.CONTAINER__LAST_MODIFIED :
- setLastModified(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.CONTAINER__SIZE :
- setSize(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.CONTAINER__DIRECTORY_ENTRY :
- setDirectoryEntry(((Boolean) newValue).booleanValue());
- return;
- case CommonarchivePackage.CONTAINER__ORIGINAL_URI :
- setOriginalURI((String) newValue);
- return;
- case CommonarchivePackage.CONTAINER__LOADING_CONTAINER :
- setLoadingContainer((Container) newValue);
- return;
- case CommonarchivePackage.CONTAINER__CONTAINER :
- setContainer((Container) newValue);
- return;
- case CommonarchivePackage.CONTAINER__FILES :
- getFiles().clear();
- getFiles().addAll((Collection) newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.CONTAINER__URI :
- setURI(URI_EDEFAULT);
- return;
- case CommonarchivePackage.CONTAINER__LAST_MODIFIED :
- unsetLastModified();
- return;
- case CommonarchivePackage.CONTAINER__SIZE :
- unsetSize();
- return;
- case CommonarchivePackage.CONTAINER__DIRECTORY_ENTRY :
- unsetDirectoryEntry();
- return;
- case CommonarchivePackage.CONTAINER__ORIGINAL_URI :
- setOriginalURI(ORIGINAL_URI_EDEFAULT);
- return;
- case CommonarchivePackage.CONTAINER__LOADING_CONTAINER :
- setLoadingContainer((Container) null);
- return;
- case CommonarchivePackage.CONTAINER__CONTAINER :
- setContainer((Container) null);
- return;
- case CommonarchivePackage.CONTAINER__FILES :
- getFiles().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.CONTAINER__URI :
- return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri);
- case CommonarchivePackage.CONTAINER__LAST_MODIFIED :
- return isSetLastModified();
- case CommonarchivePackage.CONTAINER__SIZE :
- return isSetSize();
- case CommonarchivePackage.CONTAINER__DIRECTORY_ENTRY :
- return isSetDirectoryEntry();
- case CommonarchivePackage.CONTAINER__ORIGINAL_URI :
- return ORIGINAL_URI_EDEFAULT == null ? originalURI != null : !ORIGINAL_URI_EDEFAULT.equals(originalURI);
- case CommonarchivePackage.CONTAINER__LOADING_CONTAINER :
- return loadingContainer != null;
- case CommonarchivePackage.CONTAINER__CONTAINER :
- return getContainer() != null;
- case CommonarchivePackage.CONTAINER__FILES :
- return files != null && !files.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- public void clearFiles() {
- boolean oldDelivery = eDeliver();
- files.clear();
- eSetDeliver(oldDelivery);
- if (isIndexed()) {
- eAdapters().remove(fileIndexAdapter);
- fileIndexAdapter = null;
- fileIndex = null;
- }
- }
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EARFileImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EARFileImpl.java
deleted file mode 100644
index f24c11216..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EARFileImpl.java
+++ /dev/null
@@ -1,1324 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.application.Application;
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ConnectorModule;
-import org.eclipse.jst.j2ee.application.EjbModule;
-import org.eclipse.jst.j2ee.application.JavaClientModule;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.application.WebModule;
-import org.eclipse.jst.j2ee.client.ApplicationClient;
-import org.eclipse.jst.j2ee.common.EjbRef;
-import org.eclipse.jst.j2ee.common.SecurityRole;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveResourceHandler;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Container;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveWrappedException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.EmptyResourceException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ObjectNotFoundException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.looseconfig.LooseArchive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategy;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil;
-import org.eclipse.jst.j2ee.ejb.AssemblyDescriptor;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.internal.J2EEConstants;
-import org.eclipse.jst.j2ee.internal.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.internal.client.impl.ApplicationClientResourceFactory;
-import org.eclipse.jst.j2ee.internal.common.XMLResource;
-import org.eclipse.jst.j2ee.internal.common.impl.J2EEResourceFactoryRegistry;
-import org.eclipse.jst.j2ee.internal.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.internal.ejb.impl.EJBJarResourceFactory;
-import org.eclipse.jst.j2ee.internal.jca.impl.ConnectorResourceFactory;
-import org.eclipse.jst.j2ee.internal.webapplication.impl.WebAppResourceFactory;
-import org.eclipse.jst.j2ee.jca.Connector;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.wst.common.internal.emf.utilities.EtoolsCopyUtility;
-
-
-/**
- * @generated
- */
-public class EARFileImpl extends ModuleFileImpl implements EARFile {
-
- /**
- * Internal; clients should use {@link #getModuleRef(Module)}
- */
- public ModuleFile getModuleFile(Module moduleDescriptor) {
- ModuleRef ref = getModuleRef(moduleDescriptor);
- return (ref == null) ? null : ref.getModuleFile();
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public ModuleFile addCopy(ModuleFile aModuleFile) throws DuplicateObjectException {
- Object result = primAddCopyRef(aModuleFile);
- if (result instanceof ModuleRef)
- return ((ModuleRef) result).getModuleFile();
-
- return (ModuleFile) result;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected Application deploymentDescriptor = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList moduleRefs = null;
-
- public EARFileImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EClass eStaticClass() {
- return CommonarchivePackage.eINSTANCE.getEARFile();
- }
-
- public Archive addCopy(Archive anArchive) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException {
- if (anArchive.isModuleFile())
- return addCopy((ModuleFile) anArchive);
- Archive copy = super.addCopy(anArchive);
- copy.initializeClassLoader();
- return copy;
- }
-
- protected Object primAddCopyRef(ModuleFile aModuleFile) throws DuplicateObjectException {
- //force this list to get initialized before the add
- EList refs = getModuleRefs();
-
- if (aModuleFile.isEARFile())
- //If it's an ear then just treat it like any other archive
- return (ModuleFile) super.addCopy(aModuleFile);
- checkAddValid(aModuleFile);
- ModuleFile copy = getCommonArchiveFactory().copy(aModuleFile);
- Module newModule = createModuleForCopying(aModuleFile);
- getFiles().add(copy);
- copy.initializeClassLoader();
- if (!copy.getURI().equals(newModule.getUri()))
- copy.setURI(newModule.getUri());
-
- getDeploymentDescriptor().getModules().add(newModule);
- ModuleRef aRef = createModuleRef(newModule, copy);
- refs.add(aRef);
- return aRef;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public ModuleRef addCopyRef(ModuleFile aModuleFile) throws DuplicateObjectException {
- Object result = primAddCopyRef(aModuleFile);
- if (result instanceof ModuleRef)
- return (ModuleRef) result;
-
- return null;
- }
-
-
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public SecurityRole addCopy(SecurityRole aRole, Module aModule) throws DuplicateObjectException {
- EObject dd = null;
- try {
- dd = getDeploymentDescriptor(aModule);
- } catch (Exception e) {
- throw new DeploymentDescriptorLoadException(CommonArchiveResourceHandler.getString("dd_in_ear_load_EXC_", (new Object[]{aModule.getUri(), getURI()})), e); //$NON-NLS-1$ = "Exception occurred loading deployment descriptor for module "{0}" in ear file "{1}""
- }
- String roleName = aRole.getRoleName();
- SecurityRole copy = (SecurityRole) EtoolsCopyUtility.createCopy(aRole);
- if (aModule.isEjbModule()) {
- EJBJar ejbJar = (EJBJar) dd;
- if (ejbJar.containsSecurityRole(roleName))
- throw new DuplicateObjectException(CommonArchiveResourceHandler.getString("dup_sec_role_module_EXC_", (new Object[]{aModule.getUri(), roleName})), ejbJar.getAssemblyDescriptor().getSecurityRoleNamed(roleName)); //$NON-NLS-1$ = "Deployment descriptor for {0} already contains a security role named {1}"
- getAssemblyDescriptorAddIfNecessary(ejbJar).getSecurityRoles().add(copy);
- } else if (aModule.isWebModule()) {
- WebApp webApp = (WebApp) dd;
- if (webApp.containsSecurityRole(roleName))
- throw new DuplicateObjectException(CommonArchiveResourceHandler.getString("dup_sec_role_module_EXC_", (new Object[]{aModule.getUri(), roleName})), webApp.getSecurityRoleNamed(roleName));//$NON-NLS-1$ = "Deployment descriptor for {0} already contains a security role named {1}"
- webApp.getSecurityRoles().add(copy);
- }
- addCopyIfNotExists(aRole);
- return copy;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public SecurityRole addCopyIfNotExists(SecurityRole aRole) {
- Application dd = getDeploymentDescriptor();
- SecurityRole copy = null;
- if (!dd.containsSecurityRole(aRole.getRoleName())) {
- copy = (SecurityRole) EtoolsCopyUtility.createCopy(aRole);
- dd.getSecurityRoles().add(copy);
- }
- return copy;
- }
-
- protected void checkDuplicate(String aUri) throws DuplicateObjectException {
- if (isDuplicate(aUri))
- throw new DuplicateObjectException(CommonArchiveResourceHandler.getString("dup_resource_EXC_", (new Object[]{aUri, getURI()}))); //$NON-NLS-1$ = "Resource named "{0}" already exists in archive "{1}""
- }
-
-
- protected Module createModuleForCopying(ModuleFile aModuleFile) {
- Module aModule = null;
- if (aModuleFile.isWARFile()) {
- aModule = getApplicationFactory().createWebModule();
- } else if (aModuleFile.isEJBJarFile()) {
- aModule = getApplicationFactory().createEjbModule();
- } else if (aModuleFile.isApplicationClientFile()) {
- aModule = getApplicationFactory().createJavaClientModule();
- } else if (aModuleFile.isRARFile()) {
- aModule = getApplicationFactory().createConnectorModule();
- }
- aModule.setUri(aModuleFile.getURI());
- return aModule;
- }
-
- /**
- * Retrieves the deployment descriptor root element for the specified module. Takes into account
- * altDD indirection.
- *
- * @return Only return null if an altDD is not defined.
- */
- public EObject getAltDeploymentDescriptor(Module aModule) throws FileNotFoundException, ResourceLoadException, EmptyResourceException {
- // Look for altDD
- String altDD = aModule.getAltDD();
- if (ArchiveUtil.isNullOrEmpty(altDD))
- return null;
- if (!isMofResourceLoaded(altDD.trim()))
- registerResourceFactory(aModule, altDD);
- XMLResource ddRes = (XMLResource) getMofResource(altDD.trim());
- if (!ddRes.isAlt()) {
- ddRes.setIsAlt(true);
- ddRes.setApplication(getDeploymentDescriptor());
- }
- return ArchiveUtil.getRoot(ddRes);
-
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public java.util.List getApplicationClientFiles() {
- List clientFiles = new ArrayList();
- List fileList = getFiles();
- for (int i = 0; i < fileList.size(); i++) {
- File aFile = (File) fileList.get(i);
- if (aFile.isApplicationClientFile()) {
- clientFiles.add(aFile);
- }
- }
- return clientFiles;
- }
-
- protected ApplicationFactory getApplicationFactory() {
- return ((ApplicationPackage) EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI)).getApplicationFactory();
- }
-
- protected AssemblyDescriptor getAssemblyDescriptorAddIfNecessary(EJBJar ejbJar) {
- AssemblyDescriptor ad = ejbJar.getAssemblyDescriptor();
- if (ad == null) {
- ad = ((EjbPackage) EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI)).getEjbFactory().createAssemblyDescriptor();
- ejbJar.setAssemblyDescriptor(ad);
- }
- return ad;
- }
-
-
- /**
- * @throws DeploymentDescriptorLoadException -
- * is a runtime exception, because we can't override the signature of the generated
- * methods
- */
- public Application getDeploymentDescriptor() throws DeploymentDescriptorLoadException {
- Application dd = this.getDeploymentDescriptorGen();
- if (dd == null && canLazyInitialize()) {
- try {
- getImportStrategy().importMetaData();
- } catch (Exception e) {
- throw new DeploymentDescriptorLoadException(getDeploymentDescriptorUri(), e);
- }
- }
- return this.getDeploymentDescriptorGen();
- }
-
- /**
- * Retrieves the deployment descriptor root element for the specified module. Takes into account
- * altDD indirection.
- */
- public Connector getDeploymentDescriptor(ConnectorModule aModule) throws FileNotFoundException, ResourceLoadException, EmptyResourceException {
- return (Connector) getDeploymentDescriptor((Module) aModule);
- }
-
- /**
- * Retrieves the deployment descriptor root element for the specified module. Takes into account
- * altDD indirection.
- */
- public EJBJar getDeploymentDescriptor(EjbModule aModule) throws FileNotFoundException, ResourceLoadException, EmptyResourceException {
- return (EJBJar) getDeploymentDescriptor((Module) aModule);
- }
-
- /**
- * Retrieves the deployment descriptor root element for the specified module. Takes into account
- * altDD indirection.
- */
- public ApplicationClient getDeploymentDescriptor(JavaClientModule aModule) throws FileNotFoundException, ResourceLoadException, EmptyResourceException {
- return (ApplicationClient) getDeploymentDescriptor((Module) aModule);
- }
-
- /**
- * Retrieves the deployment descriptor root element for the specified module. Takes into account
- * altDD indirection.
- */
- public EObject getDeploymentDescriptor(Module aModule) throws FileNotFoundException, ResourceLoadException, EmptyResourceException {
- EObject dd = getAltDeploymentDescriptor(aModule);
- if (dd == null)
- dd = getModuleFile(aModule).getStandardDeploymentDescriptor();
- return dd;
- }
-
- /**
- * Retrieves the deployment descriptor root element for the specified module. Takes into account
- * altDD indirection.
- */
- public WebApp getDeploymentDescriptor(WebModule aModule) throws FileNotFoundException, ResourceLoadException, EmptyResourceException {
- return (WebApp) getDeploymentDescriptor((Module) aModule);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.ModuleFile
- */
- public java.lang.String getDeploymentDescriptorUri() {
- return J2EEConstants.APPLICATION_DD_URI;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public java.util.List getEJBJarFiles() {
- List ejbJarFiles = new ArrayList();
- List fileList = getFiles();
- for (int i = 0; i < fileList.size(); i++) {
- File aFile = (File) fileList.get(i);
- if (aFile.isEJBJarFile()) {
- ejbJarFiles.add(aFile);
- }
- }
- return ejbJarFiles;
- }
-
- /**
- * Return an enterprise bean referenced by the EjbRef, if one exists. The ejb-link value of the
- * ref must equate to a named enterprise bean contained in the jar; otherwise return null.
- * Returns the first hit found; assumption that the ejb names are unique within the scope of the
- * ear file. This will likely be replaced with a better way for dereferencing ejb refs.
- *
- * Can be used with ejb 1.1 references only.
- *
- * @deprecated {@link#getEnterpiseBeanFromRef(EjbRef ref, String moduleUri )
- * @param EjbRef
- * ref - An ejb reference
- * @return EnterpriseBean
- */
- public EnterpriseBean getEnterpiseBeanFromRef(EjbRef ref) {
- String link = ref.getLink();
- if (link == null) {
- return null;
- }
- List jarFiles = getEJBJarFiles();
- for (int i = 0; i < jarFiles.size(); i++) {
- EnterpriseBean bean = ((EJBJarFile) jarFiles.get(i)).getDeploymentDescriptor().getEnterpriseBeanNamed(link);
- if (bean != null) {
- return bean;
- }
- }
- return null;
- }
-
- /**
- * Return an enterprise bean referenced by the EjbRef, if one exists. The ejb-link value of the
- * ref must equate to a named enterprise bean contained in the jar; otherwise return null.
- * Returns the first hit found; assumption that the ejb names are unique within the scope of the
- * ear file. This will likely be replaced with a better way for dereferencing ejb refs
- *
- * Can be used with ejb 1.1 & ejb 2.0 references.
- *
- * @param EjbRef
- * ref - An ejb reference
- * @param String
- * moduleUri - The module uri
- * @return EnterpriseBean
- */
- public EnterpriseBean getEnterpiseBeanFromRef(EjbRef ref, String moduleUri) {
- String link = ref.getLink();
- if (link == null) {
- return null;
- }// if
-
- if (link.indexOf('#') == -1) {
- EnterpriseBean linkedEJB = null;
- XMLResource res = (XMLResource) ref.eResource();
- if (res instanceof EJBResource) {
- //Must be in an EJB JAR to be here
- EJBJar jar = ((EJBResource) res).getEJBJar();
- if (jar != null)
- linkedEJB = jar.getEnterpiseBeanFromRef(ref);
- }
- if (linkedEJB == null) {
- List jarFiles = getEJBJarFiles();
- for (int i = 0; i < jarFiles.size(); i++) {
- linkedEJB = ((EJBJarFile) jarFiles.get(i)).getDeploymentDescriptor().getEnterpriseBeanNamed(link);
- if (linkedEJB != null) {
- return linkedEJB;
- }// if
- }// for
- } else
- return linkedEJB;
- } else {
- //Grab the ejb name and ejb jar name from the link
- String ejbBeanName = link.substring(link.indexOf("#") + 1, link.length()); //$NON-NLS-1$
- String ejbJarName = link.substring(0, link.indexOf("#")); //$NON-NLS-1$
-
- if (ejbBeanName != null && ejbJarName != null) {
- //Get the uri of the jar name.
- String ejbJarUri = ArchiveUtil.deriveEARRelativeURI(ejbJarName, moduleUri);
- if (ejbJarUri != null) {
- try {
- //Get the actual jar file
- File aFile = getFile(ejbJarUri);
- if (aFile == null || !aFile.isEJBJarFile())
- return null;
-
- EJBJarFile jarFile = (EJBJarFile) getFile(ejbJarUri);
- List ejbs = jarFile.getDeploymentDescriptor().getEnterpriseBeans();
- //Check if any of the beans in the list match the given ejb bean name give
- // in
- //the link
- if (ejbs != null && !ejbs.isEmpty()) {
- Iterator it = ejbs.iterator();
- while (it.hasNext()) {
- EnterpriseBean ejbBean = (EnterpriseBean) it.next();
- if (ejbBean != null && ejbBean.getName().equals(ejbBeanName)) {
- return ejbBean;
- }// if
- }// while
- }// if
- } catch (FileNotFoundException fe) {
- return null;
- }// try
- }// if
- }// if
- }// if
- return null;
- }// getEnterpiseBeanFromRef
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public Module getModule(String aUri, String altDD) {
- return getDeploymentDescriptor().getModule(aUri, altDD);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public ModuleRef getModuleRef(Module moduleDescriptor) {
- List refs = getModuleRefs();
- for (int i = 0; i < refs.size(); i++) {
- ModuleRef ref = (ModuleRef) refs.get(i);
- if (ref.getModule() == moduleDescriptor)
- return ref;
- }
- return null;
- }
-
- /**
- * Return a filtered list of the archives
- */
- public List getModuleFiles() {
- List moduleFiles = new ArrayList();
- List fileList = getFiles();
- for (int i = 0; i < fileList.size(); i++) {
- File aFile = (File) fileList.get(i);
- if (aFile.isModuleFile()) {
- moduleFiles.add(aFile);
- }
- }
- return moduleFiles;
- }
-
- protected ArchiveOptions getOptionsForOpening(String aUri) throws IOException {
-
- LoadStrategy strategy = getCommonArchiveFactory().createChildLoadStrategy(aUri, getLoadStrategy());
- return getOptions().cloneWith(strategy, aUri);
- }
-
- protected ArchiveOptions getOptionsForOpening(LooseArchive loose) throws IOException {
- LoadStrategy strategy = getCommonArchiveFactory().createLoadStrategy(loose.getBinariesPath());
- strategy.setLooseArchive(loose);
- return getOptions().cloneWith(strategy, loose.getUri());
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public java.util.List getRARFiles() {
- List rarFiles = new ArrayList();
- List fileList = getFiles();
- for (int i = 0; i < fileList.size(); i++) {
- File aFile = (File) fileList.get(i);
- if (aFile.isRARFile()) {
- rarFiles.add(aFile);
- }
- }
- return rarFiles;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public EList getRolesFromAllModules() {
- EList roleList = new org.eclipse.emf.common.util.BasicEList();
- List modules = getDeploymentDescriptor().getModules();
- for (int i = 0, n = modules.size(); i < n; i++) {
- Module aModule = (Module) modules.get(i);
- EList roles = getRolesFromModule(aModule);
- for (int j = 0, m = roles.size(); j < m; j++) {
- roleList.add(roles.get(j));
- }
- }
- return roleList;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public EList getRolesFromModule(Module aModule) {
- EList roleList = new org.eclipse.emf.common.util.BasicEList();
- try {
- if (aModule.isWebModule())
- roleList = getDeploymentDescriptor((WebModule) aModule).getSecurityRoles();
- else if (aModule.isEjbModule())
- roleList = getAssemblyDescriptorAddIfNecessary(getDeploymentDescriptor((EjbModule) aModule)).getSecurityRoles();
- } catch (Exception e) {
- throw new DeploymentDescriptorLoadException(CommonArchiveResourceHandler.getString("dd_in_ear_load_EXC_", (new Object[]{aModule.getUri(), getURI()})), e); //$NON-NLS-1$ = "Exception occurred loading deployment descriptor for module "{0}" in ear file "{1}""
- }
- return roleList;
- }
-
- /**
- * Return the DeployementDescriptor.
- */
- public EObject getStandardDeploymentDescriptor() throws DeploymentDescriptorLoadException {
- return getDeploymentDescriptor();
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public java.util.List getWARFiles() {
- List warFiles = new ArrayList();
- List fileList = getFiles();
- for (int i = 0; i < fileList.size(); i++) {
- File aFile = (File) fileList.get(i);
- if (aFile.isWARFile()) {
- warFiles.add(aFile);
- }
- }
- return warFiles;
- }
-
- public void initializeAfterOpen() {
- super.initializeAfterOpen();
- }
-
- public boolean isDeploymentDescriptorSet() {
- return deploymentDescriptor != null;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isEARFile() {
- return true;
- }
-
- /**
- * Return true if super returns true, or return whether the app dd contains a module having the
- * uri
- */
- public boolean isNestedArchive(String aUri) {
- if (super.isNestedArchive(aUri))
- return true;
- return getDeploymentDescriptor().getFirstModule(aUri) != null;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.impl.ModuleFileImpl
- */
- public org.eclipse.emf.ecore.EObject makeDeploymentDescriptor(XMLResource resource) {
- Application appl = ((ApplicationPackage) EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI)).getApplicationFactory().createApplication();
- resource.setID(appl, J2EEConstants.APPL_ID);
- setDeploymentDescriptorGen(appl);
- resource.getContents().add(appl);
- return appl;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public Archive openNestedArchive(LooseArchive loose) throws OpenFailureException {
-
- Module m = getDeploymentDescriptor().getFirstModule(loose.getUri());
- if (m == null)
- return super.openNestedArchive(loose);
-
- try {
- ArchiveOptions archiveOptions = getOptionsForOpening(loose);
- return openNestedArchive(m, archiveOptions);
- } catch (java.io.IOException ex) {
- //Probably the file did not exist; silently fail, per request from WS runtime
- //More than likely a failure is going to occur down the road when a ModuleFile for a
- // Module
- //in the dd is requested
- }
- return null;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public Archive openNestedArchive(String aUri) throws OpenFailureException {
-
- Module m = getDeploymentDescriptor().getFirstModule(aUri);
- if (m == null)
- return super.openNestedArchive(aUri);
-
- try {
- ArchiveOptions archiveOptions = getOptionsForOpening(aUri);
- return openNestedArchive(m, archiveOptions);
- } catch (java.io.IOException ex) {
- //Probably the file did not exist; silently fail, per request from WS runtime
- //More than likely a failure is going to occur down the road when a ModuleFile for a
- // Module
- //in the dd is requested
- }
- return null;
- }
-
- protected Archive openNestedArchive(Module m, ArchiveOptions archiveOptions) throws OpenFailureException {
- String aUri = m.getUri();
-
- try {
- /*
- * Since we have a clue about the type of archive to open Use the appropriate open
- * method, so if a failure occurrs, we can get a more specific message
- */
- if (m.isWebModule())
- return getCommonArchiveFactory().openWARFile(archiveOptions, aUri);
- else if (m.isEjbModule())
- return getCommonArchiveFactory().openEJBJarFile(archiveOptions, aUri);
- else if (m.isJavaModule())
- return getCommonArchiveFactory().openApplicationClientFile(archiveOptions, aUri);
- else if (m.isConnectorModule())
- return getCommonArchiveFactory().openRARFile(archiveOptions, aUri);
-
- } catch (OpenFailureException ex) {
- throw new OpenFailureException(CommonArchiveResourceHandler.getString("nested_open_fail_EXC_", (new Object[]{aUri, getURI()})), ex); //$NON-NLS-1$ = "Unable to open module file "{0}" in EAR file "{1}""
- }
- //Should never reach the code below
- return null;
- }
-
- /**
- * @see EARFile
- */
- public void pushDownRole(SecurityRole role) {
- if (role == null)
- throw new IllegalArgumentException(CommonArchiveResourceHandler.getString("Parameter_should_not_be_nu_EXC_")); //$NON-NLS-1$ = "Parameter should not be null"
-
- List modules = getDeploymentDescriptor().getModules();
- for (int i = 0; i < modules.size(); i++) {
- Module m = (Module) modules.get(i);
- pushDownRole(role, m);
- }
- }
-
- /**
- * @see EARFile
- */
- public void pushDownRole(SecurityRole role, Module aModule) {
- try {
- if (aModule.isWebModule()) {
- WebApp dd = getDeploymentDescriptor((WebModule) aModule);
- if (dd.getSecurityRoleNamed(role.getRoleName()) == null)
- dd.getSecurityRoles().add(EtoolsCopyUtility.createCopy(role));
- } else if (aModule.isEjbModule()) {
- AssemblyDescriptor assembly = getAssemblyDescriptorAddIfNecessary(getDeploymentDescriptor((EjbModule) aModule));
- if (assembly.getSecurityRoleNamed(role.getRoleName()) == null)
- assembly.getSecurityRoles().add(EtoolsCopyUtility.createCopy(role));
- }
- } catch (Exception e) {
- throw new DeploymentDescriptorLoadException(CommonArchiveResourceHandler.getString("dd_in_ear_load_EXC_", (new Object[]{aModule.getUri(), getURI()})), e); //$NON-NLS-1$ = "Exception occurred loading deployment descriptor for module "{0}" in ear file "{1}""
- }
- }
-
- /**
- * An alt-dd is about to be loaded; register the appropriate resource factory for the uri so it
- * will get loaded correctly.
- */
- protected void registerResourceFactory(Module aModule, String aUri) {
- org.eclipse.emf.ecore.resource.Resource.Factory factory = null;
- if (aModule.isEjbModule())
- factory = EJBJarResourceFactory.getRegisteredFactory();
- else if (aModule.isWebModule())
- factory = WebAppResourceFactory.getRegisteredFactory();
- else if (aModule.isJavaModule())
- factory = ApplicationClientResourceFactory.getRegisteredFactory();
- else if (aModule.isConnectorModule())
- factory = ConnectorResourceFactory.getRegisteredFactory();
-
- if (factory != null) {
- ResourceSet set = getResourceSet();
- ((J2EEResourceFactoryRegistry) set.getResourceFactoryRegistry()).registerLastFileSegment(aUri, factory);
- }
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public void remove(ModuleRef aModuleRef) {
- if (aModuleRef == null)
- return;
- Module aModule = aModuleRef.getModule();
-
- if (aModule != null)
- getDeploymentDescriptor().getModules().remove(aModule);
-
- getModuleRefs().remove(aModuleRef);
- if (getModuleRefs(aModuleRef.getModuleFile()).isEmpty())
- getFiles().remove(aModuleRef.getModuleFile());
- }
-
- /**
- * @see EARFile
- */
- public List getModuleRefs(ModuleFile aModuleFile) {
- List refs = getModuleRefs();
- List result = new ArrayList(1);
- for (int i = 0; i < refs.size(); i++) {
- ModuleRef ref = (ModuleRef) refs.get(i);
- if (ref.getModuleFile() == aModuleFile)
- result.add(ref);
- }
- return result;
- }
-
- protected void renameRolesInModuleDDs(String existingRoleName, String newRoleName) {
- List modules = getDeploymentDescriptor().getModules();
- for (int i = 0; i < modules.size(); i++) {
- Module m = (Module) modules.get(i);
- try {
- if (m.isEjbModule())
- getDeploymentDescriptor((EjbModule) m).renameSecurityRole(existingRoleName, newRoleName);
- else if (m.isWebModule())
- getDeploymentDescriptor((WebModule) m).renameSecurityRole(existingRoleName, newRoleName);
- } catch (Exception e) {
- throw new DeploymentDescriptorLoadException(CommonArchiveResourceHandler.getString("dd_in_ear_load_EXC_", (new Object[]{m.getUri(), getURI()})), e); //$NON-NLS-1$ = "Exception occurred loading deployment descriptor for module "{0}" in ear file "{1}""
- }
- }
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public void renameSecurityRole(String existingRoleName, String newRoleName) throws ObjectNotFoundException, DuplicateObjectException {
- Application app = getDeploymentDescriptor();
- SecurityRole aRole = app.getSecurityRoleNamed(existingRoleName);
- if (aRole == null)
- throw new ObjectNotFoundException(CommonArchiveResourceHandler.getString("no_sec_role_EXC_", (new Object[]{getURI(), existingRoleName}))); //$NON-NLS-1$ = ": EAR File deployment descriptor does not contain a security role named "
- if (app.getSecurityRoleNamed(newRoleName) != null)
- throw new DuplicateObjectException(CommonArchiveResourceHandler.getString("dup_sec_role_EXC_", (new Object[]{getURI(), newRoleName})), app.getSecurityRoleNamed(newRoleName)); //$NON-NLS-1$ = ": EAR File deployment descriptor already contains a security role named "
-
- aRole.setRoleName(newRoleName);
-
- renameRolesInModuleDDs(existingRoleName, newRoleName);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public void rollUpRoles() {
- List modules = getDeploymentDescriptor().getModules();
- for (int i = 0; i < modules.size(); i++) {
- Module aModule = (Module) modules.get(i);
- rollUpRoles(aModule);
- }
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EARFile
- */
- public void rollUpRoles(Module aModule) {
- List securityRoles = null;
- try {
- if (aModule.isWebModule())
- securityRoles = getDeploymentDescriptor((WebModule) aModule).getSecurityRoles();
- else if (aModule.isEjbModule())
- securityRoles = getAssemblyDescriptorAddIfNecessary(getDeploymentDescriptor((EjbModule) aModule)).getSecurityRoles();
- } catch (Exception e) {
- throw new DeploymentDescriptorLoadException(CommonArchiveResourceHandler.getString("dd_in_ear_load_EXC_", (new Object[]{aModule.getUri(), getURI()})), e); //$NON-NLS-1$ = "Exception occurred loading deployment descriptor for module "{0}" in ear file "{1}""
- }
-
- if (securityRoles == null)
- return;
- for (int i = 0; i < securityRoles.size(); i++) {
- addCopyIfNotExists((SecurityRole) securityRoles.get(i));
- }
- }
-
- public void setDeploymentDescriptor(Application l) {
- this.setDeploymentDescriptorGen(l);
- replaceRoot(getMofResourceMakeIfNecessary(getDeploymentDescriptorUri()), l);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.EAR_FILE__URI :
- return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri);
- case CommonarchivePackage.EAR_FILE__LAST_MODIFIED :
- return isSetLastModified();
- case CommonarchivePackage.EAR_FILE__SIZE :
- return isSetSize();
- case CommonarchivePackage.EAR_FILE__DIRECTORY_ENTRY :
- return isSetDirectoryEntry();
- case CommonarchivePackage.EAR_FILE__ORIGINAL_URI :
- return ORIGINAL_URI_EDEFAULT == null ? originalURI != null : !ORIGINAL_URI_EDEFAULT.equals(originalURI);
- case CommonarchivePackage.EAR_FILE__LOADING_CONTAINER :
- return loadingContainer != null;
- case CommonarchivePackage.EAR_FILE__CONTAINER :
- return getContainer() != null;
- case CommonarchivePackage.EAR_FILE__FILES :
- return files != null && !files.isEmpty();
- case CommonarchivePackage.EAR_FILE__TYPES :
- return types != null && !types.isEmpty();
- case CommonarchivePackage.EAR_FILE__MODULE_REFS :
- return moduleRefs != null && !moduleRefs.isEmpty();
- case CommonarchivePackage.EAR_FILE__DEPLOYMENT_DESCRIPTOR :
- return deploymentDescriptor != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.EAR_FILE__URI :
- setURI((String) newValue);
- return;
- case CommonarchivePackage.EAR_FILE__LAST_MODIFIED :
- setLastModified(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.EAR_FILE__SIZE :
- setSize(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.EAR_FILE__DIRECTORY_ENTRY :
- setDirectoryEntry(((Boolean) newValue).booleanValue());
- return;
- case CommonarchivePackage.EAR_FILE__ORIGINAL_URI :
- setOriginalURI((String) newValue);
- return;
- case CommonarchivePackage.EAR_FILE__LOADING_CONTAINER :
- setLoadingContainer((Container) newValue);
- return;
- case CommonarchivePackage.EAR_FILE__CONTAINER :
- setContainer((Container) newValue);
- return;
- case CommonarchivePackage.EAR_FILE__FILES :
- getFiles().clear();
- getFiles().addAll((Collection) newValue);
- return;
- case CommonarchivePackage.EAR_FILE__TYPES :
- getTypes().clear();
- getTypes().addAll((Collection) newValue);
- return;
- case CommonarchivePackage.EAR_FILE__MODULE_REFS :
- getModuleRefs().clear();
- getModuleRefs().addAll((Collection) newValue);
- return;
- case CommonarchivePackage.EAR_FILE__DEPLOYMENT_DESCRIPTOR :
- setDeploymentDescriptor((Application) newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.EAR_FILE__URI :
- setURI(URI_EDEFAULT);
- return;
- case CommonarchivePackage.EAR_FILE__LAST_MODIFIED :
- unsetLastModified();
- return;
- case CommonarchivePackage.EAR_FILE__SIZE :
- unsetSize();
- return;
- case CommonarchivePackage.EAR_FILE__DIRECTORY_ENTRY :
- unsetDirectoryEntry();
- return;
- case CommonarchivePackage.EAR_FILE__ORIGINAL_URI :
- setOriginalURI(ORIGINAL_URI_EDEFAULT);
- return;
- case CommonarchivePackage.EAR_FILE__LOADING_CONTAINER :
- setLoadingContainer((Container) null);
- return;
- case CommonarchivePackage.EAR_FILE__CONTAINER :
- setContainer((Container) null);
- return;
- case CommonarchivePackage.EAR_FILE__FILES :
- getFiles().clear();
- return;
- case CommonarchivePackage.EAR_FILE__TYPES :
- getTypes().clear();
- return;
- case CommonarchivePackage.EAR_FILE__MODULE_REFS :
- getModuleRefs().clear();
- return;
- case CommonarchivePackage.EAR_FILE__DEPLOYMENT_DESCRIPTOR :
- setDeploymentDescriptor((Application) null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public Application getDeploymentDescriptorGen() {
- if (deploymentDescriptor != null && deploymentDescriptor.eIsProxy()) {
- Application oldDeploymentDescriptor = deploymentDescriptor;
- deploymentDescriptor = (Application) EcoreUtil.resolve(deploymentDescriptor, this);
- if (deploymentDescriptor != oldDeploymentDescriptor) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, CommonarchivePackage.EAR_FILE__DEPLOYMENT_DESCRIPTOR, oldDeploymentDescriptor, deploymentDescriptor));
- }
- }
- return deploymentDescriptor;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Application basicGetDeploymentDescriptor() {
- return deploymentDescriptor;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setDeploymentDescriptorGen(Application newDeploymentDescriptor) {
- Application oldDeploymentDescriptor = deploymentDescriptor;
- deploymentDescriptor = newDeploymentDescriptor;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.EAR_FILE__DEPLOYMENT_DESCRIPTOR, oldDeploymentDescriptor, deploymentDescriptor));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getModuleRefsGen() {
- if (moduleRefs == null) {
- moduleRefs = new EObjectContainmentWithInverseEList(ModuleRef.class, this, CommonarchivePackage.EAR_FILE__MODULE_REFS, CommonarchivePackage.MODULE_REF__EAR_FILE);
- }
- return moduleRefs;
- }
-
- public EList getModuleRefs() {
- EList refs = getModuleRefsGen();
-
- if (refs.isEmpty())
- initRefs(refs);
-
- return refs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.EAR_FILE__CONTAINER :
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, CommonarchivePackage.EAR_FILE__CONTAINER, msgs);
- case CommonarchivePackage.EAR_FILE__FILES :
- return ((InternalEList) getFiles()).basicAdd(otherEnd, msgs);
- case CommonarchivePackage.EAR_FILE__MODULE_REFS :
- return ((InternalEList) getModuleRefs()).basicAdd(otherEnd, msgs);
- default :
- return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);
- }
- }
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.EAR_FILE__CONTAINER :
- return eBasicSetContainer(null, CommonarchivePackage.EAR_FILE__CONTAINER, msgs);
- case CommonarchivePackage.EAR_FILE__FILES :
- return ((InternalEList) getFiles()).basicRemove(otherEnd, msgs);
- case CommonarchivePackage.EAR_FILE__MODULE_REFS :
- return ((InternalEList) getModuleRefs()).basicRemove(otherEnd, msgs);
- default :
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
- if (eContainerFeatureID >= 0) {
- switch (eContainerFeatureID) {
- case CommonarchivePackage.EAR_FILE__CONTAINER :
- return eContainer.eInverseRemove(this, CommonarchivePackage.CONTAINER__FILES, Container.class, msgs);
- default :
- return eDynamicBasicRemoveFromContainer(msgs);
- }
- }
- return eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.EAR_FILE__URI :
- return getURI();
- case CommonarchivePackage.EAR_FILE__LAST_MODIFIED :
- return new Long(getLastModified());
- case CommonarchivePackage.EAR_FILE__SIZE :
- return new Long(getSize());
- case CommonarchivePackage.EAR_FILE__DIRECTORY_ENTRY :
- return isDirectoryEntry() ? Boolean.TRUE : Boolean.FALSE;
- case CommonarchivePackage.EAR_FILE__ORIGINAL_URI :
- return getOriginalURI();
- case CommonarchivePackage.EAR_FILE__LOADING_CONTAINER :
- if (resolve)
- return getLoadingContainer();
- return basicGetLoadingContainer();
- case CommonarchivePackage.EAR_FILE__CONTAINER :
- return getContainer();
- case CommonarchivePackage.EAR_FILE__FILES :
- return getFiles();
- case CommonarchivePackage.EAR_FILE__TYPES :
- return getTypes();
- case CommonarchivePackage.EAR_FILE__MODULE_REFS :
- return getModuleRefs();
- case CommonarchivePackage.EAR_FILE__DEPLOYMENT_DESCRIPTOR :
- if (resolve)
- return getDeploymentDescriptor();
- return basicGetDeploymentDescriptor();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- public void initRefs(EList refs) {
- List modules = getDeploymentDescriptor().getModules();
- for (int i = 0; i < modules.size(); i++) {
- Module module = (Module) modules.get(i);
- refs.add(createModuleRef(module, null));
- }
- }
-
- protected ModuleRef createModuleRef(Module aModule, ModuleFile aFile) {
- ModuleRef newRef = null;
-
- if (aModule.isEjbModule())
- newRef = getCommonArchiveFactory().createEJBModuleRef();
- else if (aModule.isWebModule())
- newRef = getCommonArchiveFactory().createWebModuleRef();
- else if (aModule.isConnectorModule())
- newRef = getCommonArchiveFactory().createConnectorModuleRef();
- else if (aModule.isJavaModule())
- newRef = getCommonArchiveFactory().createClientModuleRef();
-
- newRef.setModule(aModule);
- newRef.setModuleFile(aFile);
-
- return newRef;
- }
-
- /*
- * @see EARFile#getClientModuleRefs()
- */
- public List getClientModuleRefs() {
- List result = new ArrayList();
- List refs = getModuleRefs();
- for (int i = 0; i < refs.size(); i++) {
- ModuleRef ref = (ModuleRef) refs.get(i);
- if (ref.isClient())
- result.add(ref);
- }
- return result;
- }
-
- /*
- * @see EARFile#getConnectorModuleRefs()
- */
- public List getConnectorModuleRefs() {
- List result = new ArrayList();
- List refs = getModuleRefs();
- for (int i = 0; i < refs.size(); i++) {
- ModuleRef ref = (ModuleRef) refs.get(i);
- if (ref.isConnector())
- result.add(ref);
- }
- return result;
- }
-
- /*
- * @see EARFile#getEJBModuleRefs()
- */
- public List getEJBModuleRefs() {
- List result = new ArrayList();
- List refs = getModuleRefs();
- for (int i = 0; i < refs.size(); i++) {
- ModuleRef ref = (ModuleRef) refs.get(i);
- if (ref.isEJB())
- result.add(ref);
- }
- return result;
- }
-
- /*
- * @see EARFile#getWebModuleRefs()
- */
- public List getWebModuleRefs() {
- List result = new ArrayList();
- List refs = getModuleRefs();
- for (int i = 0; i < refs.size(); i++) {
- ModuleRef ref = (ModuleRef) refs.get(i);
- if (ref.isWeb())
- result.add(ref);
- }
- return result;
- }
-
- /*
- * @see EARFile#getFARFiles()
- */
- public List getFARFiles() {
- List farFiles = new ArrayList();
- List fileList = getFiles();
- for (int i = 0; i < fileList.size(); i++) {
- File aFile = (File) fileList.get(i);
- if (aFile.isFARFile()) {
- farFiles.add(aFile);
- }
- }
- return farFiles;
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.commonarchive.EARFile#getArchivesOfType(java.lang.String)
- */
- public List getArchivesOfType(String type) {
- return Collections.EMPTY_LIST;
- }
-
- public Map getEJBReferences(boolean filterLinkedReferences, boolean filterNonLinkedReferences) throws ArchiveWrappedException {
- if (!filterLinkedReferences || !filterNonLinkedReferences) {
- Application app = getDeploymentDescriptor();
- if (app != null) {
- List modules = app.getModules();
- Module module;
- Map references = null;
- for (int i = 0; i < modules.size(); i++) {
- module = (Module) modules.get(i);
- try {
- references = collectEJBReferences(module, filterLinkedReferences, filterNonLinkedReferences, references);
- } catch (ResourceLoadException e) {
- throw new ArchiveWrappedException(e);
- } catch (FileNotFoundException e) {
- throw new ArchiveWrappedException(e);
- } catch (EmptyResourceException e) {
- throw new ArchiveWrappedException(e);
- }
- }
- return references;
- }
- }
- return Collections.EMPTY_MAP;
- }
-
- /**
- * @param module
- * @param filterLinkedReferences
- * @param filterNonLinkedReferences
- * @param references
- * @return
- */
- private Map collectEJBReferences(Module module, boolean filterLinkedReferences, boolean filterNonLinkedReferences, Map references) throws ResourceLoadException, FileNotFoundException, EmptyResourceException {
- Map myReferences = references;
- List moduleReferences = getEJBReferneces(module);
- if (moduleReferences != null && !moduleReferences.isEmpty()) {
- EjbRef ref = null;
- List filteredRefs = null;
- String link = null;
- for (int i = 0; i < moduleReferences.size(); i++) {
- ref = (EjbRef) moduleReferences.get(i);
- link = ref.getLink();
- if ((link != null && link.length() > 0 && !filterLinkedReferences) || (link == null || link.length() == 0 && !filterNonLinkedReferences)) {
- if (filteredRefs == null)
- filteredRefs = new ArrayList(moduleReferences.size());
- filteredRefs.add(ref);
- }
- }
- if (filteredRefs != null) {
- if (myReferences == null)
- myReferences = new HashMap();
- myReferences.put(module, filteredRefs);
- }
- }
- return myReferences;
- }
-
- /**
- * @param module
- * @return
- */
- private List getEJBReferneces(Module module) throws ResourceLoadException, FileNotFoundException, EmptyResourceException {
- if (module != null) {
- if (module.isEjbModule()) {
- EJBJar ejbJar = getDeploymentDescriptor((EjbModule) module);
- return getEJBReferences(ejbJar);
- } else if (module.isWebModule()) {
- WebApp webApp = getDeploymentDescriptor((WebModule) module);
- if (webApp != null)
- return webApp.getEjbRefs();
- } else if (module.isJavaModule()) {
- ApplicationClient appClient = getDeploymentDescriptor((JavaClientModule) module);
- if (appClient != null)
- return appClient.getEjbReferences();
- }
- }
- return Collections.EMPTY_LIST;
- }
-
- /**
- * @param ejbJar
- * @return
- */
- private List getEJBReferences(EJBJar ejbJar) {
- if (ejbJar != null) {
- List ejbs = ejbJar.getEnterpriseBeans();
- List refs = null;
- EnterpriseBean ejb = null;
- for (int i = 0; i < ejbs.size(); i++) {
- ejb = (EnterpriseBean) ejbs.get(i);
- if (refs == null)
- refs = new ArrayList();
- refs.addAll(ejb.getEjbRefs());
- }
- if (refs != null)
- return refs;
- }
- return Collections.EMPTY_LIST;
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EJBJarFileImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EJBJarFileImpl.java
deleted file mode 100644
index 81b8404b7..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EJBJarFileImpl.java
+++ /dev/null
@@ -1,418 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Container;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.ejb.Entity;
-import org.eclipse.jst.j2ee.internal.J2EEConstants;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.internal.common.XMLResource;
-import org.eclipse.jst.j2ee.internal.ejb.EjbPackage;
-
-
-/**
- * @generated
- */
-public class EJBJarFileImpl extends ModuleFileImpl implements EJBJarFile {
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EJBJar deploymentDescriptor = null;
-
- public EJBJarFileImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EClass eStaticClass() {
- return CommonarchivePackage.eINSTANCE.getEJBJarFile();
- }
-
- /**
- * Used for tools performing selective import
- */
- public List getAssociatedFiles(EnterpriseBean ejb) {
-
- List classNames = new java.util.ArrayList();
- List result = new ArrayList();
- if (ejb.getVersionID() <= J2EEVersionConstants.EJB_1_1_ID) {
- classNames.add(ejb.getHomeInterfaceName());
- classNames.add(ejb.getRemoteInterfaceName());
- } else if (ejb.getVersionID() >= J2EEVersionConstants.EJB_2_0_ID) {
- if (ejb.hasRemoteClient()) {
- classNames.add(ejb.getHomeInterfaceName());
- classNames.add(ejb.getRemoteInterfaceName());
- }
- if (ejb.hasLocalClient()) {
- classNames.add(ejb.getLocalHomeInterfaceName());
- classNames.add(ejb.getLocalInterfaceName());
- }
- }
- classNames.add(ejb.getEjbClassName());
-
- if (ejb.isEntity()) {
- String className = ((Entity) ejb).getPrimaryKeyName();
- if (!className.startsWith("java"))//$NON-NLS-1$
- classNames.add(className);
- }
- for (int i = 0; i < classNames.size(); i++) {
- String className = (String) classNames.get(i);
- if (className == null)
- continue;
- String classUri = org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil.classNameToUri(className);
- String javaUri = org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil.classNameToJavaUri(className);
- try {
- result.add(getFile(classUri));
- } catch (java.io.FileNotFoundException iox) {
- //Do nothing - the file does not exist in this jar file
- }
- try {
- result.add(getFile(javaUri));
- } catch (java.io.FileNotFoundException iox) {
- //Do nothing - the file does not exist in this jar file
- }
- }
- return result;
- }
-
- /**
- * @throws DeploymentDescriptorLoadException -
- * is a runtime exception, because we can't override the signature of the generated
- * methods
- */
- public EJBJar getDeploymentDescriptor() throws DeploymentDescriptorLoadException {
- EJBJar dd = this.getDeploymentDescriptorGen();
- if (dd == null && canLazyInitialize()) {
- try {
- getImportStrategy().importMetaData();
- } catch (DeploymentDescriptorLoadException ex) {
- throw ex;
- } catch (Exception e) {
- throw new DeploymentDescriptorLoadException(getDeploymentDescriptorUri(), e);
- }
- }
- return this.getDeploymentDescriptorGen();
- }
-
- public java.lang.String getDeploymentDescriptorUri() {
- return J2EEConstants.EJBJAR_DD_URI;
- }
-
- /**
- * Return the DeployementDescriptor.
- */
- public EObject getStandardDeploymentDescriptor() throws DeploymentDescriptorLoadException {
- return getDeploymentDescriptor();
- }
-
- public boolean isDeploymentDescriptorSet() {
- return deploymentDescriptor != null;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isEJBJarFile() {
- return true;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.EJBJarFile
- */
- public boolean isImportedFrom10() {
- return getImportStrategy() != null && getImportStrategy().isEJB10();
- }
-
- /**
- * @see com.ibm.etools.commonarchive.impl.ModuleFileImpl
- */
- public org.eclipse.emf.ecore.EObject makeDeploymentDescriptor(XMLResource resource) {
- EJBJar ejbJar = ((EjbPackage) EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI)).getEjbFactory().createEJBJar();
- resource.setID(ejbJar, J2EEConstants.EJBJAR_ID);
- setDeploymentDescriptorGen(ejbJar);
- resource.getContents().add(ejbJar);
-
- return ejbJar;
- }
-
-
- public void setDeploymentDescriptor(EJBJar l) {
- this.setDeploymentDescriptorGen(l);
- replaceRoot(getMofResourceMakeIfNecessary(getDeploymentDescriptorUri()), l);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.EJB_JAR_FILE__URI :
- return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri);
- case CommonarchivePackage.EJB_JAR_FILE__LAST_MODIFIED :
- return isSetLastModified();
- case CommonarchivePackage.EJB_JAR_FILE__SIZE :
- return isSetSize();
- case CommonarchivePackage.EJB_JAR_FILE__DIRECTORY_ENTRY :
- return isSetDirectoryEntry();
- case CommonarchivePackage.EJB_JAR_FILE__ORIGINAL_URI :
- return ORIGINAL_URI_EDEFAULT == null ? originalURI != null : !ORIGINAL_URI_EDEFAULT.equals(originalURI);
- case CommonarchivePackage.EJB_JAR_FILE__LOADING_CONTAINER :
- return loadingContainer != null;
- case CommonarchivePackage.EJB_JAR_FILE__CONTAINER :
- return getContainer() != null;
- case CommonarchivePackage.EJB_JAR_FILE__FILES :
- return files != null && !files.isEmpty();
- case CommonarchivePackage.EJB_JAR_FILE__TYPES :
- return types != null && !types.isEmpty();
- case CommonarchivePackage.EJB_JAR_FILE__DEPLOYMENT_DESCRIPTOR :
- return deploymentDescriptor != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.EJB_JAR_FILE__URI :
- setURI((String) newValue);
- return;
- case CommonarchivePackage.EJB_JAR_FILE__LAST_MODIFIED :
- setLastModified(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.EJB_JAR_FILE__SIZE :
- setSize(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.EJB_JAR_FILE__DIRECTORY_ENTRY :
- setDirectoryEntry(((Boolean) newValue).booleanValue());
- return;
- case CommonarchivePackage.EJB_JAR_FILE__ORIGINAL_URI :
- setOriginalURI((String) newValue);
- return;
- case CommonarchivePackage.EJB_JAR_FILE__LOADING_CONTAINER :
- setLoadingContainer((Container) newValue);
- return;
- case CommonarchivePackage.EJB_JAR_FILE__CONTAINER :
- setContainer((Container) newValue);
- return;
- case CommonarchivePackage.EJB_JAR_FILE__FILES :
- getFiles().clear();
- getFiles().addAll((Collection) newValue);
- return;
- case CommonarchivePackage.EJB_JAR_FILE__TYPES :
- getTypes().clear();
- getTypes().addAll((Collection) newValue);
- return;
- case CommonarchivePackage.EJB_JAR_FILE__DEPLOYMENT_DESCRIPTOR :
- setDeploymentDescriptor((EJBJar) newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.EJB_JAR_FILE__URI :
- setURI(URI_EDEFAULT);
- return;
- case CommonarchivePackage.EJB_JAR_FILE__LAST_MODIFIED :
- unsetLastModified();
- return;
- case CommonarchivePackage.EJB_JAR_FILE__SIZE :
- unsetSize();
- return;
- case CommonarchivePackage.EJB_JAR_FILE__DIRECTORY_ENTRY :
- unsetDirectoryEntry();
- return;
- case CommonarchivePackage.EJB_JAR_FILE__ORIGINAL_URI :
- setOriginalURI(ORIGINAL_URI_EDEFAULT);
- return;
- case CommonarchivePackage.EJB_JAR_FILE__LOADING_CONTAINER :
- setLoadingContainer((Container) null);
- return;
- case CommonarchivePackage.EJB_JAR_FILE__CONTAINER :
- setContainer((Container) null);
- return;
- case CommonarchivePackage.EJB_JAR_FILE__FILES :
- getFiles().clear();
- return;
- case CommonarchivePackage.EJB_JAR_FILE__TYPES :
- getTypes().clear();
- return;
- case CommonarchivePackage.EJB_JAR_FILE__DEPLOYMENT_DESCRIPTOR :
- setDeploymentDescriptor((EJBJar) null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EJBJar getDeploymentDescriptorGen() {
- if (deploymentDescriptor != null && deploymentDescriptor.eIsProxy()) {
- EJBJar oldDeploymentDescriptor = deploymentDescriptor;
- deploymentDescriptor = (EJBJar) EcoreUtil.resolve(deploymentDescriptor, this);
- if (deploymentDescriptor != oldDeploymentDescriptor) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, CommonarchivePackage.EJB_JAR_FILE__DEPLOYMENT_DESCRIPTOR, oldDeploymentDescriptor, deploymentDescriptor));
- }
- }
- return deploymentDescriptor;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EJBJar basicGetDeploymentDescriptor() {
- return deploymentDescriptor;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setDeploymentDescriptorGen(EJBJar newDeploymentDescriptor) {
- EJBJar oldDeploymentDescriptor = deploymentDescriptor;
- deploymentDescriptor = newDeploymentDescriptor;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.EJB_JAR_FILE__DEPLOYMENT_DESCRIPTOR, oldDeploymentDescriptor, deploymentDescriptor));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.EJB_JAR_FILE__CONTAINER :
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, CommonarchivePackage.EJB_JAR_FILE__CONTAINER, msgs);
- case CommonarchivePackage.EJB_JAR_FILE__FILES :
- return ((InternalEList) getFiles()).basicAdd(otherEnd, msgs);
- default :
- return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);
- }
- }
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.EJB_JAR_FILE__CONTAINER :
- return eBasicSetContainer(null, CommonarchivePackage.EJB_JAR_FILE__CONTAINER, msgs);
- case CommonarchivePackage.EJB_JAR_FILE__FILES :
- return ((InternalEList) getFiles()).basicRemove(otherEnd, msgs);
- default :
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
- if (eContainerFeatureID >= 0) {
- switch (eContainerFeatureID) {
- case CommonarchivePackage.EJB_JAR_FILE__CONTAINER :
- return eContainer.eInverseRemove(this, CommonarchivePackage.CONTAINER__FILES, Container.class, msgs);
- default :
- return eDynamicBasicRemoveFromContainer(msgs);
- }
- }
- return eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.EJB_JAR_FILE__URI :
- return getURI();
- case CommonarchivePackage.EJB_JAR_FILE__LAST_MODIFIED :
- return new Long(getLastModified());
- case CommonarchivePackage.EJB_JAR_FILE__SIZE :
- return new Long(getSize());
- case CommonarchivePackage.EJB_JAR_FILE__DIRECTORY_ENTRY :
- return isDirectoryEntry() ? Boolean.TRUE : Boolean.FALSE;
- case CommonarchivePackage.EJB_JAR_FILE__ORIGINAL_URI :
- return getOriginalURI();
- case CommonarchivePackage.EJB_JAR_FILE__LOADING_CONTAINER :
- if (resolve)
- return getLoadingContainer();
- return basicGetLoadingContainer();
- case CommonarchivePackage.EJB_JAR_FILE__CONTAINER :
- return getContainer();
- case CommonarchivePackage.EJB_JAR_FILE__FILES :
- return getFiles();
- case CommonarchivePackage.EJB_JAR_FILE__TYPES :
- return getTypes();
- case CommonarchivePackage.EJB_JAR_FILE__DEPLOYMENT_DESCRIPTOR :
- if (resolve)
- return getDeploymentDescriptor();
- return basicGetDeploymentDescriptor();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EJBModuleRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EJBModuleRefImpl.java
deleted file mode 100644
index c1d6efaa2..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EJBModuleRefImpl.java
+++ /dev/null
@@ -1,194 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveWrappedException;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-
-
-public class EJBModuleRefImpl extends ModuleRefImpl implements EJBModuleRef, ModuleRef {
-
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EJBModuleRefImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EClass eStaticClass() {
- return CommonarchivePackage.eINSTANCE.getEJBModuleRef();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.EJB_MODULE_REF__EAR_FILE :
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, CommonarchivePackage.EJB_MODULE_REF__EAR_FILE, msgs);
- default :
- return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);
- }
- }
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.EJB_MODULE_REF__EAR_FILE :
- return eBasicSetContainer(null, CommonarchivePackage.EJB_MODULE_REF__EAR_FILE, msgs);
- default :
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
- if (eContainerFeatureID >= 0) {
- switch (eContainerFeatureID) {
- case CommonarchivePackage.EJB_MODULE_REF__EAR_FILE :
- return eContainer.eInverseRemove(this, CommonarchivePackage.EAR_FILE__MODULE_REFS, EARFile.class, msgs);
- default :
- return eDynamicBasicRemoveFromContainer(msgs);
- }
- }
- return eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.EJB_MODULE_REF__MODULE_FILE :
- if (resolve)
- return getModuleFile();
- return basicGetModuleFile();
- case CommonarchivePackage.EJB_MODULE_REF__EAR_FILE :
- return getEarFile();
- case CommonarchivePackage.EJB_MODULE_REF__MODULE :
- if (resolve)
- return getModule();
- return basicGetModule();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.EJB_MODULE_REF__MODULE_FILE :
- setModuleFile((ModuleFile) newValue);
- return;
- case CommonarchivePackage.EJB_MODULE_REF__EAR_FILE :
- setEarFile((EARFile) newValue);
- return;
- case CommonarchivePackage.EJB_MODULE_REF__MODULE :
- setModule((Module) newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.EJB_MODULE_REF__MODULE_FILE :
- setModuleFile((ModuleFile) null);
- return;
- case CommonarchivePackage.EJB_MODULE_REF__EAR_FILE :
- setEarFile((EARFile) null);
- return;
- case CommonarchivePackage.EJB_MODULE_REF__MODULE :
- setModule((Module) null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.EJB_MODULE_REF__MODULE_FILE :
- return moduleFile != null;
- case CommonarchivePackage.EJB_MODULE_REF__EAR_FILE :
- return getEarFile() != null;
- case CommonarchivePackage.EJB_MODULE_REF__MODULE :
- return module != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- public EJBJar getEJBJar() throws ArchiveWrappedException {
- return (EJBJar) getDeploymentDescriptor();
- }
-
- /*
- * @see ModuleRef#isEJB()
- */
- public boolean isEJB() {
- return true;
- }
-
-} //EJBModuleRefImpl
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/FileImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/FileImpl.java
deleted file mode 100644
index 9ba124a06..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/FileImpl.java
+++ /dev/null
@@ -1,680 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveFactoryRegistry;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveResourceHandler;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Container;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil;
-
-
-
-/**
- * @generated
- */
-public class FileImpl extends EObjectImpl implements File {
-
- /**
- * The default value of the '{@link #getURI() <em>URI</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getURI()
- * @generated
- * @ordered
- */
- protected static final String URI_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String uri = URI_EDEFAULT;
- /**
- * The default value of the '{@link #getLastModified() <em>Last Modified</em>}' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getLastModified()
- * @generated
- * @ordered
- */
- protected static final long LAST_MODIFIED_EDEFAULT = 0L;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected long lastModified = LAST_MODIFIED_EDEFAULT;
- /**
- * This is true if the Last Modified attribute has been set. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean lastModifiedESet = false;
-
- /**
- * The default value of the '{@link #getSize() <em>Size</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getSize()
- * @generated
- * @ordered
- */
- protected static final long SIZE_EDEFAULT = 0L;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected long size = SIZE_EDEFAULT;
- /**
- * This is true if the Size attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- protected boolean sizeESet = false;
-
- /**
- * The default value of the '{@link #isDirectoryEntry() <em>Directory Entry</em>}' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isDirectoryEntry()
- * @generated
- * @ordered
- */
- protected static final boolean DIRECTORY_ENTRY_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isDirectoryEntry() <em>Directory Entry</em>}' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isDirectoryEntry()
- * @generated
- * @ordered
- */
- protected boolean directoryEntry = DIRECTORY_ENTRY_EDEFAULT;
-
- /**
- * This is true if the Directory Entry attribute has been set. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean directoryEntryESet = false;
-
- /**
- * The default value of the '{@link #getOriginalURI() <em>Original URI</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getOriginalURI()
- * @generated
- * @ordered
- */
- protected static final String ORIGINAL_URI_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String originalURI = ORIGINAL_URI_EDEFAULT;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected Container loadingContainer = null;
-
- public FileImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EClass eStaticClass() {
- return CommonarchivePackage.eINSTANCE.getFile();
- }
-
- public CommonarchiveFactory getCommonArchiveFactory() {
- return CommonArchiveFactoryRegistry.INSTANCE.getCommonArchiveFactory();
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public java.lang.String getDirectoryURI() {
- return ArchiveUtil.getFileNameParent(getURI());
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public java.io.InputStream getInputStream() throws java.io.FileNotFoundException, java.io.IOException {
- return getLoadingContainer().primGetInputStream(getOriginalURI());
- }
-
- public String getName() {
- return ArchiveUtil.getFileNameTail(getURI());
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isApplicationClientFile() {
- return false;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isArchive() {
- return false;
- }
-
- /**
- * isContainer method comment.
- */
- public boolean isContainer() {
- return false;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isEARFile() {
- return false;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isEJBJarFile() {
- return false;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isModuleFile() {
- return false;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isRARFile() {
- return false;
- }
-
- /**
- * isReadOnlyDirectory method comment.
- */
- public boolean isReadOnlyDirectory() {
- return false;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isWARFile() {
- return false;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public String getURI() {
- return uri;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setURI(String newURI) {
- String oldURI = uri;
- uri = newURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.FILE__URI, oldURI, uri));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public long getLastModified() {
- return lastModified;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setLastModified(long newLastModified) {
- long oldLastModified = lastModified;
- lastModified = newLastModified;
- boolean oldLastModifiedESet = lastModifiedESet;
- lastModifiedESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.FILE__LAST_MODIFIED, oldLastModified, lastModified, !oldLastModifiedESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetLastModified() {
- long oldLastModified = lastModified;
- boolean oldLastModifiedESet = lastModifiedESet;
- lastModified = LAST_MODIFIED_EDEFAULT;
- lastModifiedESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, CommonarchivePackage.FILE__LAST_MODIFIED, oldLastModified, LAST_MODIFIED_EDEFAULT, oldLastModifiedESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetLastModified() {
- return lastModifiedESet;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public long getSize() {
- return size;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setSize(long newSize) {
- long oldSize = size;
- size = newSize;
- boolean oldSizeESet = sizeESet;
- sizeESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.FILE__SIZE, oldSize, size, !oldSizeESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetSize() {
- long oldSize = size;
- boolean oldSizeESet = sizeESet;
- size = SIZE_EDEFAULT;
- sizeESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, CommonarchivePackage.FILE__SIZE, oldSize, SIZE_EDEFAULT, oldSizeESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetSize() {
- return sizeESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isDirectoryEntry() {
- return directoryEntry;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDirectoryEntry(boolean newDirectoryEntry) {
- boolean oldDirectoryEntry = directoryEntry;
- directoryEntry = newDirectoryEntry;
- boolean oldDirectoryEntryESet = directoryEntryESet;
- directoryEntryESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.FILE__DIRECTORY_ENTRY, oldDirectoryEntry, directoryEntry, !oldDirectoryEntryESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetDirectoryEntry() {
- boolean oldDirectoryEntry = directoryEntry;
- boolean oldDirectoryEntryESet = directoryEntryESet;
- directoryEntry = DIRECTORY_ENTRY_EDEFAULT;
- directoryEntryESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, CommonarchivePackage.FILE__DIRECTORY_ENTRY, oldDirectoryEntry, DIRECTORY_ENTRY_EDEFAULT, oldDirectoryEntryESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetDirectoryEntry() {
- return directoryEntryESet;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public String getOriginalURI() {
- return originalURI;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setOriginalURI(String newOriginalURI) {
- String oldOriginalURI = originalURI;
- originalURI = newOriginalURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.FILE__ORIGINAL_URI, oldOriginalURI, originalURI));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public Container getLoadingContainer() {
- if (loadingContainer != null && loadingContainer.eIsProxy()) {
- Container oldLoadingContainer = loadingContainer;
- loadingContainer = (Container) EcoreUtil.resolve(loadingContainer, this);
- if (loadingContainer != oldLoadingContainer) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, CommonarchivePackage.FILE__LOADING_CONTAINER, oldLoadingContainer, loadingContainer));
- }
- }
- return loadingContainer;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Container basicGetLoadingContainer() {
- return loadingContainer;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setLoadingContainer(Container newLoadingContainer) {
- Container oldLoadingContainer = loadingContainer;
- loadingContainer = newLoadingContainer;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.FILE__LOADING_CONTAINER, oldLoadingContainer, loadingContainer));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public Container getContainer() {
- if (eContainerFeatureID != CommonarchivePackage.FILE__CONTAINER)
- return null;
- return (Container) eContainer;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setContainer(Container newContainer) {
- if (newContainer != eContainer || (eContainerFeatureID != CommonarchivePackage.FILE__CONTAINER && newContainer != null)) {
- if (EcoreUtil.isAncestor(this, newContainer))
- throw new IllegalArgumentException(CommonArchiveResourceHandler.getString("FileImpl._Error_0") + toString()); //$NON-NLS-1$
- NotificationChain msgs = null;
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newContainer != null)
- msgs = ((InternalEObject) newContainer).eInverseAdd(this, CommonarchivePackage.CONTAINER__FILES, Container.class, msgs);
- msgs = eBasicSetContainer((InternalEObject) newContainer, CommonarchivePackage.FILE__CONTAINER, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.FILE__CONTAINER, newContainer, newContainer));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.FILE__CONTAINER :
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, CommonarchivePackage.FILE__CONTAINER, msgs);
- default :
- return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);
- }
- }
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.FILE__CONTAINER :
- return eBasicSetContainer(null, CommonarchivePackage.FILE__CONTAINER, msgs);
- default :
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
- if (eContainerFeatureID >= 0) {
- switch (eContainerFeatureID) {
- case CommonarchivePackage.FILE__CONTAINER :
- return eContainer.eInverseRemove(this, CommonarchivePackage.CONTAINER__FILES, Container.class, msgs);
- default :
- return eDynamicBasicRemoveFromContainer(msgs);
- }
- }
- return eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.FILE__URI :
- return getURI();
- case CommonarchivePackage.FILE__LAST_MODIFIED :
- return new Long(getLastModified());
- case CommonarchivePackage.FILE__SIZE :
- return new Long(getSize());
- case CommonarchivePackage.FILE__DIRECTORY_ENTRY :
- return isDirectoryEntry() ? Boolean.TRUE : Boolean.FALSE;
- case CommonarchivePackage.FILE__ORIGINAL_URI :
- return getOriginalURI();
- case CommonarchivePackage.FILE__LOADING_CONTAINER :
- if (resolve)
- return getLoadingContainer();
- return basicGetLoadingContainer();
- case CommonarchivePackage.FILE__CONTAINER :
- return getContainer();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.FILE__URI :
- return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri);
- case CommonarchivePackage.FILE__LAST_MODIFIED :
- return isSetLastModified();
- case CommonarchivePackage.FILE__SIZE :
- return isSetSize();
- case CommonarchivePackage.FILE__DIRECTORY_ENTRY :
- return isSetDirectoryEntry();
- case CommonarchivePackage.FILE__ORIGINAL_URI :
- return ORIGINAL_URI_EDEFAULT == null ? originalURI != null : !ORIGINAL_URI_EDEFAULT.equals(originalURI);
- case CommonarchivePackage.FILE__LOADING_CONTAINER :
- return loadingContainer != null;
- case CommonarchivePackage.FILE__CONTAINER :
- return getContainer() != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.FILE__URI :
- setURI((String) newValue);
- return;
- case CommonarchivePackage.FILE__LAST_MODIFIED :
- setLastModified(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.FILE__SIZE :
- setSize(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.FILE__DIRECTORY_ENTRY :
- setDirectoryEntry(((Boolean) newValue).booleanValue());
- return;
- case CommonarchivePackage.FILE__ORIGINAL_URI :
- setOriginalURI((String) newValue);
- return;
- case CommonarchivePackage.FILE__LOADING_CONTAINER :
- setLoadingContainer((Container) newValue);
- return;
- case CommonarchivePackage.FILE__CONTAINER :
- setContainer((Container) newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.FILE__URI :
- setURI(URI_EDEFAULT);
- return;
- case CommonarchivePackage.FILE__LAST_MODIFIED :
- unsetLastModified();
- return;
- case CommonarchivePackage.FILE__SIZE :
- unsetSize();
- return;
- case CommonarchivePackage.FILE__DIRECTORY_ENTRY :
- unsetDirectoryEntry();
- return;
- case CommonarchivePackage.FILE__ORIGINAL_URI :
- setOriginalURI(ORIGINAL_URI_EDEFAULT);
- return;
- case CommonarchivePackage.FILE__LOADING_CONTAINER :
- setLoadingContainer((Container) null);
- return;
- case CommonarchivePackage.FILE__CONTAINER :
- setContainer((Container) null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (URI: "); //$NON-NLS-1$
- result.append(uri);
- result.append(", lastModified: "); //$NON-NLS-1$
- if (lastModifiedESet)
- result.append(lastModified);
- else
- result.append("<unset>"); //$NON-NLS-1$
- result.append(", size: "); //$NON-NLS-1$
- if (sizeESet)
- result.append(size);
- else
- result.append("<unset>"); //$NON-NLS-1$
- result.append(", directoryEntry: "); //$NON-NLS-1$
- if (directoryEntryESet)
- result.append(directoryEntry);
- else
- result.append("<unset>"); //$NON-NLS-1$
- result.append(", originalURI: "); //$NON-NLS-1$
- result.append(originalURI);
- result.append(')');
- return result.toString();
- }
-
- /*
- * @see File#isFARFile()
- */
- public boolean isFARFile() {
- return false;
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ModuleFileImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ModuleFileImpl.java
deleted file mode 100644
index b5909a331..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ModuleFileImpl.java
+++ /dev/null
@@ -1,408 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-
-import java.io.FileNotFoundException;
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Container;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveRuntimeException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ExportStrategy;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ImportStrategy;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategy;
-import org.eclipse.jst.j2ee.internal.common.XMLResource;
-
-
-/**
- * @generated
- */
-public abstract class ModuleFileImpl extends ArchiveImpl implements ModuleFile {
-
- /** Implementer for extracting meta-data from this archive into the root object */
- protected ImportStrategy importStrategy;
- /** Implementer for adding meta-data to an about-to-be-exported archive */
- protected ExportStrategy exportStrategy;
-
- public ModuleFileImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EClass eStaticClass() {
- return CommonarchivePackage.eINSTANCE.getModuleFile();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.MODULE_FILE__CONTAINER :
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, CommonarchivePackage.MODULE_FILE__CONTAINER, msgs);
- case CommonarchivePackage.MODULE_FILE__FILES :
- return ((InternalEList) getFiles()).basicAdd(otherEnd, msgs);
- default :
- return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);
- }
- }
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.MODULE_FILE__CONTAINER :
- return eBasicSetContainer(null, CommonarchivePackage.MODULE_FILE__CONTAINER, msgs);
- case CommonarchivePackage.MODULE_FILE__FILES :
- return ((InternalEList) getFiles()).basicRemove(otherEnd, msgs);
- default :
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
- if (eContainerFeatureID >= 0) {
- switch (eContainerFeatureID) {
- case CommonarchivePackage.MODULE_FILE__CONTAINER :
- return eContainer.eInverseRemove(this, CommonarchivePackage.CONTAINER__FILES, Container.class, msgs);
- default :
- return eDynamicBasicRemoveFromContainer(msgs);
- }
- }
- return eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.MODULE_FILE__URI :
- return getURI();
- case CommonarchivePackage.MODULE_FILE__LAST_MODIFIED :
- return new Long(getLastModified());
- case CommonarchivePackage.MODULE_FILE__SIZE :
- return new Long(getSize());
- case CommonarchivePackage.MODULE_FILE__DIRECTORY_ENTRY :
- return isDirectoryEntry() ? Boolean.TRUE : Boolean.FALSE;
- case CommonarchivePackage.MODULE_FILE__ORIGINAL_URI :
- return getOriginalURI();
- case CommonarchivePackage.MODULE_FILE__LOADING_CONTAINER :
- if (resolve)
- return getLoadingContainer();
- return basicGetLoadingContainer();
- case CommonarchivePackage.MODULE_FILE__CONTAINER :
- return getContainer();
- case CommonarchivePackage.MODULE_FILE__FILES :
- return getFiles();
- case CommonarchivePackage.MODULE_FILE__TYPES :
- return getTypes();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.MODULE_FILE__URI :
- setURI((String) newValue);
- return;
- case CommonarchivePackage.MODULE_FILE__LAST_MODIFIED :
- setLastModified(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.MODULE_FILE__SIZE :
- setSize(((Long) newValue).longValue());
- return;
- case CommonarchivePackage.MODULE_FILE__DIRECTORY_ENTRY :
- setDirectoryEntry(((Boolean) newValue).booleanValue());
- return;
- case CommonarchivePackage.MODULE_FILE__ORIGINAL_URI :
- setOriginalURI((String) newValue);
- return;
- case CommonarchivePackage.MODULE_FILE__LOADING_CONTAINER :
- setLoadingContainer((Container) newValue);
- return;
- case CommonarchivePackage.MODULE_FILE__CONTAINER :
- setContainer((Container) newValue);
- return;
- case CommonarchivePackage.MODULE_FILE__FILES :
- getFiles().clear();
- getFiles().addAll((Collection) newValue);
- return;
- case CommonarchivePackage.MODULE_FILE__TYPES :
- getTypes().clear();
- getTypes().addAll((Collection) newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.MODULE_FILE__URI :
- setURI(URI_EDEFAULT);
- return;
- case CommonarchivePackage.MODULE_FILE__LAST_MODIFIED :
- unsetLastModified();
- return;
- case CommonarchivePackage.MODULE_FILE__SIZE :
- unsetSize();
- return;
- case CommonarchivePackage.MODULE_FILE__DIRECTORY_ENTRY :
- unsetDirectoryEntry();
- return;
- case CommonarchivePackage.MODULE_FILE__ORIGINAL_URI :
- setOriginalURI(ORIGINAL_URI_EDEFAULT);
- return;
- case CommonarchivePackage.MODULE_FILE__LOADING_CONTAINER :
- setLoadingContainer((Container) null);
- return;
- case CommonarchivePackage.MODULE_FILE__CONTAINER :
- setContainer((Container) null);
- return;
- case CommonarchivePackage.MODULE_FILE__FILES :
- getFiles().clear();
- return;
- case CommonarchivePackage.MODULE_FILE__TYPES :
- getTypes().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.MODULE_FILE__URI :
- return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri);
- case CommonarchivePackage.MODULE_FILE__LAST_MODIFIED :
- return isSetLastModified();
- case CommonarchivePackage.MODULE_FILE__SIZE :
- return isSetSize();
- case CommonarchivePackage.MODULE_FILE__DIRECTORY_ENTRY :
- return isSetDirectoryEntry();
- case CommonarchivePackage.MODULE_FILE__ORIGINAL_URI :
- return ORIGINAL_URI_EDEFAULT == null ? originalURI != null : !ORIGINAL_URI_EDEFAULT.equals(originalURI);
- case CommonarchivePackage.MODULE_FILE__LOADING_CONTAINER :
- return loadingContainer != null;
- case CommonarchivePackage.MODULE_FILE__CONTAINER :
- return getContainer() != null;
- case CommonarchivePackage.MODULE_FILE__FILES :
- return files != null && !files.isEmpty();
- case CommonarchivePackage.MODULE_FILE__TYPES :
- return types != null && !types.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- protected boolean canLazyInitialize() {
- return getImportStrategy() != null;
- }
-
- public Resource getDeploymentDescriptorResource() throws java.io.FileNotFoundException, ResourceLoadException {
- return getMofResource(getDeploymentDescriptorUri());
- }
-
- /**
- * Subclasses must override
- */
- public abstract String getDeploymentDescriptorUri();
-
- /**
- * @see com.ibm.etools.commonarchive.ModuleFile
- */
- public EARFile getEARFile() {
- Container aContainer = getContainer();
- if (aContainer == null || !aContainer.isEARFile()) {
- return null;
- }
- return ((EARFile) aContainer);
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return com.ibm.etools.archive.ExportStrategy
- */
- public org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ExportStrategy getExportStrategy() {
- return exportStrategy;
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @return com.ibm.etools.archive.ImportStrategy
- */
- public org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ImportStrategy getImportStrategy() {
- return importStrategy;
- }
-
- /**
- * Returns the specification version of the module file, or empty string if unknown version. For
- * example, "2.0"
- *
- * @deprecated, Use getDeploymentDescriptorResource().getModuleVersionID();
- */
- public String getSpecVersion() {
- float ver = getSpecVersionID();
- Float specVersion = new Float(ver / 10);
- return specVersion.toString();
- }
-
- /**
- * Return the version ID of the module For example, "20"
- *
- * @return int
- */
- public int getSpecVersionID() {
- try {
- return ((XMLResource) getDeploymentDescriptorResource()).getModuleVersionID();
- } catch (Exception e) {
- throw new ArchiveRuntimeException(e);
- }
- }
-
- /**
- * @see com.ibm.etools.commonarchive.ModuleFile
- */
- public abstract boolean isDeploymentDescriptorSet();
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isModuleFile() {
- return true;
- }
-
-
-
- /**
- * subclasses must override
- */
- public abstract EObject makeDeploymentDescriptor(XMLResource resource);
-
- public Resource makeDeploymentDescriptorResource() {
- XMLResource resource = null;
- try {
- resource = (XMLResource) makeMofResource(getDeploymentDescriptorUri());
- } catch (DuplicateObjectException ex) {
- try {
- return getDeploymentDescriptorResource();
- } catch (java.io.FileNotFoundException fnfEx) {
- //Ignore
- }
- }
- makeDeploymentDescriptor(resource);
- return resource;
- }
-
- public void save(SaveStrategy aSaveStrategy) throws SaveFailureException {
- setSaveStrategy(aSaveStrategy);
- if (getExportStrategy() != null)
- getExportStrategy().preSave(aSaveStrategy);
- super.save(aSaveStrategy);
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newExportStrategy
- * com.ibm.etools.archive.ExportStrategy
- */
- public void setExportStrategy(org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ExportStrategy newExportStrategy) {
- exportStrategy = newExportStrategy;
- if (newExportStrategy != null) {
- newExportStrategy.setArchive(this);
- }
- }
-
- /**
- * Insert the method's description here. Creation date: (11/29/00 6:35:08 PM)
- *
- * @param newImportStrategy
- * com.ibm.etools.archive.ImportStrategy
- */
- public void setImportStrategy(org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ImportStrategy newImportStrategy) {
- importStrategy = newImportStrategy;
- if (newImportStrategy != null) {
- newImportStrategy.setArchive(this);
- }
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.commonarchive.ModuleFile#setJ2EEVersion(int)
- */
- public void setJ2EEVersion(int versionID) {
- try {
- ((XMLResource) getDeploymentDescriptorResource()).setVersionID(versionID);
- } catch (ResourceLoadException e) {
- throw e;
- } catch (FileNotFoundException e) {
- throw new ArchiveRuntimeException(e);
- }
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ModuleRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ModuleRefImpl.java
deleted file mode 100644
index 4d12cbb9b..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/ModuleRefImpl.java
+++ /dev/null
@@ -1,544 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStream;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveFactoryRegistry;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveResourceHandler;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveRuntimeException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ArchiveWrappedException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.NoModuleFileException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil;
-
-
-public class ModuleRefImpl extends EObjectImpl implements ModuleRef, EObject {
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected ModuleFile moduleFile = null;
- /**
- * The cached value of the '{@link #getModule() <em>Module</em>}' reference. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getModule()
- * @generated
- * @ordered
- */
- protected Module module = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected ModuleRefImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EClass eStaticClass() {
- return CommonarchivePackage.eINSTANCE.getModuleRef();
- }
-
- protected CommonarchiveFactory getCommonArchiveFactory() {
- return CommonArchiveFactoryRegistry.INSTANCE.getCommonArchiveFactory();
- }
-
- /**
- * The default is to do nothing; subclasses should override if necessary
- */
- protected void buildComponentList(EList list) {
- //Default
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public ModuleFile getModuleFileGen() {
- if (moduleFile != null && moduleFile.eIsProxy()) {
- ModuleFile oldModuleFile = moduleFile;
- moduleFile = (ModuleFile) EcoreUtil.resolve(moduleFile, this);
- if (moduleFile != oldModuleFile) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, CommonarchivePackage.MODULE_REF__MODULE_FILE, oldModuleFile, moduleFile));
- }
- }
- return moduleFile;
- }
-
- public ModuleFile getModuleFile() {
- if (moduleFile == null)
- initModuleFileFromEAR();
- return moduleFile;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public ModuleFile basicGetModuleFile() {
- return moduleFile;
- }
-
- protected void initModuleFileFromEAR() {
- checkEARFile();
- ModuleFile aFile = null;
- try {
- aFile = (ModuleFile) getEarFile().getFile(module.getUri());
- } catch (FileNotFoundException ex) {
- //Ignore
- } catch (ClassCastException ex) {
- //Ignore
- }
- checkType(module, aFile);
- setModuleFile(aFile);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setModuleFile(ModuleFile newModuleFile) {
- ModuleFile oldModuleFile = moduleFile;
- moduleFile = newModuleFile;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.MODULE_REF__MODULE_FILE, oldModuleFile, moduleFile));
- }
-
- public boolean usesAltDD() {
- if (module == null)
- return false;
- return !ArchiveUtil.isNullOrEmpty(module.getAltDD());
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.MODULE_REF__MODULE_FILE :
- return moduleFile != null;
- case CommonarchivePackage.MODULE_REF__EAR_FILE :
- return getEarFile() != null;
- case CommonarchivePackage.MODULE_REF__MODULE :
- return module != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.MODULE_REF__MODULE_FILE :
- setModuleFile((ModuleFile) newValue);
- return;
- case CommonarchivePackage.MODULE_REF__EAR_FILE :
- setEarFile((EARFile) newValue);
- return;
- case CommonarchivePackage.MODULE_REF__MODULE :
- setModule((Module) newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.MODULE_REF__MODULE_FILE :
- setModuleFile((ModuleFile) null);
- return;
- case CommonarchivePackage.MODULE_REF__EAR_FILE :
- setEarFile((EARFile) null);
- return;
- case CommonarchivePackage.MODULE_REF__MODULE :
- setModule((Module) null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- public EObject getAltDeploymentDescriptor() throws ArchiveWrappedException {
- if (getEarFile() == null)
- return null;
- try {
- return getEarFile().getAltDeploymentDescriptor(getModule());
- } catch (Exception ex) {
- throw new ArchiveWrappedException(ex);
- }
- }
-
- /*
- * @see ModuleRef#getDeploymentDescriptor()
- */
- public EObject getDeploymentDescriptor() throws ArchiveWrappedException {
- if (getEarFile() == null)
- return getStandardDeploymentDescriptor();
- try {
- return getEarFile().getDeploymentDescriptor(getModule());
- } catch (Exception ex) {
- throw new ArchiveWrappedException(ex);
- }
- }
-
- /*
- * @see ModuleRef#getEARFile()
- */
- public EObject getStandardDeploymentDescriptor() {
- if (getModuleFile() == null)
- return null;
- return getModuleFile().getStandardDeploymentDescriptor();
- }
-
-
- /*
- * @see ModuleRef#setURI(String)
- */
- public void setURI(String uri) {
- if (getModuleFile() != null)
- getModuleFile().setURI(uri);
-
- if (getModule() != null)
- getModule().setUri(uri);
- }
-
- /*
- * @see ModuleRef#isClient()
- */
- public boolean isClient() {
- return false;
- }
-
- /*
- * @see ModuleRef#isConnector()
- */
- public boolean isConnector() {
- return false;
- }
-
- /*
- * @see ModuleRef#isEJB()
- */
- public boolean isEJB() {
- return false;
- }
-
- /*
- * @see ModuleRef#isWeb()
- */
- public boolean isWeb() {
- return false;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EARFile getEarFile() {
- if (eContainerFeatureID != CommonarchivePackage.MODULE_REF__EAR_FILE)
- return null;
- return (EARFile) eContainer;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setEarFile(EARFile newEarFile) {
- if (newEarFile != eContainer || (eContainerFeatureID != CommonarchivePackage.MODULE_REF__EAR_FILE && newEarFile != null)) {
- if (EcoreUtil.isAncestor(this, newEarFile))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); //$NON-NLS-1$
- NotificationChain msgs = null;
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newEarFile != null)
- msgs = ((InternalEObject) newEarFile).eInverseAdd(this, CommonarchivePackage.EAR_FILE__MODULE_REFS, EARFile.class, msgs);
- msgs = eBasicSetContainer((InternalEObject) newEarFile, CommonarchivePackage.MODULE_REF__EAR_FILE, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.MODULE_REF__EAR_FILE, newEarFile, newEarFile));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Module getModule() {
- if (module != null && module.eIsProxy()) {
- Module oldModule = module;
- module = (Module) EcoreUtil.resolve(module, this);
- if (module != oldModule) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, CommonarchivePackage.MODULE_REF__MODULE, oldModule, module));
- }
- }
- return module;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Module basicGetModule() {
- return module;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setModule(Module newModule) {
- Module oldModule = module;
- module = newModule;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CommonarchivePackage.MODULE_REF__MODULE, oldModule, module));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.MODULE_REF__EAR_FILE :
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, CommonarchivePackage.MODULE_REF__EAR_FILE, msgs);
- default :
- return eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);
- }
- }
- if (eContainer != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return eBasicSetContainer(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case CommonarchivePackage.MODULE_REF__EAR_FILE :
- return eBasicSetContainer(null, CommonarchivePackage.MODULE_REF__EAR_FILE, msgs);
- default :
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs) {
- if (eContainerFeatureID >= 0) {
- switch (eContainerFeatureID) {
- case CommonarchivePackage.MODULE_REF__EAR_FILE :
- return eContainer.eInverseRemove(this, CommonarchivePackage.EAR_FILE__MODULE_REFS, EARFile.class, msgs);
- default :
- return eDynamicBasicRemoveFromContainer(msgs);
- }
- }
- return eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case CommonarchivePackage.MODULE_REF__MODULE_FILE :
- if (resolve)
- return getModuleFile();
- return basicGetModuleFile();
- case CommonarchivePackage.MODULE_REF__EAR_FILE :
- return getEarFile();
- case CommonarchivePackage.MODULE_REF__MODULE :
- if (resolve)
- return getModule();
- return basicGetModule();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * Return an input stream from the "resources path" of either the ModuleFile, if the module does
- * not use alt-dd, or from the altRoot of the module, found in the resources path of the EAR
- *
- * @see LoadStrategy#getResourceInputStream(String)
- */
- public InputStream getResourceInputStream(String uri) throws IOException {
- if (usesAltDD())
- return getAltResourceInputStream(uri);
- return getLocalResourceInputStream(uri);
- }
-
- public InputStream getLocalResourceInputStream(String uri) throws IOException {
- checkModuleFile();
- return moduleFile.getResourceInputStream(uri);
- }
-
- public InputStream getAltResourceInputStream(String uri) throws IOException {
- checkEARFile();
- return getEarFile().getResourceInputStream(uri);
- }
-
- /*
- * @see ModuleRef#getUri()
- */
- public String getUri() {
- if (module != null)
- return module.getUri();
- if (moduleFile != null)
- return moduleFile.getURI();
-
- return null;
- }
-
- /**
- * @see ModuleRef#getAltMofResource(String)
- */
- public Resource getAltMofResource(String uri) throws FileNotFoundException, ResourceLoadException {
- checkEARFile();
- return getEarFile().getMofResource(uri);
- }
-
- /**
- * @see ModuleRef#getLocalMofResource(String)
- */
- public Resource getLocalMofResource(String uri) throws FileNotFoundException, ResourceLoadException {
- checkModuleFile();
- return moduleFile.getMofResource(uri);
- }
-
- /**
- * @see ModuleRef#getMofResource(String)
- */
- public Resource getMofResource(String uri) throws FileNotFoundException, ResourceLoadException {
- if (usesAltDD())
- return getAltMofResource(uri);
- return getLocalMofResource(uri);
- }
-
- /**
- * @see ModuleRef#makeAltMofResource(String)
- */
- public Resource makeAltMofResource(String uri) throws DuplicateObjectException {
- checkEARFile();
- return getEarFile().makeMofResource(uri);
- }
-
- protected void checkEARFile() {
- if (getEarFile() == null)
- throw new ArchiveRuntimeException(CommonArchiveResourceHandler.getString("Module_not_in_EAR", new Object[]{getUri()})); //$NON-NLS-1$
- }
-
- /**
- * @see ModuleRef#makeLocalMofResource(String)
- */
- public Resource makeLocalMofResource(String uri) throws DuplicateObjectException {
- checkModuleFile();
- return moduleFile.makeMofResource(uri);
-
- }
-
- protected void checkModuleFile() {
- getModuleFile();
- if (moduleFile == null)
- throw new NoModuleFileException(CommonArchiveResourceHandler.getString("Module_file_does_not_exist_2", new Object[]{getUri()})); //$NON-NLS-1$
- }
-
- protected void checkType(Module moduleDescriptor, File aFile) {
- if (aFile == null) {
- String message = CommonArchiveResourceHandler.getString("A_file_does_not_exist_for_module", new Object[]{moduleDescriptor.getUri()}); //$NON-NLS-1$
- throw new NoModuleFileException(message);
- }
- //Added for defect 113929
- boolean isValid = true;
- String type = CommonArchiveResourceHandler.getString("Module_file"); //$NON-NLS-1$
- if (moduleDescriptor.isWebModule() && !aFile.isWARFile()) {
- isValid = false;
- type = CommonArchiveResourceHandler.getString("A_WAR_file"); //$NON-NLS-1$
- } else if (moduleDescriptor.isEjbModule() && !aFile.isEJBJarFile()) {
- isValid = false;
- type = CommonArchiveResourceHandler.getString("An_EJB_JAR_file"); //$NON-NLS-1$
- } else if (moduleDescriptor.isJavaModule() && !aFile.isApplicationClientFile()) {
- isValid = false;
- type = CommonArchiveResourceHandler.getString("An_Application_Client_JAR_file"); //$NON-NLS-1$
- } else if (moduleDescriptor.isConnectorModule() && !aFile.isRARFile()) {
- isValid = false;
- type = CommonArchiveResourceHandler.getString("A_RAR_file"); //$NON-NLS-1$
- } else if (!aFile.isModuleFile())
- isValid = false;
-
- if (isValid)
- return;
-
- String earUri = ""; //$NON-NLS-1$
- if (getEarFile() != null)
- earUri = getEarFile().getURI();
- String message = CommonArchiveResourceHandler.getString("File_not_correct_type", new Object[]{aFile.getURI(), earUri, type}); //$NON-NLS-1$
- throw new ArchiveRuntimeException(message);
- }
-
-
- /**
- * @see ModuleRef#makeMofResource(String)
- */
- public Resource makeMofResource(String uri) throws DuplicateObjectException {
- if (usesAltDD())
- return makeAltMofResource(uri);
- return makeLocalMofResource(uri);
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/RARFileImpl.java b/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/RARFileImpl.java
deleted file mode 100644
index 947cdd471..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/RARFileImpl.java
+++ /dev/null
@@ -1,402 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.commonarchivecore.internal.impl;
-
-
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonArchiveResourceHandler;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Container;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.RARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveConstants;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ConnectorDirectorySaveStrategyImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategy;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.RarFileDynamicClassLoader;
-import org.eclipse.jst.j2ee.internal.J2EEConstants;
-import org.eclipse.jst.j2ee.internal.common.XMLResource;
-import org.eclipse.jst.j2ee.internal.jca.JcaPackage;
-import org.eclipse.jst.j2ee.jca.Connector;
-import org.eclipse.jst.j2ee.jca.JcaFactory;
-
-
-/**
- * @generated
- */
-public class RARFileImpl extends ModuleFileImpl implements RARFile {
-
- /**
- * The cached value of the '{@link #getDeploymentDescriptor() <em>Deployment Descriptor</em>}'
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getDeploymentDescriptor()
- * @generated
- * @ordered
- */
- protected Connector deploymentDescriptor = null;
-
- public RARFileImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EClass eStaticClass() {
- return CommonarchivePackage.eINSTANCE.getRARFile();
- }
-
- /**
- * @see com.ibm.etools.commonarchive.WARFile
- */
- public File addCopyClass(File aFile) throws org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException {
- if (aFile.isReadOnlyDirectory())
- throw new IllegalArgumentException(CommonArchiveResourceHandler.getString("add_copy_class_dir_EXC_", (new Object[]{aFile.getURI()}))); //$NON-NLS-1$ = "Method addCopyClass not supported for directories :"
- return addCopyFileAddingPrefix(aFile, ArchiveConstants.WEBAPP_CLASSES_URI);
- }
-
- protected File addCopyFileAddingPrefix(File aFile, String uriPrefix) throws DuplicateObjectException {
- String swizzledUri = aFile.getURI();
- if (!swizzledUri.startsWith(uriPrefix)) {
- swizzledUri = ArchiveUtil.concatUri(uriPrefix, swizzledUri, '/');
- }
- checkAddValid(swizzledUri);
- File copy = copy(aFile);
- copy.setURI(swizzledUri);
- getFiles().add(copy);
- return copy;
- }
-
- protected SaveStrategy createSaveStrategyForConnectorDirectory(java.io.File dir, int expansionFlags) {
- return new ConnectorDirectorySaveStrategyImpl(dir.getAbsolutePath(), expansionFlags);
- }
-
- /**
- * @see com.ibm.etools.commonarchive.Archive
- */
- public void extractToConnectorDirectory(java.lang.String aUri, int expansionFlags) throws SaveFailureException {
- java.io.File aDir = new java.io.File(aUri);
- if (getLoadStrategy().isUsing(aDir))
- throw new SaveFailureException(CommonArchiveResourceHandler.getString("Extract_destination_is_the_EXC_")); //$NON-NLS-1$ = "Extract destination is the same path as source file"
-
- try {
- SaveStrategy aSaveStrategy = createSaveStrategyForConnectorDirectory(aDir, expansionFlags);
- save(aSaveStrategy);
- aSaveStrategy.close();
- } catch (java.io.IOException ex) {
- throw new SaveFailureException(CommonArchiveResourceHandler.getString("error_saving_EXC_", (new Object[]{uri})), ex); //$NON-NLS-1$ = "Error saving "
- }
-
- }
-
- /**
- * @see com.ibm.etools.commonarchive.RARFile
- */
- public java.util.List getClasses() {
- return filterFilesByPrefix(ArchiveConstants.RAR_CLASSES_URI);
- }
-
- /**
- * @throws DeploymentDescriptorLoadException -
- * is a runtime exception, because we can't override the signature of the generated
- * methods
- */
- public Connector getDeploymentDescriptor() throws DeploymentDescriptorLoadException {
- Connector dd = deploymentDescriptor;
- if (dd == null && canLazyInitialize())
- try {
- getImportStrategy().importMetaData();
- } catch (Exception e) {
- throw new DeploymentDescriptorLoadException(getDeploymentDescriptorUri(), e);
- }
- return deploymentDescriptor;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Connector basicGetDeploymentDescriptor() {
- return deploymentDescriptor;
- }
-
- public String getDeploymentDescriptorUri() {
- return J2EEConstants.RAR_DD_URI;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.WARFile
- */
- public java.util.List getResources() {
- String[] prefixes = {J2EEConstants.META_INF, J2EEConstants.WEB_INF};
- return filterFilesWithoutPrefix(prefixes);
- }
-
- /**
- * Return the DeployementDescriptor.
- */
- public EObject getStandardDeploymentDescriptor() throws DeploymentDescriptorLoadException {
- return getDeploymentDescriptor();
- }
-
- public boolean isDeploymentDescriptorSet() {
- return deploymentDescriptor != null;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.File
- */
- public boolean isRARFile() {
- return true;
- }
-
- /**
- * @see com.ibm.etools.commonarchive.impl.ModuleFileImpl
- */
- public org.eclipse.emf.ecore.EObject makeDeploymentDescriptor(XMLResource resource) {
- JcaPackage p = (JcaPackage) EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI);
- JcaFactory fct = p.getJcaFactory();
- Connector connector = fct.createConnector();
- setDeploymentDescriptor(connector);
- resource.getContents().add(connector);
- return connector;
- }
-
-
- public void setDeploymentDescriptor(Connector l) {
- deploymentDescriptor = l;
- replaceRoot(getMofResourceMakeIfNecessary(getDeploymentDescriptorUri()), l);
- }
-
- /**