diff --git a/o2server/.settings/org.eclipse.core.resources.prefs b/o2server/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c0203a7844de00dbfc56e6a35d8ed3c022c..0000000000000000000000000000000000000000 --- a/o2server/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/o2server/.settings/org.eclipse.m2e.core.prefs b/o2server/.settings/org.eclipse.m2e.core.prefs deleted file mode 100644 index f897a7f1cb2389f85fe6381425d29f0a9866fb65..0000000000000000000000000000000000000000 --- a/o2server/.settings/org.eclipse.m2e.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -activeProfiles= -eclipse.preferences.version=1 -resolveWorkspaceProjects=true -version=1 diff --git a/o2server/x_build_and_scratch/.gitignore b/o2server/x_build_and_scratch/.gitignore deleted file mode 100644 index 2b9643134ef6e4020d45328dfee6504a38ea6ef2..0000000000000000000000000000000000000000 --- a/o2server/x_build_and_scratch/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.classpath -.project -/.settings/ -/target/ diff --git a/o2server/x_build_and_scratch/lib/huawei/cloud-java-sdk-smn-2.0.2.jar b/o2server/x_build_and_scratch/lib/huawei/cloud-java-sdk-smn-2.0.2.jar deleted file mode 100644 index 099d39912161931657a2f63d61ea171ccdff5336..0000000000000000000000000000000000000000 Binary files a/o2server/x_build_and_scratch/lib/huawei/cloud-java-sdk-smn-2.0.2.jar and /dev/null differ diff --git a/o2server/x_build_and_scratch/lib/huawei/esdk-obs-java-2.1.21.jar b/o2server/x_build_and_scratch/lib/huawei/esdk-obs-java-2.1.21.jar deleted file mode 100644 index ed4f1c03c6c563678a92668a06dc52d9d4af59e7..0000000000000000000000000000000000000000 Binary files a/o2server/x_build_and_scratch/lib/huawei/esdk-obs-java-2.1.21.jar and /dev/null differ diff --git a/o2server/x_build_and_scratch/lib/huawei/java-xmlbuilder-1.2.jar b/o2server/x_build_and_scratch/lib/huawei/java-xmlbuilder-1.2.jar deleted file mode 100644 index 0975d0802813fdcffe8e3bbb4ce262608a1e0259..0000000000000000000000000000000000000000 Binary files a/o2server/x_build_and_scratch/lib/huawei/java-xmlbuilder-1.2.jar and /dev/null differ diff --git a/o2server/x_build_and_scratch/lib/java/tools.jar b/o2server/x_build_and_scratch/lib/java/tools.jar deleted file mode 100644 index eda2f4b94af70a91ed7be571f464de4ce8b6943a..0000000000000000000000000000000000000000 Binary files a/o2server/x_build_and_scratch/lib/java/tools.jar and /dev/null differ diff --git a/o2server/x_build_and_scratch/lib/sftp/jsch-0.1.53.jar b/o2server/x_build_and_scratch/lib/sftp/jsch-0.1.53.jar deleted file mode 100644 index 0910bd4b256b1cbfc3c4b82b8e959236224c224a..0000000000000000000000000000000000000000 Binary files a/o2server/x_build_and_scratch/lib/sftp/jsch-0.1.53.jar and /dev/null differ diff --git a/o2server/x_build_and_scratch/pom.xml b/o2server/x_build_and_scratch/pom.xml deleted file mode 100644 index 3835c664f36c45e078fd4d42a4337d885c500b70..0000000000000000000000000000000000000000 --- a/o2server/x_build_and_scratch/pom.xml +++ /dev/null @@ -1,112 +0,0 @@ - - 4.0.0 - - o2oa - o2server - 4.0.5 - - x_build_and_scratch - pom - - - o2oa - x_base_core_project - - - o2oa - x_attendance_core_entity - - - o2oa - x_bbs_core_entity - - - o2oa - x_calendar_core_entity - - - o2oa - x_cms_core_entity - - - o2oa - x_collaboration_core_entity - - - o2oa - x_component_core_entity - - - o2oa - x_file_core_entity - - - o2oa - x_general_core_entity - - - o2oa - x_hotpic_core_entity - - - o2oa - x_meeting_core_entity - - - o2oa - x_message_core_entity - - - o2oa - x_mind_core_entity - - - o2oa - x_okr_core_entity - - - o2oa - x_organization_core_entity - - - o2oa - x_portal_core_entity - - - o2oa - x_organization_core_entity - - - o2oa - x_processplatform_core_entity - - - o2oa - x_query_core_entity - - - o2oa - x_report_core_entity - - - o2oa - x_strategydeploy_core_entity - - - o2oa - x_collaboration_core_message - - - o2oa - x_organization_core_express - - - o2oa - x_query_core_express - - - - - \ No newline at end of file diff --git a/o2server/x_build_and_scratch/script/publish_version.xml b/o2server/x_build_and_scratch/script/publish_version.xml deleted file mode 100644 index 88fba1847f5d37a8aff873cbabadadd1af11e6aa..0000000000000000000000000000000000000000 --- a/o2server/x_build_and_scratch/script/publish_version.xml +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/o2server/x_build_and_scratch/src/main/java/com/x/build/and/scratch/manifest/ManifestCfgCreator.java b/o2server/x_build_and_scratch/src/main/java/com/x/build/and/scratch/manifest/ManifestCfgCreator.java deleted file mode 100644 index cae14b1995dacd1cf40c601cc52c9c769a451c7c..0000000000000000000000000000000000000000 --- a/o2server/x_build_and_scratch/src/main/java/com/x/build/and/scratch/manifest/ManifestCfgCreator.java +++ /dev/null @@ -1,79 +0,0 @@ -package com.x.build.and.scratch.manifest; - -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import java.util.stream.Collectors; - -import org.apache.commons.io.FileUtils; -import org.apache.commons.lang3.StringUtils; -import org.junit.Test; - -import com.x.base.core.project.tools.FileTools; - -public class ManifestCfgCreator { - - public static void main(String[] args) throws Exception { - ManifestCfgCreator creator = new ManifestCfgCreator(); - creator.commonsExt(); - creator.storeJars(); - creator.store(); - } - - @Test - public void store() throws Exception { - File dir = new File(FileTools.parent(FileTools.parent(new File("./"))), "store"); - if ((!dir.exists()) || (!dir.isDirectory())) { - throw new Exception("error"); - } - List names = new ArrayList<>(); - for (File o : dir.listFiles()) { - if ((!StringUtils.equals(o.getName(), "manifest.cfg")) && (!StringUtils.equals(o.getName(), "jars"))) { - if (StringUtils.isNotEmpty(o.getName())) { - names.add(o.getName()); - } - } - } - names = names.stream().sorted().collect(Collectors.toList()); - File file = new File(dir, "manifest.cfg"); - FileUtils.writeLines(file, names); - } - - @Test - public void storeJars() throws Exception { - File dir = new File(FileTools.parent(FileTools.parent(new File("./"))), "store/jars"); - if ((!dir.exists()) || (!dir.isDirectory())) { - throw new Exception("error"); - } - List names = new ArrayList<>(); - for (File o : dir.listFiles()) { - if (!StringUtils.equals(o.getName(), "manifest.cfg")) { - if (StringUtils.isNotEmpty(o.getName())) { - names.add(o.getName()); - } - } - } - names = names.stream().sorted().collect(Collectors.toList()); - File file = new File(dir, "manifest.cfg"); - FileUtils.writeLines(file, names); - } - - @Test - public void commonsExt() throws Exception { - File dir = new File(FileTools.parent(FileTools.parent(new File("./"))), "commons/ext"); - if ((!dir.exists()) || (!dir.isDirectory())) { - throw new Exception("error"); - } - List names = new ArrayList<>(); - for (File o : dir.listFiles()) { - if (!StringUtils.equals(o.getName(), "manifest.cfg")) { - if (StringUtils.isNotEmpty(o.getName())) { - names.add(o.getName()); - } - } - } - names = names.stream().sorted().collect(Collectors.toList()); - File file = new File(dir, "manifest.cfg"); - FileUtils.writeLines(file, names); - } -} \ No newline at end of file diff --git a/o2server/x_build_and_scratch/src/main/resources/pom_template_assemble.xml b/o2server/x_build_and_scratch/src/main/resources/pom_template_assemble.xml deleted file mode 100644 index 3715251621dbb598a2816626de776d88aff8d94b..0000000000000000000000000000000000000000 --- a/o2server/x_build_and_scratch/src/main/resources/pom_template_assemble.xml +++ /dev/null @@ -1,128 +0,0 @@ - - 4.0.0 - - o2oa - o2server - 4.0.5 - - x_processplatform_assemble_designer - - - org.imgscalr - imgscalr-lib - 4.2 - - - com.sun - tools - 1.5.0 - system - ${basedir}/../o2server_build_and_scratch/lib/java/tools.jar - - - o2oa.o2server - x_base_core_project - ${version} - system - ${basedir}/../store/jars/x_base_core_project.jar - - - o2oa.o2server - x_query_core_entity - ${version} - system - ${basedir}/../store/jars/x_query_core_entity.jar - - - o2oa.o2server - x_processplatform_core_entity - ${version} - system - ${basedir}/../store/jars/x_processplatform_core_entity.jar - - - o2oa.o2server - x_organization_core_express - ${version} - system - ${basedir}/../store/jars/x_organization_core_express.jar - - - o2oa.o2server - x_organization_core_entity - ${version} - system - ${basedir}/../store/jars/x_organization_core_entity.jar - - - - - package - - - maven-antrun-plugin - 1.7 - - - com.sun - tools - 1.5.0 - system - ${basedir}/../o2server_build_and_scratch/lib/java/tools.jar - - - - - createEnhancePersistenceXml - generate-sources - - - - - - - - - run - - - - - - maven-resources-plugin - 3.1.0 - - - copy-resources - verify - - copy-resources - - - ../store/ - - - target - - *.war - - - - - - - - - maven-war-plugin - 3.2.2 - - WEB-INF/lib/*.jar - - - - - - war - \ No newline at end of file diff --git a/o2server/x_build_and_scratch/src/main/resources/pom_template_core.xml b/o2server/x_build_and_scratch/src/main/resources/pom_template_core.xml deleted file mode 100644 index 16996eb5ffa182cacb389b7c9b9055762124f922..0000000000000000000000000000000000000000 --- a/o2server/x_build_and_scratch/src/main/resources/pom_template_core.xml +++ /dev/null @@ -1,29 +0,0 @@ - - 4.0.0 - - o2oa - o2server - 4.0.5 - - o2server_build_and_scratch - - - com.sun - tools - 1.5.0 - system - ${basedir}/../o2server_build_and_scratch/lib/java/tools.jar - - - o2oa.o2server - x_base_core_project - ${version} - system - ${basedir}/../store/jars/x_base_core_project.jar - - - - - \ No newline at end of file diff --git a/o2server/x_build_and_scratch/src/main/resources/pom_template_service.xml b/o2server/x_build_and_scratch/src/main/resources/pom_template_service.xml deleted file mode 100644 index 3715251621dbb598a2816626de776d88aff8d94b..0000000000000000000000000000000000000000 --- a/o2server/x_build_and_scratch/src/main/resources/pom_template_service.xml +++ /dev/null @@ -1,128 +0,0 @@ - - 4.0.0 - - o2oa - o2server - 4.0.5 - - x_processplatform_assemble_designer - - - org.imgscalr - imgscalr-lib - 4.2 - - - com.sun - tools - 1.5.0 - system - ${basedir}/../o2server_build_and_scratch/lib/java/tools.jar - - - o2oa.o2server - x_base_core_project - ${version} - system - ${basedir}/../store/jars/x_base_core_project.jar - - - o2oa.o2server - x_query_core_entity - ${version} - system - ${basedir}/../store/jars/x_query_core_entity.jar - - - o2oa.o2server - x_processplatform_core_entity - ${version} - system - ${basedir}/../store/jars/x_processplatform_core_entity.jar - - - o2oa.o2server - x_organization_core_express - ${version} - system - ${basedir}/../store/jars/x_organization_core_express.jar - - - o2oa.o2server - x_organization_core_entity - ${version} - system - ${basedir}/../store/jars/x_organization_core_entity.jar - - - - - package - - - maven-antrun-plugin - 1.7 - - - com.sun - tools - 1.5.0 - system - ${basedir}/../o2server_build_and_scratch/lib/java/tools.jar - - - - - createEnhancePersistenceXml - generate-sources - - - - - - - - - run - - - - - - maven-resources-plugin - 3.1.0 - - - copy-resources - verify - - copy-resources - - - ../store/ - - - target - - *.war - - - - - - - - - maven-war-plugin - 3.2.2 - - WEB-INF/lib/*.jar - - - - - - war - \ No newline at end of file diff --git a/o2server/x_build_and_scratch/src/test/java/test/bluetooth/TestClient.java b/o2server/x_build_and_scratch/src/test/java/test/bluetooth/TestClient.java deleted file mode 100644 index 398514882dcc7271eaacb6c82fd334261bbe503a..0000000000000000000000000000000000000000 --- a/o2server/x_build_and_scratch/src/test/java/test/bluetooth/TestClient.java +++ /dev/null @@ -1,6 +0,0 @@ -package test.bluetooth; - -public class TestClient { - -} - diff --git a/o2server/x_build_and_scratch/src/test/java/test/o2/a/build/TestClient.java b/o2server/x_build_and_scratch/src/test/java/test/o2/a/build/TestClient.java deleted file mode 100644 index 8af960cb35277c016676d3e6c8f2f0cb6f5584a2..0000000000000000000000000000000000000000 --- a/o2server/x_build_and_scratch/src/test/java/test/o2/a/build/TestClient.java +++ /dev/null @@ -1,16 +0,0 @@ -package test.o2.a.build; - -import org.junit.Test; - -import com.x.base.core.project.tools.Crypto; - -public class TestClient { - - @Test - public void test() throws Exception { - String key = "12366dev"; - String value = "YHf4fX6-AP2HGgNijGHDWmsY6EbeJJhQjSZFfQrWh1HzSoe6Nt0X7YqABjb2f-GI"; - - System.out.println(Crypto.decrypt(value, key)); - } -}