You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by oe...@apache.org on 2007/03/17 19:19:24 UTC
svn commit: r519385 [7/7] - in
/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent: ./
rpm.factory.archetype/ rpm.factory.archetype/.settings/
rpm.factory.archetype/src/ rpm.factory.archetype/src/main/
rpm.factory.archetype/src/main/resources/...
Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.classpath
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.classpath?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.classpath (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.classpath Sat Mar 17 11:19:14 2007
@@ -0,0 +1,84 @@
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore/util/OptionalNamespaceExtendedMetaData/1.0-SNAPSHOT/OptionalNamespaceExtendedMetaData-1.0-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.importer.rose/2.3.0/emf.importer.rose-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ant/2.3.0/emf.ant-2.3.0.jar"/>
+ <classpathentry kind="src" path="/rpm.factory.model.spec"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/ecore-exporter/2.3.0-M4/ecore-exporter-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-sdo/2.3.0-M4/ecore-sdo-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-xsd2ecore/2.3.0-M4/mapping-xsd2ecore-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.codegen.ecore/2.3.0/emf.codegen.ecore-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-change/2.3.0-M4/ecore-change-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/converter/2.3.0-M4/converter-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-xmi/2.3.0-M4/ecore-xmi-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/edit/2.3.0-M4/edit-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.converter/2.3.0/emf.converter-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/exporter/2.3.0-M4/exporter-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/common-ui/2.3.0-M4/common-ui-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.change.edit/2.3.0/emf.ecore.change.edit-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/edit/2.3.0-M4/edit-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2ecore/2.3.0-M4/mapping-ecore2ecore-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.commonj.sdo/2.3.0/emf.commonj.sdo-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-change-edit/2.3.0-M4/ecore-change-edit-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore/2.3.0-M4/ecore-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.xsd.edit/2.3.0/emf.xsd.edit-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer-ecore/2.3.0-M4/importer-ecore-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.edit/2.3.0/emf.ecore.edit-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/common/2.3.0-M4/common-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.codegen.ui/2.3.0/emf.codegen.ui-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/emf/pom.model.v400/1.0-SNAPSHOT/pom.model.v400-1.0-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.common/2.3.0/emf.common-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.xsd.ecore.exporter/2.3.0/emf.xsd.ecore.exporter-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.edit.ui/2.3.0/emf.edit.ui-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen/2.3.0-M4/codegen-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.edit/2.3.0/emf.edit-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.codegen.ecore.ui/2.3.0/emf.codegen.ecore.ui-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.xmi/2.3.0/emf.ecore.xmi-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2ecore-editor/2.3.0-M4/mapping-ecore2ecore-editor-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping/2.3.0-M4/mapping-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-edit/2.3.0-M4/ecore-edit-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.change/2.3.0/emf.ecore.change-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.xsd.ecore.importer/2.3.0/emf.xsd.ecore.importer-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/edit-ui/2.3.0-M4/edit-ui-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-sdo-edit/2.3.0-M4/ecore-sdo-edit-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.ecore2ecore.editor/2.3.0/emf.mapping.ecore2ecore.editor-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.xsd/2.3.0/emf.xsd-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2xml-ui/2.3.0-M4/mapping-ecore2xml-ui-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-xsd2ecore-editor/2.3.0-M4/mapping-xsd2ecore-editor-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.ecore2ecore/2.3.0/emf.mapping.ecore2ecore-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.sdo.editor/2.3.0/emf.ecore.sdo.editor-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer/2.3.0-M4/importer-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.common.ui/2.3.0/emf.common.ui-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore/2.3.0/emf.ecore-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping/2.3.0/emf.mapping-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2xml/2.3.0-M4/mapping-ecore2xml-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/ecore-importer/2.3.0-M4/ecore-importer-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.ecore2xml.ui/2.3.0/emf.mapping.ecore2xml.ui-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.editor/2.3.0/emf.ecore.editor-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.importer.java/2.3.0/emf.importer.java-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/commonj-sdo/2.3.0-M4/commonj-sdo-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.codegen/2.3.0/emf.codegen-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ecore-ui/2.3.0-M4/codegen-ecore-ui-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.sdo/2.3.0/emf.ecore.sdo-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ant/2.3.0-M4/ant-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.xsd.editor/2.3.0/emf.xsd.editor-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ui/2.3.0-M4/mapping-ui-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ecore/2.3.0-M4/codegen-ecore-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer-java/2.3.0-M4/importer-java-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.ecore2xml/2.3.0/emf.mapping.ecore2xml-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.exporter/2.3.0/emf.exporter-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ui/2.3.0-M4/codegen-ui-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.importer.ecore/2.3.0/emf.importer.ecore-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer-rose/2.3.0-M4/importer-rose-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/emf/2.3.0-M4/emf-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.importer/2.3.0/emf.importer-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.xsd2ecore.editor/2.3.0/emf.mapping.xsd2ecore.editor-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.sdo.edit/2.3.0/emf.ecore.sdo.edit-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/xsd/2.3.0-M4/xsd-2.3.0-M4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/2.2.0/emf-2.2.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.ui/2.3.0/emf.mapping.ui-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.xsd2ecore/2.3.0/emf.mapping.xsd2ecore-2.3.0.jar"/>
+</classpath>
\ No newline at end of file
Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.jetproperties
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.jetproperties?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.jetproperties (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.jetproperties Sat Mar 17 11:19:14 2007
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<jet-settings>
+ <template-container>templates</template-container> <source-container>src/main/java</source-container>
+</jet-settings>
Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.project
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.project?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.project (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.project Sat Mar 17 11:19:14 2007
@@ -0,0 +1,21 @@
+<projectDescription>
+ <name>rpm.factory.spec.generators</name>
+ <comment/>
+ <projects>
+ <project>rpm.factory.model.spec</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.emf.codegen.JETBuilder</name>
+ <arguments/>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments/>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.emf.codegen.jet.IJETNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
\ No newline at end of file
Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.settings/org.eclipse.jdt.core.prefs?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.settings/org.eclipse.jdt.core.prefs (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/.settings/org.eclipse.jdt.core.prefs Sat Mar 17 11:19:14 2007
@@ -0,0 +1,5 @@
+#Tue Mar 13 19:47:16 CDT 2007
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/pom.xml?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/pom.xml (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/pom.xml Sat Mar 17 11:19:14 2007
@@ -0,0 +1,188 @@
+<?xml version="1.0"?>
+<project>
+ <parent>
+ <artifactId>rpm.factory.parent</artifactId>
+ <groupId>org.apache.maven</groupId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>rpm.factory.spec.generators</artifactId>
+ <name></name>
+ <version>1.0-SNAPSHOT</version>
+ <url>http://pyramidetechnologies.com/model/archetype</url>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+
+ <dependency>
+ <groupId>org.apache.maven.emf</groupId>
+ <artifactId>pom.model.v400</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>rpm.factory.model.spec</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ant</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>codegen</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>codegen-ecore</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>codegen-ecore-ui</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>codegen-ui</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>common</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>commonj-sdo</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>common-ui</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>converter</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore-change</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore-change-edit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore-edit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore-sdo</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore-sdo-edit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>ecore-xmi</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>edit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>edit-ui</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>emf</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>exporter</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>importer</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>importer-ecore</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>importer-java</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>importer-rose</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-ecore2ecore</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-ecore2ecore-editor</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-ecore2xml</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-ecore2xml-ui</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-ui</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-xsd2ecore</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.emf</groupId>
+ <artifactId>mapping-xsd2ecore-editor</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.xsd</groupId>
+ <artifactId>ecore-exporter</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.xsd</groupId>
+ <artifactId>ecore-importer</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.xsd</groupId>
+ <artifactId>edit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.xsd</groupId>
+ <artifactId>xsd</artifactId>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/src/main/java/org/apache/maven/rpm/factory/spec/generators/LibrarySpecGenerator.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/src/main/java/org/apache/maven/rpm/factory/spec/generators/LibrarySpecGenerator.java?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/src/main/java/org/apache/maven/rpm/factory/spec/generators/LibrarySpecGenerator.java (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/src/main/java/org/apache/maven/rpm/factory/spec/generators/LibrarySpecGenerator.java Sat Mar 17 11:19:14 2007
@@ -0,0 +1,123 @@
+package org.apache.maven.rpm.factory.spec.generators;
+
+import org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor;
+import org.apache.maven.model.emf.pom.v400.DependenciesType;
+import org.apache.maven.model.emf.pom.v400.Dependency;
+import org.eclipse.emf.common.util.EList;
+import java.util.Iterator;
+
+public class LibrarySpecGenerator
+{
+ protected static String nl;
+ public static synchronized LibrarySpecGenerator create(String lineSeparator)
+ {
+ nl = lineSeparator;
+ LibrarySpecGenerator result = new LibrarySpecGenerator();
+ nl = null;
+ return result;
+ }
+
+ protected final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+ protected final String TEXT_1 = " ";
+ protected final String TEXT_2 = NL + "Name:\t\t\t";
+ protected final String TEXT_3 = NL + "Version:\t\t";
+ protected final String TEXT_4 = NL + "Release:\t\t1MavenRPMFactory" + NL + "Summary:\t\t";
+ protected final String TEXT_5 = NL + "License:\t\t";
+ protected final String TEXT_6 = NL + "URL:\t\t\t";
+ protected final String TEXT_7 = NL + "Group:\t\t\t";
+ protected final String TEXT_8 = NL + "Distribution:\t";
+ protected final String TEXT_9 = NL + "Vendor:\t\t\t";
+ protected final String TEXT_10 = NL + "BuildArch:\t\t";
+ protected final String TEXT_11 = NL + "BuildRoot: \t\t%{_tmpdir}/";
+ protected final String TEXT_12 = "-";
+ protected final String TEXT_13 = "/installroot" + NL;
+ protected final String TEXT_14 = NL + "Requires: ";
+ protected final String TEXT_15 = "=";
+ protected final String TEXT_16 = NL + " \t";
+ protected final String TEXT_17 = NL + NL + NL + "%description";
+ protected final String TEXT_18 = NL;
+ protected final String TEXT_19 = NL + NL + "%install" + NL + "install -d -m 755 $RPM_BUILD_ROOT%{_javadir}" + NL + "install -m 644 ";
+ protected final String TEXT_20 = " $RPM_BUILD_ROOT%{_javadir}" + NL + "install -m 644 ";
+ protected final String TEXT_21 = " $RPM_BUILD_ROOT%{_javadir}" + NL + "" + NL + "%clean" + NL + "rm -rf $RPM_BUILD_ROOT" + NL + "" + NL + "%files" + NL + "%defattr(0644,root,root,0755)" + NL + "%{_javadir}/";
+ protected final String TEXT_22 = NL + "%{_javadir}/";
+ protected final String TEXT_23 = NL;
+ protected final String TEXT_24 = NL;
+
+ public String generate(Object argument)
+ {
+ final StringBuffer stringBuffer = new StringBuffer();
+ stringBuffer.append(TEXT_1);
+
+ LibrarySpecDescriptor librarySpecDescriptor = (LibrarySpecDescriptor) argument;
+ String name = librarySpecDescriptor.getName();
+ String version = librarySpecDescriptor.getVersion();
+ String libraryDirectory = librarySpecDescriptor.getLibraryDirectory();
+ String pomArtifactName = name + "-" + version + ".pom";
+ String jarArtifactName = name + "-" + version + ".jar";
+ String pomArtifactPath = libraryDirectory + "/" + pomArtifactName;
+ String jarArtifactPath = libraryDirectory + "/" + jarArtifactName;
+
+
+ stringBuffer.append(TEXT_2);
+ stringBuffer.append(librarySpecDescriptor.getName());
+ stringBuffer.append(TEXT_3);
+ stringBuffer.append(librarySpecDescriptor.getVersion());
+ stringBuffer.append(TEXT_4);
+ stringBuffer.append(librarySpecDescriptor.getSummary());
+ stringBuffer.append(TEXT_5);
+ stringBuffer.append(librarySpecDescriptor.getLicense());
+ stringBuffer.append(TEXT_6);
+ stringBuffer.append(librarySpecDescriptor.getUrl());
+ stringBuffer.append(TEXT_7);
+ stringBuffer.append(librarySpecDescriptor.getGroup());
+ stringBuffer.append(TEXT_8);
+ stringBuffer.append(librarySpecDescriptor.getDistribution());
+ stringBuffer.append(TEXT_9);
+ stringBuffer.append(librarySpecDescriptor.getVendor());
+ stringBuffer.append(TEXT_10);
+ stringBuffer.append(librarySpecDescriptor.getBuildArchitecture());
+ stringBuffer.append(TEXT_11);
+ stringBuffer.append(name);
+ stringBuffer.append(TEXT_12);
+ stringBuffer.append(version);
+ stringBuffer.append(TEXT_13);
+
+DependenciesType dependencyType = librarySpecDescriptor.getRequiresDependencies();
+
+if (dependencyType !=null)
+{
+ EList<Dependency> requiresDependendencies = dependencyType.getDependency();
+ if (requiresDependendencies !=null)
+ {
+ Iterator<Dependency> dependencyIterator = requiresDependendencies.iterator();
+ Dependency dependency = null;
+ while( dependencyIterator.hasNext() )
+ {
+ dependency = (Dependency)dependencyIterator.next();
+
+ stringBuffer.append(TEXT_14);
+ stringBuffer.append(dependency.getArtifactId());
+ stringBuffer.append(TEXT_15);
+ stringBuffer.append(dependency.getVersion());
+ stringBuffer.append(TEXT_16);
+
+ }
+ }
+}
+
+ stringBuffer.append(TEXT_17);
+ stringBuffer.append(TEXT_18);
+ stringBuffer.append(librarySpecDescriptor.getDescription());
+ stringBuffer.append(TEXT_19);
+ stringBuffer.append(jarArtifactPath);
+ stringBuffer.append(TEXT_20);
+ stringBuffer.append(pomArtifactPath);
+ stringBuffer.append(TEXT_21);
+ stringBuffer.append(pomArtifactName);
+ stringBuffer.append(TEXT_22);
+ stringBuffer.append(jarArtifactName);
+ stringBuffer.append(TEXT_23);
+ stringBuffer.append(TEXT_24);
+ return stringBuffer.toString();
+ }
+}
Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/target/classes/org/apache/maven/rpm/factory/spec/generators/LibrarySpecGenerator.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/target/classes/org/apache/maven/rpm/factory/spec/generators/LibrarySpecGenerator.class?view=auto&rev=519385
==============================================================================
Binary file - no diff available.
Propchange: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/target/classes/org/apache/maven/rpm/factory/spec/generators/LibrarySpecGenerator.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/target/rpm.factory.spec.generators-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/target/rpm.factory.spec.generators-1.0-SNAPSHOT.jar?view=auto&rev=519385
==============================================================================
Binary file - no diff available.
Propchange: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/target/rpm.factory.spec.generators-1.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/templates/LibrarySpecGenerator.javajet
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/templates/LibrarySpecGenerator.javajet?view=auto&rev=519385
==============================================================================
--- directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/templates/LibrarySpecGenerator.javajet (added)
+++ directory/sandbox/oersoy/rpm.factory.all/rpm.factory.parent/rpm.factory.spec.generators/templates/LibrarySpecGenerator.javajet Sat Mar 17 11:19:14 2007
@@ -0,0 +1,69 @@
+<%@ jet package="org.apache.maven.rpm.factory.spec.generators"
+ class="LibrarySpecGenerator"
+ imports="org.apache.maven.rpm.factory.model.spec.v100.LibrarySpecDescriptor
+ org.apache.maven.model.emf.pom.v400.DependenciesType
+ org.apache.maven.model.emf.pom.v400.Dependency
+ org.eclipse.emf.common.util.EList
+ java.util.Iterator"
+%>
+<%
+ LibrarySpecDescriptor librarySpecDescriptor = (LibrarySpecDescriptor) argument;
+ String name = librarySpecDescriptor.getName();
+ String version = librarySpecDescriptor.getVersion();
+ String libraryDirectory = librarySpecDescriptor.getLibraryDirectory();
+ String pomArtifactName = name + "-" + version + ".pom";
+ String jarArtifactName = name + "-" + version + ".jar";
+ String pomArtifactPath = libraryDirectory + "/" + pomArtifactName;
+ String jarArtifactPath = libraryDirectory + "/" + jarArtifactName;
+
+%>
+Name: <%=librarySpecDescriptor.getName()%>
+Version: <%=librarySpecDescriptor.getVersion()%>
+Release: 1MavenRPMFactory
+Summary: <%=librarySpecDescriptor.getSummary()%>
+License: <%=librarySpecDescriptor.getLicense()%>
+URL: <%=librarySpecDescriptor.getUrl()%>
+Group: <%=librarySpecDescriptor.getGroup()%>
+Distribution: <%=librarySpecDescriptor.getDistribution()%>
+Vendor: <%=librarySpecDescriptor.getVendor()%>
+BuildArch: <%=librarySpecDescriptor.getBuildArchitecture()%>
+BuildRoot: %{_tmpdir}/<%=name%>-<%=version%>/installroot
+
+<%
+DependenciesType dependencyType = librarySpecDescriptor.getRequiresDependencies();
+
+if (dependencyType !=null)
+{
+ EList<Dependency> requiresDependendencies = dependencyType.getDependency();
+ if (requiresDependendencies !=null)
+ {
+ Iterator<Dependency> dependencyIterator = requiresDependendencies.iterator();
+ Dependency dependency = null;
+ while( dependencyIterator.hasNext() )
+ {
+ dependency = (Dependency)dependencyIterator.next();
+ %>
+Requires: <%=dependency.getArtifactId()%>=<%=dependency.getVersion()%>
+ <%
+ }
+ }
+}
+%>
+
+
+%description
+<%=librarySpecDescriptor.getDescription()%>
+
+%install
+install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
+install -m 644 <%=jarArtifactPath%> $RPM_BUILD_ROOT%{_javadir}
+install -m 644 <%=pomArtifactPath%> $RPM_BUILD_ROOT%{_javadir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(0644,root,root,0755)
+%{_javadir}/<%=pomArtifactName%>
+%{_javadir}/<%=jarArtifactName%>
+