quinta-feira, junho 30, 2011

How to build Polarion's SVNWebClient from source

If you ever tried to build a project from source, you are aware it's not usually the easiest thing - so here are a few notes on how to build SVNWebClient:

  • The SVN repository for the project is located here. You'll need a Polarion or Polarion Community account - you can get one (for free) here.
  • Download only the trunk from the repository.
  • You need two source folders on your build path: src/java and src/contrib/standalone. You can safely remove src/contrib/polarion since it's related to other Polarion products. You can also safely remove plugin.xml if you don't want to be bothered by the errors showing on your IDE.
  • You still need some .jar files that are not on their SVN repository. You can find them insite svnwebclient.war, in the WEB-INF/lib folder. Just add them to your build path: svncommons.jar, log4j-1.2.8.jar, ganymed.jar, backport-util-concurrent.jar. You can download the .war here - you'll need your Polarion Community account again. Just open it with WinRAR or a similar, extract and add to your build path.
  • At least on my build (today), the svnkit.jar included on the war above didn't work. I had to download the standalone version of SVNKit 1.3.5.7406 from here just to get it and add it to the classpath.

There you go! Now build with Maven and you're all set!

Um comentário:

André B. disse...

Poxa, parece complicado... =p