Replies: 3 comments
-
Tip for debugging plugins. |
Beta Was this translation helpful? Give feedback.
-
Make sure to import the right maven project. The one in |
Beta Was this translation helpful? Give feedback.
-
Good idea to share :) This is where I am currently.
I set up a build environment exactly following "INSTALL.md".
I did not strictly follow instructions from "contribute.md", since my environment was set up before this file was written.
Importing both SWT and JFX makes navigation possible in Eclipse in the 2 variants, which can be really useful when modifying code of user interface (I already modified the 2 implementations).
I imported manually the android project in AndroidStudio once, don't remember how :(
With this setup, I never succeeded to build TuxGuitar from Eclipse with the native modules. For an unknown reason, if I add "native-modules" in "Profiles" field of run configuration, I get the following error when it builds tuxguitar-alsa-linux: Debugging is still an open issue, see #175 and #277. I have regularly some errors raised in Eclipse, especially when I play around with git. Usually, just updating project solves the issue (Alt+F5, select all, OK). Before creating a pull request, I try to build the app in different configurations. Not yet automated (still TODO), so I don't always rebuild all of them.
When I find some time I will try to re-use the automated |
Beta Was this translation helpful? Give feedback.
-
I started this discussion, because of my 'struggles' with using eclipse. At the moment my coding/figuring out configuration issues is at 20/80.
Things I learned so far:
After a sync of your GitHub branch (I do this on GitHub), then pull in this branch (I'm doing this from the command-line) there is a chance you need to update your maven project (Project->Update Maven project).
After the sync, i also need to update the run configuration. I delete the 'Java->Tuxguitar SWT' and use the import run configuration (from the development folder). This one bit me more than once. If you import the run configuration before you install the swt.jar in the
externals
folder. Things won't work.Beta Was this translation helpful? Give feedback.
All reactions