-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KOGITO-780: [DMN Designer] Ensure -runtime WAR is created with 'production' parameters #3081
Conversation
@manstis I think we should include |
@tiagobento Updates made as proposed. |
@manstis on previous builds, DMN editor resources are ~26MB |
@tiagobento What are "DMN editor resources"? The WAR? The exploded WAR less WEB-INF? |
@tiagobento Do you have a tag/label that I can checkout to investigate? Nothing of any significance has been added explicitly to DMN to warrant a x3 size increase ( |
@manstis That's the exploded WAR less WEB-INF :) |
@tiagobento It's 36MB with this PR... |
@manstis I guess that's because there's |
@tiagobento Correct... I finally found the difference (9MB for another permutation). I'll update this PR to just compile Chrome. |
@tiagobento ~26MB now :-) |
@manstis Thx! Looks perfect now. |
@jomarko New Year reminder to please review this PR :-) |
Jenkins please retest this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried to build VS code extension, open and edit file. It works.
<!-- There is no "ie11" permutation. IE11 uses the Firefox one (gecko1_8) --> | ||
<set-property name="user.agent" value="gecko1_8,safari"/> | ||
<!-- We only need Chrome --> | ||
<set-property name="user.agent" value="safari"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch @romartin, I think we need both. |
@tiagobento said we only needed Chrome (when we were discussing WAR sized). |
@tiagobento is this true for the online editors? I mean... by using safari alone would still work in all browsers? I know that it's true for VSCode, GitHub Extensions and Desktop |
@porcelli Well, you're right. I don't remember if at some point we decided to only support Chrome/Safari but we can revisit that. Keep in mind that supporting Firefox will increase the size of VSCode extension and Desktop bundles. |
for VSCode, GitHub Extension and Desktop all we need is chrome support. however.. online editor is a different thing. |
@porcelli Sooooooo, it's your call.. We can add an additional profile to compile a WAR containing more permutations for online however that's the tip of the iceberg... How it's then compiled as part of the community build and how you consume it in Please be sure to keep @romartin, @yesamer and myself informed of your decisions. |
@manstis I had the same idea, we can use different profiles to handle different versions of |
ok so it looks still unclear... :) I'll use Thanks! |
See https://issues.redhat.com/browse/KOGITO-780..
Basically I removed the
draftCompile
flag and a duplicatelogLevel
entry.