merged in org.protege.editor.core.application repository

Esse commit está contido em:
Jennifer Vendetti
2013-09-20 11:31:26 -07:00
commit 452c00c728
431 arquivos alterados com 0 adições e 478 exclusões
-116
Ver Arquivo
@@ -1,116 +0,0 @@
Manifest-Version: 1.0
Export-Package: org.coode.mdock;version="1.2.0";uses:="javax.swing,jav
ax.swing.border,javax.swing.plaf.basic,javax.xml.parsers,org.w3c.dom,
org.xml.sax,org.xml.sax.helpers",org.coode.mdock.examples;version="1.
2.0";uses:="javax.swing,org.coode.mdock",org.protege.editor.core;vers
ion="4.2.0.b278_2013_08_02_0541";uses:="org.apache.log4j,org.eclipse.
core.runtime,org.osgi.framework,org.protege.editor.core.editorkit,org
.protege.editor.core.plugin,org.protege.editor.core.ui.error,org.prot
ege.editor.core.ui.progress,org.protege.editor.core.ui.workspace",org
.protege.editor.core.editorkit;version="4.2.0.b278_2013_08_02_0541";u
ses:="org.eclipse.core.runtime,org.protege.editor.core,org.protege.ed
itor.core.ui.workspace",org.protege.editor.core.editorkit.plugin;vers
ion="4.2.0.b278_2013_08_02_0541";uses:="org.eclipse.core.runtime,org.
protege.editor.core.editorkit,org.protege.editor.core.plugin",org.pro
tege.editor.core.platform;version="4.2.0.b278_2013_08_02_0541";uses:=
"org.osgi.framework",org.protege.editor.core.platform.apple;version="
4.2.0.b278_2013_08_02_0541";uses:="org.protege.editor.core.editorkit"
,org.protege.editor.core.plugin;version="4.2.0.b278_2013_08_02_0541";
uses:="org.eclipse.core.runtime,org.osgi.framework,org.osgi.service.p
ackageadmin,org.protege.editor.core,org.protege.editor.core.editorkit
",org.protege.editor.core.prefs;version="4.2.0.b278_2013_08_02_0541",
org.protege.editor.core.ui;version="4.2.0.b278_2013_08_02_0541";uses:
="javax.swing,javax.swing.event,javax.swing.table,org.apache.log4j,or
g.protege.editor.core,org.protege.editor.core.ui.list,org.protege.edi
tor.core.ui.util",org.protege.editor.core.ui.about;version="4.2.0.b27
8_2013_08_02_0541";uses:="javax.swing,javax.swing.table",org.protege.
editor.core.ui.action;version="4.2.0.b278_2013_08_02_0541";uses:="jav
ax.swing,org.eclipse.core.runtime,org.protege.editor.core.editorkit,o
rg.protege.editor.core.plugin,org.protege.editor.core.ui.util,org.pro
tege.editor.core.ui.workspace",org.protege.editor.core.ui.action.star
t;version="4.2.0.b278_2013_08_02_0541";uses:="javax.swing,org.eclipse
.core.runtime,org.protege.editor.core.plugin",org.protege.editor.core
.ui.error;version="4.2.0.b278_2013_08_02_0541";uses:="javax.swing,org
.xml.sax",org.protege.editor.core.ui.list;version="4.2.0.b278_2013_08
_02_0541";uses:="javax.swing,javax.swing.border,javax.swing.event",or
g.protege.editor.core.ui.menu;version="4.2.0.b278_2013_08_02_0541";us
es:="javax.swing,javax.swing.event,org.eclipse.core.runtime,org.prote
ge.editor.core.editorkit,org.protege.editor.core.plugin,org.protege.e
ditor.core.ui.action",org.protege.editor.core.ui.preferences;version=
"4.2.0.b278_2013_08_02_0541";uses:="javax.swing,org.eclipse.core.runt
ime,org.protege.editor.core,org.protege.editor.core.editorkit,org.pro
tege.editor.core.plugin,org.protege.editor.core.ui.action",org.proteg
e.editor.core.ui.preferences.node;version="4.2.0.b278_2013_08_02_0541
";uses:="javax.swing",org.protege.editor.core.ui.progress;version="4.
2.0.b278_2013_08_02_0541";uses:="javax.swing",org.protege.editor.core
.ui.split;version="4.2.0.b278_2013_08_02_0541";uses:="javax.swing,jav
ax.swing.plaf.basic",org.protege.editor.core.ui.tabbedpane;version="4
.2.0.b278_2013_08_02_0541";uses:="javax.swing,javax.swing.plaf.basic"
,org.protege.editor.core.ui.toolbar;version="4.2.0.b278_2013_08_02_05
41";uses:="javax.swing,org.eclipse.core.runtime,org.protege.editor.co
re.editorkit,org.protege.editor.core.plugin,org.protege.editor.core.u
i.action",org.protege.editor.core.ui.tree;version="4.2.0.b278_2013_08
_02_0541";uses:="javax.swing.plaf.basic,javax.swing.tree",org.protege
.editor.core.ui.util;version="4.2.0.b278_2013_08_02_0541";uses:="com.
jgoodies.looks.plastic.theme,javax.swing,javax.swing.border,javax.swi
ng.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.table,j
avax.swing.text,org.eclipse.core.runtime,org.protege.editor.core.ui.w
orkspace",org.protege.editor.core.ui.view;version="4.2.0.b278_2013_08
_02_0541";uses:="javax.swing,org.apache.log4j,org.coode.mdock,org.ecl
ipse.core.runtime,org.protege.editor.core,org.protege.editor.core.edi
torkit,org.protege.editor.core.plugin,org.protege.editor.core.prefs,o
rg.protege.editor.core.ui.action,org.protege.editor.core.ui.split,org
.protege.editor.core.ui.util,org.protege.editor.core.ui.workspace",or
g.protege.editor.core.ui.view.button;version="4.2.0.b278_2013_08_02_0
541";uses:="javax.swing,javax.swing.plaf.basic",org.protege.editor.co
re.ui.wizard;version="4.2.0.b278_2013_08_02_0541";uses:="javax.swing,
org.protege.editor.core,org.protege.editor.core.editorkit",org.proteg
e.editor.core.ui.workspace;version="4.2.0.b278_2013_08_02_0541";uses:
="javax.swing,org.eclipse.core.runtime,org.protege.editor.core,org.pr
otege.editor.core.editorkit,org.protege.editor.core.plugin,org.proteg
e.editor.core.prefs,org.protege.editor.core.ui.util,org.protege.edito
r.core.ui.view,org.xml.sax.helpers",org.protege.editor.core.ui.worksp
ace.tabs;version="4.2.0.b278_2013_08_02_0541";uses:="javax.swing,java
x.swing.event,javax.swing.table,org.apache.log4j,org.protege.editor.c
ore.ui.action,org.protege.editor.core.ui.workspace",org.protege.edito
r.core.ui.workspace.views;version="4.2.0.b278_2013_08_02_0541";uses:=
"javax.swing,org.protege.editor.core.ui.action,org.protege.editor.cor
e.ui.view,org.protege.editor.core.ui.workspace",org.protege.editor.co
re.update;version="4.2.0.b278_2013_08_02_0541";uses:="javax.swing,jav
ax.swing.event,javax.swing.table,org.apache.log4j,org.osgi.framework,
org.protege.editor.core.ui.preferences,org.protege.editor.core.ui.pro
gress",org.protege.editor.core.util;version="4.2.0.b278_2013_08_02_05
41"
Bundle-ClassPath: .,lib/mdock.jar
Built-By: redmond
Bundle-Category: protege
Tool: Bundlor 1.1.0.M05
Bundle-Name: Protege Editor Framework
Bundle-Vendor: Protege Development Team (First working version written
at the University of Manchester by Matthew Horridge)
Build-Number: 278
Bundle-ContactAddress: p4-feedback@lists.stanford.edu
Bundle-Version: 4.2.0.b278_2013_08_02_0541
Bundle-Activator: org.protege.editor.core.ProtegeApplication
Bundle-ManifestVersion: 2
Bundle-Description: Generic Ontology Editor Bundle
Update-Url: http://protege.stanford.edu/download/prerelease-alpha/plug
inupdate.xml
Bundle-DocURL: http://protege.stanford.edu
Import-Package: com.jgoodies.looks;version="2.2.1",com.jgoodies.looks.
plastic;version="2.2.1",com.jgoodies.looks.plastic.theme;version="2.2
.1",javax.swing;version="0.0.0",javax.swing.border;version="0.0.0",ja
vax.swing.event;version="0.0.0",javax.swing.filechooser;version="0.0.
0",javax.swing.plaf;version="0.0.0",javax.swing.plaf.basic;version="0
.0.0",javax.swing.plaf.metal;version="0.0.0",javax.swing.table;versio
n="0.0.0",javax.swing.text;version="0.0.0",javax.swing.text.html;vers
ion="0.0.0",javax.swing.tree;version="0.0.0",javax.xml.parsers;versio
n="0.0.0",org.apache.log4j;version="1.2.14",org.eclipse.core.runtime;
registry="split";version="3.4.0",org.osgi.framework;version="0.0.0",o
rg.osgi.service.packageadmin;version="0.0.0",org.osgi.util.tracker;ve
rsion="0.0.0",org.protege.common;version="4.2.0",org.w3c.dom;version=
"0.0.0",org.xml.sax;version="0.0.0",org.xml.sax.helpers;version="0.0.
0"
Bundle-SymbolicName: org.protege.editor.core.application;singleton:="t
rue"
-4
Ver Arquivo
@@ -1,4 +0,0 @@
The MANIFEST.MF file in this directory is included for the convenience
of developers. When protege is built, the real manifest is calculated
by the bnd tool which uses the manifest.bnd file.
-22
Ver Arquivo
@@ -1,22 +0,0 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Protege Editor Framework
Bundle-SymbolicName: org.protege.editor.core.application;singleton:=true
Bundle-Version: 4.1.0
Bundle-Vendor: Protege Development Team (First working version written\
at the University of Manchester by Matthew Horridge)
Bundle-ContactAddress: p4-feedback@lists.stanford.edu
Bundle-DocURL: http://protege.stanford.edu
Bundle-ClassPath: .,lib/mdock.jar,lib/swing-worker.jar
Bundle-Activator: org.protege.editor.core.ProtegeApplication
Require-Bundle: org.eclipse.equinox.registry,org.eclipse.equinox.common,org.protege.common
Update-Url: http://protege.stanford.edu/download/prerelease-alpha/pluginupdate.xml
Bundle-Description: Generic Ontology Editor Bundle
Bundle-Category: protege
Import-Package: !sun.reflect.*,!com.sun.*,!junit.framework.*,!org.eclipse.core.runtime,\
javax.swing.plaf.basic,javax.swing.plaf.metal,\
javax.swing.plaf.multi,javax.swing.plaf.synth,*
Export-Package: *;-noimport:=true
-sources= true
-failok= false
-nouses= true
-30
Ver Arquivo
@@ -1,30 +0,0 @@
Bundle-Name: Protege Editor Framework
Bundle-SymbolicName: ${plugin};singleton:=true
Bundle-ManifestVersion: 2
Bundle-Version: ${bundle.version}
Build-Number: ${bundle.build}
Built-By: ${user.name}
Bundle-Description: Some common libraries
Bundle-Vendor: Protege Development Team (First working version written a
t the University of Manchester by Matthew Horridge)
Bundle-ContactAddress: p4-feedback@lists.stanford.edu
Bundle-DocURL: http://protege.stanford.edu
Bundle-Category: protege
Bundle-Activator: org.protege.editor.core.ProtegeApplication
Update-Url: http://protege.stanford.edu/download/prerelease-alpha/pluginupdate.xml
Bundle-Description: Generic Ontology Editor Bundle
Bundle-Category: protege
Excluded-Imports: com.sun.*,junit.*
Excluded-Exports: lib
Import-Template: org.eclipse.core.runtime;registry="split";version="3.4.0",
com.jgoodies.looks.*;version="2.2.1",
javax.*;version="0.0.0",
org.apache.log4j.*;version="1.2.14",
org.osgi.*;version="0.0.0",
org.w3c.*;version="0.0.0",
org.xml.*;version="0.0.0",
javax.imageio;version="0.0.0",
org.protege.common;version="4.2.0"
Export-Template: org.onemind.*;version="1.2.0",
org.coode.mdock.*;version="1.2.0",
org.jdesktop.*
-306
Ver Arquivo
@@ -1,306 +0,0 @@
<?xml version = "1.0" encoding = "utf-8"?>
<project name = "core protege application support" default = "install" basedir = ".">
<!--
To run this build file set the environment variable
PROTEGE_HOME to point to a protege distribution and type ant
install or jar.
-->
<property environment="env"/>
<property name = "protege.home" location="${env.PROTEGE_HOME}"/>
<property file="${protege.home}/build.properties"/>
<property file="local.properties"/>
<property name = "bundlor.home" location="${env.BUNDLOR_HOME}"/>
<!--
This setting defines the name of the plugin.
This may be the only setting that the developer needs to
change.
-->
<property name = "plugin" value = "org.protege.editor.core.application"/>
<!--
these properties probably don't need changing
-->
<property name = "src" location = "./src/main/java"/>
<property name = "build" location = "./build"/>
<property name = "bundle.dir" location = "${build}"/>
<property name = "classes" location = "${build}/classes"/>
<property name = "lib" location = "./lib"/>
<property name = "genlib" location = "${build}/lib"/>
<property name = "manifest" location = "${build}/manifest.mf"/>
<property name = "manifest.bundlor" location = "./META-INF/manifest.bundlor"/>
<property name = "protege.common" location="${protege.home}/bundles"/>
<property name = "protege.plugins" location="${protege.home}/plugins"/>
<target name = "init">
<tstamp>
<format property="build.time" pattern="yyyy_MM_dd_hhmm"/>
</tstamp>
<property name="bundle.version"
value="${core.major.version}.${core.minor.version}.${core.micro.version}.b${core.build.number}_${build.time}"/>
<mkdir dir = "${build}"/>
<mkdir dir = "${classes}"/>
<mkdir dir = "${classes}/lib"/>
<mkdir dir = "${genlib}"/>
<condition property="use.bundlor">
<and>
<available file="${bundlor.home}" type = "dir"/>
<available file="${manifest.bundlor}" type = "file"/>
</and>
</condition>
</target>
<!-- ============================================================= -->
<!-- Configuring the Compile Classpath -->
<!-- ============================================================= -->
<target name="checkProtegeLibsAndReport" depends="checkProtegeLibs"
unless="libs.found">
<echo message="Missing protege libraries. You need to set "/>
<echo message="the PROTEGE_HOME environment variable to a"/>
<echo message="protege installation directory where the"/>
<echo message="appropriate plugins have been installed."/>
<echo message="Alternatively set the jar libs in local.properties (protege.lib=...)"/>
<echo message="Use the -v option to ant to see what jars are missing."/>
<fail message = "missing protege libraries"/>
</target>
<!--
The following target only needs to be modified if the user
needs to change the classpath. It is preconfigured to use
the common protege 4 jars, the lib directory and the
libraries that have been uncovered in buildlibs.
-->
<target name = "checkProtegeLibs" depends="init">
<echo message="**********************************************************"/>
<echo message="Using Protege Home = ${protege.home}"/>
<echo message="Using Java Version = ${ant.java.version}" />
<echo message="**********************************************************"/>
<condition property="libs.found">
<and>
<available file="${protege.osgi}" type = "file"/>
<available file="${equinox.common}" type = "file"/>
<available file="${equinox.registry}" type = "file"/>
</and>
</condition>
<path id = "project.classpath">
<pathelement location="${protege.osgi}"/>
<pathelement location = "${protege.lib}"/>
<pathelement location = "${common.lib}"/>
<pathelement location="${equinox.common}"/>
<pathelement location="${equinox.registry}"/>
<fileset dir="${lib}"/>
<fileset dir="${genlib}"/>
</path>
</target>
<!--
The following target only needs to be modified if the
developer needs to obtain some jar files that are contained in
the Protege bundles. The contents of these jar files are
found when Protege 4 runs but may be needed in order to
compile the plugin.
-->
<target name = "buildlibs" depends="checkProtegeLibsAndReport">
<unjar dest="${build}"
src="${common.lib}">
<patternset>
<include name = "**/log4j.jar"/>
<include name = "**/looks.jar"/>
</patternset>
</unjar>
</target>
<!--
Here is the copy.resources target. It may need modification
to copy the right resources into the classes directory. By
default it already copies non-java files found in the source
directory, the libraries needed by the project and the
viewconfig and the plugin.xml. This will be sufficient in
many cases.
-->
<target name="copy.resources">
<copy todir="${classes}">
<fileset dir="${src}">
<include name="**/*"/>
<exclude name="**/*.java"/>
<exclude name="**/MANIFEST.MF"/>
<exclude name="**/manifest.mf"/>
</fileset>
</copy>
<copy todir="${classes}/lib">
<fileset dir="${lib}" excludes="junit*.jar"/>
</copy>
<copy todir="${classes}">
<fileset dir="." includes="*.xml">
<exclude name="build.xml"/>
<exclude name="pom.xml"/>
</fileset>
<fileset dir="./src/main/resources"/>
</copy>
</target>
<!--
It is less likely that the developer will want to make changes
below this line
-->
<!-- ============================================================= -->
<target name="add.source" depends="init">
<zip destfile="${classes}/${plugin}src.zip">
<fileset dir="${src}"/>
</zip>
</target>
<target name = "compile" depends = "buildlibs, checkProtegeLibsAndReport">
<javac srcdir = "${src}"
destdir = "${classes}"
debug="on"
includeAntRuntime="false">
<classpath refid = "project.classpath"/>
</javac>
</target>
<target name = "create.update.properties">
<property name="update.properties.file"
location="${build}/core-update.properties"/>
<echo file="${update.properties.file}" append="false">
id=${plugin}
version=${bundle.version}
download=http://smi-protege.stanford.edu/protege4/plugins/4.1/${plugin}.jar
name=Protege Editor Framework
readme=http://smi-protege.stanford.edu/protege4/plugins/4.1/core-readme.html
license=http://www.gnu.org/licenses/lgpl.html
author=Protege Development Team (First working version by Matthew Horridge)
</echo>
</target>
<target name="use.existing.manifest" depends="init" unless="use.bundlor">
<copy tofile="${manifest}"
file="META-INF/MANIFEST.MF" overwrite="true"/>
<manifest file="${manifest}"
mode = "update">
<attribute name="Built-By" value = "${user.name}"/>
<attribute name="Bundle-Version" value="${bundle.version}"/>
<attribute name="Build-Number" value="${core.build.number}"/>
</manifest>
</target>
<target name="bundlor.manifest" depends="copy.resources, compile" if="use.bundlor">
<java classname="org.eclipse.virgo.bundlor.commandline.Bundlor"
failonerror="true" fork="true">
<classpath>
<fileset dir="${bundlor.home}/plugins" includes="*.jar"/>
</classpath>
<jvmarg value="-Dbundle.version=${bundle.version}"/>
<jvmarg value="-Dbundle.build=${core.build.number}"/>
<jvmarg value="-Duser.name=${user.name}"/>
<jvmarg value="-Dplugin=${plugin}"/>
<arg value = "-i"/> <arg value="${classes}"/>
<arg value = "-m"/> <arg value="./META-INF/manifest.bundlor"/>
<arg value = "-o"/> <arg value = "."/>
</java>
<copy tofile="${manifest}"
file="META-INF/MANIFEST.MF" overwrite="true"/>
</target>
<target name = "jar" depends = "compile, copy.resources, create.update.properties,use.existing.manifest, bundlor.manifest">
<jar jarfile = "${build}/${plugin}.jar"
basedir = "${classes}"
manifest = "${build}/manifest.mf"/>
</target>
<target name = "install" depends = "jar">
<!-- flush cache -->
<delete dir = "${protege.home}/configuration/org.eclipse.core.runtime"/>
<delete dir = "${protege.home}/configuration/org.eclipse.osgi"/>
<copy file="${build}/${plugin}.jar"
todir = "${protege.common}"
overwrite = "true"/>
</target>
<target name = "junit"/>
<!-- =================================================================== -->
<!-- RUN -->
<!-- =================================================================== -->
<target name = "run" depends="init">
<java fork = "true" dir = "${protege.home}"
classname = "org.protege.osgi.framework.Launcher">
<jvmarg value = "-Dlog4j.configuration=file:log4j.xml"/>
<jvmarg value = "-Xmx1500M"/>
<classpath>
<pathelement path="${protege.osgi}"/>
<pathelement path="${protege.launcher}"/>
</classpath>
</java>
</target>
<!-- =================================================================== -->
<!-- DEBUG -->
<!-- =================================================================== -->
<target name = "debug" depends="init">
<java fork = "true" dir = "${protege.home}"
classname = "org.protege.osgi.framework.Launcher">
<jvmarg value = "-Dlog4j.configuration=file:log4j.xml"/>
<jvmarg value = "-agentlib:jdwp=transport=dt_socket,address=8500,server=y,suspend=y"/>
<jvmarg value = "-Xmx1500M"/>
<classpath>
<pathelement path="${protege.osgi}"/>
<pathelement path="${protege.launcher}"/>
</classpath>
</java>
</target>
<target name = "clean">
<delete dir = "${build}"/>
</target>
<target name = "usage">
<echo message = "To run this script set the PROTEGE_HOME environment"/>
<echo message = "variable and use one of the following targets"/>
<echo message = "jar - builds the jar (bundle) file for this project"/>
<echo message = "install - installs the bundle into the Protege distribution"/>
<echo message = "copy.resources - copyies resources into the classes directory"/>
<echo message = " this can be useful for ide developers - see the wiki"/>
<echo message = "run - runs Protege (requires that Protege has been installed)"/>
<echo message = "debug - starts Protege with the debugger using port 8500"/>
</target>
<!--
Standard properties that should not require changing
-->
<property name="equinox.common"
location="${protege.common}/org.eclipse.equinox.common.jar"/>
<property name="equinox.registry"
location="${protege.common}/org.eclipse.equinox.registry.jar"/>
<property name="protege.lib"
location="${protege.common}/org.protege.editor.core.application.jar"/>
<property name="common.lib"
location="${protege.common}/org.protege.common.jar"/>
<property name="owl.lib"
location="${protege.plugins}/org.semanticweb.owl.owlapi.jar"/>
<property name="owl.editor.jar"
location="${protege.plugins}/org.protege.editor.owl.jar"/>
</project>
BIN
Ver Arquivo
Arquivo binário não exibido.

Alguns arquivos não foram exibidos porque demasiados arquivos foram alterados neste diff Mostrar Mais