You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2007/08/03 18:40:19 UTC
svn commit: r562520 [10/10] - in /incubator/tuscany/java/das/ldap: ./
das.ldap.configuration.model.ecore.v100/
das.ldap.configuration.model.ecore.v100/model/
das.ldap.configuration.model.ecore.v100/src/
das.ldap.configuration.model.v100/ das.ldap.confi...
Added: incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/schema/emf/destroy/test/EObjectClassDestroyerTest.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/schema/emf/destroy/test/EObjectClassDestroyerTest.java?view=auto&rev=562520
==============================================================================
--- incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/schema/emf/destroy/test/EObjectClassDestroyerTest.java (added)
+++ incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/schema/emf/destroy/test/EObjectClassDestroyerTest.java Fri Aug 3 09:40:00 2007
@@ -0,0 +1,457 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+package org.apache.tuscany.das.ldap.schema.emf.destroy.test;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.naming.NamingException;
+import javax.naming.ldap.LdapContext;
+
+import org.apache.tuscany.das.ldap.prototype.setup.Prototype;
+import org.apache.tuscany.das.ldap.schema.create.ComplexTypeRDNCreator;
+import org.apache.tuscany.das.ldap.schema.emf.create.EObjectClassCreator;
+import org.apache.tuscany.das.ldap.schema.emf.destroy.EObjectClassDestroyer;
+import org.apache.tuscany.das.ldap.schema.embedded.setup.test.EcoreSchemaAndDASContextsSetup;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EcoreFactory;
+import org.eclipse.emf.ecore.EcorePackage;
+
+/*
+ * TODO Make sure that we test EAttribute deletion as well.
+ */
+public class EObjectClassDestroyerTest
+extends EcoreSchemaAndDASContextsSetup
+implements Prototype
+{
+ public void tearDown()
+ throws NamingException, Exception
+ {
+ super.tearDown();
+ }
+
+ public void setUp()
+ throws NamingException, Exception
+ {
+ super.setUp();
+
+ ecoreFactory =
+ EcoreFactory.eINSTANCE;
+ ecorePackage =
+ EcorePackage.eINSTANCE;
+
+
+ processedEClassifiers =
+ new ArrayList<EClass>();
+
+ eClassL0 =
+ ecoreFactory.
+ createEClass();
+
+ eClassL1 =
+ ecoreFactory.
+ createEClass();
+
+ eClassL0.setName( "L0" );
+ eClassL1.setName( "L1" );
+ }
+
+ /*
+ * Test the deletion of two
+ * single level hierarchy ObjectClasses
+ */
+ public void testDestroy0()
+ throws NamingException, Exception
+ {
+ EPackage ePackage =
+ ecoreFactory.
+ createEPackage();
+
+ ePackage.
+ setNsURI(xsdNamespace);
+
+ ePackage.
+ getEClassifiers().
+ add( eClassL0 );
+
+ ePackage.
+ getEClassifiers().
+ add( eClassL1 );
+
+
+ EObjectClassCreator
+ eObjectClassCreator =
+ new EObjectClassCreator();
+
+ eObjectClassCreator.
+ create(
+ metaContext,
+ ecoreAttributeTypesContext,
+ ecoreObjectClassesContext,
+ eClassL0,
+ processedEClassifiers,
+ TUSCANY_OID_PREFIX_VALUE );
+
+ eObjectClassCreator.
+ create(
+ metaContext,
+ ecoreAttributeTypesContext,
+ ecoreObjectClassesContext,
+ eClassL1,
+ processedEClassifiers,
+ TUSCANY_OID_PREFIX_VALUE );
+
+ String rdnL0 =
+ ComplexTypeRDNCreator.
+ create(
+ TUSCANY_OID_PREFIX_VALUE,
+ xsdNamespace,
+ eClassL0.getName());
+
+ String rdnL1 =
+ ComplexTypeRDNCreator.
+ create(
+ TUSCANY_OID_PREFIX_VALUE,
+ xsdNamespace,
+ eClassL1.getName());
+
+ eObjectClassL0EntryContext =
+ ( LdapContext )
+ ecoreObjectClassesContext.
+ lookup( rdnL0 );
+
+ eObjectClassL1EntryContext =
+ ( LdapContext )
+ ecoreObjectClassesContext.
+ lookup( rdnL1 );
+
+ assertNotNull(
+ eObjectClassL0EntryContext);
+
+ assertNotNull(
+ eObjectClassL1EntryContext);
+
+ EObjectClassDestroyer.
+ destroy(
+ metaContext,
+ ecoreAttributeTypesContext,
+ ecoreObjectClassesContext,
+ eClassL0,
+ TUSCANY_OID_PREFIX_VALUE );
+
+ EObjectClassDestroyer.
+ destroy(
+ metaContext,
+ ecoreAttributeTypesContext,
+ ecoreObjectClassesContext,
+ eClassL1,
+ TUSCANY_OID_PREFIX_VALUE );
+
+ try
+ {
+ eObjectClassL0EntryContext =
+ ( LdapContext )
+ ecoreObjectClassesContext.
+ lookup( rdnL0 );
+ }
+ catch (Exception e)
+ {
+ eObjectClassL0EntryContext =
+ null;
+ }
+
+ try
+ {
+ eObjectClassL1EntryContext =
+ ( LdapContext )
+ ecoreObjectClassesContext.
+ lookup( rdnL1 );
+ }
+ catch (Exception e)
+ {
+ eObjectClassL1EntryContext =
+ null;
+ }
+
+ assertNull(
+ eObjectClassL0EntryContext);
+
+ assertNull(
+ eObjectClassL1EntryContext);
+ }
+
+ /*
+ * Testt the deletion of two
+ * ObjectClasses where L1 inherits from
+ * L0
+ */
+
+ public void testDestroy1()
+ throws NamingException, Exception
+ {
+ eClassL1.
+ getESuperTypes().
+ add(eClassL0);
+
+ EPackage ePackage =
+ ecoreFactory.
+ createEPackage();
+
+ ePackage.
+ setNsURI(xsdNamespace);
+
+ ePackage.
+ getEClassifiers().
+ add( eClassL0 );
+
+ ePackage.
+ getEClassifiers().
+ add( eClassL1 );
+
+
+ EObjectClassCreator
+ eObjectClassCreator =
+ new EObjectClassCreator();
+
+ eObjectClassCreator.
+ create(
+ metaContext,
+ ecoreAttributeTypesContext,
+ ecoreObjectClassesContext,
+ eClassL1,
+ processedEClassifiers,
+ TUSCANY_OID_PREFIX_VALUE );
+
+ String rdnL0 =
+ ComplexTypeRDNCreator.
+ create(
+ TUSCANY_OID_PREFIX_VALUE,
+ xsdNamespace,
+ eClassL0.getName());
+
+ String rdnL1 =
+ ComplexTypeRDNCreator.
+ create(
+ TUSCANY_OID_PREFIX_VALUE,
+ xsdNamespace,
+ eClassL1.getName());
+
+ eObjectClassL0EntryContext =
+ ( LdapContext )
+ ecoreObjectClassesContext.
+ lookup( rdnL0 );
+
+ eObjectClassL1EntryContext =
+ ( LdapContext )
+ ecoreObjectClassesContext.
+ lookup( rdnL1 );
+
+ assertNotNull(
+ eObjectClassL0EntryContext);
+
+ assertNotNull(
+ eObjectClassL1EntryContext);
+
+ eClassL0MetaContext =
+ ( LdapContext )
+ metaContext.
+ lookup(
+ "cn=" + eClassL0.getName() );
+
+ assertNotNull(
+ eClassL0MetaContext );
+
+ eClassL1MetaContext =
+ ( LdapContext )
+ eClassL0MetaContext.
+ lookup(
+ "cn=" + eClassL1.getName() );
+
+ assertNotNull(
+ eClassL0MetaContext );
+
+ assertNotNull(
+ eClassL1MetaContext );
+
+ EObjectClassDestroyer.
+ destroy(
+ metaContext,
+ ecoreAttributeTypesContext,
+ ecoreObjectClassesContext,
+ eClassL1,
+ TUSCANY_OID_PREFIX_VALUE );
+
+ EObjectClassDestroyer.
+ destroy(
+ metaContext,
+ ecoreAttributeTypesContext,
+ ecoreObjectClassesContext,
+ eClassL0,
+ TUSCANY_OID_PREFIX_VALUE );
+
+ try
+ {
+ eObjectClassL0EntryContext =
+ ( LdapContext )
+ ecoreObjectClassesContext.
+ lookup( rdnL0 );
+ }
+ catch (Exception e)
+ {
+ eObjectClassL0EntryContext =
+ null;
+ }
+
+ try
+ {
+ eObjectClassL1EntryContext =
+ ( LdapContext )
+ ecoreObjectClassesContext.
+ lookup( rdnL1 );
+ }
+ catch (Exception e)
+ {
+ eObjectClassL1EntryContext =
+ null;
+ }
+
+ assertNull(
+ eObjectClassL0EntryContext);
+
+ assertNull(
+ eObjectClassL1EntryContext);
+
+
+ eClassL0MetaContext =
+ ( LdapContext )
+ metaContext.
+ lookup(
+ "cn=" + eClassL0.getName() );
+
+ assertNotNull(
+ eClassL0MetaContext );
+
+ try
+ {
+ eClassL1MetaContext =
+ ( LdapContext )
+ eClassL0MetaContext.
+ lookup(
+ "cn=" + eClassL1.getName() );
+
+ }
+ catch (Exception e)
+ {
+ eClassL1MetaContext =
+ null;
+ }
+
+ assertNull(
+ eClassL1MetaContext);
+
+ metaContext.
+ destroySubcontext(
+ "cn=" + eClassL0.getName() );
+ }
+
+ /*
+ * Test the deletion of an ObjectClass that has
+ * has attributes.
+ */
+ public void testDestroy2() throws NamingException, Exception
+ {
+ userEClass.getEStructuralFeatures().add(userIDEAttribute);
+ userEClass.getEStructuralFeatures().add(userNameEAttribute);
+ userEClass.getEStructuralFeatures().add(userPasswordEAttribute);
+ userEClass.getEStructuralFeatures().add(userAuthorizationEReference);
+
+ EPackage ePackage =
+ ecoreFactory.
+ createEPackage();
+
+ ePackage.
+ setNsURI(xsdNamespace);
+
+ ePackage.
+ getEClassifiers().
+ add( userEClass );
+
+ EObjectClassCreator
+ eObjectClassCreator =
+ new EObjectClassCreator();
+
+ eObjectClassCreator.
+ create(
+ metaContext,
+ ecoreAttributeTypesContext,
+ ecoreObjectClassesContext,
+ userEClass,
+ processedEClassifiers,
+ TUSCANY_OID_PREFIX_VALUE );
+
+ String rdnL0 =
+ ComplexTypeRDNCreator.
+ create(
+ TUSCANY_OID_PREFIX_VALUE,
+ xsdNamespace,
+ userEClass.getName());
+
+ EObjectClassDestroyer.
+ destroy(
+ metaContext,
+ ecoreAttributeTypesContext,
+ ecoreObjectClassesContext,
+ userEClass,
+ TUSCANY_OID_PREFIX_VALUE );
+ }
+
+ private static EcoreFactory ecoreFactory =
+ null;
+
+ private static EcorePackage ecorePackage =
+ null;
+
+ private static EClass eClassL0 =
+ null;
+
+ private static EClass eClassL1 =
+ null;
+
+ private static List<EClass>
+ processedEClassifiers =
+ null;
+
+ private static LdapContext
+ eObjectClassL0EntryContext =
+ null;
+
+ private static LdapContext
+ eObjectClassL1EntryContext =
+ null;
+
+ private static LdapContext
+ eClassL0MetaContext =
+ null;
+
+ private static LdapContext
+ eClassL1MetaContext =
+ null;
+}
\ No newline at end of file
Propchange: incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/schema/emf/destroy/test/EObjectClassDestroyerTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/schema/emf/destroy/test/EObjectClassDestroyerTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/JNDIUtilTest.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/JNDIUtilTest.java?view=auto&rev=562520
==============================================================================
--- incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/JNDIUtilTest.java (added)
+++ incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/JNDIUtilTest.java Fri Aug 3 09:40:00 2007
@@ -0,0 +1,109 @@
+package org.apache.tuscany.das.ldap.util.test;
+
+import javax.naming.NamingException;
+import javax.naming.directory.DirContext;
+
+import org.apache.tuscany.das.ldap.schema.embedded.setup.test.AbstractTestSetup;
+import org.apache.tuscany.das.ldap.util.JNDIUtil;
+
+/*
+ * Note that these tests rely on the ADS Partition
+ * ou=system, which is also the directoryContext
+ * that the tests start with.
+ */
+public class JNDIUtilTest
+extends AbstractTestSetup
+{
+ DirContext test1Context = null;
+ DirContext test2Context = null;
+ DirContext test3Context = null;
+
+ public void setUp() throws Exception
+ {
+ super.setUp();
+ test1Context =
+ ( DirContext )
+ dasPartitionContext.
+ createSubcontext( "cn=test1" );
+
+ test2Context =
+ ( DirContext )
+ test1Context.
+ createSubcontext( "cn=test2" );
+
+ test3Context =
+ ( DirContext )
+ test2Context.
+ createSubcontext( "cn=test3" );
+ }
+
+ public void tearDown() throws Exception
+ {
+ test2Context.destroySubcontext( "cn=test3" );
+ test1Context.destroySubcontext("cn=test2");
+ dasPartitionContext.destroySubcontext("cn=test1");
+ super.tearDown();
+ }
+
+ public void testCalculateParentRelativeDN() throws NamingException
+ {
+ String partitionDN = "ou=das";
+
+ String testA =
+ JNDIUtil.calculateParentRelativeDN(
+ test2Context, partitionDN );
+
+ String testB =
+ JNDIUtil.calculateParentRelativeDN(
+ test3Context, partitionDN );
+
+ String testC =
+ JNDIUtil.calculateParentRelativeDN( test1Context, partitionDN );
+
+ assertTrue(testA.equals( "cn=test1" ));
+ assertTrue(testB.equals( "cn=test2,cn=test1" ));
+ assertTrue(testC.equals( "ou=das" ));
+
+ }
+
+ public void testCalculateDNComponents() throws NamingException
+ {
+ String[] contextComponents = JNDIUtil.calculateDNComponents( test3Context );
+ assertTrue(contextComponents.length==4);
+
+ contextComponents = null;
+
+ contextComponents = JNDIUtil.calculateDNComponents( test3Context.getNameInNamespace() );
+ assertTrue(contextComponents.length==4);
+ }
+
+ public void testGetParentContext() throws NamingException
+ {
+ DirContext parentContext =
+ JNDIUtil.
+ getParentContext(
+ test3Context,
+ dasPartitionContext );
+
+ assertTrue(
+ parentContext.getNameInNamespace().
+ equals("cn=test2,cn=test1,ou=das"));
+
+ parentContext =
+ JNDIUtil.getParentContext(
+ test1Context,
+ dasPartitionContext );
+
+ assertTrue(
+ parentContext.getNameInNamespace().
+ equals("ou=das"));
+
+ parentContext =
+ JNDIUtil.
+ getParentContext(
+ dasPartitionContext,
+ dasPartitionContext );
+
+ assertTrue(null == parentContext);
+ }
+}
Propchange: incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/JNDIUtilTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/JNDIUtilTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/QualifiedNameNormalizerTest.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/QualifiedNameNormalizerTest.java?view=auto&rev=562520
==============================================================================
--- incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/QualifiedNameNormalizerTest.java (added)
+++ incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/QualifiedNameNormalizerTest.java Fri Aug 3 09:40:00 2007
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+package org.apache.tuscany.das.ldap.util.test;
+
+import org.apache.tuscany.das.ldap.util.QualifiedNameNormalizer;
+
+import junit.framework.TestCase;
+
+public class QualifiedNameNormalizerTest
+extends TestCase
+{
+ public void testNormalize()
+ {
+ String qualifiedName =
+ "http://example.com/users/accounts/L0";
+
+ String normalizedName =
+ QualifiedNameNormalizer.
+ normalize(qualifiedName);
+
+ assertEquals(
+ "example-com-users-accounts-L0",
+ normalizedName);
+ }
+}
\ No newline at end of file
Propchange: incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/QualifiedNameNormalizerTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/QualifiedNameNormalizerTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/XSDNamespaceURITokenizerTest.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/XSDNamespaceURITokenizerTest.java?view=auto&rev=562520
==============================================================================
--- incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/XSDNamespaceURITokenizerTest.java (added)
+++ incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/XSDNamespaceURITokenizerTest.java Fri Aug 3 09:40:00 2007
@@ -0,0 +1,36 @@
+
+package org.apache.tuscany.das.ldap.util.test;
+
+import org.apache.tuscany.das.ldap.schema.embedded.setup.test.AbstractTestSetup;
+
+import org.apache.tuscany.das.ldap.util.XSDNamespaceURITokenizer;
+import org.eclipse.emf.common.util.URI;
+
+public class XSDNamespaceURITokenizerTest
+extends AbstractTestSetup
+{
+ public void testCreateAuthorityTokens()
+ {
+ String[] authorityTokens =
+ XSDNamespaceURITokenizer.
+ createAuthorityTokens(
+ URI.createURI(xsdNamespace));
+
+ assertTrue(authorityTokens[0].equals( "example"));
+ assertTrue(authorityTokens[1].equals( "com"));
+ assertTrue(authorityTokens.length == 2);
+ }
+
+ public void testCreatePathTokens()
+ {
+ String[] pathTokens =
+ XSDNamespaceURITokenizer.
+ createPathTokens(
+ URI.createURI(xsdNamespace));
+
+ assertTrue(pathTokens[1].equals("users"));
+ assertTrue(pathTokens[2].equals("accounts"));
+ assertTrue(pathTokens.length == 3);
+ }
+
+}
Propchange: incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/XSDNamespaceURITokenizerTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/das/ldap/das.ldap/src/test/java/org/apache/tuscany/das/ldap/util/test/XSDNamespaceURITokenizerTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/java/das/ldap/das.ldap/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/das/ldap/das.ldap/src/test/resources/log4j.properties?view=auto&rev=562520
==============================================================================
--- incubator/tuscany/java/das/ldap/das.ldap/src/test/resources/log4j.properties (added)
+++ incubator/tuscany/java/das/ldap/das.ldap/src/test/resources/log4j.properties Fri Aug 3 09:40:00 2007
@@ -0,0 +1,6 @@
+log4j.rootCategory=ERROR, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n
+
Propchange: incubator/tuscany/java/das/ldap/das.ldap/src/test/resources/log4j.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/das/ldap/das.ldap/src/test/resources/log4j.properties
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/tuscany/java/das/ldap/das.ldap/src/test/resources/log4j.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/tuscany/java/das/ldap/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/das/ldap/pom.xml?view=auto&rev=562520
==============================================================================
--- incubator/tuscany/java/das/ldap/pom.xml (added)
+++ incubator/tuscany/java/das/ldap/pom.xml Fri Aug 3 09:40:00 2007
@@ -0,0 +1,270 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.das</groupId>
+ <artifactId>tuscany-das</artifactId>
+ <version>1.0-incubating-SNAPSHOT</version>
+ </parent>
+ <artifactId>tuscany-das-ldap</artifactId>
+ <version>1.0-incubating-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencyManagement>
+ <dependencies>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>compile</scope>
+ </dependency>
+
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ant</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>codegen</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>codegen-ecore</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>codegen-ecore-ui</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>codegen-ui</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>common</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>commonj-sdo</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>common-ui</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>converter</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore-change</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore-change-edit</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore-edit</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore-sdo</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore-sdo-edit</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore-xmi</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>edit</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>edit-ui</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>emf</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>exporter</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>importer</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>importer-ecore</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>importer-java</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>importer-rose</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-ecore2ecore</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-ecore2ecore-editor</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-ecore2xml</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-ecore2xml-ui</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-ui</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-xsd2ecore</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-xsd2ecore-editor</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.xsd</groupId>
+ <artifactId>ecore-exporter</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.xsd</groupId>
+ <artifactId>ecore-importer</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.xsd</groupId>
+ <artifactId>edit</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.eclipse.xsd</groupId>
+ <artifactId>xsd</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+
+ </dependencies>
+ </dependencyManagement>
+
+ <repositories>
+ <repository>
+ <id>emf-maven-mirror</id>
+ <url>
+ http://mirrors.cat.pdx.edu/eclipse/tools/emf/maven2/
+ </url>
+ </repository>
+ </repositories>
+
+ <modules>
+ <module>das.ldap</module>
+ <module>das.ldap.constants</module>
+ <module>das.ldap.configuration.model.v100</module>
+ <module>das.ldap.configuration.model.ecore.v100</module>
+ </modules>
+</project>
Propchange: incubator/tuscany/java/das/ldap/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/das/ldap/pom.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/tuscany/java/das/ldap/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org