Wednesday, December 15, 2010

Embedding the DiffKit framework in your application

Here is some helpful information for using the DiffKit framework within your Java application.
  • everything you need is inside the binary distribution: diffkit-<release>.zip. In fact, everything you need is within the standalone application: diffkit-app.jar. You do not need the source distribution.
  • unjar diffkit-app.jar. All of the DiffKit api is then in the diffkit- <release>.jar file. That file is (as of this writing) 315KB and you can embed it in your Java application in the same way that you would embed any other jar.
  • all of the diffkit-<release>.jar dependencies are in the lib/ directory that resulted from unjarring diffkit-app.jar. Not all of those jars are hard dependencies-- many of them will only be loaded if you are touching certain functionality. In particular, if you are embedding DiffKit in your application and only programming against the core apis, you do not need to include these jars in your application:
    • groovy-all-<release>.jar — only needed to run the embedded TestCaseRunner.
    • h2-<release>.jar — only needed if you want to use a DKDBSource or DKDBSink that is configured for the H2 database.
    • db2jcc.jar,db2jcc_license_cu.jar — only needed if you want to use a DKDBSource or DKDBSink that is configured for the IBM DB2 database.
    • ojdbc14.jar — only needed if you want to use a DKDBSource or DKDBSink that is configured for the Oracle database.
    • mysql-connector-java-5.1.13-bin.jar — only needed if you want to use a DKDBSource or DKDBSink that is configured for the MySQL database.
    • jtds-1.2.5.jar — only needed if you want to use a DKDBSource or DKDBSink that is configured for the SQL Server database.
    • postgresql-9.0-801.jdbc4.jar — only needed if you want to use a DKDBSource or DKDBSink that is configured for the PostgreSQL database.
    • hsqldb.jar — only needed if you want to use a DKDBSource or DKDBSink that is configured for the HyperSQL database.
    • org.springframework.*.jar — only needed if you want to configure your use of DiffKit via the Spring framework. If all of your DiffKit configuration is programmatic, then you don’t need the Spring jars.
  • The combination of diffkit-<release>.jar + it’s core dependencies (excludes Groovy, Spring and all of the JDBC drivers) is 2.6MB.

24 comments:

  1. For those who enjoy to generate a item to the critical anyone who seem to certainly is in love with a person a large number of, mont blanc set up publishing definitely certainly is the sharp pick for yourself.boligrafos mont blanc , Lots of most people such as comprehensive discipline intended for desserts and herb for one gift idea apart from these there are plenty of who actually don't bring to mind flower or it could be great tasting chocolate bars ever since spectacular found wherever put together blanc placed in publishing are to be highly valued as a result of most of for that prize.ugg baratas , Mt blan

    ReplyDelete
  2. Does anyone have a simple example on how to use the API? I was able to create the DKMagicPlan, but wanted to know where do I pass it so I that it will run and return the results? Thanks.

    ReplyDelete
  3. It takes intense light to make your life easier in dark. kakskachatigrynaandroid.ru With this app you can quickly and easily check your current points from the Fantasy Premier League site.

    ReplyDelete
  4. Die topographische Karte ist voll zoombar bis zu einem Mastab 1:25. download driver App was crashing when tap on the splash screen, now it is resolve.

    ReplyDelete
  5. From this moment on, their lives become webs of deceit and revelation as they vie to outwit and expose each other. downlodable games We put the links to videos of the event in the Video URLs at the bottom.

    ReplyDelete
  6. Please don't miss this opportunity!!DRIVE AS FAR AS YOU CAN GO!Zombies have taken over the world. downlodable tv shows Good to kindergartners, the same as level 1 without the number of each group of kittens shown under the kittens themselves.

    ReplyDelete
  7. Make sure youre on track to pass your driving test with miDrives lesson tracking. This page. Dont miss this opportunity to take your sound to the next level!

    ReplyDelete
  8. To fully appreciate the humor, some awareness of current news and events is required. downlodable activation codes DOWNLOAD New Paris Keyboard NOW and enjoy the beautiful view.

    ReplyDelete
  9. Pieces of a large picture incorporated into a website load much faster than the whole image. http://downloadhq.net It comes with a highly-praised and fast loading options chain, touch based interactive profit/loss graphs, simulator of the time decay, etc.

    ReplyDelete
  10. From Simpaddico: Windows XP/Vista and Mac OS X keyboard shortcuts right at your fingertips! ansi asnt cp 189 RATING: Suitable for adults/young adults who enjoy iconic masterworks of American literature.

    ReplyDelete
  11. Encore mieux, vous pouvez utiliser ces exports pour une intgration immdiate dans le CRM de votre entreprise ou dans votre iPhone. download tv shows Feature: Added Facebook & Twitter buttons on Main Menu.

    ReplyDelete
  12. "Your Words" is a simple but carefully crafted French - Turkish, Turkish - French dictionary. downloadallthingshere.xyz Post is absolutely free to download and use so don't delay, download Post, update your status and get back to your life in record time!

    ReplyDelete
  13. The witty, fanciful Emma has gained the affection of generations of readers. downloadfreefilesfromblog.gdn Bug fixes for iOS 8- Support for iOS 6, 7 and the latest iOS 8If you love our app, please leave your feedback and give us a rating.

    ReplyDelete
  14. This means you can focus your energy where it counts, and connect the rush to the people who they need to be connected with. http://bestdownloadsoftware.club Can you find the character that matches the one shown.

    ReplyDelete
  15. Every time I start my computer it ask for donation and says I have to upgrade. bestdownloadfilesonline.us Block access to your device remotely and display a customized lock-out message onscreen.

    ReplyDelete
  16. Easiest way to categorize photos Collect and sort photos with a beautiful UI - The fastest and most beautiful way to curate and enjoy your memories. topdownloadfilesdirectory.us Looks like the devil's daughter is coming into her own-and raising hell.

    ReplyDelete
  17. Upgrade your castle to add new rooms, to unlock new creatures, and to entice new citizens to live in your kingdom. topdownloadwarezarchive.us Take WeeMees to the next level when you play this fun-filled matching game.

    ReplyDelete