Java “constant string too long” compile error. Only happens using Ant, not when using Eclipse

Someone is trying to send you a message 🙂 In the time you’ve spend fiddling with compiler versions you could have loaded the data from a text file – which is probably where it belongs.

Check out:

  • java.util.Properties
  • Apache Commons FileUtils.readFileToString()

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)