Skip to content

Commit

Permalink
MARP-653: convert to Ivy Designer 11.3 (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phạm Duy Linh authored Jul 24, 2024
1 parent b8d88f3 commit 7acc1bb
Show file tree
Hide file tree
Showing 37 changed files with 549 additions and 500 deletions.
7 changes: 1 addition & 6 deletions persistence-utils-demo-test/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**/*.ivyClass|**/*.mod|**/*.rddescriptor|**/*.xhtml" kind="src" path="src_hd">
<attributes>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src_wsproc">
<classpathentry kind="src" path="src_wsproc">
<attributes>
<attribute name="optional" value="true"/>
</attributes>
Expand Down
5 changes: 5 additions & 0 deletions persistence-utils-demo-test/.project
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>ch.ivyteam.ivy.dialog.form.build.ivyDialogFormBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>ch.ivyteam.ivy.designer.ide.ivyModelValidationBuilder</name>
<arguments>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.utils.persistence.test.Data
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.utils.persistence.test
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11
ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=100000
eclipse.preferences.version=1
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=13
ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=113000
eclipse.preferences.version=1
Original file line number Diff line number Diff line change
@@ -1,47 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">



<wb-module deploy-name="persistence-utils-demo-test">



<wb-resource deploy-path="/" source-path="/webContent" tag="defaultRootSource"/>



<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>



<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_hd"/>



<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_wsproc"/>



<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_dataClasses"/>


<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/.apt_generated"/>


<wb-resource deploy-path="/WEB-INF/classes" source-path="/.apt_generated_tests"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_generated"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_generated_tests"/>



<property name="java-output-path" value="/persistence-utils-demo-test/target/classes"/>

<property name="context-root" value="persistence-utils-demo-test"/>



</wb-module>



</project-modules>
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="persistence-utils-demo-test">
<wb-resource deploy-path="/" source-path="/webContent" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_wsproc"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_dataClasses"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/.apt_generated"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/.apt_generated_tests"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_generated"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_generated_tests"/>
<property name="java-output-path" value="/persistence-utils-demo-test/target/classes"/>
<property name="context-root" value="persistence-utils-demo-test"/>
</wb-module>
</project-modules>
113 changes: 57 additions & 56 deletions persistence-utils-demo-test/pom.xml
Original file line number Diff line number Diff line change
@@ -1,57 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.axonivy.utils.persistence</groupId>
<artifactId>persistence-utils-demo-test</artifactId>
<version>10.0.9-SNAPSHOT</version>
<packaging>iar</packaging>
<description>Test project of the persistence utils demo project. Note, that this project is currently also used to test some aspects of the persistence library.</description>
<dependencies>
<dependency>
<groupId>com.axonivy.utils.persistence</groupId>
<artifactId>persistence-utils-demo-tool</artifactId>
<version>${project.version}</version>
<type>iar</type>
</dependency>
<dependency>
<groupId>com.axonivy.ivy.test</groupId>
<artifactId>unit-tester</artifactId>
<version>10.0.16</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>5.6.5.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>2.7.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>3.7.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<testSourceDirectory>src_test</testSourceDirectory>
<plugins>
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>10.0.16</version>
<extensions>true</extensions>
<configuration>
<compilerOptions>
<compilerOption>-proc:none</compilerOption>
</compilerOptions>
</configuration>
</plugin>
</plugins>
</build>
</project>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.axonivy.utils.persistence</groupId>
<artifactId>persistence-utils-demo-test</artifactId>
<version>11.3.0-SNAPSHOT</version>
<packaging>iar</packaging>
<description>Test project of the persistence utils demo project. Note, that this project is currently also used to test some aspects of the persistence library.</description>
<dependencies>
<dependency>
<groupId>com.axonivy.utils.persistence</groupId>
<artifactId>persistence-utils-demo-tool</artifactId>
<version>${project.version}</version>
<type>iar</type>
</dependency>
<dependency>
<groupId>com.axonivy.ivy.test</groupId>
<artifactId>unit-tester</artifactId>
<version>10.0.16</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>5.6.5.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>2.7.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>3.7.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<testSourceDirectory>src_test</testSourceDirectory>
<plugins>
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>11.3.0</version>
<extensions>true</extensions>
<configuration>
<compilerOptions>
<compilerOption>-proc:none</compilerOption>
</compilerOptions>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/Car_.java
/Constrained_.java
/HistorizedPerson_.java
/InvoicePosition_.java
/Invoice_.java
/Option_.java
/Producer_.java
/Product_.java
/Vehicle_.java
7 changes: 1 addition & 6 deletions persistence-utils-demo-tool/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**/*.ivyClass|**/*.p.json|**/*.rddescriptor|**/*.xhtml" kind="src" path="src_hd">
<attributes>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src_wsproc">
<classpathentry kind="src" path="src_wsproc">
<attributes>
<attribute name="optional" value="true"/>
</attributes>
Expand Down
5 changes: 5 additions & 0 deletions persistence-utils-demo-tool/.project
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>ch.ivyteam.ivy.dialog.form.build.ivyDialogFormBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>ch.ivyteam.ivy.designer.ide.ivyModelValidationBuilder</name>
<arguments>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.utils.persistence.demo.tool.Data
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.utils.persistence.utils.tool
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11
ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=100000
eclipse.preferences.version=1
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=13
ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=113000
eclipse.preferences.version=1
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="persistence-utils-demo-tool">
<wb-resource deploy-path="/" source-path="/webContent" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_hd"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_wsproc"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_dataClasses"/>
<property name="context-root" value="persistence-utils-demo-tool"/>
<property name="java-output-path" value="/persistence-utils-demo-tool/target/classes"/>
</wb-module>
</project-modules>
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="persistence-utils-demo-tool">
<wb-resource deploy-path="/" source-path="/webContent" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_wsproc"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_dataClasses"/>
<property name="context-root" value="persistence-utils-demo-tool"/>
<property name="java-output-path" value="/persistence-utils-demo-tool/target/classes"/>
</wb-module>
</project-modules>
7 changes: 4 additions & 3 deletions persistence-utils-demo-tool/pom.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.axonivy.utils.persistence</groupId>
<artifactId>persistence-utils-demo-tool</artifactId>
<version>10.0.9-SNAPSHOT</version>
<version>11.3.0-SNAPSHOT</version>
<packaging>iar</packaging>
<dependencies>
<dependency>
Expand All @@ -23,7 +24,7 @@
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>10.0.16</version>
<version>11.3.0</version>
<extensions>true</extensions>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"format" : "10.0.0",
"$schema" : "https://json-schema.axonivy.com/process/11.3.0/process.json",
"id" : "173A425FAB8461C1",
"config" : {
"data" : "com.axonivy.utils.persistence.demo.tool.Data"
Expand All @@ -9,17 +9,22 @@
"type" : "RequestStart",
"name" : "testTasks.ivp",
"config" : {
"callSignature" : "testTasks",
"responsible" : "Administrator",
"outLink" : "testTasks.ivp",
"wfuser" : "1",
"startName" : "Execute test tasks"
"signature" : "testTasks",
"request" : {
"name" : "Execute test tasks"
},
"permission" : {
"anonymous" : false,
"role" : "Administrator"
}
},
"visual" : {
"at" : { "x" : 96, "y" : 64 },
"labelOffset" : { "x" : 28, "y" : 37 }
},
"connect" : { "id" : "f3", "to" : "f2" }
"connect" : [
{ "id" : "f3", "to" : "f2" }
]
}, {
"id" : "f1",
"type" : "TaskEnd",
Expand All @@ -31,12 +36,13 @@
"type" : "DialogCall",
"name" : "TestTasks",
"config" : {
"dialogId" : "com.axonivy.utils.persistence.demo.tool.TestTasks",
"startMethod" : "start()"
"dialog" : "com.axonivy.utils.persistence.demo.tool.TestTasks:start()"
},
"visual" : {
"at" : { "x" : 224, "y" : 64 }
},
"connect" : { "id" : "f4", "to" : "f1" }
"connect" : [
{ "id" : "f4", "to" : "f1" }
]
} ]
}
Loading

0 comments on commit 7acc1bb

Please sign in to comment.