Closed ebruchez closed 2 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.
orbeon-
JARs only-whyareyoukeeping class org.orbeon.oxf.processor.EmailProcessor
to get more visibility.export ANT_OPTS=-Xss2M
helped with StackOverflowError
in ant when doing thisorbeon-embedding.jar
sun.*
and javax.*
(why?)Looked at https://github.com/yWorks/yGuard but it's unclear if it's better than ProGuard.
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:
PageFlowControllerProcessor
/ PageFlowControllerProcessorBuilder
org.orbeon.oxf.processor
On the plus side:
xforms
stuff is not thereCurrent sizes:
orbeon-embedding.jar
: 7 MBorbeon-proxy-portlet.jar
: 7.1 MBorbeon-xforms-filter.jar
: 1.8 MBIssues running tests:
oracle.xml.jaxp.JXSAXParserFactory.setFeature
scala-async
fr:number
: 1.2
is invalid if grouping separator is ,
fails (@avernet)
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
.
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.
Tests status:
-J-Xmx4G
in .sbtopts
when OrbeonClientTest
is disabledOrbeonClientTest
either fails with "timeout expired"
2.minutes
Headers.getAll
changeimageA
and trying to update window valuesOrbeonClientTest
is disabledI 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:
form-runner-pe
)Strategy for the fr.persistence
changes:
-rebase
or PE master
to have as much as possible separate files
master
Features under fr.persistence
:
Provider
has most diffsFlatView
(feature is NOT PE-only as I thought)FlatView
: move specific SQL to Provider
and create PE provider functionsFlatView
: create CE provider functions in Provider
PersistenceProxyProcessor.proxyReEncryptStatus
CreateCols
for id
FormRunnerHome.canReEncrypt
Connect
, DatasourceDescriptor
, DDLTest
, (for tests)FormRunnerAPI
embedForm()
/ destroyForm()
(PE only)Permissions
PersistenceProxyProcessor
Reindex
CreateCols
CreateUpdateDelete
CRUD
LockUnlock
Read
commonPart
SearchLogic
RelationalCommon
RelationalUtils
FormRunnerPersistence
FieldEncryption
: adjust function params for CEuniversal-submission.xml
Files that remain different on PE and CE (not counting PE files that are entirely omitted on CE):
form.xhtml
data.xml
FormRunnerApp
: to register xbl.HandwrittenSignature
page-flow.xml
: reencrypt, schemaimage-attachment.xbl
FieldEncryption
Provider
SimpleDataMigrationTest
: disabled test on CEOrbeonClientTest
: disabled test on CEfacades
: SignaturePad
properties-base.xml
: oxf.resources.versioned
properties-form-builder.xml
: handwritten signature, Email menu, workflow menuproperties-form-runner.xml
: providers, autosave, PDF template/TIFF, leaseproperties-internal.xml
processors.xml
: reencrypt, XML Schemahome.xhtml
: reencryptREADME.md
Connect
DDLTest
DatasourceDescriptor
build.sbt
: CE
vs. PE
stringbuild.xml
: CE
vs. PE
string, orbeon-src
(CHECK!), test-db
, proxy-portlet
, orbeon-embedding
, .travis.yml
: db stuffIt seems that he replication test now passes!
wip-dependencies
handled. New branch wip-1192-dependencies
created with WIP commits.
println(s"xxxx $jsonString")
pe
branchmaster
(CE) branch2020.1-pe
branch for commits that are missing onmaster
wip-dependencies
to see if some fixes need to be cherry-picked