-
Notifications
You must be signed in to change notification settings - Fork 0
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
JavaScript will no longer work in Ant build files #23
Comments
@joeytakeda Can you test on Mac and see if a hard-coded exec calling firefox, as I've encoded in the build file now, will work on Mac too? Could you also test with safari, which we know will be there on a Mac? |
Doesn't work, unfortunately--Mac installs don't tend to create executables (I would have to had installed firefox using Homebrew: In Mac, using
But not sure how that would work with Linux, though (or Windows, of course) |
Ah, that'll do -- I'll try that on Linux... |
Nope, no good. I think I'll leave firefox for unix and windows; meanwhile, if you can add this:
and get "open" to run for mac but not Linux, that would be great. I'm not sure whether "unix" is true for both. |
That doesn't work for me--
But I've just sent up a commit that runs the |
That works for me. Let's leave it there until I can test on my work Windows vm. But we are going to get badly bitten by this Nashorn thing; any of our build files that use JavaScript will have to be rewritten asap. |
Just flagging up that this is now thoroughly broken. We should remove the dependency on Nashorn before the scheduled end of the Endings project in March 2023. |
Just re-reading this thread and it seems we were focused on the opening stuff, but not the directory / file chooser. I wonder if we should just toss that entirely and say people need to set the directory at the command line (or use a prop file)? |
...when run in Oxygen, due to its bundling Java 15, and we can expect the same at the command line eventually because of the long-threatened removal of Nashorn. We need to find another way for people to choose a directory, and to show a generated web page in a local browser.
The text was updated successfully, but these errors were encountered: