[jboss-cvs] jboss-seam-tools/src/org/jboss/seam/tools/freemarker/templates/ejb ...

Thomas Heute theute at jboss.com
Thu Aug 10 08:55:18 EDT 2006


  User: theute  
  Date: 06/08/10 08:55:18

  Added:       src/org/jboss/seam/tools/freemarker/templates/ejb          
                        seam.properties.ftl ejb-jar.xml.ftl
                        org.eclipse.wst.common.project.facet.core.xml.ftl
                        org.eclipse.jdt.core.prefs.ftl eclipse.project.ftl
                        org.eclipse.jst.common.project.facet.core.prefs.ftl
                        eclipse.component.ftl persistence.xml.ftl
                        pom.xml.ftl eclipse.classpath.ftl
  Log:
  Use resource classloading instead of simple directories
  
  Revision  Changes    Path
  1.1      date: 2006/08/10 12:55:18;  author: theute;  state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/freemarker/templates/ejb/seam.properties.ftl
  
  	<<Binary file>>
  
  
  1.1      date: 2006/08/10 12:55:18;  author: theute;  state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/freemarker/templates/ejb/ejb-jar.xml.ftl
  
  Index: ejb-jar.xml.ftl
  ===================================================================
  <ejb-jar>
     <assembly-descriptor>
        <interceptor-binding>
           <ejb-name>*</ejb-name>
           <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
        </interceptor-binding>
     </assembly-descriptor>
  </ejb-jar>
  
  
  
  1.1      date: 2006/08/10 12:55:18;  author: theute;  state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/freemarker/templates/ejb/org.eclipse.wst.common.project.facet.core.xml.ftl
  
  Index: org.eclipse.wst.common.project.facet.core.xml.ftl
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <faceted-project>
    <fixed facet="jst.java"/>
    <fixed facet="jst.ejb"/>
    <installed facet="jst.java" version="5.0"/>
    <installed facet="jst.ejb" version="2.1"/>
  </faceted-project>
  
  
  
  1.1      date: 2006/08/10 12:55:18;  author: theute;  state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/freemarker/templates/ejb/org.eclipse.jdt.core.prefs.ftl
  
  Index: org.eclipse.jdt.core.prefs.ftl
  ===================================================================
  #Mon Jul 10 14:09:18 CEST 2006
  eclipse.preferences.version=1
  org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
  org.eclipse.jdt.core.compiler.compliance=1.5
  org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
  org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
  org.eclipse.jdt.core.compiler.source=1.5
  
  
  
  1.1      date: 2006/08/10 12:55:18;  author: theute;  state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/freemarker/templates/ejb/eclipse.project.ftl
  
  Index: eclipse.project.ftl
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <projectDescription>
  	<name>jboss-seam-bookingJAR</name>
  	<comment></comment>
  	<projects>
  	</projects>
  	<buildSpec>
  		<buildCommand>
  			<name>org.eclipse.jdt.core.javabuilder</name>
  			<arguments>
  			</arguments>
  		</buildCommand>
  		<buildCommand>
  			<name>org.eclipse.wst.common.project.facet.core.builder</name>
  			<arguments>
  			</arguments>
  		</buildCommand>
  		<buildCommand>
  			<name>org.eclipse.wst.validation.validationbuilder</name>
  			<arguments>
  			</arguments>
  		</buildCommand>
  	</buildSpec>
  	<natures>
  		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
  		<nature>org.eclipse.jdt.core.javanature</nature>
  		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
  		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
  	</natures>
  </projectDescription>
  
  
  
  1.1      date: 2006/08/10 12:55:18;  author: theute;  state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/freemarker/templates/ejb/org.eclipse.jst.common.project.facet.core.prefs.ftl
  
  Index: org.eclipse.jst.common.project.facet.core.prefs.ftl
  ===================================================================
  #Mon Jul 10 14:09:24 CEST 2006
  classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_07/owners=jst.java\:5.0
  eclipse.preferences.version=1
  
  
  
  1.1      date: 2006/08/10 12:55:18;  author: theute;  state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/freemarker/templates/ejb/eclipse.component.ftl
  
  Index: eclipse.component.ftl
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <project-modules id="moduleCoreId">
  <wb-module deploy-name="${projectName}">
  <wb-resource deploy-path="/" source-path="/${ejbContext.contentDirectory}"/>
  <property name="java-output-path" value="/build/classes/"/>
  </wb-module>
  </project-modules>
  
  
  
  1.1      date: 2006/08/10 12:55:18;  author: theute;  state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/freemarker/templates/ejb/persistence.xml.ftl
  
  Index: persistence.xml.ftl
  ===================================================================
  <persistence>
     <persistence-unit name="${ejbContext.persistenceUnitName}">
        <provider>org.hibernate.ejb.HibernatePersistence</provider>
        <jta-data-source>java:/${ejbContext.jtaDataSource}</jta-data-source>
        <properties>
           <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
           <property name="hibernate.show_sql" value="true"/>
           <!-- These are the default for JBoss EJB3, but not for HEM: -->
           <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
           <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
        </properties>
     </persistence-unit>
  </persistence>
  
  
  1.1      date: 2006/08/10 12:55:18;  author: theute;  state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/freemarker/templates/ejb/pom.xml.ftl
  
  Index: pom.xml.ftl
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <project>
     <modelVersion>4.0.0</modelVersion>
     <groupId>${ejbContext.groupId}</groupId>
     <artifactId>${ejbContext.artifactId}</artifactId>
     <version>${ejbContext.version}</version>
     <packaging>ejb</packaging>
     <description/>
     <repositories>
        <repository>
           <id>jboss</id>
           <name>JBoss Maven 2 repository</name>
           <url>http://repository.jboss.com/maven2</url>
        </repository>
        <repository>
           <releases>
              <enabled>true</enabled>
           </releases>
           <snapshots>
              <enabled>false</enabled>
           </snapshots>
           <id>myfaces.staging</id>
           <name>MyFaces Staging Repository</name>
           <url>http://myfaces.zones.apache.org/dist/maven-repository</url>
        </repository>
     </repositories>
     <parent>
        <groupId>${rootContext.groupId}</groupId>
        <artifactId>${rootContext.artifactId}</artifactId>
        <version>${rootContext.version}</version>
     </parent>
     <dependencies>
        <dependency>
           <groupId>jboss</groupId>
           <artifactId>jboss-seam</artifactId>
           <version>1.0.1.GA</version>
           <scope>compile</scope>
        </dependency>
        <dependency>
           <groupId>org.apache.myfaces.core</groupId>
           <artifactId>myfaces-api</artifactId>
           <version>1.1.3</version>
        </dependency>
        <dependency>
           <groupId>org.testng</groupId>
           <artifactId>testng</artifactId>
           <version>4.7</version>
           <scope>test</scope>
           <classifier>jdk15</classifier>
        </dependency>
        <dependency>
           <groupId>javax.servlet</groupId>
           <artifactId>servlet-api</artifactId>
           <version>2.4</version>
           <scope>test</scope>
        </dependency>
        <dependency>
           <groupId>seam</groupId>
           <artifactId>thirdparty-all</artifactId>
           <version>1.0.0</version>
           <scope>test</scope>
        </dependency>
        <dependency>
           <groupId>jboss</groupId>
           <artifactId>hibernate-all</artifactId>
           <version>3.0.0</version>
           <scope>compile</scope>
        </dependency>
        <dependency>
           <groupId>jboss</groupId>
           <artifactId>jboss-ejb3-all</artifactId>
           <version>3.0.0</version>
           <scope>compile</scope>
        </dependency>
     </dependencies>
     <build>
        <plugins>
           <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-ejb-plugin</artifactId>
              <configuration>
                 <ejbVersion>3.0</ejbVersion>
              </configuration>
           </plugin>
           <plugin>
              <artifactId>maven-compiler-plugin</artifactId>
              <configuration>
                 <source>1.5</source>
                 <target>1.5</target>
              </configuration>
           </plugin>
           <plugin>
              <artifactId>maven-surefire-plugin</artifactId>
              <version>2.2</version>
              <configuration>
                 <suiteXmlFiles>
                    <suiteXmlFile>src/test/config/testng.xml</suiteXmlFile>
                 </suiteXmlFiles>
              </configuration>
           </plugin>
        </plugins>
     </build>
  </project>
  
  
  1.1      date: 2006/08/10 12:55:18;  author: theute;  state: Exp;jboss-seam-tools/src/org/jboss/seam/tools/freemarker/templates/ejb/eclipse.classpath.ftl
  
  Index: eclipse.classpath.ftl
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <classpath>
  	<classpathentry kind="src" path="${ejbContext.contentDirectory}"/>
  	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0_06"/>
  	<classpathentry kind="lib" path="lib/jboss-ejb3-all.jar"/>
  	<classpathentry kind="lib" path="lib/hibernate-all.jar"/>
  	<classpathentry kind="lib" path="lib/myfaces-api-1.1.3.jar"/>
  	<classpathentry kind="lib" path="lib/myfaces-impl-1.1.3.jar"/>
  	<classpathentry kind="lib" path="lib/testng-4.5.1-jdk15.jar"/>
  	<classpathentry kind="lib" path="/${ear.projectName}/${ear.earContext.contentDirectory}/jboss-seam.jar"/>
  	<#if context.testSupport>
      <classpathentry kind="lib" path="lib/servlet-api.jar"/>
  	<classpathentry kind="lib" path="lib/thirdparty-all.jar"/>
  	</#if>
  	<classpathentry kind="output" path="build/classes"/>
  </classpath>
  
  
  



More information about the jboss-cvs-commits mailing list