The git feature is pretty unsophisticated - I'm not sure if it even uses the haxelib.xml file...
Generally I think the way it works when you run the command is:
- The git repo is cloned into {yourhaxelibfolder}/away3d/git/
- The equivalent command of "haxelib dev away3d {yourhaxelibfolder}/away3d/git/haxelib/ is run.
- When this command is run, the text value of the ".current" file is set to the word "dev"
- If you run 'haxelib list', the version of AS3 that is selected (in brackets) should be "dev", with a path to the git folder.
- Any dependencies described in "haxelib.xml" will be ignored... you will have to include them yourself in your hxml file.
Given this, a few things that might help you figure out the problem:
- Check that you have write-permission for the haxelib folder. On Linux I get a similar error message if I don't run haxelib as root/administrator.
- The Away3D repository appears to use submodules, which haxelib probably doesn't initialise. Try following their second set of instructions in the README, which has `git submodule init` etc.
- If the install is successful but the project won't compile, check if Away3D has any dependencies you need to include in your hxml build file.
Hope this helps
If not, maybe one of the maintainers of the haxe-away3d Github repo can help you...
Jason