Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Tab not displayed

Thomas Russ tar at ISI.EDU
Fri Feb 27 09:24:56 PST 2009


OK.  The problem is clear.

The name of your class from the jar file is "DataOntoTab.class", but  
you spell it "DatOntoTab.class" (an "a" is missing) in the Manifest.


On Feb 26, 2009, at 10:47 AM, Waqas Ahmed wrote:

> Contents of manifest
> Name: DatOntoTab.class
> Tab-Widget: True
> Class-Path: lib/mysql-connector-java-5.1.6-bin.jar lib/jena.jar lib/as
>  sembler lib/datatypes lib/db lib/enhanced lib/graph lib/mem lib/n3 li
>  b/ontology lib/rdf lib/reasoner lib/regression lib/shared lib/test li
>  b/util lib/vocabulary lib/xmloutput lib/antlr-2.7.5.jar lib/arq-extra
>  .jar lib/arq.jar lib/commons-logging-1.1.1.jar lib/concurrent.jar lib
>  /icu4j_3_4.jar lib/iri.jar lib/jenatest.jar lib/json.jar lib/junit.ja
>  r lib/log4j-1.2.12.jar lib/lucene-core-2.3.1.jar lib/stax-api-1.0.jar
>   lib/wstx-asl-3.0.0.jar lib/xercesImpl.jar lib/xml-apis.jar lib/prote
>  ge.jar lib/unicode_panel.jar lib/lax.jar lib/looks-2.1.3.jar
> contents of pligin.properties file
>
> please see attach image
>
> plugin.component.count=1
> plugin.component.name.0=DATONTOTab
> plugin.dependency.count=1
> plugin.dependency.0=edu.stanford.smi.protegex.owl
>
> Table of contents of Jar file
>
>
>
>
> On Thu, Feb 26, 2009 at 12:52 AM, Thomas Russ <tar at isi.edu> wrote:
>
> On Feb 25, 2009, at 9:53 AM, Waqas Ahmed wrote:
>
> > so then how can i remove this error? i have a class DATONTOTAB as
> > the main class of my project
>
> For starters, we need some more information.
>
> Can you post the contents of
>   (1)  The plugin.properties file
>   (2)  The Manifest file
>   (3)  The table of contents of your jar file:
>        jar -tf your-jar-file.jar
>
>
> >
> >
> > On Tue, Feb 24, 2009 at 8:37 PM, Timothy Redmond <tredmond at stanford.edu
> > > wrote:
> >
> > I suspect that your manifest is wrong.  So for example, in the  
> changes
> > tab there is a manifest line that has the following:
> >
> > Name: edu/stanford/smi/protegex/changes/ChangesTab.class
> > Tab-Widget: True
> >
> > If you look you will  see that there really is a class called
> >
> >    edu.stanford.smi.protegex.changes.ChangesTab
> >
> > It sounds like you might have the following line:
> >
> > Name: dataontotab
> > Tab-Widget: True
> >
> > and dataontotab is at best a package and not a class.  This would  
> give
> > the result and error that you describe.
> >
> > -Timothy
> >
> >
> > On Feb 20, 2009, at 12:36 PM, Waqas Ahmed wrote:
> >
> > > thank you for your prompt reply. but still no luck on my side. i
> > > have created the menifest file as said in suggested link
> > >
> > > now i observe a warning in console when protege 3.3.1 loads its  
> says
> > >
> > > config: loaded plugin Datonto-- datontotab (my plugin name)
> > > warning: java. lang.classnotfoundException: datontotab--
> > > pluginutilities.isloadableclass()
> > >
> > > what does this mean???
> > >
> > > On Sat, Feb 21, 2009 at 1:15 AM, Thomas Russ <tar at isi.edu> wrote:
> > >
> > > On Feb 20, 2009, at 11:14 AM, Waqas Ahmed wrote:
> > >
> > > >
> > > > i added this line but its still not working. my plugin does not
> > > > depends upon other plugins so i dont think that i need to add
> > > > dependency clauses. one thing if you could tell me that do i
> > need to
> > > > change the menifest file created automatically by net beans? the
> > > > menifest file contents of existing plugins and mine are  
> different.
> > >
> > > Oh, yes.
> > > The manifest has to identify what type of widget it is.
> > >
> > > http://protegewiki.stanford.edu/index.php/PluginManifestsAndJars
> > >
> > >
> > > >
> > > > On Fri, Feb 20, 2009 at 11:13 PM, Thomas Russ <tar at isi.edu>  
> wrote:
> > > >
> > > > On Feb 20, 2009, at 6:08 AM, Waqas Ahmed wrote:
> > > >
> > > > > hey all, i wrote a protege tab widget but it is not showing up
> > in
> > > > > protege altough project jar file is running from command  
> prompt
> > > > >
> > > > > here is the directory structure of the protege tab
> > > > >
> > > > > all files are contained inside a directory named as DATONTO
> > > > >
> > > > > list of files include
> > > > >
> > > > > schemareader.jar // plugin jar file
> > > > > lib  // foleder that contains libraries used in my plugin
> > > > > plugin.PROPERTIES file the contents of this files are
> > > > >
> > > > > plugin.component.count=1
> > > > > plugin.component.name.0=DATONTOTab
> > > >
> > > > You also need to indicate the dependency on other items.  I
> > suspect
> > > > that you also need to include the OWL dependency in your
> > > > plugin.properties file:
> > > >
> > > > plugin.dependency.count=1
> > > > plugin.dependency.0=edu.stanford.smi.protegex.owl
> > > >
> > > > and perhaps other dependencies.
> > > >
> > > > _______________________________________________
> > > > protege-owl mailing list
> > > > protege-owl at lists.stanford.edu
> > > > https://mailman.stanford.edu/mailman/listinfo/protege-owl
> > > >
> > > > Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
> > > >
> > > >
> > > >
> > > > --
> > > > Regards
> > > > Waqas Ahmed
> > > > _______________________________________________
> > > > protege-owl mailing list
> > > > protege-owl at lists.stanford.edu
> > > > https://mailman.stanford.edu/mailman/listinfo/protege-owl
> > > >
> > > > Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
> > >
> > > _______________________________________________
> > > protege-owl mailing list
> > > protege-owl at lists.stanford.edu
> > > https://mailman.stanford.edu/mailman/listinfo/protege-owl
> > >
> > > Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
> > >
> > >
> > >
> > > --
> > > Regards
> > > Waqas Ahmed
> > > _______________________________________________
> > > protege-owl mailing list
> > > protege-owl at lists.stanford.edu
> > > https://mailman.stanford.edu/mailman/listinfo/protege-owl
> > >
> > > Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
> >
> > _______________________________________________
> > protege-owl mailing list
> > protege-owl at lists.stanford.edu
> > https://mailman.stanford.edu/mailman/listinfo/protege-owl
> >
> > Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
> >
> >
> >
> > --
> > Regards
> > Waqas Ahmed
> > _______________________________________________
> > protege-owl mailing list
> > protege-owl at lists.stanford.edu
> > https://mailman.stanford.edu/mailman/listinfo/protege-owl
> >
> > Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>
>
>
> -- 
> Regards
> Waqas Ahmed
> <jarcontents.jpg>_______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03




More information about the protege-owl mailing list