Use "java -jar eomodelgraffle.jar"
[mbp:~] th% mkdir temp
[mbp:~] th% cd temp/
[mbp:~/temp] th% curl -O http://webobjects.mdimension.com/wolips/archives/eomodelgraffle-5994.jar
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent
Left Speed
100 4090k 100 4090k 0 0 343k 0 0:00:11 0:00:11
--:--:-- 335k
[mbp:~/temp] th% java -jar eomodelgraffle-5994.jar
eomodelgraffle -output /path/to/output/Model.graffle [-model /path/to/
model.eomodeld]* [-modelgroup /path/to/working/dir] [-templates /path/
to/templates] [-entityURLTemplate "http://whatever?$
{entity.classNamePath}.html"
[mbp:~/temp] th%
Timo
Am 28.06.2010 um 12:14 schrieb Robert Huber..7r:
> Hi Anjo
>
> I downloaded again your eomodelgraffle.jar app and tried to get it
> work, but I just get in the terminal an error message: -bash: /
> Applications/eomodelgraffle.jar: Permission denied when executing.
> Although I have read/write permissions. chmod 777 didn't help either.
>
> I thought may be under this link are some more infos how to deal
> with your app, but it doesn't work any more: http://bla/cgi-bin/WebObjects/myapp.woa/wa/GraphVizSomeSetting
>
> Did you (or someone else) do some more experiments with this?
>
> Thanks, Robert
>
>
> On 03.12.2009, at 14:58, Anjo Krank wrote:
>
>> It's really not much more than a hack at this point. For example,
>> you would need to have ->> arrows for to-manies, which I can't
>> find. And you could define a view that moves the names of the
>> relationships to the arrows, thus reducing the size of the boxes,
>> or add a flag to not show the attributes, only the relationships.
>> But yeah, it's cool - and very flexible and totally no-work. No
>> shoving around boxes... good ROI so far :)
>>
>> Cheers, Anjo
>>
>> Am 03.12.2009 um 12:22 schrieb David Avendasora:
>>
>>> Brilliant!
>>>
>>> I like pictures, and you are right that the first two are useless,
>>> but using D2* rules to define what is shown is very cool, and
>>> makes the diagram readable.
>>>
>>> Dave
>>>
>>>
>>> On Dec 3, 2009, at 5:55 AM, Anjo Krank wrote:
>>>
>>>> Soo.... this actually turns out to be pretty neat:) From my model
>>>> below, adding
>>>>
>>>> 100: pageConfiguration = GraphVizPayment => visibleEntityNames = (
>>>> "Payment",
>>>> "PaymentType",
>>>> "PaymentChannel",
>>>> "PaymentChannelType"
>>>> )
>>>>
>>>> yields:
>>>>
>>>>
>>>> <pastedGraphic.png>
>>>>
>>>>
>>>> Note that it automatically creates the missing nodes.
>>>>
>>>> Sweet. One *could* make it so it uses the tools directly and
>>>> return the PDF. Right now it only creates the .dot file and you
>>>> still have to open it in the GV app.
>>>>
>>>> Cheers, Anjo
>>>>
>>>>
>>>> Am 03.12.2009 um 11:41 schrieb Anjo Krank:
>>>>
>>>>>
>>>>> Am 02.12.2009 um 18:14 schrieb Mike Schrag:
>>>>>
>>>>>> I whipped up a quick graffle generator: http://webobjects.mdimension.com/wolips/eomodelgraffle-latest.jar
>>>>>
>>>>> Nice work for the 2 hours, but it's worthless for anything > 5
>>>>> entities. There is a heuristic in the D2JS thingy which defines
>>>>> "entity groups", i.e. subsets of entities that "belong" together
>>>>> (possibly by removing lookup entities and ordering by number of
>>>>> inbound/outbound relationships) which *might* be of help to make
>>>>> this mess a bit cleaner.
>>>>>
>>>>> So this looks like:
>>>>>
>>>>> <pastedGraphic.png>
>>>>>
>>>>>
>>>>>
>>>>> The 0:58:33 GraphViz version looks like:
>>>>>
>>>>> <pastedGraphic.png>
>>>>>
>>>>>
>>>>> Which is at least a bit more readable (although it's still a
>>>>> mess). It's based on D2W, so you should be able to call it with
>>>>> ERD2WDirectAction as
>>>>>
>>>>> http://bla/cgi-bin/WebObjects/myapp.woa/wa/GraphVizSomeSetting
>>>>>
>>>>> and (halfway easily) configure the entities to show. DO NOT ASK
>>>>> ME HOW! Look at ERD2WGraphVizPage and adapt/extend/whatever it
>>>>> yourself.
>>>>>
>>>>> Cheers, Anjo
>>>>>
>>>>>
>>>>
>>>
>>> David Avendasora
>>> Senior Software Engineer
>>> K12, Inc.
>>>
>>> *****
>>> WebObjects Documentation Wiki : http://wiki.objectstyle.org/confluence/display/WO/
>>> *****
>>> WebObjects API: http://developer.apple.com/legacy/mac/library/documentation/MacOSXServer/Reference/WO54_Reference/index.html
>>> *****
>>>
>>
>>
>
>
>
> _/ _/ _/ _/ _/ r. huber
> _/
> _/ _/ _/ 7r gmbh
> _/ _/ _/ alpenstrasse 93
> _/ _// ch-8200 schaffhausen
> _/ _/
> _/ _/ tel. +41 52 624 81 15 www.seven-r.ch
>
>
>
This archive was generated by hypermail 2.0.0 : Mon Jun 28 2010 - 10:24:50 UTC