[seam-commits] Seam SVN: r14906 - branches/enterprise/WFK-2_0/jboss-seam-gen/dist.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon Jun 11 11:59:16 EDT 2012
Author: manaRH
Date: 2012-06-11 11:59:16 -0400 (Mon, 11 Jun 2012)
New Revision: 14906
Modified:
branches/enterprise/WFK-2_0/jboss-seam-gen/dist/build.xml
Log:
updated seam-gen script
Modified: branches/enterprise/WFK-2_0/jboss-seam-gen/dist/build.xml
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam-gen/dist/build.xml 2012-06-11 15:59:09 UTC (rev 14905)
+++ branches/enterprise/WFK-2_0/jboss-seam-gen/dist/build.xml 2012-06-11 15:59:16 UTC (rev 14906)
@@ -237,6 +237,7 @@
message="Enter your JBoss AS domain [${old.jboss.domain}]"
defaultvalue="${old.jboss.domain}"/>
+<!--
<property name="old.glassfish.home" value="${glassfish.home}"/>
<input addproperty="glassfish.home.new"
message="Enter your GlassFish V2 or V3 home directory (Ignore if you aren't deploying to GlassFish) [${old.glassfish.home}]"
@@ -247,7 +248,7 @@
<input addproperty="glassfish.domain.new"
message="Enter your GlassFish domain (Ignore if you aren't deploying to GlassFish) [${old.glassfish.domain}]"
defaultvalue="${old.glassfish.domain}"/>
-
+-->
<property name="old.project.name" value="myproject"/>
<input addproperty="project.name.new"
message="Enter the project name [${old.project.name}]"
@@ -1010,11 +1011,6 @@
<filterset refid="project"/>
</copy>
- <copy tofile="${project.home}/debug-glassfish-${project.name}.launch"
- file="${templates.dir}/ide-project-files/eclipse/debug-glassfish.launch">
- <filterset refid="project"/>
- </copy>
-
<copy tofile="${project.home}/${project.name}.launch"
file="${templates.dir}/hibernatetools/hibernate-console.launch">
<filterset refid="project"/>
@@ -1075,18 +1071,6 @@
<replacevalue><![CDATA[<use-java-context>false</use-java-context>]]></replacevalue>
</replace>
- <copy tofile="${project.home}/resources/glassfish-resources-dev.xml"
- file="${templates.dir}/resources/glassfish-resources.xml">
- <filterset refid="project"/>
- <filterset refid="jdbc"/>
- </copy>
-
- <copy tofile="${project.home}/resources/glassfish-resources-prod.xml"
- file="${templates.dir}/resources/glassfish-resources.xml">
- <filterset refid="project"/>
- <filterset refid="jdbc"/>
- </copy>
-
<copy tofile="${project.home}/resources/import-dev.sql"
file="${templates.dir}/resources/import.sql">
<filterset refid="project"/>
@@ -1147,8 +1131,6 @@
<filterset refid="project"/>
</copy>
- <copy todir="${project.home}" file="${templates.dir}/build-scripts/glassfish-readme.txt"/>
-
<mkdir dir="${project.home}/src/${model.dir}"/>
<mkdir dir="${project.home}/src/${action.dir}"/>
<mkdir dir="${project.home}/src/${test.dir}"/>
@@ -1514,7 +1496,15 @@
</target>
<target name="init-generate">
- <path id="htools.classpath">
+ <path id="htools.classpath">
+ <fileset dir="${seam.dir}">
+ <include name="lib/*.jar"/>
+ <include name="lib/gen/*.jar"/>
+ </fileset>
+ <pathelement path="${driver.jar}"/>
+ </path>
+<!--
+ <path id="htools.classpath">
<pathelement path="${seam.dir}/lib/ant.jar"/>
<pathelement path="${seam.dir}/lib/gen/hibernate-tools.jar"/>
<pathelement path="${seam.dir}/lib/gen/freemarker.jar"/>
@@ -1544,6 +1534,7 @@
<pathelement path="${driver.license.jar}"/>
<pathelement path="${seam.dir}/lib/gen/jboss-seam-gen.jar"/>
</path>
+ -->
<taskdef name="hibernate" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="htools.classpath"/>
</target>
More information about the seam-commits
mailing list