Difference between revisions of "Protege4 Plugin In Four Minutes"

From Protege Wiki
Jump to: navigation, search
(Created page with ' <pre> 10:11:40-> export PROTEGE_HOME=/home/tredmond/dev/workspaces/protege4/owleditor/build/dist/equinox 10:12:00-> ls $PROTEGE_HOME bundles log4j.xml org.eclipse.osgi.j...')
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
 
<pre>
 
<pre>
10:11:40-> export PROTEGE_HOME=/home/tredmond/dev/workspaces/protege4/owleditor/build/dist/equinox
+
[15:01:41] export PROTEGE_HOME=/home/tredmond/dev/workspaces/protege4.1/Protege
10:12:00-> ls $PROTEGE_HOME
+
[15:01:55] mkdir org.protege.editor.owl.examples.tab
bundles        log4j.xml  org.eclipse.osgi.jar run.bat      run.sh
+
[15:02:06] cd org.protege.editor.owl.examples.tab
configuration  logs   plugins run.command
+
[15:02:10] wget http://smi-protege.stanford.edu/repos/protege/protege4/protege-base/trunk/etc/template-plugin-build.xml
10:12:05-> mkdir example
+
--2011-03-09 15:02:20--  http://smi-protege.stanford.edu/repos/protege/protege4/protege-base/trunk/etc/template-plugin-build.xml
10:12:11-> cd example
+
Resolving smi-protege.stanford.edu... 171.67.213.103
10:12:14-> mkdir META-INF
+
Connecting to smi-protege.stanford.edu|171.67.213.103|:80... connected.
10:12:22-> mkdir lib
 
10:12:24-> mkdir resources
 
10:12:27-> mkdir src
 
10:12:30-> ls
 
lib  META-INF  resources  src
 
10:12:31-> wget http://smi-protege.stanford.edu/repos/protege/protege4/protege-standalone/trunk/etc/template-plugin-build.xml
 
--2009-07-28 10:12:42--  http://smi-protege.stanford.edu/repos/protege/protege4/protege-standalone/trunk/etc/template-plugin-build.xml
 
Resolving smi-protege.stanford.edu... 171.64.249.33
 
Connecting to smi-protege.stanford.edu|171.64.249.33|:80... connected.
 
 
HTTP request sent, awaiting response... 200 OK
 
HTTP request sent, awaiting response... 200 OK
Length: 9439 (9.2K) [text/plain]
+
Length: 13628 (13K) [text/plain]
 
Saving to: `template-plugin-build.xml'
 
Saving to: `template-plugin-build.xml'
  
100%[======================================>] 9,439      --.-K/s  in 0.006s  
+
100%[======================================>] 13,628      --.-K/s  in 0.001s  
  
2009-07-28 10:12:42 (1.59 MB/s) - `template-plugin-build.xml' saved [9439/9439]
+
2011-03-09 15:02:20 (10.5 MB/s) - `template-plugin-build.xml' saved [13628/13628]
  
10:12:42-> mv template-plugin-build.xml build.xml
+
[15:02:20] mv template-plugin-build.xml build.xml
10:13:02-> emacsclient  build.xml
+
[15:02:26] gnuclient build.xml
Waiting for Emacs...
+
[15:03:03] mkdir src
10:13:33-> wget http://smi-protege.stanford.edu/repos/protege/protege4/protege-standalone/trunk/etc/template-manifest.mf
+
[15:03:11] mkdir lib
--2009-07-28 10:13:44--  http://smi-protege.stanford.edu/repos/protege/protege4/protege-standalone/trunk/etc/template-manifest.mf
+
[15:03:17] mkdir META-INF
Resolving smi-protege.stanford.edu... 171.64.249.33
+
[15:03:21] wget http://smi-protege.stanford.edu/repos/protege/protege4/protege-base/trunk/etc/template-manifest.mf
Connecting to smi-protege.stanford.edu|171.64.249.33|:80... connected.
+
--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
 
HTTP request sent, awaiting response... 200 OK
 
Length: 1286 (1.3K) [text/plain]
 
Length: 1286 (1.3K) [text/plain]
Line 38: Line 30:
 
100%[======================================>] 1,286      --.-K/s  in 0s       
 
100%[======================================>] 1,286      --.-K/s  in 0s       
  
2009-07-28 10:13:44 (126 MB/s) - `template-manifest.mf' saved [1286/1286]
+
2011-03-09 15:03:42 (118 MB/s) - `template-manifest.mf' saved [1286/1286]
  
10:13:44-> mv template-manifest.mf META-INF/MANIFEST.MF
+
[15:03:42] mv template-manifest.mf META-INF/MANIFEST.MF
10:13:52-> emacsclient META-INF/MANIFEST.MF  
+
[15:03:54] gnuclient  META-INF/MANIFEST.MF  
Waiting for Emacs...
+
[15:04:54] ant install
10:14:53-> ant install
+
Buildfile: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build.xml
Buildfile: build.xml
 
  
 
init:
 
init:
     [mkdir] Created dir: /tmp/example/build
+
     [mkdir] Created dir: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build
     [mkdir] Created dir: /tmp/example/build/classes
+
     [mkdir] Created dir: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build/classes
     [mkdir] Created dir: /tmp/example/build/classes/lib
+
     [mkdir] Created dir: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build/classes/lib
     [mkdir] Created dir: /tmp/example/build/lib
+
     [mkdir] Created dir: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build/lib
  
 
checkProtegeLibs:
 
checkProtegeLibs:
     [echo] Using Protege Home = /home/tredmond/dev/workspaces/protege4/owleditor/build/dist/equinox to find protege jars
+
    [echo] **********************************************************
 +
     [echo] Using Protege Home = /home/tredmond/dev/workspaces/protege4.1/Protege
 +
    [echo] Using Java Version = 1.5
 +
    [echo] **********************************************************
  
 
checkProtegeLibsAndReport:
 
checkProtegeLibsAndReport:
  
 
buildlibs:
 
buildlibs:
     [unjar] Expanding: /home/tredmond/dev/workspaces/protege4/owleditor/build/dist/equinox/bundles/org.protege.common.jar into /tmp/example/build
+
     [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:
 
compile:
  
 
build.manifest:
 
build.manifest:
     [copy] Copying 1 file to /tmp/example/build
+
     [copy] Copying 1 file to /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build
  
 
copy.resources:
 
copy.resources:
     [mkdir] Created dir: /tmp/example/build/classes/META-INF
+
     [mkdir] Created dir: /home/tredmond/dev/workspaces/protege4.1/org.protege.editor.owl.examples.tab/build/classes/META-INF
     [copy] Copying 1 file to /tmp/example/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:
       [jar] Building jar: /tmp/example/build/org.protege.owl.examples.tab.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:
 
install:
     [copy] Copying 1 file to /home/tredmond/dev/workspaces/protege4/owleditor/build/dist/equinox/plugins
+
     [copy] Copying 1 file to /home/tredmond/dev/workspaces/protege4.1/Protege/plugins
  
 
BUILD SUCCESSFUL
 
BUILD SUCCESSFUL
 
Total time: 0 seconds
 
Total time: 0 seconds
10:15:01-> pushd $PROTEGE_HOME
+
[15:05:05] cd ../Protege
0  ~/dev/workspaces/protege4/owleditor/build/dist/equinox
+
[15:05:08] sh run.sh
1  /tmp/example
+
Starting Protege 4 OWL Editor (Version 4.1.0, Build = 218)
10:15:31-> ls
 
bundles        log4j.xml  org.eclipse.osgi.jar run.bat      run.sh
 
configuration  logs   plugins run.command
 
10:15:33-> sh run.sh
 
Starting Protege 4 OWL Editor (Version 4.0.113)
 
 
Platform:
 
Platform:
     Java: JVM 1.5.0_19-b02 Memory: 208M
+
     Java: JVM 1.5.0_19-b02 Memory: 520M
 
     Language: en, Country: US
 
     Language: en, Country: US
     Framework: Eclipse (1.4.0)
+
     Framework: Apache Software Foundation (1.5)
     OS: Linux (2.6.28-13-generic)
+
     OS: linux (2.6.35-25-generic)
     Processor: i386
+
     Processor: x86
Installed plugin Cardinality View
+
Installed plugin Exampl Tab
Installed plugin Matrix Views
+
Installed plugin Dlquery
Installed plugin OWLViz
+
Installed plugin HermiT Reasoner
 +
Installed plugin The OWL API
 +
Installed plugin The Protege 4 OWL Editor
 
Installed plugin Tutorial Plugin
 
Installed plugin Tutorial Plugin
Installed plugin Factplusplus Plug-in
 
Installed plugin DL Query Tab
 
Installed plugin The OWL API
 
Installed plugin owleditor
 
 
Tutorial Plugin Plugin has no plugin.xml resource
 
Tutorial Plugin Plugin has no plugin.xml resource
 
Thank you for using Protege. Goodbye.
 
Thank you for using Protege. Goodbye.
10:15:42->
+
[15:05:15]
 
 
 
</pre>
 
</pre>

Latest revision as of 15:07, March 9, 2011

[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]