[daisy] Sketch Editor 1.0

Karel Vervaeke karel at outerthought.org
Tue Jun 10 17:30:47 CEST 2008


I understand, but it is unclear to me which JHotDraw jar file you are
using (There are a whole bunch of jar files in the JHotDraw
distribution).  As far as I understand you are using the jar file from
the 'Draw' sample application (one of the files below - it is unclear to
me what the relation between them is and whether or not they depend on
each other)

./Draw/jhotdraw_draw.jar
./Draw/JHotDraw Draw.jar
./Draw/jhotdraw_draw_signed.jar
./Draw/libquaqua.jnilib_signed.jar
./Draw/JHotDraw Draw_signed.jar

The applet jarfile also contains some org.jhotdraw.** classfiles
* this is not necessarily bad, but it would be nicer to keep them in a
separate jarfile (i.e. reuse a pre-built jarfiles if it is available or
build from source when building the applet)

Regards,
Karel

On Tue, 2008-06-10 at 16:58 +0200, Michael Hänni wrote:
> Hi Karel
> 
> Contrary to the mentioned suggestion of JhotDraw, my applet uses a 
> jhotdraw-jar file as a library. It was not my intention to put JHotDraw 
> source code into the daisy codebase.
> All the jar files of my applet go into the Daisy-Wiki folder:
> - two go into daisyhome\daisywiki\webapp\WEB-INF\lib
> - one goes into daisyhome\daisywiki\webapp\daisy\resources\sketchApplet
> 
> I will change my zip-file, so that it contains a working build and build 
> instructions.
> 
> Regards,
> Michael
> 
> 
> Karel Vervaeke schrieb:
> > I could not find which jar file to put in our repository, I completely
> > disagree with the last paragraph of 
> >
> > http://www.randelshofer.ch/oop/jhotdraw/guide/Documentation/getting_started.html
> >
> > Can you document your code in a way which makes it clear how everything
> > ties together (which jar file comes from where?)  I will not agree to
> > copying the code from other projects into the daisy codebase as
> > described on that page, it makes no sense to me.  I hope we can come to
> > a more sensible solution (e.g. one where jhotdraw is built from source
> > as part of building the applet, just like cocoon is built from source
> > when the wiki is built.
> >
> > Sorry for the inconvenience,
> > Karel
> >
> >
> >
> > On Tue, 2008-06-10 at 16:02 +0200, Michael Hänni wrote:
> >   
> >> Hi Karel,
> >>
> >> great to hear this!
> >> I will do the changes you mentioned, and provide a new zip file within a 
> >> week or two.
> >>
> >> Regards,
> >> Michael
> >>
> >> Karel Vervaeke schrieb:
> >>     
> >>> Yes, we are still interested in integrating the editor (i.e. evaluate
> >>> whether its implementation is of sufficient quality).  I was planning to
> >>> do this somewhere before the next Daisy release (september), but it is
> >>> too soon to say when I will have time to do so.
> >>>
> >>> In the mean time, I had a quick look.  Perhaps I overlooked, but I did
> >>> not find the source-code for your work.
> >>> Also, was there a reason to merge your code and jhotdraw code in one jar
> >>> file? (It should be possible to run applets with different jarfiles, so
> >>> there is no need to do that).
> >>>
> >>> If you could structure the zip-file so that it contains a working
> >>> build and build instructions, it would be very helpful.
> >>> 
> >>> I am currently working on another applet, which is built using maven.
> >>> http://svn.cocoondev.org/viewsvn/branches/BRANCH_EDIT_APPLET/daisy/applications/daisywiki/parteditor-applet/
> >>>
> >>> * ideally, your build should prepare a directory structure which is
> >>> identical to the contents of your zipfile), the wiki frontend script
> >>> will copy all resources to the appropriate locations
> >>> * The jhotdraw dependency does not need to be included in your code
> >>> (maven, the build tool used for daisy takes care of downloading
> >>> dependencies, for your convenience I have already put the jhotdraw jar
> >>> file up on the maven repository at svn.cocoondev.org).  You you may want
> >>> to have a look at how the daisywiki frontend build scripts copies
> >>> dependencies to its target directory.
> >>>
> >>> Apart from that, I also noticed that your classes are compiled with Java
> >>> 6.  Because the applets should run on as many clients as possible, you
> >>> should get it down at least to Java 1.5 (Apparently there still is no
> >>> Java 6 for Mac(?))  This should not be a problem, it is usually a matter
> >>> of compiler settings.
> >>>
> >>> Regards,
> >>> Karel
> >>>
> >>> On Tue, 2008-06-10 at 14:34 +0200, Michael Hänni wrote:
> >>>   
> >>>       
> >>>> Hello
> >>>>
> >>>> On 15/May/08 I posted a first version of my Sketch Editor on the daisy 
> >>>> issue tracker. Meanwhile, I added some functionality, and fixed some 
> >>>> errors. I put the current version again on the issue tracker. Are you 
> >>>> interested in integrating this editor to the Daisy project?
> >>>> Please let me know in the next 1-2 weeks, as my internship ends by the 
> >>>> end of June.
> >>>>
> >>>> Regards,
> >>>> Michael
> >>>>
> >>>> _______________________________________________
> >>>> daisy community mailing list
> >>>> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> >>>> mail to: daisy at lists.cocoondev.org
> >>>> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
> >>>>     
> >>>>         
> >>> _______________________________________________
> >>> daisy community mailing list
> >>> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> >>> mail to: daisy at lists.cocoondev.org
> >>> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
> >>>   
> >>>       
> >> _______________________________________________
> >> daisy community mailing list
> >> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> >> mail to: daisy at lists.cocoondev.org
> >> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
> >>     
> > _______________________________________________
> > daisy community mailing list
> > Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> > mail to: daisy at lists.cocoondev.org
> > list information: http://lists.cocoondev.org/mailman/listinfo/daisy
> >   
> 
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy


More information about the daisy mailing list