0

I'd like to build a github project from source (https://github.com/rbheemana/Cobol-to-Hive/tree/master).

There seems to be no pom.xml or build.xml anywhere, just a bunch of .java files. Is it possible to build? As a result I need a jar file (like this one https://github.com/rbheemana/Cobol-to-Hive/blob/gh-pages/target/CobolSerde.jar)

facha
  • 11,862
  • 14
  • 59
  • 82

2 Answers2

2

Here is a documentation to build a Jar from your Eclipse project .

https://www.cs.utexas.edu/~scottm/cs307/handouts/Eclipse%20Help/jarInEclipse.htm

voucher_wolves
  • 565
  • 10
  • 20
0

Suns documentation covers that, before maven & co it was done in this way: http://docs.oracle.com/javase/tutorial/deployment/jar/build.html

gRohleder
  • 46
  • 4
  • But what are the correct steps? Creating a jar archive is a final step, when everything is already compiled. What do I have to do first? Complie all java files one by one with javac? What about resolving dependencies? – facha Oct 27 '16 at 12:30
  • http://stackoverflow.com/questions/864630/can-i-use-javac-to-compile-a-project-with-multiple-files-and-directories – gRohleder Oct 28 '16 at 06:43