-
Notifications
You must be signed in to change notification settings - Fork 3
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 build on a Windows machine? #23
Comments
When I run the command with debug logging, the last lines before it hangs infinitely are:
|
Hi, i am giving a try in my windows machine and i've got to going a step forward with some changes in the build config: see https://github.com/typelead/intellij-eta/compare/master...jneira:windows?expand=1 However i've got another error involving |
This might be sufficient enough for running JFlex on Windows. I just inlined the parameters, so ideally this should "just work".
That script is overly complicated and mostly there as copy-pasta from HaskForce where I need to generate five different lexers. |
@carymrobbins thanks! with that version of script the build is going forward |
You might be able to use this directly in the task runJFlex(type: JavaExec) {
main = '-jar'
args = [
'jflex-1.7.0-SNAPSHOT.jar',
'--skel',
'idea-flex.skeleton',
'--nobak',
'plugin/src/main/java/com/typelead/intellij/plugin/eta/lang/lexer/_EtaSyntaxHighlightingLexer.flex'
]
} It's completely untested and relies on a hack to easily run jar files from Gradle. If this works, you'd probably also want to only run it if the generated Java file gets out of date (which is exactly what the script is doing at the |
Hi all, thank you very much for your helpful answer! After moving the project directory to my C: drive (see typelead/eta#856), the build now fails at the following point:
Once more I am stuck with my knowledge and experience... I would be grateful for any help! |
I tried to run "gradlew :plugin:assemble", it downloads all dependencies and all that stuff but after a while the command prompt just shows the following and nothing happens:
I don't know what to do anymore... I would really appreciate any help!
The text was updated successfully, but these errors were encountered: