https://github.com/protocols/protocols/blob/master/build.vark
Pretty simple transliteration of what the ant script would look like.
The latest releases of aardvark contain Ivy support to provide dependency management. You can look at ronin's vark file for an example:
https://github.com/kprevas/ronin/blob/master/build.vark
(Side note: I'm currently advocating that we remove the necessity for the ivy configuration files so you don't need any XML for your build system... Maybe I'll try to hack that together today.)
Cheers,
Carson
Carson, I think you misinterpreted the question. I'm pretty sure McKinley is asking for a way to write an Aardvark buildfile in Java, not necessarily for a way to build a Java project (which indeed is one of Aardvark's primary uses).McKinley, unfortunately, I don't have an agreeable answer for you. Aardvark is expressly built to take advantage of the Gosu type system and language - it's more tightly bound than you think.Aardvark uses Gosu in order to parse the .vark build file and it then translates the program instance into an Ant Project. We also use Gosu extensively to make Ant (and Ivy) tasks convenient to use. For example, it's certainly possible to invoke an Ant task from some Java program; the code would look as such:Copy copyTask = new Copy()copyTask.setFile(myOrigFile)copyTask.setTofile(myDestFile)copyTask.execute()While in Gosu/Aardvark, the same operation would be:Ant.copy(:file = myOrigFile, :tofile = myDestFile)If I understand correctly, your issues with coding Aardvark in Gosu come down to(1) inadequate editor support, and thus, lack of quality type-ahead help, and(2) insufficient documentationEditor support will continue to improve over time, but it is admittedly weak at this time. But for the shorter term, I've been meaning to place a top priority on thorough documentation - would that help significantly to encourage you to write your buildfiles in Gosu?