Skip to content

Commit

Permalink
Werte vom BIMServer mit korrektem Datentyp holen
Browse files Browse the repository at this point in the history
http://bitnami/issues/7138
  • Loading branch information
WeltWeitBau committed Apr 18, 2023
1 parent ec66cc1 commit 5b36270
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Bdb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>de.weltweitbau</groupId>
<artifactId>parent</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</parent>
<packaging>jar</packaging>
<name>Bdb</name>
Expand Down
2 changes: 1 addition & 1 deletion BimServer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.weltweitbau</groupId>
<artifactId>parent</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</parent>
<build>
<sourceDirectory>src</sourceDirectory>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,11 @@ private void includePropertySingleValue(HashMapVirtualObject property, String pr
}

Object wrappedValue = value.eGet(value.eClass().getEStructuralFeature("wrappedValue"));
if (value.eClass().getName().equals("IfcBoolean")) {
if (matchesType(value.eClass(), "IfcBoolean")) {
Enumerator tristate = (Enumerator) wrappedValue;
includedProperties.put(name, tristate.getName().toLowerCase());
} else if(wrappedValue instanceof Number || wrappedValue instanceof Boolean) {
includedProperties.put(name, wrappedValue);
} else {
includedProperties.put(name, wrappedValue.toString());
}
Expand Down
2 changes: 1 addition & 1 deletion BimServerClientLib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>de.weltweitbau</groupId>
<artifactId>parent</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</parent>
<properties>
<cxf.version>3.3.2</cxf.version>
Expand Down
2 changes: 1 addition & 1 deletion BimServerJar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>de.weltweitbau</groupId>
<artifactId>parent</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</parent>
<build>
<sourceDirectory>src</sourceDirectory>
Expand Down
32 changes: 20 additions & 12 deletions BimServerWar/.settings/org.eclipse.wst.common.component
Original file line number Diff line number Diff line change
@@ -1,28 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">

<wb-module deploy-name="bimserverwar-1.5.182">
<wb-resource deploy-path="/WEB-INF/web.xml" source-path="/web.xml"/>

<wb-module deploy-name="bimserverwar-1.3.0">

<wb-resource deploy-path="/WEB-INF/web.xml" source-path="/web.xml"/>


<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>



<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<dependent-module archiveName="bimserver-1.5.182.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/BimServer/BimServer">
<dependent-module archiveName="bimserver-1.3.0.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/BimServer/BimServer">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="bimserverclientlib-1.5.182.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/BimServerClientLib/BimServerClientLib">
<dependent-module archiveName="bimserverclientlib-1.3.0.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/BimServerClientLib/BimServerClientLib">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="shared-1.5.182.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/Shared/Shared">
<dependent-module archiveName="shared-1.3.0.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/Shared/Shared">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="pluginbase-1.5.182.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/PluginBase/PluginBase">
<dependent-module archiveName="pluginbase-1.3.0.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/PluginBase/PluginBase">
<dependency-type>uses</dependency-type>
</dependent-module>



<property name="java-output-path" value="/BimServerWar/target/classes"/>



<property name="context-root" value="bimserverwar"/>

</wb-module>


</wb-module>


</project-modules>
2 changes: 1 addition & 1 deletion BimServerWar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>de.weltweitbau</groupId>
<artifactId>parent</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</parent>
<build>
<sourceDirectory>src</sourceDirectory>
Expand Down
2 changes: 1 addition & 1 deletion PluginBase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>de.weltweitbau</groupId>
<artifactId>parent</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</parent>
<build>
<sourceDirectory>src</sourceDirectory>
Expand Down
2 changes: 1 addition & 1 deletion Shared/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>de.weltweitbau</groupId>
<artifactId>parent</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</parent>
<build>
<sourceDirectory>src</sourceDirectory>
Expand Down
2 changes: 1 addition & 1 deletion Tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.weltweitbau</groupId>
<artifactId>parent</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</parent>
<build>
<sourceDirectory>src</sourceDirectory>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.weltweitbau</groupId>
<artifactId>parent</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
<packaging>pom</packaging>
<description>This is the parent pom, no idea why this is being released</description>
<properties>
Expand Down

0 comments on commit 5b36270

Please sign in to comment.