Protege4 Plugin In Four Minutes
From Protege Wiki
[15:01:41] export PROTEGE_HOME=/home/tredmond/dev/workspaces/protege4.1/Protege [15:01:55] mkdir org.protege.editor.owl.examples.tab [15:02:06] cd org.protege.editor.owl.examples.tab [15:02:10] wget http://smi-protege.stanford.edu/repos/protege/protege4/protege-base/trunk/etc/template-plugin-build.xml --2011-03-09 15:02:20-- http://smi-protege.stanford.edu/repos/protege/protege4/protege-base/trunk/etc/template-plugin-build.xml Resolving smi-protege.stanford.edu... 171.67.213.103 Connecting to smi-protege.stanford.edu|171.67.213.103|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 13628 (13K) [text/plain] Saving to: `template-plugin-build.xml' 100%[======================================>] 13,628 --.-K/s in 0.001s 2011-03-09 15:02:20 (10.5 MB/s) - `template-plugin-build.xml' saved [13628/13628] [15:02:20] mv template-plugin-build.xml build.xml [15:02:26] gnuclient build.xml [15:03:03] mkdir src [15:03:11] mkdir lib [15:03:17] mkdir META-INF [15:03:21] wget http://smi-protege.stanford.edu/repos/protege/protege4/protege-base/trunk/etc/template-manifest.mf --2011-03-09 15:03:42-- http://smi-protege.stanford.edu/repos/protege/protege4/protege-base/trunk/etc/template-manifest.mf Resolving smi-protege.stanford.edu... 171.67.213.103 Connecting to smi-protege.stanford.edu|171.67.213.103|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1286 (1.3K) [text/plain] Saving to: `template-manifest.mf' 100%[======================================>] 1,286 --.-K/s in 0s 2011-03-09 15:03:42 (118 MB/s) - `template-manifest.mf' saved [1286/1286] [15:03:42] mv template-manifest.mf META-INF/MANIFEST.MF [15:03:54] gnuclient META-INF/MANIFEST.MF [15:04:54] ant install Buildfile: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build.xml init: [mkdir] Created dir: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build [mkdir] Created dir: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build/classes [mkdir] Created dir: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build/classes/lib [mkdir] Created dir: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build/lib checkProtegeLibs: [echo] ********************************************************** [echo] Using Protege Home = /home/tredmond/dev/workspaces/protege4.1/Protege [echo] Using Java Version = 1.5 [echo] ********************************************************** checkProtegeLibsAndReport: buildlibs: [unjar] Expanding: /home/tredmond/dev/workspaces/protege4.1/Protege/bundles/org.protege.common.jar into /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build compile: build.manifest: [copy] Copying 1 file to /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build copy.resources: [mkdir] Created dir: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build/classes/META-INF [copy] Copying 1 file to /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build/classes/META-INF jar: [jar] Building jar: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build/org.protege.editor.owl.examples.tab.jar install: [copy] Copying 1 file to /home/tredmond/dev/workspaces/protege4.1/Protege/plugins BUILD SUCCESSFUL Total time: 0 seconds [15:05:05] cd ../Protege [15:05:08] sh run.sh Starting Protege 4 OWL Editor (Version 4.1.0, Build = 218) Platform: Java: JVM 1.5.0_19-b02 Memory: 520M Language: en, Country: US Framework: Apache Software Foundation (1.5) OS: linux (2.6.35-25-generic) Processor: x86 Installed plugin Exampl Tab Installed plugin Dlquery Installed plugin HermiT Reasoner Installed plugin The OWL API Installed plugin The Protege 4 OWL Editor Installed plugin Tutorial Plugin Tutorial Plugin Plugin has no plugin.xml resource Thank you for using Protege. Goodbye. [15:05:15]