Search Mailing List Archives
[protege-owl] ANT Call Protege Java
joseph.kormann at lmco.com
Thu May 1 10:26:01 PDT 2008
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.
> -----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
> 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?
> > _______________________________________________
> > protege-owl mailing list
> > protege-owl at lists.stanford.edu
> > https://mailman.stanford.edu/mailman/listinfo/protege-owl
> > Instructions for unsubscribing:
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing:
More information about the protege-owl