Ant로 빌드시 다음의 경고가 나타났다.
warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
Buildfile: D:\Dev_home\workspace\springapp\build.xml
build:
[javac] D:\Dev_home\workspace\springapp\build.xml:44: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
BUILD SUCCESSFUL
Total time: 262 milliseconds
build.xml 을 다음과 같이 수정
<target name="build" description="Compile main source tree java files">
<mkdir dir="${build.dir}"/>
<javac destdir="${build.dir}" source="1.6" target="1.6" debug="true"
deprecation="false" optimize="false" failonerror="true" includeantruntime="false">
<src path="${src.dir}"/>
<classpath refid="master-classpath"/>
</javac>
</target>
위 옵션은 ant의 클래스 패스를 클래스패스에 포함시킨다는 내용 false 처리함(default=yes)
'FullStack > 21. Java' 카테고리의 다른 글
[WARN] Using platform encoding (MS949 actually) to copy filtered resources, i.e. build is platform dependent! (0) | 2012.05.30 |
---|---|
Pdf 한글 출력 (0) | 2012.05.18 |
[ANT] taskdef class org.apache.catalina.ant.InstallTask cannot be found (0) | 2012.03.30 |
Recompile with -Xlint:unchecked for details (0) | 2011.05.25 |
Spring Framework (0) | 2007.06.22 |