Deploy to Any Server
Exadel Studio works closely with a specific group of servlet containers provided by the bundled WTP (Eclipse Web Tools Project) plug-ins, but Exadel Studio doesn't ultimately tie you to any particular server for deployment. You are free to deploy your application to any server of your choice. For the servers that are not supported explicitly by Exadel Studio, you simply need to create an Ant script that will create a .war file and copy it to the deployment directory under your server.
Any new or imported Exadel Studio project should have an
ant folder containing an Ant build.xml script.
In this script, there are two commented-out "targets,"
war and deploy:
...
<!-- Create binary distribution -->
<target name="war" depends="build">
<mkdir dir="${build.dir}"/>
<war
basedir="${webroot.dir}"
warfile="${build.dir}/${project.distname}.war"
webxml="${webinf.dir}/web.xml">
<exclude name="WEB-INF/${build.dir}/**"/>
<exclude name="WEB-INF/src/**"/>
<exclude name="WEB-INF/*exadel*"/>
<exclude name="WEB-INF/web.xml"/>
</war>
</target>
<target name="deploy" depends="war">
<delete file="${deploy.dir}/${project.distname}.war"/>
<delete dir="${deploy.dir}/${project.distname}"/>
<copy file="${build.dir}/${project.distname}.war" todir="${deploy.dir}"/>
</target>
..
Once you uncomment these targets, you can customize the script to deploy your final application.