Skip to content
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

Correct name of application main class #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paultcochrane
Copy link
Contributor

When trying to build the doran_and_parberry application, one receives the
following error:

Export/html5/haxe/ApplicationMain.hx:267: characters 7-42 : Class not found : Main

Checking the file ApplicationMain.hx, one sees that the class is actually
called ApplicationMain. This change to the project file corrects the
error and allows the application to be built.

When trying to build the doran_and_parberry application, one receives the
following error:

Export/html5/haxe/ApplicationMain.hx:267: characters 7-42 : Class not found : Main

Checking the file `ApplicationMain.hx`, one sees that the class is actually
called `ApplicationMain`.  This change to the project file corrects the
error and allows the application to be built.
@paultcochrane
Copy link
Contributor Author

Just a quick update to this PR. I had tried running bazzarBot on Linux (Debian/jessie) and that was where I found the issue with Main not being found (this is with the most up to date haxe, lime etc.). However, I just tested this on Windows and the change implemented in this PR wasn't necessary; also the application runs as expected (in html5 mode). Would you have an idea as to why the Class not found : Main error occurs on Linux?

@larsiusprime
Copy link
Owner

Hmm, I honestly don't. I'll have to make a mental note to test this next time on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants