how to compile code from svn into jar file?

I found HTMLUnit is useful for me,but the files are too old.
So I use svn co https://htmlunit.svn.sourceforge.net/svnroot/htmlunit htmlunit to check the code,But I don’t know how to use them.

Is there somebody can tell me how to compile them?

  • Using msysGit from MinGW and vice versa
  • gitignore for VHDL project
  • How can I build my local git repo on external server?
  • Lego Mindstorms ev3 leJOS finding libraries during compilation
  • java - is it possible to choose version number when compile a file?
  • How to set up “Drude model” for Gromacs via git
  • Eclipse Plugin Project with JGit implementation
  • Build jenkins job when push code to bitbucket
  • Unable to install new software/check for updates eclipse
  • Shallow clone with JGIT
  • Eclipse: Some or all projects can not be imported because they already exist in the workspace
  • Heroku Slug Size exceed Limits More than 300m
  • 4 Solutions collect form web for “how to compile code from svn into jar file?”

    I see you have very little knowledge of Subversion.

    I could link you to lots of verbose documentation, but let’s make it quick and easy: what you downloaded is the whole repository, containing lots of redundant code, majorly the three canonical directories branches tags trunk.

    In order to obtain usable code, you either download a stable (tag) version or unstable version (trunk). Advantage of trunk over tag is that it mostly contains new features, but tags are generally stable.

    Try to get the following URL: https://htmlunit.svn.sourceforge.net/svnroot/htmlunit/tags/HtmlUnit-2.8/, then you could try ant to build (I’m no Java expert, does the package have an ant script?)

    You don’t need to take the detour of building it from sources yourself. The latest version is 2.8, and it’s readily available from the Maven central repository. If you’re not using a dependency manager, just grab the jar from here:

    http://repo2.maven.org/maven2/net/sourceforge/htmlunit/htmlunit/2.8/

    Check out the projects instructions on how to get and build the latest version !
    http://htmlunit.sourceforge.net/gettingLatestCode.html.

    It seems it ships as a collection of submodules, each with its own build system (some of them maven, some ant).

    The latest release dates back to August 2010, doesn’t seem to be that old, but if you’re aware of improvements you need which are available only in later versions I suggest you look at their CI server, which provides already the artifacts from the latest build.

    Git Baby is a git and github fan, let's start git clone.