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] ANT Call Protege Java

Kormann, Joseph joseph.kormann at lmco.com
Thu May 1 12:33:38 PDT 2008


Great - thank you.

> -----Original Message-----
> From: protege-owl-bounces at mailman.stanford.edu [mailto:protege-owl-
> bounces at mailman.stanford.edu] On Behalf Of Csongor Nyulas
> Sent: Thursday, May 01, 2008 3:16 PM
> To: User support for the Protege-OWL editor
> Subject: Re: [protege-owl] ANT Call Protege Java
> 
> Hi Joseph,
> 
> I just created a wikipage with a sample JavaCodeGenerationTest class
> which uses the Protege OWL API to generate the Java Code:
> 
> http://protegewiki.stanford.edu/index.php/JavaCodeGenerationUsingAPI
> 
> You can compile and run this class with an ANT script.
> 
> Best regards,
> Csongor
> 
> Kormann, Joseph wrote:
> > Tim,
> >
> > Thanks. I use the "Generate Protégé-OWL Java Code" pull-down option. Can
> you or Csognor (sp!) tell me the class and method that I need to
> implement? Save me some time digging through your code.
> >
> > Thanks.
> >
> >
> >> -----Original Message-----
> >> From: protege-owl-bounces at mailman.stanford.edu [mailto:protege-owl-
> >> bounces at mailman.stanford.edu] On Behalf Of Timothy Redmond
> >> Sent: Tuesday, April 29, 2008 3:34 PM
> >> To: User support for the Protege-OWL editor
> >> Subject: Re: [protege-owl] ANT Call Protege Java
> >>
> >> On Tue, 2008-04-29 at 10:13 -0400, Kormann, Joseph wrote:
> >>
> >>> Is there a way to call the Protégé Java code generator through an ANT
> >>>
> >> script?
> >>
> >> I have done this kind of thing before in other (non-Protege) ant
> >> scripts.  First ant is well integrated with java so it is easy  to run
> >> java programs through ant (use the <java> task).  The trouble is I
> >> didn't see a static main() method.  So you would need to build your
> own.
> >>
> >> When I was in this situation before I created a small main method that
> >> set things up.  Before the <java> task I had a <javac> task that
> >> compiled just this one  small routine.  Then it can be present on the
> >> <java> classpath and  run.
> >>
> >> This is not terribly pretty but it would work.  Maybe somebody knows a
> >> better way?
> >>
> >> -Timothy
> >>
> >>
> >>
> >>> _______________________________________________
> >>> 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
> >>
> > _______________________________________________
> > 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



More information about the protege-owl mailing list