[ANT]FTP 배포하기

개발/ETC2014. 1. 28. 18:30
728x90


ANT를 활용하여 배포시에 commons-net-x.x.jar 파일이 필요하다.  /ANT_HOME_DIR/lib 디렉토리에 넣어주면 된다. 
위 에러 내용은 Jenkins에서 나오는 에러를 캡쳐를 한 화면이다. 

 <ftp server="${webFtp.serverIp}"

                                                    port="${webFtp.serverPort}"

                                                    remotedir="${webFtp.dynamicPath}"

                                                    userid="${webFtp.user}"

                                                    password="${webFtp.pass}"

                                                    binary="yes"

                                                    verbose="yes">

                                                                                      <fileset dir="${path.target}/${DAY}/${HOUR}/${path.dynamicWeb}">

                                               <include name="**/*.*"/>

                                               <exclude name="/WEB-INF/web.xml"/>

                                                  <exclude name="/WEB-INF/jboss-web.xml"/>

                                                  <exclude name="/WEB-INF/security-config.xml"/>

                                           </fileset>

</ftp>






728x90

작성자

Posted by 일퍼센트

관련 글

댓글 영역