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
CAMEL-14910: Bundling of the heavily distributed components #3879
Conversation
Could you run |
This comment has been minimized.
This comment has been minimized.
That’s not a problem with our work. Googling, it seems to be a problem with mvel on jdks >11. I’m u sing Jdk 11, what are you using? |
jdk 14. I will use jdk 11 and check. |
@djencks I am facing the same build problem at |
I'm often confused by what jdk maven is using. If you run |
@djencks That solved the problem, however, the build works for components however it fails at
The |
I checked on maven central (https://search.maven.org/artifact/org.apache.kudu/kudu-binary/1.10.0/jar) and it looks like there are only binaries for linux and osx.
|
@djencks I was using windows till now to run maven, I will use Linux and try to make it work out. |
@djencks I have done the java build and generated the
|
We need a better sorting algorithm.
Does this make sense? Assuming it does, do you want to write the code for this or shall I? |
@djencks By group you mean the sorting of summary-group right? 'cause that's the one where the issue is arising. Also for the 4th and 5th case, not all have summary-group attribute so when would the case be that group1 will be equal to docTitle2 and same equality thing for the 5th case. Also, in addition, I wanted to ask in the nav.adoc generation why is aws2 stated before aws? |
I could have been a lot clearer :-) The items in the current nav are actually sorted in lexicographical order, but that doesn't correspond to our desired grouping.
|
Alright, summary group is the same as docTitle only. It makes sense now. |
@djencks I wrote a sorting function that works and also weren't we planning to use summary-group to create an index-list to auto-generate the list within the -summary.adoc instead of manual typing. |
Locally, I'm seeing an additional generated change to AWS x-ray. Since this is an "other" component I don't think it needs a group. I'm not sure why you wouldn't see this. |
@djencks I thought I didn't include AWS Xray, other than that the code can look more sophisticated and optimized & for the first could you elobarate, we included the case where group1 and group2 are both present and if they are unequal, a comparison to take place. |
When I look at the aws xray component adoc, it appears to have a ":group: AWS" line that I'm pretty sure you added. I don't think it's needed. Have you noticed that the sublists are not sorted correctly? I was explaining what is missing. There are two cases when both group1 and group2 are present, either they are equal or not. We need to deal appropriately with both in the sort. |
@djencks Yea, I will correct that. I missed out on a condition for both groups not null. I will modify it. |
This looks correct to me, although I didn't try it. Apparently there are some merge conflicts, but I'm in favor of applying this if you can fix those. Perhaps you would like to fix the == > === etc for the whole file in a separate issue? I suspect everyone has been used to looking at java and didn't notice the problem here -- I certainly didn't! |
@djencks I don't know why the checks are failing, though it doesn't show any conflicts with the branch. |
@davsclaus, @djencks I performed |
The maven source check problem is unrelated to this work. When this work is merged I think it should have 3 commits:
When I tried to investigate the "can't rebase" warning I see from GitHub, and tried git rebase master on your branch, there was certainly a merge conflict, but I couldn't understand it. I think if you start by running |
@djencks I did the process with the following 3 commits in the PR#3893 respect with the master branch commits. |
Closing this |
gulpfile.js
but when running themvn clean install
, it results in an error each time and my git commits are perhaps overwritten.CAMEL-14910-copy
branch within your repo and it resulted in the same FAILURE message.