topical media & game development
professional-portal-09-DirectoryPortlet-build.xml / xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE project [
<!ENTITY build-portlets SYSTEM "file:../common-build-portlet.xml">
]>
<project name="DirectoryPortlet" default="package">
<!-- ================================================================== -->
<!-- GLOBAL PROPERTIES -->
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- LOCAL PROPERTIES -->
<!-- ================================================================== -->
<property name="package.name" value="DirectoryPortlet"/>
<!-- ================================================================== -->
<!-- INCLUDE GLOBAL XML FRAGMENT -->
<!-- ================================================================== -->
&build-portlets;
<!-- ================================================================== -->
<!-- deploy -->
<!-- ================================================================== -->
<target name="deploy" depends="prepare, compile">
<copy todir="{package.name}.war">
<fileset dir="{web.dir}/WEB-INF/portlet.xml"/>
<classpath refid="portlet.build.classpath"/>
</java>
</target>
<target name="validate.jsp" depends="jspc"/>
<!-- ================================================================== -->
<!-- TEST -->
<!-- ================================================================== -->
<target name="test.all" description="all unit tests" depends="compile">
<junit printsummary="yes" haltonfailure="yes" haltonerror="yes" fork="yes">
<classpath refid="portlet.build.classpath"/>
<formatter type="plain" usefile="false"/>
<!--********************* test******************************-->
<!--
<test name="framework.TestActions"/>
-->
</junit>
</target>
</project>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.