1
다른 디렉토리에 JRuby를 파일을 컴파일 모든 파일을 컴파일합니다.나는 다음과 같은 폴더 구조에서 JRuby를 응용 프로그램이
내 모든 새로 컴파일 된 .class
파일에 'target'디렉토리를 지정하는 방법이 있습니까?
나는 jruby -help
을 보았지만 그 옵션을 찾을 수 없습니다.
다른 디렉토리에 JRuby를 파일을 컴파일 모든 파일을 컴파일합니다.나는 다음과 같은 폴더 구조에서 JRuby를 응용 프로그램이
내 모든 새로 컴파일 된 .class
파일에 'target'디렉토리를 지정하는 방법이 있습니까?
나는 jruby -help
을 보았지만 그 옵션을 찾을 수 없습니다.
**jrubyc** --help
를 실행 시도 ... 당신은 얻을해야합니다
jrubyc [options] (FILE|DIRECTORY)
-d, --dir DIR Use DIR as the base path
-p, --prefix PREFIX Prepend PREFIX to the file path and package. Default is no prefix.
-t, --target TARGET Output files to TARGET directory
-J OPTION Pass OPTION to javac for javac compiles
--java Generate Java classes (.java) for a script containing Ruby class definitions
--javac Generate Java classes (.java and .class) for a script containing Ruby class definitions
-c CLASSPATH, Add a jar to the classpath for building
--classpath
--sha1 Compile to a class named using the SHA1 hash of the source file
--handles Also generate all direct handle classes for the source file
--verbose Log verbose output while compile
은 그래서 당신은 지정해야합니다 --target TARGET/DIR