Jex1.gms : GDX를 읽고 쓰기 위한 전문가 수준의 Java API 테스트

설명

기고자: Lutz Westermann, 2012년 10월

소형 모델 유형 :자바


카테고리 : 슬롯 무료체험 API 라이브러리


메인 파일 : Jex1.gms

$title 'GDX를 읽고 쓰기 위한 전문가 수준 Java API 테스트' (JEX1,SEQ=10)

$onText
기고자: Lutz Westermann, 2012년 10월
$offText

$set srcRoot %슬롯 무료체험sysdir%apifiles%system.dirsep%Java%system.dirsep%

$ 세트 P
$if %system.filesys% == UNIX $set P -p
$설정되지 않은 경우 jcomp $set jcomp javac

$call rm -rf Demanddata.gdx com

$call mkdir %P% com%system.dirsep%슬롯 무료체험%system.dirsep%api
$call mkdir %P% com%system.dirsep%슬롯 무료체험%system.dirsep%xp_examples
$call %jcomp% "%srcRoot%xp_example1.java" "%srcRoot%api%system.dirsep%gdx.java" "%srcRoot%api%system.dirsep%gamsglobals.java" -d .
$if errorlevel 1 $abort 'xp_example1.java 컴파일 문제'
$call java -cp . -Djava.library.path="%srcRoot%api" com.슬롯 무료체험xp_examples.xp_example1 "%슬롯 무료체험sysdir%."
$if errorlevel 1 $abort 'GDX 파일을 쓰는 xp_example1 실행 중 문제 발생'
$call gdxdiffdemanddata.gdxdemandwant.gdx
$if errorlevel 1 $abort '수요 데이터가 예상과 다릅니다.'
$call java -cp . -Djava.library.path="%srcRoot%api" com.슬롯 무료체험xp_examples.xp_example1 "%슬롯 무료체험sysdir%." trnsport.gdx
$if errorlevel 1 $abort 'GDX 파일을 읽는 xp_example1 실행 문제'