Re: protege-discussion Digest, Vol 76, Issue 39

Csongor Nyulas <[email protected]>
Newsgroups gmane.comp.misc.ontology.protege.general
Message-ID <[email protected]>
Dear Andre Luiz,

As Timothy mentioned, the OntologyBeanGenerator plug-in is for Protege 3.

I have updated the plugin description on the Protege wiki at:
     http://protegewiki.stanford.edu/wiki/OntologyBeanGenerator
where you can see which versions of the plugin works with which version 
of Protege.
You will also see that latest versions of the plug-in is 4.1:
     http://protegewiki.stanford.edu/wiki/OntologyBeanGenerator_4.1
(Use the "Download" link provided in the info box to get the plug-in).

As you can see on the main plugin wiki page, *all the different versions 
of this plugin work with the Protege 3.x series*.
In other words, *you cannot use this plugin with Protege 4.X*.

Csongor


On 12/3/2012 12:47 PM, André Luiz Tietböhl Ramos wrote:
> Dear Timothy,
>
> Thanks for the reply.  Read my comments below please,
>
> > I don't actually know much about this plugin but it looks like it is a
> > Protege 3 plugin.  If this is right then you need to install and use it
> > with Protege 3 and not Protege 4.
>
> >The latest Protege 4.2 also has a code generation capability but I don't
> >know how this compares to the ontology bean generator.
>
>
>     [1]http://protegewiki.stanford.edu/wiki/OntologyBeanGenerator_4.0
>
> How does it work actually?  I tried using the link above, followed its 
> instructions and it did not work for the reasons below:
>
> 1. Go to Protege's menu open>configure but it does not exist.  I even 
> tried the File>Preferences submenu options to no avail however.
> 2.  The BeanGenerator tab shows up but there is nothing in it.
>
> In addition, I tried to make a simple ontology with one class without 
> bean genetarion for testing version 4.2b and no code is generated.  
> The ontology has two version is saved OWL and RDF.  Why could that be?
>
> What should I do then?  Install another version that work perhaps?  
> The errors above were for version 4.2b in ubuntu 12.04.
>
> Thanks again,
>
> Andre Luiz
>
>
>     On 11/30/2012 11:04 AM, Andr? Luiz Tietb?hl Ramos wrote:
>     > Hello,
>     >
>     > How to actually use the beangenerator plugin please?  It is
>     correctly
>     > installed as shown below but the BeanGenerator  tab does not show.
>     > The relevant environment variables are below.  I use ubuntu 12.04.
>     >
>     >
>     PATH=$PATH:/opt/gams:/opt/cmucl/bin:/opt/MagicDraw_UML/bin:/opt/CPNTools:/opt/matlab/bin:/opt/Protege:/opt/bin:/opt/android-sdk:/opt/android-sdk/tools:/opt/android-sdk/platform-tools:/opt/smlnj:/opt/smlnj/bin:/opt/smlnj/lib
>     > export PATH
>     >
>     >
>     CLASSPATH=$CLASSPATH:/usr/local/lib/postgres/postgresql-8.4-703.jdbc4.jar:/opt/jade/lib/jade.jar:/opt/jade/lib/commons-codec/commons-codec-1.3.jar:/opt/jade/:/opt/jade/lib/:/opt/jade/lib/jadeTools.jar:/opt/jade/lib/Base64.jar:/opt/jade/lib/http.jar:/opt/Protege_4.1/plugins/beangenerator_4.1.jar:/opt/Protege_4.2_beta/plugins/beangenerator.jar:/opt/JSDAI_Standalone/JSDAI:/opt/JSDAI_Standalone/JSDAI/lib:/opt/jena/lib:/opt/jess:/opt/jess/jess.jar
>     > export CLASSPATH
>     >
>     > export JAVA_HOME=/usr/lib/jvm/java-7-oracle
>     > export PATH=$PATH:$JAVA_HOME/bin
>     >
>     > PROTEGE_HOME=/opt/Protege_4.1
>     > export PROTEGE_HOME
>     >
>     > The Protege 4.1 root directory has the beangenerator.properties file
>     > in it and its plugins subdirectory has the plugin.properties files.
>     > It does not generate any Java code.
>     >
>     > Finally, a newbie question: is there any way to change manually
>     (edit)
>     > the relationship type from is-a for instance to something else?
>     >
>     > Thanks in advance,
>     >
>     > Andre Luiz
>     >
>     >
>     > _______________________________________________
>     > protege-discussion mailing list
>     > [email protected]
>     <mailto:[email protected]>
>     > https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>     >
>     > Instructions for unsubscribing:
>     http://protege.stanford.edu/doc/faq.html#01a.03
>
>
>
>
> _______________________________________________
> protege-discussion mailing list
> [email protected]
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03

_______________________________________________
protege-discussion mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/protege-discussion

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.