facha
facha

Reputation: 12522

How to build a jar for a project with no build.xml or pom.xml

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)

Upvotes: 1

Views: 715

Answers (2)

yashpandey8055
yashpandey8055

Reputation: 615

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

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

Upvotes: 2

gRohleder
gRohleder

Reputation: 46

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

Upvotes: 0

Related Questions