开发者

Rebuild .jar library from source files

Hey guys I have a simple question.

I downloaded and used the jml library to make my own messenger. This all worked until I decided to make an Android version of it. It appe开发者_Go百科ared that I had to change 2 lines in two class files and patch 1 file in the source. So I downloaded the source and did this.

Now I need to make a .jar file out of the source again so I can add it to my project as an "external jar".

Screen of the source folder:

Rebuild .jar library from source files

I hope I could make my question clear.

Thanks in advance,


In your command line use:

java -jar cf <jar-name> <files>

More information here.


Try this, on menu Project -> Properties -> Android, at right pane check Is Library. Build and find your jar file in your project output.


In eclipse, you can export is a *.jar file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜