Go into src and compile with Javac -d . net/interaxia/haxer/Haxer.java
Then run java net.interaxia.haxer.Haxer:
java net.interaxia.haxer.Haxer "/Users/beastadmin/Documents/Backup/src" "/Users/beastadmin/Documents/Atmospherian-Haxer-455fc86/src/convert/"
I got an error that traced back to reading the package name to save the files so I changed that and recompiled:
Exception in thread "main" java.lang.NullPointerException
at net.interaxia.haxer.Haxer.saveOutputFile(Haxer.java:49)
at net.interaxia.haxer.Haxer.main(Haxer.java:41)
//Line 48 below...
private static void saveOutputFile(String rootFolder, HaxeFile file) {
String destinationPath = rootFolder; //Change here @ Line 49 to this
//...
}
//...
Resources:
Some Java compilation discussion in regards to Haxer that sort of helped:
http://forums.devx.com/showthread.php?t=27494
The Haxer source code:
https://github.com/Atmospherian/Haxer/blob/master/src/net/interaxia/haxer/Haxer.java
The AS3tohaxe source code: (but I didn't have time to install Haskell environment)
https://github.com/geekrelief/as3tohaxe
Then run java net.interaxia.haxer.Haxer:
java net.interaxia.haxer.Haxer "/Users/beastadmin/Documents/Backup/src" "/Users/beastadmin/Documents/Atmospherian-Haxer-455fc86/src/convert/"
I got an error that traced back to reading the package name to save the files so I changed that and recompiled:
Exception in thread "main" java.lang.NullPointerException
at net.interaxia.haxer.Haxer.saveOutputFile(Haxer.java:49)
at net.interaxia.haxer.Haxer.main(Haxer.java:41)
//Line 48 below...
private static void saveOutputFile(String rootFolder, HaxeFile file) {
String destinationPath = rootFolder; //Change here @ Line 49 to this
//...
}
//...
Resources:
Some Java compilation discussion in regards to Haxer that sort of helped:
http://forums.devx.com/showthread.php?t=27494
The Haxer source code:
https://github.com/Atmospherian/Haxer/blob/master/src/net/interaxia/haxer/Haxer.java
The AS3tohaxe source code: (but I didn't have time to install Haskell environment)
https://github.com/geekrelief/as3tohaxe
No comments:
Post a Comment