Share

JHotDraw

Subscribe

No jar distribution and build problems

  1. 2009-10-21 12:49:59 UTC

    Hello, I'd like to use JHotDraw version 7 (I used version 6 in the past), but I'm facing some problems.

    In the latest downloadable distribution (jhotdraw-7.3.1.nested.zip) there's no such thing as a pre-built jar. I tried compiling the project by myself, with no luck: Ant complains about missing libraries and compilation errors. I tired also to check out from SVN: https://jhotdraw.svn.sourceforge.net/svnroot/jhotdraw/tags/jhotdraw-7.3.1/jhotdraw7

    but still no luck...

    Is there an easy way to obtain JHD core and libraries?

    Thanks for the wonderful framework, Dimitri

  2. 2009-10-21 13:12:44 UTC

    Hi Dimitri,

    The prebuilt .jar files are located in the directory JHotDraw 7.3.1/Samples/

    You can launch the sample applications by double clicking a .jar file.

    The only exception is file JHotDraw 7.3.1/Samples/JHotDraw/jhotdraw.jar which contains all compiled class files. You can include this file into the class path of your application.

    When you use Ant to build jhotdraw.jar by yourself, make sure you use the target "jar" in the file build-jhotdraw.xml. This file is located in JHotDraw 7.3.1/Source/jhotdraw7.

    Do not use the file build.xml. This file is "pwned" by the NetBeans IDE. It will only work, if you open the JHotDraw 7.3.1/Source/jhotdraw7 as a NetBeans project, and then resolve the missing references using .jar files located in JHotDraw 7.3.1/Source/jhotdraw7/lib.

    hth, Werner

  3. 2009-10-21 14:43:04 UTC

    Great! Sorry I didn't think that the core library could be in "samples"... now back to work :) Thank you for the quick answer, I'll let you know when my project will be published

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.