-
Notifications
You must be signed in to change notification settings - Fork 64
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
Fresh oomph install has problems #383
Comments
It seems there is really no good way of keeping files in a Git repository that are tracked but ignored by default. Unfortunately, once a file is tracked, |
@edwardalee Can you be more specific about the compile error you faced? Did you have the errors in the org.lflang.web project, or was it in another project? I don't understand why, but the errors in org.lflang.web seem to occur reliably on each fresh install and just disappear when cleaning the web project. I also noticed these file changes sometimes. I am not sure when and why they occur. It seems like the order of some configurations is arbitrarily chosen... In any case, I think it should be safe to either commit the changes (except for the Mac specific one), or just revert them. Personally, I just reverted the files with git checkout and everything works. |
Ok, I think I can reproduce the compile errors that Edward faced. It is not just problems in org.lflang.web, but actually all over our projects. I am clueless on what might be causing these issues. Regenerating the xtext artifacts and then cleaning the project indeed fixes the problems. |
With a fresh install, I saw errors in the Here's a summary of what @a-sr and I discussed today: Problem 1A dirty
Problem 2New dependencies were added, but no updated
Problem 3Something during the Oomph installation process is rearranging the contents of
|
Regarding Problem 2: When it comes to the I guess what is entirely unclear to me is how I can trigger the oomph install from a branch that is not master and see how it behaves. I was only able to do it with some tricks and workarounds, which I found pretty annoying. So a manual on how to do this the right way would be highly appreciated.
Does this mean that we should check in the changes to
It is strange that apparently we all see different errors. Do you have any ideas why the errors appear? I guess we should make an effort to resolve that, or at least document the problem and tell users what to do. |
This enables testing fresh oomph installations with a specific branch.
Regarding Problem 2: With PR #388 merged, the tutorial for testing the oomph setup with a specific branch will be: "Follow the oomph setup tutorial and in step 8, replace the value of Lingua Franca Branch (git clone) with the branch you want to check out." |
While working on #412, I noticed that changing the branch in step 8 of the tutorial is not sufficient. I tried to set the branch to |
Update: this actually worked as described, it's just that the PR still had problems in it. Working on this now... |
Looks like we can close this. |
After the merging of pull request #345, I did a fresh oomph install with a fresh git checkout. The result failed to compile. I opened the LinguaFranca.xtext file and regenerated xtext artifacts, then did a clean, and the compile succeeded. Now I get:
In order to be able to do anything at all, I will need to commit these changes. What should I do?
Some of the changes are harmless; they just reorder the items.
The org.lflang.targetplatform/org.lflang.targetplatform.target change is problematic. It adds Mac-specific stuff:
It also removes some stuff (see below).
The complete diff is below.
The text was updated successfully, but these errors were encountered: