Bundle-SymbolicName: org.simantics.acorn
Bundle-Version: 1.1.2.qualifier
Bundle-Vendor: Semantum Oy
-Require-Bundle: org.apache.log4j;visibility:=reexport,
- org.simantics.db;bundle-version="0.8.0";visibility:=reexport,
- org.simantics.db.common;bundle-version="0.8.0";visibility:=reexport,
- gnu.trove3;bundle-version="3.0.0",
+Require-Bundle: gnu.trove3;bundle-version="3.0.0",
gnu.trove2;bundle-version="2.0.4",
org.simantics.db.impl;bundle-version="0.8.0",
org.simantics.db.server;bundle-version="1.0.0",
org.simantics.compressions;bundle-version="1.0.0",
org.simantics.backup,
org.eclipse.core.runtime;bundle-version="3.11.1",
- org.simantics.fastlz;bundle-version="1.2.1",
org.simantics.db.procore
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.simantics.acorn.backupProvider">
- <implementation class="org.siorg.simantics.acorn.backup.AcornBackupProvider"/>
+ <implementation class="org.simantics.acorn.backup.AcornBackupProvider"/>
<service>
<provide interface="org.simantics.backup.IBackupProvider"/>
</service>
public static ServerManager create(String databaseId, String address) throws IOException, DatabaseException {\r
Driver driver = Manager.getDriver(databaseId);\r
if (driver == null)\r
- throw new IllegalArgumentException("Database driver for ID " + databaseId + " Could not be found!");\r
- System.out.println("ServerManagerFactory.create called with databaseId=" + databaseId + " and driver is " + driver.toString());\r
+ throw new IllegalArgumentException("Database driver with ID " + databaseId + " could not be found!");\r
+ System.out.println("ServerManagerFactory.create called with id " + databaseId + ", driver is " + driver.toString());\r
DatabaseUserAgent agent = Manager.getUserAgent(databaseId);\r
if (agent != null)\r
driver.setDatabaseUserAgent(address, agent);\r
/**\r
* Default database ID\r
*/\r
- private static final String DEFAULT_DATABASE_ID = "procore";\r
+ private static final String DEFAULT_DATABASE_ID = "acorn";\r
\r
/**\r
* The arguments received by the application.\r
import org.eclipse.core.runtime.Status;\r
import org.eclipse.core.runtime.SubMonitor;\r
import org.eclipse.osgi.service.resolver.BundleDescription;\r
-import org.simantics.SimanticsPlatform.OntologyRecoveryPolicy;\r
-import org.simantics.SimanticsPlatform.RecoveryPolicy;\r
import org.simantics.databoard.Bindings;\r
import org.simantics.databoard.Databoard;\r
import org.simantics.datatypes.literal.Font;\r
// Check hash of transferable graph to know whether to update or not.\r
if (platformBundle.getHashcode() == existingBundle.getHashcode())\r
continue;\r
- System.out.println("Ontology hashcodes does not match! platformBundle" + platformBundle.getName() + ".getHashCode()=" + platformBundle.getHashcode() + " existingBundle" + existingBundle.getName() + ".getHashCode()=" + existingBundle.getHashcode());\r
+ System.out.println("Ontology hashcodes do not match: platform bundle="\r
+ + platformBundle.getVersionedId() + ", hash=" + platformBundle.getHashcode()\r
+ + "; existing bundle=" + existingBundle.getVersionedId() + ", hash=" + existingBundle.getHashcode());\r
reinstallTGs.put(platformBundle, existingBundle);\r
}\r
}\r
install-size="0"\r
version="0.0.0"/>\r
\r
+ <plugin\r
+ id="org.simantics.acorn"\r
+ download-size="0"\r
+ install-size="0"\r
+ version="0.0.0"\r
+ unpack="false"/>\r
+\r
<plugin\r
id="org.simantics.databoard"\r
download-size="0"\r
version="0.0.0"\r
unpack="false"/>\r
\r
+ <plugin\r
+ id="org.simantics.backup"\r
+ download-size="0"\r
+ install-size="0"\r
+ version="0.0.0"\r
+ unpack="false"/>\r
+\r
</feature>\r