Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add ant script for adding jboss deployer
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@335 1c488680-804c-0410-94cd-c6b725194a0e
- Loading branch information
Showing
8 changed files
with
106 additions
and
552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0"?> | ||
<project name="JBoss5DeployerInstall" default="install" basedir="." xmlns:artifact="urn:maven-artifact-ant"> | ||
|
||
<path id="maven-ant-tasks.classpath" path="lib/maven-ant-tasks.jar" /> | ||
<typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant" classpathref="maven-ant-tasks.classpath" /> | ||
|
||
<target name="install"> | ||
|
||
<fail unless="jboss.home" message="Please pass in -Djboss.home=..."/> | ||
|
||
<mkdir dir="target/webbeans.deployer"/> | ||
|
||
<artifact:dependencies filesetId="jboss5.deployer.fileset" versionsId="jboss5.deployer.versions"> | ||
<dependency groupId="org.jboss.webbeans.integration" artifactId="webbeans-ri-int-jbossas" version="5.2.0-SNAPSHOT"/> | ||
</artifact:dependencies> | ||
|
||
<artifact:dependencies filesetId="google.collections.fileset"> | ||
<dependency groupId="com.google.collections" artifactId="google-collections" version="0.8"/> | ||
</artifact:dependencies> | ||
|
||
<copy todir="target/webbeans.deployer"> | ||
<fileset refid="jboss5.deployer.fileset"/> | ||
<flattenmapper /> | ||
</copy> | ||
|
||
<mkdir dir="target/webbeans.deployer/META-INF" /> | ||
|
||
<copy todir="target/webbeans.deployer/META-INF"> | ||
<fileset dir="${basedir}/webbeans-ri"> | ||
<include name="webbeans-deployers-jboss-beans.xml"/> | ||
</fileset> | ||
</copy> | ||
|
||
<copy todir="${jboss.home}/server/default/deployers"> | ||
<fileset dir="target"> | ||
<include name="webbeans.deployer/**" /> | ||
</fileset> | ||
</copy> | ||
|
||
<copy todir="${jboss.home}/server/default/lib"> | ||
<fileset dir="webbeans-ri/target"> | ||
<include name="webbeans-ri*.jar" /> | ||
</fileset> | ||
<fileset dir="webbeans-api/target"> | ||
<include name="webbeans-api*.jar" /> | ||
</fileset> | ||
<fileset refid="google.collections.fileset" /> | ||
<flattenmapper /> | ||
</copy> | ||
|
||
</target> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
examples/webbeans-pizzashack/src/main/webapp/WEB-INF/web.xml
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.