• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOReporter Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOReporter Question


  • Subject: Re: EOReporter Question
  • From: Kieran Kelleher <email@hidden>
  • Date: Thu, 4 Nov 2004 16:55:14 -0500

So after fiddling a bit more with EOReporter command line arguments, I was able to get a nice (the .css is now there Chuck!) html interactive documentation (one page per entity) and an index page. Example here:
http://smartleadsusa.dyndns.biz/eoreporter/cheetah/index.html
(the incorrectly generated prototype column displays better with IE than other Mac browsers unfortunately)

I also succeeded in generating one big html for everything which is ideal for printing but navigation does not work (this required specifying one of the non-default template that comes with EOReporter).
http://smartleadsusa.dyndns.biz/eoreporter/cheetah_full_modkk.html

I noticed the following issues, which probably can be solved by modifying the templates (and I don't have the time to play with MiscMerge template scripting right now!), so if anyone has up to date improved EOReporter templates to share, it would make me very happy :0)

And by the way, I am not complaining about this great free tool! As we say in the remote mountainous regions of Ireland .. "Never look a gift horse in the mouth!". Thanks to the great guys at rubicode, I can print a document of everything and audit all my attributes, relationships and fetchspecs from one document which is a little easier than navigating the EOModel with the Inspector window and waiting until debug time to fix model issues.

Issues:
1) The prototypes column in the attributes tables are not generated properly by the template. It leaves out <td> tags for those rightmost cells.
2) The anchor navigation does not work on the full page model generated docs ... so these are good for printing and the interactive ones (where navigation links do work) are good for browsing on your computer.

This is good enough for me now anyway .... "best is the enemy of good enough".

Is there any other tools that people use for documenting their EOModel besides EOReporter?

-Kieran

________________________________________________________________
Dev Config = OS X 10.3.5 / Java 1.4.2_05 / WO 5.2.3 / XCode v1.5 / MySQL 4.0.20 / Connector-J 3.0.11
Deploy Config = OS X 10.3.5 Server / Java 1.4.2_05 / WO 5.2.3 / MySQL 4.0.20 / Connector-J 3.0.11
My Blog: http://webobjects.webhop.org/


On Nov 4, 2004, at 11:27 AM, Chuck Hill wrote:

Well, there is this cool technology called Cascading Style Sheets. :0) Take a look in the HTML you posted, near the top:
<link href="stylesheet.css" rel="stylesheet" type="text/css">

I get a 404 from this URL:
http://smartleadsusa.dyndns.biz/stylesheet.css

Me thinks that may be at least part of your problem.

Chuck


On Nov 4, 2004, at 7:21 AM, Kieran Kelleher wrote:

I was looking for a cheap (free) way to document my EOModel.

I tried to use EOReporter from the generous RubiCode folks
http://www.rubicode.com/Software/EOReporter/
... but I did not get the output I expected.

Here is the command line I used:
[KieranMac:~/Applications/EOReporter] kieran% ./eoreporter -modeldoc -models /Users/kieran/DevProjects/Cheetah/Code/cheetah/cheetah.eomodeld -templatedir /Users/kieran/Applications/EOReporter/Templates

Here is the resulting terminal messages:
2004-11-03 16:11:18.586 eoreporter[607] *** EOControlJava:_RemoveMethodListContainingSelector -- failed to find method list containing validateValue:forKey:
objc: Both /System/Library/Frameworks/JDBCEOAdaptor.framework/JDBCEOAdaptor and /System/Library/Frameworks/JDBCEOAdaptor.framework/Versions/UNSPECIFIED/JDBCEOAdaptor have implementations of class WOBlankClass.
objc: Using implementation from /System/Library/Frameworks/JDBCEOAdaptor.framework/Versions/UNSPECIFIED/JDBCEOAdaptor.
Generated ./cheetah.html

The resulting cheetah.html shown here...
http://smartleadsusa.dyndns.biz/cheetah.html
.... is certainly nothing like the example output shown here!
http://www.rubicode.com/Software/EOReporter/bymodel/Movies.html

Is EOReporter obsolete for WO 5.2.3, and if not has
anyone got any tips/clues on how to get EOReporter working properly or alternative EOModel documenters?

Regards and thanks, Kieran

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: EOReporter Question
      • From: Stephen Dunn <email@hidden>
References: 
 >EOReporter Question (From: Kieran Kelleher <email@hidden>)
 >Re: EOReporter Question (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Performance
  • Next by Date: Fetch vs Qualifier on a Relationship Array
  • Previous by thread: Re: EOReporter Question
  • Next by thread: Re: EOReporter Question
  • Index(es):
    • Date
    • Thread