[jboss-cvs] JBossBlog SVN: r197 - trunk.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Feb 7 04:44:30 EST 2008
Author: adamw
Date: 2008-02-07 04:44:30 -0500 (Thu, 07 Feb 2008)
New Revision: 197
Modified:
trunk/build.xml
Log:
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2008-02-07 09:39:00 UTC (rev 196)
+++ trunk/build.xml 2008-02-07 09:44:30 UTC (rev 197)
@@ -231,6 +231,19 @@
</copy>
</target>
+ <target name="prepare-as-lib">
+ <copy todir="${deploy.lib.dir}">
+ <fileset dir="${basedir}/lib">
+ <include name="ehcache*.jar" />
+ <include name="jdom*.jar" />
+ <include name="jericho-html-*.jar" />
+ <include name="htmlcleaner*.jar" />
+ <include name="hibernate*.jar" />
+ <include name="lucene*.jar" />
+ </fileset>
+ </copy>
+ </target>
+
<target name="explode" depends="jar,war,ear,datasource"
description="Deploy the exploded archive">
<fail unless="jboss.home">jboss.home not set</fail>
@@ -256,16 +269,7 @@
<!--<copy todir="${deploy.dir}" file="${basedir}/resources/blog-ehcache.xml" />-->
- <copy todir="${deploy.lib.dir}">
- <fileset dir="${basedir}/lib">
- <include name="ehcache*.jar" />
- <include name="jdom*.jar" />
- <include name="jericho-html-*.jar" />
- <include name="htmlcleaner*.jar" />
- <include name="hibernate*.jar" />
- <include name="lucene*.jar" />
- </fileset>
- </copy>
+ <ant target="prepare-as-lib" />
</target>
<target name="unexplode" description="Undeploy the exploded archive">
@@ -288,6 +292,7 @@
<fail unless="jboss.home">jboss.home not set</fail>
<copy todir="${deploy.dir}" file="${dist.dir}/${project.name}.ear" />
<copy todir="${deploy.dir}" file="${dist.dir}/${jar.api.name}" />
+ <ant target="prepare-as-lib" />
</target>
<target name="undeploy" description="Undeploy the example from JBoss">
More information about the jboss-cvs-commits
mailing list