Hi %,
playing around with a property file i figured that there seems to be a limitation of 40char to save in a single property.
I do the following:
File configFile = new File("config.properties");
Properties props = new Properties();
props.put( "cc_server", "sort_of_a_long_string_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
FileOutputStream fos = new FileOutputStream( configFile );
PrintWriter pw = new PrintWriter( fos );
props.list( pw );
pw.flush();
pw.close();
System.out.println("done.");
The result is, that only the first 37char get saved, extended by "...". I debuged that the PropertiesHash's got the right values, the writing to the file seems to be the problem.
Is there a way to extend / switch off this limitation?
tia
K