-
Notifications
You must be signed in to change notification settings - Fork 21
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
How to deal with 3 repo?, Submodules consideration #37
Comments
update 2020, all-in-one , please visit => https://github.com/LayoutFarm/HtmlRenderer.BuildThe error may come from it miss Typography repo How to build the PixelFarm
|
I tried that, I looked through all of the 'missing libraries' and found the following errors when I tried to specifically build them (instead of build all): And here is all the 'missing libraries' (removed duplicates, there are 49 errors after completely recloning it): FIXED: |
I've also been struggling with making a build and syncing the project dependencies. @prepare - is there any trick to keeping PixelFarm/HtmlRenderer/Typography on git refs that are compatible? Submodules are sort of a pain but have the benefit of keeping compatible builds in lockstep |
If there's anything I can do to assist or if it would be helpful to explain how/why we use submodules in MatterControl to corral the three interconnected repositories that make up the project, let me know. |
I spent the evening moving between various commits across projects until I finally found a compatible set that compiled without error and let me run the demos I've been excited to try out. It was quite a bit of effort and really reinforces the idea that the project would benefit from a simple way to checkout working branch pointers. There are many different ways you could tackle this and I choose the least impactful route, where I created a super project that emulates the behavior described in this post. This project has no direct content and simply wraps the three repos and uses submodules to control their last working and compatible commits. Theoretically each time you advance one or more of the child repositories (especially if they contain with breaking changes), you'd make a commit to lock in where you were across the three. An example of this type of project can be found at https://gitlab.com/lewin76/pixelfarm. If you clone the repository and checkout master, you end up on pointers I finally used to get a working build. Since I didn't want much history and my connection was running slow, I used shallow clones to only pull in a few recent commits but either way should have the same effect: Shallow
Full
|
I think the same with you. I've created a new 'all-in-one' to handle, here https://github.com/PaintLab/pxdev not finish yet :) |
Fantastic, great to see you're already on it and heading down a similar path |
@jlewin, |
The new repository is great! Cloned and was up and running in minutes. I think this will really help newcomers to the project |
@prepare the latest version of the build repository does not work |
@Ninjastorm380 , This is my screenshot (a few minutes ago) |
It gave me some libraries to work with, but now I need to put all of those libraries into one file. |
also, if I modify the project to point to the right location, it says method not supported |
I forget to test the Xamarin.IOS, |
ok, I fix it, see LayoutFarm/HtmlRenderer.Build@e25c3a9 These are my snapshots. Android iOS |
Thank you, That is a bug :) please give me a time to fix it |
@Ninjastorm380, check latest commit again ( LayoutFarm/HtmlRenderer.Build@d8b528a) |
@prepare ok, one last question for you: How do I get the controls to show up in the toolbox? added all the libraries to my project, but nothing shows up. Also tried to add manually, but VS said that there is no controls in any of the libraries |
Yes, in the current version=> no 'easy-to-use' control. An 'easy-to-use' control is in the plan. for now , please see the example project, 2). input: user must forward user events (eg, mouse, keyboard) with 1) and 2) above=> create your own user control. |
Feel free to ask more questions :) |
Here are the errors (too many to put in here)
https://docs.google.com/document/d/1OYyfHqRinmgp1Fnz4UJBTY2lIj0Wvecc7TuQO-mvtH0/edit?usp=sharing
And could you please release NuGet packages for this amazing project
The text was updated successfully, but these errors were encountered: