Skip to content

Commit

Permalink
Fix for BZ-1217108/1217248: "migration tool doesn't convert java.text…
Browse files Browse the repository at this point in the history
….SimpleDateFormat correctly".
  • Loading branch information
jrenaat committed May 4, 2015
1 parent 1c7ff68 commit a9a8f00
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ public void shutdown() {
}

public void startUp() {
// As per BRDRLPersistence.marshalRHS()
String dateFormatProperty = System.getProperty( "drools.dateformat" );
if (dateFormatProperty == null || dateFormatProperty.length() == 0) System.setProperty( "drools.dateformat", "dd-MM-yyyy" );
weld = new Weld();
weldContainer = weld.initialize();
exporter = weldContainer.instance().select( JcrExporter.class ).get();
Expand Down

0 comments on commit a9a8f00

Please sign in to comment.