Endings

  • Home
  • Log in
  • « Diagnostics: progress and bugfixes
  • Diagnostics: added instructions page »

Diagnostics: using a Java dialog; JavaScript in Windows

Posted by mholmes on 09 Mar 2017 in Activity log

Following up on a hint from RC at Oxygen, I figured out how to use a Swing JFileChooser dialog to let the user select their project directory, directly from ant; this is neat and very useful. It took a while to nail down exactly how best to do it, and I still have some cleanup to do to make the process fail more elegantly if the user cancels out of the dialog, but we're nearly there. Haven't tested on Windows yet either.

In the morning, I did a pile of work to get the output page JavaScript working in Windows. It was substituting Windows line-endings in the script, which the serializer was then escaping to numeric entities; took some wrangling to prevent that.

This entry was posted by Martin and filed under Activity log.

Endings

Concluding, Archiving, and Preserving Digital Projects for Long-Term Usability
A blog for the SSHRC-funded Endings project, 2016-2020
  • Home
  • Recently
  • Archives
  • Categories
  • Latest comments

Search

Categories

  • All
  • Activity log
  • Announcements
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2026 by admin • Help • CMS software