본문 바로가기
TOMCAT/cannot get a connection, pool exhausted

warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

by 정윤재 2011. 5. 11.

ant 로 빌드시

[WAPLINUX:proxy:ProcessListAppEquipWatch] ant
Buildfile: /project/proxy/yunchae/ProcessListAppEquipWatch/build.xml

build-subprojects:

init:
     [copy] Copying 15 files to /project/proxy/yunchae/ProcessListAppEquipWatch/classes

build-project:
     [echo] ProcessListAppEquipWatch: /project/proxy/yunchae/ProcessListAppEquipWatch/build.xml
    [javac] /project/proxy/yunchae/ProcessListAppEquipWatch/build.xml:47: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 7 source files to /project/proxy/yunchae/ProcessListAppEquipWatch/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

build:

BUILD SUCCESSFUL
Total time: 1 second

라고 하면서 warning 이 뜨는데

  <javac debug="true" debuglevel="${debuglevel}" destdir="classes" source="${source}" target="${target}" includeantruntime="false">

위와 같이 javac 태그에 includeantruntime="false" 를 추가 해 주면 된다.
위 옵션은 ant의 클래스 패스를 클래스패스에 포함시킨다는 내용이므로 전혀 쓸데가 없으므로
false 처리함(default=yes)



댓글