You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2024/01/01 20:19:56 UTC
(ofbiz-framework) branch release18.12 updated (651998e0aa -> 0ba2011f26)
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a change to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
from 651998e0aa Improved: Adds LICENCE to GetUiLabels.ftl
new c57cf89ffc Implemented: Replace SvnCheckout in Gradle (OFBIZ-12868)
new c55ee999a1 Implemented: Replace SvnCheckout in Gradle (OFBIZ-12868) (INFRA-25327)
new a39981f238 Fixed: Updates to 2024
new 0ba2011f26 Improved: Replace SvnCheckout in Gradle (OFBIZ-12868
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/docker-image.yaml | 8 ++--
.github/workflows/gradle.yaml | 11 +++--
NOTICE | 2 +-
README.adoc | 24 +++++-----
build.gradle | 4 +-
...-gradle-wrapper.bat => pullAllPluginsSource.bat | 21 +++++++--
.../applySolrConfig.sh => pullAllPluginsSource.sh | 28 +++++++++---
init-gradle-wrapper.bat => pullPluginSource.bat | 30 +++++++++++--
pullPluginSource.sh | 51 ++++++++++++++++++++++
9 files changed, 142 insertions(+), 37 deletions(-)
copy init-gradle-wrapper.bat => pullAllPluginsSource.bat (69%)
mode change 100755 => 100644
copy docker/examples/postgres-demo/after-config-applied.d/applySolrConfig.sh => pullAllPluginsSource.sh (63%)
mode change 100644 => 100755
copy init-gradle-wrapper.bat => pullPluginSource.bat (55%)
mode change 100755 => 100644
create mode 100644 pullPluginSource.sh
(ofbiz-framework) 01/04: Implemented: Replace SvnCheckout in Gradle (OFBIZ-12868)
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit c57cf89ffc008c8ef3eae7f9fc2d666fbd560b77
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Sun Dec 31 10:01:06 2023 +0100
Implemented: Replace SvnCheckout in Gradle (OFBIZ-12868)
As mentionned in https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy
the SvnCheckout Gradle plugin will not be usable after January 8, 2024.
This is a replacement using OS scripts. Only for now to test with BuildBot
---
pullAllPluginsSource.bat | 39 ++++++++++++++++++++++++++++++++++++
pullAllPluginsSource.sh | 40 +++++++++++++++++++++++++++++++++++++
pullPluginSource.bat | 48 +++++++++++++++++++++++++++++++++++++++++++++
pullPluginSource.sh | 51 ++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 178 insertions(+)
diff --git a/pullAllPluginsSource.bat b/pullAllPluginsSource.bat
new file mode 100644
index 0000000000..b14f8d7a7e
--- /dev/null
+++ b/pullAllPluginsSource.bat
@@ -0,0 +1,39 @@
+@echo off
+rem #####################################################################
+rem Licensed to the Apache Software Foundation (ASF) under one
+rem or more contributor license agreements. See the NOTICE file
+rem distributed with this work for additional information
+rem regarding copyright ownership. The ASF licenses this file
+rem to you under the Apache License, Version 2.0 (the
+rem "License"); you may not use this file except in compliance
+rem with the License. You may obtain a copy of the License at
+rem
+rem http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing,
+rem software distributed under the License is distributed on an
+rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+rem KIND, either express or implied. See the License for the
+rem specific language governing permissions and limitations
+rem under the License.
+rem #####################################################################
+
+rem Whatever, create anew
+if EXIST plugins\ (
+ cmd /c rd /s/q plugins
+)
+git branch --show-current > temp.txt
+set /p branch=<temp.txt
+del temp.txt
+
+git clone https://github.com/apache/ofbiz-plugins.git plugins
+cd plugins
+
+rem By default the clone branch is trunk
+if NOT trunk == %branch% (
+ call git switch -c %branch% --track origin/%branch%
+)
+
+rem Remove .git, in this case it's big useless information
+cmd /c rd /s/q .git
+cd ..
diff --git a/pullAllPluginsSource.sh b/pullAllPluginsSource.sh
new file mode 100644
index 0000000000..eaa5f7e016
--- /dev/null
+++ b/pullAllPluginsSource.sh
@@ -0,0 +1,40 @@
+#!/usr/bin/env sh
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Whatever, create anew
+if [ -d "plugins" ]
+ then
+ rm -rf plugins
+fi
+
+git branch --show-current > temp.txt
+branch=$(cat temp.txt)
+rm temp.txt
+
+git clone https://github.com/apache/ofbiz-plugins.git plugins
+cd plugins
+
+# By default the clone branch is trunk
+if [ ! trunk == "$branch" ]
+ then
+ git switch -c "$branch" --track origin/"$branch"
+fi
+
+# remove .git, in this case it's big useless information
+rm -rf .git
+cd ..
diff --git a/pullPluginSource.bat b/pullPluginSource.bat
new file mode 100644
index 0000000000..a3d5960157
--- /dev/null
+++ b/pullPluginSource.bat
@@ -0,0 +1,48 @@
+@echo off
+rem #####################################################################
+rem Licensed to the Apache Software Foundation (ASF) under one
+rem or more contributor license agreements. See the NOTICE file
+rem distributed with this work for additional information
+rem regarding copyright ownership. The ASF licenses this file
+rem to you under the Apache License, Version 2.0 (the
+rem "License"); you may not use this file except in compliance
+rem with the License. You may obtain a copy of the License at
+rem
+rem http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing,
+rem software distributed under the License is distributed on an
+rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+rem KIND, either express or implied. See the License for the
+rem specific language governing permissions and limitations
+rem under the License.
+rem #####################################################################
+
+rem Remove plugins dir in case of all plugins present
+if EXIST plugins\ (
+ if NOT EXIST plugins\.git\ (
+ cmd /c rd/s/q plugins
+ )
+)
+rem Clone if new else simply init sparse-checkout
+if NOT EXIST plugins\.git\ (
+ git clone --filter=blob:none --sparse https://github.com/apache/ofbiz-plugins.git plugins
+ cd plugins
+) else (
+ cd plugins
+ rem the documentation says init is deprecated but set does work here: https://git-scm.com/docs/git-sparse-checkout
+ git sparse-checkout init --cone --sparse-index
+)
+
+rem Add the plugin
+git sparse-checkout add %1
+
+
+git branch --show-current > temp.txt
+set /p branch=<temp.txt
+del temp.txt
+rem By default the clone branch is trunk
+if NOT trunk == %branch% (
+ call git switch -c %1 --track origin/%1
+)
+cd ..
diff --git a/pullPluginSource.sh b/pullPluginSource.sh
new file mode 100644
index 0000000000..c4de388afd
--- /dev/null
+++ b/pullPluginSource.sh
@@ -0,0 +1,51 @@
+#!/usr/bin/env sh
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+
+# Remove plugins dir in case of all plugins present
+if [ -d "plugins" ]
+ then
+ if [ ! -d "plugins\.git" ]
+ then
+ rm -rf plugins
+ fi
+fi
+
+# Clone if new else simply init sparse-checkout
+if [ ! -d "plugins\.git" ]
+ then
+ git clone --filter=blob:none --sparse https://github.com/apache/ofbiz-plugins.git plugins
+ cd plugins
+else
+ cd plugins
+ # the documentation says init is deprecated but set does work here: https://git-scm.com/docs/git-sparse-checkout
+ git sparse-checkout init --cone --sparse-index
+fi
+
+# Add the plugin
+git sparse-checkout add "$1"
+git branch --show-current > temp.txt
+branch=$(cat temp.txt)
+rm temp.txt
+
+# By default the clone branch is trunk
+if [ ! trunk == "$branch" ]
+ then
+ call git switch -c "$1" --track origin/"$1"
+fi
+cd ..
(ofbiz-framework) 03/04: Fixed: Updates to 2024
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit a39981f238f4e358f0cef9d8124e85d4ca352a24
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Mon Jan 1 16:49:53 2024 +0100
Fixed: Updates to 2024
This was preventing integration tests to pass
Conflicts handled by hand in applications/datamodel/data/demo/AccountingDemoData.xml
---
NOTICE | 2 +-
.../datamodel/data/demo/AccountingDemoData.xml | 69 +++++++++++++++++++---
2 files changed, 63 insertions(+), 8 deletions(-)
diff --git a/NOTICE b/NOTICE
index c7b96edffc..01c2d3eb9e 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
Apache OFBiz
-Copyright 2001-2022 The Apache Software Foundation
+Copyright 2001-2024 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
diff --git a/applications/datamodel/data/demo/AccountingDemoData.xml b/applications/datamodel/data/demo/AccountingDemoData.xml
index 35ef12e287..9e0516cc44 100644
--- a/applications/datamodel/data/demo/AccountingDemoData.xml
+++ b/applications/datamodel/data/demo/AccountingDemoData.xml
@@ -847,13 +847,56 @@ under the License.
<VarianceReasonGlAccount organizationPartyId="Company" varianceReasonId="VAR_INTEGR" glAccountId="514000"/>
<VarianceReasonGlAccount organizationPartyId="Company" varianceReasonId="VAR_SAMPLE" glAccountId="625000"/>
- <!-- Some Sample Time Periods, two Years with Quarters -->
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6010" periodTypeId="FISCAL_YEAR" fromDate="2010-01-01 00:00:00.000" thruDate="2011-01-01 23:59:59.000" isClosed="N" periodNum="1" periodName="2010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6011" periodTypeId="FISCAL_QUARTER" fromDate="2010-01-01 00:00:00.000" thruDate="2010-04-01 23:59:59.000" isClosed="N" periodNum="2" periodName="2010/Q1" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6012" periodTypeId="FISCAL_QUARTER" fromDate="2010-04-01 00:00:00.000" thruDate="2010-07-01 23:59:59.000" isClosed="N" periodNum="3" periodName="2010/Q2" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6013" periodTypeId="FISCAL_QUARTER" fromDate="2010-07-01 00:00:00.000" thruDate="2010-10-01 23:59:59.000" isClosed="N" periodNum="4" periodName="2010/Q3" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6014" periodTypeId="FISCAL_QUARTER" fromDate="2010-10-01 00:00:00.000" thruDate="2011-01-01 23:59:59.000" isClosed="N" periodNum="5" periodName="2010/Q4" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6015" periodTypeId="FISCAL_YEAR" fromDate="2011-01-01 00:00:00.000" thruDate="2030-01-01 23:59:59.000" isClosed="N" periodNum="1" periodName="2011-2030"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4900" periodTypeId="FISCAL_YEAR" fromDate="2009-01-01 00:00:00.000" thruDate="2010-01-01 00:00:00.000" isClosed="N" periodNum="1" periodName="FY2009"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6010" periodTypeId="FISCAL_YEAR" fromDate="2010-01-01 00:00:00.000" thruDate="2011-01-01 00:00:00.000" isClosed="N" periodNum="2" periodName="FY2010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6015" periodTypeId="FISCAL_YEAR" fromDate="2011-01-01 00:00:00.000" thruDate="2012-01-01 00:00:00.000" isClosed="N" periodNum="3" periodName="FY2011"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5200" periodTypeId="FISCAL_YEAR" fromDate="2012-01-01 00:00:00.000" thruDate="2013-01-01 00:00:00.000" isClosed="N" periodNum="4" periodName="FY2012"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5300" periodTypeId="FISCAL_YEAR" fromDate="2013-01-01 00:00:00.000" thruDate="2014-01-01 00:00:00.000" isClosed="N" periodNum="5" periodName="FY2013"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5400" periodTypeId="FISCAL_YEAR" fromDate="2014-01-01 00:00:00.000" thruDate="2015-01-01 00:00:00.000" isClosed="N" periodNum="6" periodName="FY2014"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5500" periodTypeId="FISCAL_YEAR" fromDate="2015-01-01 00:00:00.000" thruDate="2016-01-01 00:00:00.000" isClosed="N" periodNum="7" periodName="FY2015"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5600" periodTypeId="FISCAL_YEAR" fromDate="2016-01-01 00:00:00.000" thruDate="2017-01-01 00:00:00.000" isClosed="N" periodNum="8" periodName="FY2016"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5700" periodTypeId="FISCAL_YEAR" fromDate="2017-01-01 00:00:00.000" thruDate="2018-01-01 00:00:00.000" isClosed="N" periodNum="9" periodName="FY2017"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5800" periodTypeId="FISCAL_YEAR" fromDate="2018-01-01 00:00:00.000" thruDate="2019-01-01 00:00:00.000" isClosed="N" periodNum="10" periodName="FY2018"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5900" periodTypeId="FISCAL_YEAR" fromDate="2019-01-01 00:00:00.000" thruDate="2020-01-01 00:00:00.000" isClosed="N" periodNum="11" periodName="FY2019"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6000" periodTypeId="FISCAL_YEAR" fromDate="2020-01-01 00:00:00.000" thruDate="2021-01-01 00:00:00.000" isClosed="N" periodNum="12" periodName="FY2020"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6100" periodTypeId="FISCAL_YEAR" fromDate="2021-01-01 00:00:00.000" thruDate="2022-01-01 00:00:00.000" isClosed="N" periodNum="13" periodName="FY2021"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6200" periodTypeId="FISCAL_YEAR" fromDate="2022-01-01 00:00:00.000" thruDate="2023-01-01 00:00:00.000" isClosed="N" periodNum="14" periodName="FY2022"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6300" periodTypeId="FISCAL_YEAR" fromDate="2023-01-01 00:00:00.000" thruDate="2024-01-01 00:00:00.000" isClosed="N" periodNum="15" periodName="FY2023"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6400" periodTypeId="FISCAL_YEAR" fromDate="2024-01-01 00:00:00.000" thruDate="2025-01-01 00:00:00.000" isClosed="N" periodNum="15" periodName="FY2024"/>
+
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4921" periodTypeId="FISCAL_QUARTER" fromDate="2009-01-01 00:00:00.000" thruDate="2009-04-01 00:00:00.000" isClosed="N" periodNum="1" periodName="2009/Q1" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4922" periodTypeId="FISCAL_QUARTER" fromDate="2009-04-01 00:00:00.000" thruDate="2009-07-01 00:00:00.000" isClosed="N" periodNum="2" periodName="2009/Q2" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4923" periodTypeId="FISCAL_QUARTER" fromDate="2009-07-01 00:00:00.000" thruDate="2009-10-01 00:00:00.000" isClosed="N" periodNum="3" periodName="2009/Q3" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4924" periodTypeId="FISCAL_QUARTER" fromDate="2009-10-01 00:00:00.000" thruDate="2010-01-01 00:00:00.000" isClosed="N" periodNum="4" periodName="2009/Q4" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4901" periodTypeId="FISCAL_MONTH" fromDate="2009-01-01 00:00:00.000" thruDate="2009-02-01 00:00:00.000" isClosed="N" periodNum="1" periodName="2009/M01" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4902" periodTypeId="FISCAL_MONTH" fromDate="2009-02-01 00:00:00.000" thruDate="2009-03-01 00:00:00.000" isClosed="N" periodNum="2" periodName="2009/M02" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4903" periodTypeId="FISCAL_MONTH" fromDate="2009-03-01 00:00:00.000" thruDate="2009-04-01 00:00:00.000" isClosed="N" periodNum="3" periodName="2009/M03" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4904" periodTypeId="FISCAL_MONTH" fromDate="2009-04-01 00:00:00.000" thruDate="2009-05-01 00:00:00.000" isClosed="N" periodNum="4" periodName="2009/M04" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4905" periodTypeId="FISCAL_MONTH" fromDate="2009-05-01 00:00:00.000" thruDate="2009-06-01 00:00:00.000" isClosed="N" periodNum="5" periodName="2009/M05" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4906" periodTypeId="FISCAL_MONTH" fromDate="2009-06-01 00:00:00.000" thruDate="2009-07-01 00:00:00.000" isClosed="N" periodNum="6" periodName="2009/M06" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4907" periodTypeId="FISCAL_MONTH" fromDate="2009-07-01 00:00:00.000" thruDate="2009-08-01 00:00:00.000" isClosed="N" periodNum="7" periodName="2009/M07" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4908" periodTypeId="FISCAL_MONTH" fromDate="2009-08-01 00:00:00.000" thruDate="2009-09-01 00:00:00.000" isClosed="N" periodNum="8" periodName="2009/M08" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4909" periodTypeId="FISCAL_MONTH" fromDate="2009-09-01 00:00:00.000" thruDate="2009-10-01 00:00:00.000" isClosed="N" periodNum="9" periodName="2009/M09" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4910" periodTypeId="FISCAL_MONTH" fromDate="2009-10-01 00:00:00.000" thruDate="2009-11-01 00:00:00.000" isClosed="N" periodNum="10" periodName="2009/M10" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4911" periodTypeId="FISCAL_MONTH" fromDate="2009-11-01 00:00:00.000" thruDate="2009-12-01 00:00:00.000" isClosed="N" periodNum="11" periodName="2009/M11" parentPeriodId="4900"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4912" periodTypeId="FISCAL_MONTH" fromDate="2009-12-01 00:00:00.000" thruDate="2010-01-01 00:00:00.000" isClosed="N" periodNum="12" periodName="2009/M12" parentPeriodId="4900"/>
+
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6011" periodTypeId="FISCAL_QUARTER" fromDate="2010-01-01 00:00:00.000" thruDate="2010-04-01 00:00:00.0" isClosed="N" periodNum="1" periodName="2010/Q1" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6012" periodTypeId="FISCAL_QUARTER" fromDate="2010-04-01 00:00:00.000" thruDate="2010-07-01 00:00:00.0" isClosed="N" periodNum="2" periodName="2010/Q2" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6013" periodTypeId="FISCAL_QUARTER" fromDate="2010-07-01 00:00:00.000" thruDate="2010-10-01 00:00:00.0" isClosed="N" periodNum="3" periodName="2010/Q3" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6014" periodTypeId="FISCAL_QUARTER" fromDate="2010-10-01 00:00:00.000" thruDate="2011-01-01 00:00:00.0" isClosed="N" periodNum="4" periodName="2010/Q4" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5001" periodTypeId="FISCAL_MONTH" fromDate="2010-01-01 00:00:00.0" thruDate="2010-02-01 00:00:00.0" isClosed="N" periodNum="1" periodName="2010/M01" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5002" periodTypeId="FISCAL_MONTH" fromDate="2010-02-01 00:00:00.0" thruDate="2010-03-01 00:00:00.0" isClosed="N" periodNum="2" periodName="2010/M02" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5003" periodTypeId="FISCAL_MONTH" fromDate="2010-03-01 00:00:00.0" thruDate="2010-04-01 00:00:00.0" isClosed="N" periodNum="3" periodName="2010/M03" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5004" periodTypeId="FISCAL_MONTH" fromDate="2010-04-01 00:00:00.0" thruDate="2010-05-01 00:00:00.0" isClosed="N" periodNum="4" periodName="2010/M04" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5005" periodTypeId="FISCAL_MONTH" fromDate="2010-05-01 00:00:00.0" thruDate="2010-06-01 00:00:00.0" isClosed="N" periodNum="5" periodName="2010/M05" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5006" periodTypeId="FISCAL_MONTH" fromDate="2010-06-01 00:00:00.0" thruDate="2010-07-01 00:00:00.0" isClosed="N" periodNum="6" periodName="2010/M06" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5007" periodTypeId="FISCAL_MONTH" fromDate="2010-07-01 00:00:00.0" thruDate="2010-08-01 00:00:00.0" isClosed="N" periodNum="7" periodName="2010/M07" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5008" periodTypeId="FISCAL_MONTH" fromDate="2010-08-01 00:00:00.0" thruDate="2010-09-01 00:00:00.0" isClosed="N" periodNum="8" periodName="2010/M08" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5009" periodTypeId="FISCAL_MONTH" fromDate="2010-09-01 00:00:00.0" thruDate="2010-10-01 00:00:00.0" isClosed="N" periodNum="9" periodName="2010/M09" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5010" periodTypeId="FISCAL_MONTH" fromDate="2010-10-01 00:00:00.0" thruDate="2010-11-01 00:00:00.0" isClosed="N" periodNum="10" periodName="2010/M10" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5011" periodTypeId="FISCAL_MONTH" fromDate="2010-11-01 00:00:00.0" thruDate="2010-12-01 00:00:00.0" isClosed="N" periodNum="11" periodName="2010/M11" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5012" periodTypeId="FISCAL_MONTH" fromDate="2010-12-01 00:00:00.0" thruDate="2011-01-01 00:00:00.0" isClosed="N" periodNum="12" periodName="2010/M12" parentPeriodId="6010"/>
<!-- to convert demo invoice -->
<UomConversionDated uomId="USD" uomIdTo="EUR" fromDate="2001-01-01 00:00:00.0" conversionFactor="0.7"/>
@@ -992,6 +1035,14 @@ under the License.
<TaxAuthority taxAuthGeoId="ON" taxAuthPartyId="ON_TAXMAN" includeTaxInPrice="Y"/>
<TaxAuthorityGlAccount taxAuthGeoId="ON" taxAuthPartyId="ON_TAXMAN" organizationPartyId="Company" glAccountId="224209"/>
+ <!-- China TaxAuthority defs -->
+ <Party partyId="CHN_STA" partyTypeId="PARTY_GROUP" preferredCurrencyUomId="CNY" statusId="PARTY_ENABLED" createdDate="2009-01-01 00:00:00.000"/>
+ <PartyGroup partyId="CHN_STA" groupName="State Taxation Administration"/>
+ <PartyRole partyId="CHN_STA" roleTypeId="TAX_AUTHORITY"/>
+ <TaxAuthority taxAuthGeoId="CHN" taxAuthPartyId="CHN_STA" includeTaxInPrice="N" requireTaxIdForExemption="Y"
+ taxIdFormatPattern=""/>
+ <TaxAuthorityGlAccount taxAuthGeoId="CHN" taxAuthPartyId="CHN_STA" organizationPartyId="Company" glAccountId="224209"/>
+
<!-- Party TaxAuthority info for Company -->
<!-- some interesting information at: http://www.taxadmin.org/fta/rate/tax_stru.html -->
<PartyTaxAuthInfo partyId="Company" taxAuthGeoId="_NA_" taxAuthPartyId="_NA_" fromDate="2001-05-13 00:00:00.001" isNexus="Y"/>
@@ -1601,4 +1652,8 @@ under the License.
inventoryItemId="9030" inventoryItemTypeId="NON_SERIAL_INV_ITEM" productId="MAT_B_COST" ownerPartyId="Company" currencyUomId="USD" unitCost="7.0"/>
<InventoryItemDetail inventoryItemId="9030" inventoryItemDetailSeqId="0001" effectiveDate="2001-05-13 12:00:00.0" availableToPromiseDiff="20" quantityOnHandDiff="20" accountingQuantityDiff="20"/>
+ <!-- defaut template screen use for Company -->
+ <CustomScreen customScreenId="DEFAULT_INV_TPL" customScreenTypeId="CST_INVOICE_TPL" customScreenName="DefaultInvoicePDF" customScreenLocation="component://accounting/widget/AccountingPrintScreens.xml"/>
+ <PartyPrefDocTypeTpl partyPrefDocTypeTplId="InvTplInvoice" partyId="Company" fromDate="2001-05-13 00:00:00" invoiceTypeId="INVOICE" customScreenId="DEFAULT_INV_TPL"/>
+
</entity-engine-xml>
(ofbiz-framework) 04/04: Improved: Replace SvnCheckout in Gradle (OFBIZ-12868
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 0ba2011f26d561e08683cc5cb521dfa68a93fa0c
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Mon Jan 1 18:02:06 2024 +0100
Improved: Replace SvnCheckout in Gradle (OFBIZ-12868
Comments out the pullPluginSource and pullAllPluginsSource Gradle tasks and
updates the documentation to use the pullPluginSource and pullAllPluginsSource
OS scripts
Conflicts handled by hand in README.adoc
---
README.adoc | 24 ++++----
.../datamodel/data/demo/AccountingDemoData.xml | 69 +++-------------------
build.gradle | 4 +-
3 files changed, 22 insertions(+), 75 deletions(-)
diff --git a/README.adoc b/README.adoc
index cfe775a3d5..b0a32349bb 100644
--- a/README.adoc
+++ b/README.adoc
@@ -18,6 +18,7 @@ under the License.
////
[[apache-ofbiz]]
= Apache OFBiz®
+The Apache OFBiz Project
image:https://img.shields.io/badge/License-Apache%202.0-blue.svg[link=http://www.apache.org/licenses/LICENSE-2.0]
image:https://img.shields.io/badge/Version-release18.12-green.svg[link=https://github.com/apache/ofbiz-framework/tree/release18.12]
@@ -678,23 +679,24 @@ If you need username and password to access the custom repository:
=== Pull an official plugin from source control
Download an official plugin from source control and place it in the plugins directory.
-In addition, this task also executes the "install" task if it is defined for the plugin being downloaded.
+It's able to handle branches switches
-This task is mostly useful when working on the trunk branch as it pulls in the
-latest version of a plugin.
+MS Windows: `pullPluginSource example` +
+Unix-like OS: `./pullPluginSource.sh example`
-`gradlew pullPluginSource -PpluginId=ecommerce`
-
-________________________________________________________________________________________
[[pull-all-official-plugins-from-source-control]]
=== Pull all official plugins from source control
Download all officially supported plugins from source control (currently
-subversion) and place them in /plugins.
+git) and place them in /plugins.
+It's able to handle branches switches
+
WARNING! This task deletes the /plugins directory and replaces it with the
official plugins.
-`gradlew pullAllPluginsSource`
+MS Windows: `pullAllPluginsSource` +
+Unix-like OS: `./pullAllPluginsSource.sh`
+
This task makes it easy to download and develop officially supported plugins. It
is mostly used by developers or individuals working on the trunk branch. We do
@@ -794,9 +796,9 @@ as a replacement for both "special-purpose" and "hot-deploy".
If you need to load the components in the plugins directory in a specific order
place a component-load.xml file in the plugins directory listing the order.
-To check out a plugin from source control use the *pullPluginSource* Gradle
-task. To check out all plugins from source control use the
-*pullAllPluginsSource*. *Beware* this deletes a previously existing plugins
+To check out a plugin from source control use the Windows or Unix-like *pullPluginSource* script.
+To check out all plugins from source control use the
+*pullAllPluginsSource* script. *Beware* this deletes a previously existing plugins
directory.
[[running-gradle-tasks-without-an-internet-connection]]
diff --git a/applications/datamodel/data/demo/AccountingDemoData.xml b/applications/datamodel/data/demo/AccountingDemoData.xml
index 9e0516cc44..35ef12e287 100644
--- a/applications/datamodel/data/demo/AccountingDemoData.xml
+++ b/applications/datamodel/data/demo/AccountingDemoData.xml
@@ -847,56 +847,13 @@ under the License.
<VarianceReasonGlAccount organizationPartyId="Company" varianceReasonId="VAR_INTEGR" glAccountId="514000"/>
<VarianceReasonGlAccount organizationPartyId="Company" varianceReasonId="VAR_SAMPLE" glAccountId="625000"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4900" periodTypeId="FISCAL_YEAR" fromDate="2009-01-01 00:00:00.000" thruDate="2010-01-01 00:00:00.000" isClosed="N" periodNum="1" periodName="FY2009"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6010" periodTypeId="FISCAL_YEAR" fromDate="2010-01-01 00:00:00.000" thruDate="2011-01-01 00:00:00.000" isClosed="N" periodNum="2" periodName="FY2010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6015" periodTypeId="FISCAL_YEAR" fromDate="2011-01-01 00:00:00.000" thruDate="2012-01-01 00:00:00.000" isClosed="N" periodNum="3" periodName="FY2011"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5200" periodTypeId="FISCAL_YEAR" fromDate="2012-01-01 00:00:00.000" thruDate="2013-01-01 00:00:00.000" isClosed="N" periodNum="4" periodName="FY2012"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5300" periodTypeId="FISCAL_YEAR" fromDate="2013-01-01 00:00:00.000" thruDate="2014-01-01 00:00:00.000" isClosed="N" periodNum="5" periodName="FY2013"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5400" periodTypeId="FISCAL_YEAR" fromDate="2014-01-01 00:00:00.000" thruDate="2015-01-01 00:00:00.000" isClosed="N" periodNum="6" periodName="FY2014"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5500" periodTypeId="FISCAL_YEAR" fromDate="2015-01-01 00:00:00.000" thruDate="2016-01-01 00:00:00.000" isClosed="N" periodNum="7" periodName="FY2015"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5600" periodTypeId="FISCAL_YEAR" fromDate="2016-01-01 00:00:00.000" thruDate="2017-01-01 00:00:00.000" isClosed="N" periodNum="8" periodName="FY2016"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5700" periodTypeId="FISCAL_YEAR" fromDate="2017-01-01 00:00:00.000" thruDate="2018-01-01 00:00:00.000" isClosed="N" periodNum="9" periodName="FY2017"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5800" periodTypeId="FISCAL_YEAR" fromDate="2018-01-01 00:00:00.000" thruDate="2019-01-01 00:00:00.000" isClosed="N" periodNum="10" periodName="FY2018"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5900" periodTypeId="FISCAL_YEAR" fromDate="2019-01-01 00:00:00.000" thruDate="2020-01-01 00:00:00.000" isClosed="N" periodNum="11" periodName="FY2019"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6000" periodTypeId="FISCAL_YEAR" fromDate="2020-01-01 00:00:00.000" thruDate="2021-01-01 00:00:00.000" isClosed="N" periodNum="12" periodName="FY2020"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6100" periodTypeId="FISCAL_YEAR" fromDate="2021-01-01 00:00:00.000" thruDate="2022-01-01 00:00:00.000" isClosed="N" periodNum="13" periodName="FY2021"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6200" periodTypeId="FISCAL_YEAR" fromDate="2022-01-01 00:00:00.000" thruDate="2023-01-01 00:00:00.000" isClosed="N" periodNum="14" periodName="FY2022"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6300" periodTypeId="FISCAL_YEAR" fromDate="2023-01-01 00:00:00.000" thruDate="2024-01-01 00:00:00.000" isClosed="N" periodNum="15" periodName="FY2023"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6400" periodTypeId="FISCAL_YEAR" fromDate="2024-01-01 00:00:00.000" thruDate="2025-01-01 00:00:00.000" isClosed="N" periodNum="15" periodName="FY2024"/>
-
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4921" periodTypeId="FISCAL_QUARTER" fromDate="2009-01-01 00:00:00.000" thruDate="2009-04-01 00:00:00.000" isClosed="N" periodNum="1" periodName="2009/Q1" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4922" periodTypeId="FISCAL_QUARTER" fromDate="2009-04-01 00:00:00.000" thruDate="2009-07-01 00:00:00.000" isClosed="N" periodNum="2" periodName="2009/Q2" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4923" periodTypeId="FISCAL_QUARTER" fromDate="2009-07-01 00:00:00.000" thruDate="2009-10-01 00:00:00.000" isClosed="N" periodNum="3" periodName="2009/Q3" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4924" periodTypeId="FISCAL_QUARTER" fromDate="2009-10-01 00:00:00.000" thruDate="2010-01-01 00:00:00.000" isClosed="N" periodNum="4" periodName="2009/Q4" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4901" periodTypeId="FISCAL_MONTH" fromDate="2009-01-01 00:00:00.000" thruDate="2009-02-01 00:00:00.000" isClosed="N" periodNum="1" periodName="2009/M01" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4902" periodTypeId="FISCAL_MONTH" fromDate="2009-02-01 00:00:00.000" thruDate="2009-03-01 00:00:00.000" isClosed="N" periodNum="2" periodName="2009/M02" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4903" periodTypeId="FISCAL_MONTH" fromDate="2009-03-01 00:00:00.000" thruDate="2009-04-01 00:00:00.000" isClosed="N" periodNum="3" periodName="2009/M03" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4904" periodTypeId="FISCAL_MONTH" fromDate="2009-04-01 00:00:00.000" thruDate="2009-05-01 00:00:00.000" isClosed="N" periodNum="4" periodName="2009/M04" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4905" periodTypeId="FISCAL_MONTH" fromDate="2009-05-01 00:00:00.000" thruDate="2009-06-01 00:00:00.000" isClosed="N" periodNum="5" periodName="2009/M05" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4906" periodTypeId="FISCAL_MONTH" fromDate="2009-06-01 00:00:00.000" thruDate="2009-07-01 00:00:00.000" isClosed="N" periodNum="6" periodName="2009/M06" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4907" periodTypeId="FISCAL_MONTH" fromDate="2009-07-01 00:00:00.000" thruDate="2009-08-01 00:00:00.000" isClosed="N" periodNum="7" periodName="2009/M07" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4908" periodTypeId="FISCAL_MONTH" fromDate="2009-08-01 00:00:00.000" thruDate="2009-09-01 00:00:00.000" isClosed="N" periodNum="8" periodName="2009/M08" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4909" periodTypeId="FISCAL_MONTH" fromDate="2009-09-01 00:00:00.000" thruDate="2009-10-01 00:00:00.000" isClosed="N" periodNum="9" periodName="2009/M09" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4910" periodTypeId="FISCAL_MONTH" fromDate="2009-10-01 00:00:00.000" thruDate="2009-11-01 00:00:00.000" isClosed="N" periodNum="10" periodName="2009/M10" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4911" periodTypeId="FISCAL_MONTH" fromDate="2009-11-01 00:00:00.000" thruDate="2009-12-01 00:00:00.000" isClosed="N" periodNum="11" periodName="2009/M11" parentPeriodId="4900"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="4912" periodTypeId="FISCAL_MONTH" fromDate="2009-12-01 00:00:00.000" thruDate="2010-01-01 00:00:00.000" isClosed="N" periodNum="12" periodName="2009/M12" parentPeriodId="4900"/>
-
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6011" periodTypeId="FISCAL_QUARTER" fromDate="2010-01-01 00:00:00.000" thruDate="2010-04-01 00:00:00.0" isClosed="N" periodNum="1" periodName="2010/Q1" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6012" periodTypeId="FISCAL_QUARTER" fromDate="2010-04-01 00:00:00.000" thruDate="2010-07-01 00:00:00.0" isClosed="N" periodNum="2" periodName="2010/Q2" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6013" periodTypeId="FISCAL_QUARTER" fromDate="2010-07-01 00:00:00.000" thruDate="2010-10-01 00:00:00.0" isClosed="N" periodNum="3" periodName="2010/Q3" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6014" periodTypeId="FISCAL_QUARTER" fromDate="2010-10-01 00:00:00.000" thruDate="2011-01-01 00:00:00.0" isClosed="N" periodNum="4" periodName="2010/Q4" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5001" periodTypeId="FISCAL_MONTH" fromDate="2010-01-01 00:00:00.0" thruDate="2010-02-01 00:00:00.0" isClosed="N" periodNum="1" periodName="2010/M01" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5002" periodTypeId="FISCAL_MONTH" fromDate="2010-02-01 00:00:00.0" thruDate="2010-03-01 00:00:00.0" isClosed="N" periodNum="2" periodName="2010/M02" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5003" periodTypeId="FISCAL_MONTH" fromDate="2010-03-01 00:00:00.0" thruDate="2010-04-01 00:00:00.0" isClosed="N" periodNum="3" periodName="2010/M03" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5004" periodTypeId="FISCAL_MONTH" fromDate="2010-04-01 00:00:00.0" thruDate="2010-05-01 00:00:00.0" isClosed="N" periodNum="4" periodName="2010/M04" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5005" periodTypeId="FISCAL_MONTH" fromDate="2010-05-01 00:00:00.0" thruDate="2010-06-01 00:00:00.0" isClosed="N" periodNum="5" periodName="2010/M05" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5006" periodTypeId="FISCAL_MONTH" fromDate="2010-06-01 00:00:00.0" thruDate="2010-07-01 00:00:00.0" isClosed="N" periodNum="6" periodName="2010/M06" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5007" periodTypeId="FISCAL_MONTH" fromDate="2010-07-01 00:00:00.0" thruDate="2010-08-01 00:00:00.0" isClosed="N" periodNum="7" periodName="2010/M07" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5008" periodTypeId="FISCAL_MONTH" fromDate="2010-08-01 00:00:00.0" thruDate="2010-09-01 00:00:00.0" isClosed="N" periodNum="8" periodName="2010/M08" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5009" periodTypeId="FISCAL_MONTH" fromDate="2010-09-01 00:00:00.0" thruDate="2010-10-01 00:00:00.0" isClosed="N" periodNum="9" periodName="2010/M09" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5010" periodTypeId="FISCAL_MONTH" fromDate="2010-10-01 00:00:00.0" thruDate="2010-11-01 00:00:00.0" isClosed="N" periodNum="10" periodName="2010/M10" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5011" periodTypeId="FISCAL_MONTH" fromDate="2010-11-01 00:00:00.0" thruDate="2010-12-01 00:00:00.0" isClosed="N" periodNum="11" periodName="2010/M11" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="5012" periodTypeId="FISCAL_MONTH" fromDate="2010-12-01 00:00:00.0" thruDate="2011-01-01 00:00:00.0" isClosed="N" periodNum="12" periodName="2010/M12" parentPeriodId="6010"/>
+ <!-- Some Sample Time Periods, two Years with Quarters -->
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6010" periodTypeId="FISCAL_YEAR" fromDate="2010-01-01 00:00:00.000" thruDate="2011-01-01 23:59:59.000" isClosed="N" periodNum="1" periodName="2010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6011" periodTypeId="FISCAL_QUARTER" fromDate="2010-01-01 00:00:00.000" thruDate="2010-04-01 23:59:59.000" isClosed="N" periodNum="2" periodName="2010/Q1" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6012" periodTypeId="FISCAL_QUARTER" fromDate="2010-04-01 00:00:00.000" thruDate="2010-07-01 23:59:59.000" isClosed="N" periodNum="3" periodName="2010/Q2" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6013" periodTypeId="FISCAL_QUARTER" fromDate="2010-07-01 00:00:00.000" thruDate="2010-10-01 23:59:59.000" isClosed="N" periodNum="4" periodName="2010/Q3" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6014" periodTypeId="FISCAL_QUARTER" fromDate="2010-10-01 00:00:00.000" thruDate="2011-01-01 23:59:59.000" isClosed="N" periodNum="5" periodName="2010/Q4" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6015" periodTypeId="FISCAL_YEAR" fromDate="2011-01-01 00:00:00.000" thruDate="2030-01-01 23:59:59.000" isClosed="N" periodNum="1" periodName="2011-2030"/>
<!-- to convert demo invoice -->
<UomConversionDated uomId="USD" uomIdTo="EUR" fromDate="2001-01-01 00:00:00.0" conversionFactor="0.7"/>
@@ -1035,14 +992,6 @@ under the License.
<TaxAuthority taxAuthGeoId="ON" taxAuthPartyId="ON_TAXMAN" includeTaxInPrice="Y"/>
<TaxAuthorityGlAccount taxAuthGeoId="ON" taxAuthPartyId="ON_TAXMAN" organizationPartyId="Company" glAccountId="224209"/>
- <!-- China TaxAuthority defs -->
- <Party partyId="CHN_STA" partyTypeId="PARTY_GROUP" preferredCurrencyUomId="CNY" statusId="PARTY_ENABLED" createdDate="2009-01-01 00:00:00.000"/>
- <PartyGroup partyId="CHN_STA" groupName="State Taxation Administration"/>
- <PartyRole partyId="CHN_STA" roleTypeId="TAX_AUTHORITY"/>
- <TaxAuthority taxAuthGeoId="CHN" taxAuthPartyId="CHN_STA" includeTaxInPrice="N" requireTaxIdForExemption="Y"
- taxIdFormatPattern=""/>
- <TaxAuthorityGlAccount taxAuthGeoId="CHN" taxAuthPartyId="CHN_STA" organizationPartyId="Company" glAccountId="224209"/>
-
<!-- Party TaxAuthority info for Company -->
<!-- some interesting information at: http://www.taxadmin.org/fta/rate/tax_stru.html -->
<PartyTaxAuthInfo partyId="Company" taxAuthGeoId="_NA_" taxAuthPartyId="_NA_" fromDate="2001-05-13 00:00:00.001" isNexus="Y"/>
@@ -1652,8 +1601,4 @@ under the License.
inventoryItemId="9030" inventoryItemTypeId="NON_SERIAL_INV_ITEM" productId="MAT_B_COST" ownerPartyId="Company" currencyUomId="USD" unitCost="7.0"/>
<InventoryItemDetail inventoryItemId="9030" inventoryItemDetailSeqId="0001" effectiveDate="2001-05-13 12:00:00.0" availableToPromiseDiff="20" quantityOnHandDiff="20" accountingQuantityDiff="20"/>
- <!-- defaut template screen use for Company -->
- <CustomScreen customScreenId="DEFAULT_INV_TPL" customScreenTypeId="CST_INVOICE_TPL" customScreenName="DefaultInvoicePDF" customScreenLocation="component://accounting/widget/AccountingPrintScreens.xml"/>
- <PartyPrefDocTypeTpl partyPrefDocTypeTplId="InvTplInvoice" partyId="Company" fromDate="2001-05-13 00:00:00" invoiceTypeId="INVOICE" customScreenId="DEFAULT_INV_TPL"/>
-
</entity-engine-xml>
diff --git a/build.gradle b/build.gradle
index 06cc546a2e..5469b8c358 100644
--- a/build.gradle
+++ b/build.gradle
@@ -964,7 +964,7 @@ task pullPlugin(group: ofbizPlugin, description: 'Download and install a plugin
}
}
}
-
+/* The pullPluginSource and pullPluginSource task are now replaced by the OS scripts pullPluginSource and pullAllPluginsSource
task pullPluginSource(group: ofbizPlugin, description: 'Download and install a plugin from source control') {
if (project.hasProperty('pluginId')) {
@@ -1008,7 +1008,7 @@ task pullAllPluginsSource(group: ofbizPlugin,
doLast {
gradlewSubprocess(['installAllPlugins'])
}
-}
+}*/
// ========== Clean up tasks ==========
task cleanCatalina(group: cleanupGroup, description: 'Clean Catalina data in runtime/catalina/work') {
(ofbiz-framework) 02/04: Implemented: Replace SvnCheckout in Gradle (OFBIZ-12868) (INFRA-25327)
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit c55ee999a11b6e67a5039d63c9d4dbd5fa6bb659
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Mon Jan 1 11:22:53 2024 +0100
Implemented: Replace SvnCheckout in Gradle (OFBIZ-12868) (INFRA-25327)
The pullAllPluginsSource.script is used in several CI places (GitHub actions,
BuildBot and Demos)
Lastly I committed the pullAllPluginsSource.sh and pullPluginSource.sh scripts
with Windows. As Windows has not the x flag, they were not set as executable.
This fixes it by setting them as executable using "git update-index --chmod=+x"
This also changes docker-image.yaml and gradle.yaml to use pullAllPluginsSource
I removed the build in docker-image.yaml as it's not longer needed. Only
pullAllPluginsSource was used and this task does not build anything. It just
pulls the sources
I did not set the the x flag for Windows scripts as it will be useless anyway
since Windows does not use the x flag
Conflicts handled by in .github/workflows/gradle.yaml
---
.github/workflows/docker-image.yaml | 8 ++++----
.github/workflows/gradle.yaml | 11 +++++++----
pullAllPluginsSource.sh | 0
3 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/docker-image.yaml b/.github/workflows/docker-image.yaml
index 08fd035213..eacae7eb88 100644
--- a/.github/workflows/docker-image.yaml
+++ b/.github/workflows/docker-image.yaml
@@ -133,10 +133,10 @@ jobs:
java-version: 8
distribution: temurin
cache: 'gradle'
- - name: Grant execute permission for gradlew
- run: chmod +x gradlew
- - name: Build with Gradle
- run: ./gradlew pullAllPluginsSource
+ - name: Grant execute permission for gradlew and pullAllPluginsSource.sh
+ run: chmod +x gradlew pullAllPluginsSource.sh
+ - name: Load all plugins
+ run: ./pullAllPluginsSource.sh
- name: Determine metadata (tags, labels) for Docker framework with plugins build
id: pluginsmeta
uses: docker/metadata-action@507c2f2dc502c992ad446e3d7a5dfbe311567a96
diff --git a/.github/workflows/gradle.yaml b/.github/workflows/gradle.yaml
index 83c280730f..7c68d8dda1 100644
--- a/.github/workflows/gradle.yaml
+++ b/.github/workflows/gradle.yaml
@@ -15,7 +15,7 @@
# This workflow will check style in OFBiz with its plugins
-# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
+# For more information see: https://github.com/actions/setup-java
name: Java CI with Gradle
@@ -36,10 +36,13 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- - name: Grant execute permission for gradlew
- run: chmod +x gradlew
+ cache: 'gradle'
+ - name: Grant execute permission for gradlew and pullAllPluginsSource.sh
+ run: chmod +x gradlew pullAllPluginsSource.sh
+ - name: Load all plugins
+ run: ./pullAllPluginsSource.sh
- name: Build with Gradle
- run: ./gradlew pullAllPluginsSource check
+ run: ./gradlew check javadoc
# Below does not work, see https://lists.apache.org/thread/80wzf4kclfk5nh2fss56jd6otf7y4n2f
# - name: Builds with Gradle, checks style and run integration tests (just to know if they pass)
# run: ./gradlew pullAllPluginsSource check loadAll testIntegration
diff --git a/pullAllPluginsSource.sh b/pullAllPluginsSource.sh
old mode 100644
new mode 100755