3 ms·
Interesting that a fileset concept has emerged. I would draw parallels with Ant, but this project seems to have already zoomed past ant for ease of use. Can b
by smrtinsert 12y ago
Interesting that a fileset concept has emerged. I would draw parallels with Ant, but this project seems to have already zoomed past ant for ease of use. Can boot be used to build pure java projects as well?
- michaniskin 12y agoI don't see why not. There is a javac task included with the built-in tasks that ship with boot itself, but boot is designed for ease of extension so you can write tasks to implement your particular workflow. You can even write tasks that use Ant or Maven in a pod (pods are a sort of first-class implementation of isolated classloaders in which work can be done). We even have a jRuby task now that can be used as a component of a Ruby build pipeline, so yes, I think boot would be a great way to build Java projects!
- wooby 12y agoSure! A minimal Java project with boot might look like: mkdir -p boot-java/src cd boot-java echo 'public class Main{public static void main(String[]args){System.out.println("hi!");}}' > src/Main.java boot -s src/ javac jar -m Main java -jar target/project.jar