sitelink1 | |
---|---|
sitelink2 | |
sitelink3 |
1. build.properties
2. build.xml
######################################################################################
# for Deploy (location at the Web Service)
######################################################################################
webApp.root =${basedir}/WebContent
target.root =${basedir}/Honban_litesneo
source.root =${basedir}/HonbanSource
######################################################################################
# Basic
######################################################################################
projectName =litesneo_dev
src.path =${basedir}/src
lib.path =${webApp.root}/WEB-INF/lib
env.path =${webApp.root}/WEB-INF/env
images.path =${webApp.root}/images
script.path =${webApp.root}/script
metaFiles.path =${source.root}/meta
buildFiles.path =${source.root}/build
etcFiles.path =${source.root}/etc
envFiles.path =${source.root}/env
# for Deploy (location at the Web Service)
######################################################################################
webApp.root =${basedir}/WebContent
target.root =${basedir}/Honban_litesneo
source.root =${basedir}/HonbanSource
######################################################################################
# Basic
######################################################################################
projectName =litesneo_dev
src.path =${basedir}/src
lib.path =${webApp.root}/WEB-INF/lib
env.path =${webApp.root}/WEB-INF/env
images.path =${webApp.root}/images
script.path =${webApp.root}/script
metaFiles.path =${source.root}/meta
buildFiles.path =${source.root}/build
etcFiles.path =${source.root}/etc
envFiles.path =${source.root}/env
2. build.xml
<?xml version="1.0" encoding="Shift_JIS"?>
<!-- NEC litesNeo System copy process file by Lee Ki Eun (cugain@gmail.com) -->
<project name="litesneo_dev" default="start" basedir="..">
<property file="build/build.properties"/>
<target name="start" depends="init, copyfiles" />
<target name="init">
<mkdir dir="${target.root}" />
<mkdir dir="${target.root}/build" />
<mkdir dir="${target.root}/lib" />
<mkdir dir="${target.root}/resource" />
<mkdir dir="${target.root}/src" />
</target>
<target name="copyfiles">
<copy todir="${target.root}/build" verbose="true" preservelastmodified="true">
<fileset dir="${buildFiles.path}" />
</copy>
<copy todir="${target.root}/lib" verbose="true" preservelastmodified="true">
<fileset dir="${lib.path}" />
</copy>
<copy todir="${target.root}/resource/env" verbose="true" preservelastmodified="true">
<fileset dir="${env.path}" excludes="environment.xml, trace.xml"/>
</copy>
<copy file="${webApp.root}/browse.css" todir="${target.root}/resource/html" verbose="true" preservelastmodified="true" />
<copy file="${webApp.root}/common.css" todir="${target.root}/resource/html" verbose="true" preservelastmodified="true" />
<copy file="${webApp.root}/dummy.htm" todir="${target.root}/resource/html" verbose="true" preservelastmodified="true" />
<copy file="${webApp.root}/dummy2.htm" todir="${target.root}/resource/html" verbose="true" preservelastmodified="true" />
<copy file="${webApp.root}/index.htm" todir="${target.root}/resource/html" verbose="true" preservelastmodified="true" />
<copy file="${webApp.root}/litesneo.css" todir="${target.root}/resource/html" verbose="true" preservelastmodified="true" />
<copy todir="${target.root}/resource/images" verbose="true" preservelastmodified="true">
<fileset dir="${images.path}" />
</copy>
<copy todir="${target.root}/resource/meta" verbose="true" preservelastmodified="true">
<fileset dir="${metaFiles.path}" />
</copy>
<copy file="${webApp.root}/WEB-INF/web.xml" todir="${target.root}/resource/meta/" verbose="true" preservelastmodified="true" />
<copy file="${webApp.root}/WEB-INF/weblogic.xml" todir="${target.root}/resource/meta/WebLogic" verbose="true" preservelastmodified="true" />
<copy todir="${target.root}/resource/script" verbose="true" preservelastmodified="true">
<fileset dir="${script.path}" />
</copy>
<copy todir="${target.root}/src" verbose="true" preservelastmodified="true">
<fileset dir="${src.path}" />
</copy>
<copy file="${etcFiles.path}/build.bat" todir="${target.root}" verbose="true" preservelastmodified="true" />
<copy file="${etcFiles.path}/build.xml" todir="${target.root}" verbose="true" preservelastmodified="true" />
<copy todir="${target.root}/resource/env" verbose="true" preservelastmodified="true">
<fileset dir="${envFiles.path}" />
</copy>
</target>
<target name="remove">
<delete dir="${target.root}"/>
</target>
</project>
<!-- NEC litesNeo System copy process file by Lee Ki Eun (cugain@gmail.com) -->
<project name="litesneo_dev" default="start" basedir="..">
<property file="build/build.properties"/>
<target name="start" depends="init, copyfiles" />
<target name="init">
<mkdir dir="${target.root}" />
<mkdir dir="${target.root}/build" />
<mkdir dir="${target.root}/lib" />
<mkdir dir="${target.root}/resource" />
<mkdir dir="${target.root}/src" />
</target>
<target name="copyfiles">
<copy todir="${target.root}/build" verbose="true" preservelastmodified="true">
<fileset dir="${buildFiles.path}" />
</copy>
<copy todir="${target.root}/lib" verbose="true" preservelastmodified="true">
<fileset dir="${lib.path}" />
</copy>
<copy todir="${target.root}/resource/env" verbose="true" preservelastmodified="true">
<fileset dir="${env.path}" excludes="environment.xml, trace.xml"/>
</copy>
<copy file="${webApp.root}/browse.css" todir="${target.root}/resource/html" verbose="true" preservelastmodified="true" />
<copy file="${webApp.root}/common.css" todir="${target.root}/resource/html" verbose="true" preservelastmodified="true" />
<copy file="${webApp.root}/dummy.htm" todir="${target.root}/resource/html" verbose="true" preservelastmodified="true" />
<copy file="${webApp.root}/dummy2.htm" todir="${target.root}/resource/html" verbose="true" preservelastmodified="true" />
<copy file="${webApp.root}/index.htm" todir="${target.root}/resource/html" verbose="true" preservelastmodified="true" />
<copy file="${webApp.root}/litesneo.css" todir="${target.root}/resource/html" verbose="true" preservelastmodified="true" />
<copy todir="${target.root}/resource/images" verbose="true" preservelastmodified="true">
<fileset dir="${images.path}" />
</copy>
<copy todir="${target.root}/resource/meta" verbose="true" preservelastmodified="true">
<fileset dir="${metaFiles.path}" />
</copy>
<copy file="${webApp.root}/WEB-INF/web.xml" todir="${target.root}/resource/meta/" verbose="true" preservelastmodified="true" />
<copy file="${webApp.root}/WEB-INF/weblogic.xml" todir="${target.root}/resource/meta/WebLogic" verbose="true" preservelastmodified="true" />
<copy todir="${target.root}/resource/script" verbose="true" preservelastmodified="true">
<fileset dir="${script.path}" />
</copy>
<copy todir="${target.root}/src" verbose="true" preservelastmodified="true">
<fileset dir="${src.path}" />
</copy>
<copy file="${etcFiles.path}/build.bat" todir="${target.root}" verbose="true" preservelastmodified="true" />
<copy file="${etcFiles.path}/build.xml" todir="${target.root}" verbose="true" preservelastmodified="true" />
<copy todir="${target.root}/resource/env" verbose="true" preservelastmodified="true">
<fileset dir="${envFiles.path}" />
</copy>
</target>
<target name="remove">
<delete dir="${target.root}"/>
</target>
</project>
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
12 |
Ant 로 Java Application 실행시 Target 에 파라미터를 입력하여 Arguments 로 전달하여 실행시키기
![]() | 황제낙엽 | 2012.06.05 | 2226 |
11 | ANT에서 Classpath 설정시 순서 주의 | 황제낙엽 | 2010.07.10 | 451 |
10 | Ant에서 "${java.class.path}"이 의미하는바 | 황제낙엽 | 2010.07.10 | 120 |
9 | ANT 를 이용한 RMI 컴파일 ( rmic 로 stub 생성하기 ) | 황제낙엽 | 2010.05.26 | 114 |
8 | Jakarta Ant II탄 상세편 | 황제낙엽 | 2007.01.24 | 113 |
7 | Jakarta Ant I탄 기본편 | 황제낙엽 | 2007.01.24 | 76 |
6 | 1900개가 넘는 java컴파일시 Ant의 설정 | 황제낙엽 | 2007.02.28 | 898 |
5 |
Ant 의 사용 용례와 사용법
![]() | 황제낙엽 | 2007.07.16 | 91 |
4 | Ant로 UTF-8 엔코딩하기 (프로젝트 변환) | 황제낙엽 | 2007.07.03 | 168 |
» |
ANT 작성예제 (build.xml , build.properties)
![]() | 황제낙엽 | 2007.05.16 | 104 |
2 | Eclipse에서 Ant+xdoclet 를 이용한 web.xml, struts-config.xml 자동생성 | 황제낙엽 | 2007.03.03 | 219 |
1 | Eclipse 의 auto compile 과 ANT의 compile | 황제낙엽 | 2007.02.28 | 347 |