I have a very simple project, with just 8 Java files and a few images. No build tools, I just do javac
in terminal. Is it possible to just build those? Otherwise, how would I convert my project to ANT or Maven? I'm confused, thanks.
Build them to what? Does Travis create an executable JAR as the package?
I use Jenkins; not familiar with Travis. Any CI tool will need a script to execute.
Is it possible to just build those?
Yes, of course. If you want to ask Travis to run javac for you, by all means do so using whatever hooks it provides for you.
Otherwise, how would I convert my project to ANT or Maven?
If you're confused, start with Ant. You'd create a build.xml
with the <javac>
task. You won't have to change anything with your current project.
I'd recommend Maven, except for the fact that you're confused. Maven will help you with dependency management and lifecycle. You'd have to rearrange your project to conform to the Maven standard directory structure and create a pom.xml
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With