Changeset 1715 for trunk/autoquest-plugin-jfc/src/main/java/de/ugoe
- Timestamp:
- 09/02/14 16:06:10 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/commands/CMDgenerateJacaretoReplay.java
r1714 r1715 21 21 import java.io.OutputStreamWriter; 22 22 import java.util.ArrayList; 23 import java.util.Calendar; 23 24 import java.util.Collection; 24 25 import java.util.HashMap; … … 183 184 String classpathext) throws IOException 184 185 { 186 Calendar now = Calendar.getInstance(); 187 185 188 writeLine(writer, "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>"); 186 189 writeLine(writer, "<JacaretoStructure>"); 187 190 writeLine(writer, "<Record>"); 188 191 189 // TODO: This header content is basically copy+paste from a 190 // specific jacareto replay file right now. 191 writeLine(writer, 192 "<Calendar procTime=\"0\" duration=\"0\" year=\"2000\" month=\"1\" date=\"11\" hour=\"1\" min=\"1\" sec=\"1\" uuid=\"06831ba1-f28a-4e05-b46e-ce9d8f9ffa0f\" />"); 192 //@formatter:off 193 writeLine(writer, "<Calendar procTime=\"0\" " 194 + "duration=\"0\" " 195 + "year=\"" + now.get(Calendar.YEAR) + "\" " 196 + "month=\"" + now.get(Calendar.MONTH) + "\" " 197 + "date=\"" + now.get(Calendar.DAY_OF_MONTH) + "\" " 198 + "hour=\"" + now.get(Calendar.HOUR_OF_DAY) + "\" " 199 + "min=\"" + now.get(Calendar.MINUTE) + "\" " 200 + "sec=\"" + now.get(Calendar.SECOND) + "\" " 201 + "uuid=\"" + UUID.randomUUID() + "\" />" 202 ); 193 203 writeLine(writer, 194 204 "<SystemInfo procTime=\"0\" duration=\"0\" screenWidth=\"2646\" screenHeight=\"1024\" javaVersion=\"1.7.0_65\" lookAndFeel=\"javax.swing.plaf.metal.MetalLookAndFeel\" uuid=\"720f430f-52cf-4d8b-9fbe-58434f766efe\" />"); … … 196 206 "<KeyboardState procTime=\"0\" duration=\"0\" isNumLockOn=\"false\" isScrollLockOn=\"false\" isCapsLockOn=\"false\" applyIsNumLockOn=\"true\" applyIsScrollLockOn=\"true\" applyIsCapsLockOn=\"true\" uuid=\"28146f79-9fc7-49f9-b4a8-5866a7625683\" />"); 197 207 writeLine(writer, "<ComponentMode numberPopupMenues=\"true\" />"); 198 //@formatter:off199 208 writeLine(writer, "<ApplicationStarter " 200 209 + "procTime=\"0\" " … … 208 217 + "captureparams=\"\" " 209 218 + "replayparams=\"\" " 210 + "uuid=\" a7b7d7b9-caa9-4d6d-b052-cf74d353275e\" />"219 + "uuid=\"" + UUID.randomUUID() + "\" />" 211 220 ); 212 221 //@formatter:on
Note: See TracChangeset
for help on using the changeset viewer.