Skip to content

Commit 8cb15fd

Browse files
committed
ant: added deploy-glassfish target.
1 parent fc44524 commit 8cb15fd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<property name="dist.dir" value="dist" />
1010
<property name="war.name" value="mystamps.war" />
1111

12+
<property
13+
name="glassfish.deploy.dir"
14+
value="/mnt/add/glassfishv3/glassfish/domains/domain1/autodeploy" />
15+
1216
<path id="classpath">
1317
<fileset dir="${build.dir}" />
1418
<fileset dir="${lib.dir}" includes="*.jar" />
@@ -43,4 +47,8 @@
4347
</war>
4448
</target>
4549

50+
<target name="deploy-glassfish" depends="war" description="Deploy WAR-file to GlassFish">
51+
<copy file="${dist.dir}/${war.name}" todir="${glassfish.deploy.dir}" verbose="${verbose}" />
52+
</target>
53+
4654
</project>

0 commit comments

Comments
 (0)