eclipse 로 개발하신후 jsp,xml,class ouput 을 서버에 자동으로 올리고자 하시는경우
아래의 ant build xml 을 참조하신후 사용하시면 됩니다.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="../../../.." default="myOutputUpload" name="samsung.cnt.luxor">
<property name="ftp.server" value="***** />
<property name="ftp.home.dir" value="/***/webapp" />
<property name="ftp.userid" value="***" />
<property name="ftp.pw" value="****" />
<property name="luxor.root" value="myapp/webapp" />
<target name="myOutputUpload">
<ftp server="${ftp.server}"
port="21"
remotedir="${ftp.home.dir}"
userid="${ftp.userid}"
password="${ftp.pw}"
depends="yes"
verbose="yes"
>
<fileset dir="${luxor.root}">
<!-- 아래는 mymenu,twitter 만 적용한 예제 입니다, 자신의 프로젝트에 맞게 수정하세요 -->
<!--
<include name="WEB-INF/classes/query/mapping-query-mymenu.xml"/>
<include name="WEB-INF/classes/spring/context-mymenu-services.xml"/>
<include name="WEB-INF/classes/springmvc/mymenu-servlet.xml"/>
<include name="WEB-INF/classes/query/mapping-query-twitter.xml"/>
<include name="WEB-INF/classes/spring/context-twitter-services.xml"/>
<include name="WEB-INF/classes/springmvc/twitter-servlet.xml"/>
<include name="WEB-INF/classes/addon/samsungcnt/mymenu/**/*"/>
<include name="WEB-INF/classes/addon/samsungcnt/twitter/**/*"/>
<include name="addon/mymenu/**/*"/>
<include name="addon/twitter/**/*"/>
<include name="deploy/mymenuPortlet/**/*"/>
<include name="deploy/twitterLinePortlet/**/*"/>
<include name="deploy/twitterPortlet/**/*"/>
-->
</fileset>
</ftp>
</target>
</project>