Java Developer Guide/Using java-pkg-simple.eclass/Code generation using a Java class

From Gentoo Wiki
Jump to:navigation Jump to:search
CODE Using com.thaiopensource.datatype.xsd.regex.java.gen.NamingExceptionsGen for code generation
einfo "Code generation"
	"$(java-config -J)" -cp "util" \
		com.thaiopensource.datatype.xsd.regex.java.gen.NamingExceptionsGen \
		"com.thaiopensource.datatype.xsd.regex.java.NamingExceptions" \
		"src/main" || die

	"$(java-config -J)" -cp "util" \
		com.thaiopensource.datatype.xsd.regex.java.gen.CategoriesGen \
		"com.thaiopensource.datatype.xsd.regex.java.Categories" \
		"src/main" \
		"/usr/share/unicode-data/UnicodeData.txt" || die