orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
514 stars 220 forks source link

Fix build and merge offline and other branches #4971

Closed ebruchez closed 2 years ago

ebruchez commented 3 years ago
ebruchez commented 3 years ago

ProGuard is an annoying bit. At first, it just failed. We had been running this with -dontwarn and -ignorewarnings, which obviously is a little bit dangerous but that's a slightly different story.

ebruchez commented 3 years ago

Looked at https://github.com/yWorks/yGuard but it's unclear if it's better than ProGuard.

ebruchez commented 3 years ago

Managed to get to a 6.7 MB orbeon-embedding.jar without effort. Not sure why it was 10 MB before. But we clearly have some extra stuff that is most likely not used:

On the plus side:

ebruchez commented 3 years ago

Current sizes:

ebruchez commented 3 years ago

Issues running tests:

avernet commented 3 years ago

fr:number: 1.2 is invalid if grouping separator is , fails

I'll look at this one; this is most likely because it is now valid, after #4942. We have more tests for those cases in NumberSupportTest.scala, but I apparently missed the test in form-runner-components.xml.

avernet commented 3 years ago

fr:number: 1.2 is invalid if grouping separator is , fails

This is now fixed on master, on orbeon-forms and orbeon-forms-pe. @ebruchez, I'll let you cherry-pick the change on offline-support-1221-rebase, if needed.

ebruchez commented 3 years ago

Tests status:

ebruchez commented 2 years ago

I went through diffs between CE and PE as of the master branch. It is not ideal how we are handling this, of course.

Properties a better solution could have:

ebruchez commented 2 years ago

Strategy for the fr.persistence changes:

ebruchez commented 2 years ago

Features under fr.persistence:

ebruchez commented 2 years ago
ebruchez commented 2 years ago
ebruchez commented 2 years ago

Files that remain different on PE and CE (not counting PE files that are entirely omitted on CE):

ebruchez commented 2 years ago

It seems that he replication test now passes!

ebruchez commented 2 years ago

wip-dependencies handled. New branch wip-1192-dependencies created with WIP commits.