All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jtransc.gen.common._ManualTests.kt Maven / Gradle / Ivy

package com.jtransc.gen.common

import com.jtransc.gen.common._Base

class _ManualTests : _Base() {
	//@Test fun test123() {
	//	val classPaths = arrayListOf()
	//	classPaths.add("/Users/soywiz/Projects/jtransc-examples/tic-tac-toe-kotlin/build/classes/main")
	//	classPaths.add("/Users/soywiz/.m2/repository/com/jtransc/jtransc-rt-core/0.5.0-ALPHA4/jtransc-rt-core-0.5.0-ALPHA4.jar")
	//	classPaths.add("/Users/soywiz/.m2/repository/com/jtransc/media/jtransc-media-core/0.5.0-ALPHA4/jtransc-media-core-0.5.0-ALPHA4.jar")
	//	classPaths.add("/Users/soywiz/.m2/repository/com/jtransc/media/jtransc-media-game/0.5.0-ALPHA4/jtransc-media-game-0.5.0-ALPHA4.jar")
	//	classPaths.add("/Users/soywiz/.m2/repository/com/jtransc/media/jtransc-media-libgdx/0.5.0-ALPHA4/jtransc-media-libgdx-0.5.0-ALPHA4.jar")
	//	classPaths.add("/Users/soywiz/.m2/repository/com/jtransc/media/jtransc-media-lime/0.5.0-ALPHA4/jtransc-media-lime-0.5.0-ALPHA4.jar")
	//	classPaths.add("/Users/soywiz/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.1.0/kotlin-stdlib-1.1.0.jar")
	//	classPaths.add("/Users/soywiz/.m2/repository/org/jetbrains/kotlin/kotlin-runtime/1.1.0/kotlin-runtime-1.1.0.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-backend-lwjgl/1.9.3/88bc98f6155e1f63462ba03622ffaf25557dccc0/gdx-backend-lwjgl-1.9.3.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.9.3/56b040cddca30bd248c8453863f71bad77adb107/gdx-platform-1.9.3-natives-desktop.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx/1.9.3/1a3775429980a6c8da0cdefb656ad1dabf91d629/gdx-1.9.3.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.2/a9d80fe5935c7a9149f6584d9777cfd471f65489/lwjgl-2.9.2.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl_util/2.9.2/4b9e37300a87799856e0bd15ed81663cdb6b0947/lwjgl_util-2.9.2.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/com.badlogicgames.jlayer/jlayer/1.0.1-gdx/7cca83cec5c1b2f011362f4d85aabd71a73b049d/jlayer-1.0.1-gdx.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/org.jcraft/jorbis/0.0.17/8872d22b293e8f5d7d56ff92be966e6dc28ebdc6/jorbis-0.0.17.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.2/510c7d317f5e9e700b9cfaac5fd38bdebf0702e0/lwjgl-platform-2.9.2-natives-windows.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.2/d276cdf61fe2b516c7b7f4aa1b8dea91dbdc8d56/lwjgl-platform-2.9.2-natives-linux.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.2/d55b46b40b40249d627a83a7f7f22649709d70c3/lwjgl-platform-2.9.2-natives-osx.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput/2.0.5/39c7796b469a600f72380316f6b1f11db6c2c7c4/jinput-2.0.5.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/net.java.jutils/jutils/1.0.0/e12fe1fda814bd348c1579329c86943d2cd3c6a6/jutils-1.0.0.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/7ff832a6eb9ab6a767f1ade2b548092d0fa64795/jinput-platform-2.0.5-natives-linux.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/385ee093e01f587f30ee1c8a2ee7d408fd732e16/jinput-platform-2.0.5-natives-windows.jar")
	//	classPaths.add("/Users/soywiz/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/53f9c919f34d2ca9de8c51fc4e1e8282029a9232/jinput-platform-2.0.5-natives-osx.jar")
	//	classPaths.add("/Users/soywiz/Projects/jtransc-examples/tic-tac-toe-kotlin/resources")
	//	classPaths.add("/Users/soywiz/Projects/jtransc-examples/tic-tac-toe-kotlin/assets")
//
	//	val injector = Injector()
	//	val projectRoot = locateProjectRoot()
//
	//	injector.mapInstances(BACKEND, ConfigClassPaths(classPaths))
	//	injector.mapImpl()
	//	injector.mapInstance(ConfigMinimizeNames(false))
	//	injector.mapInstance(ConfigTreeShaking(true, true))
//
	//	JTranscBuild(
	//		injector = injector,
	//		target = JsTarget(),
	//		entryPoint = "com.jtransc.examples.tictactoe.TicTacToeTransc",
	//		output = "program.haxe.js", subtarget = "js",
	//		//output = "program.haxe.cpp", subtarget = "cpp",
	//		targetDirectory = System.getProperty("java.io.tmpdir") + "/jtransc/0_0",
	//		settings = AstBuildSettings(
	//			jtranscVersion = JTranscVersion.getVersion(),
	//			debug = true,
	//			relooper = true,
	//			analyzer = true,
	//			rtAndRtCore = listOf(
	//				projectRoot["jtransc-rt/target/classes"].realpathOS,
	//				projectRoot["jtransc-rt/build/classes/main"].realpathOS,
	//				projectRoot["jtransc-rt/build/resources/main"].realpathOS,
	//				projectRoot["jtransc-rt-core/target/classes"].realpathOS,
	//				projectRoot["jtransc-rt-core/build/classes/main"].realpathOS,
	//				projectRoot["jtransc-rt-core/build/resources/main"].realpathOS
	//			)
	//		)
	//	).buildAndRunCapturingOutput()
	//}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy