xlawrence 2004/12/07 18:07:08 CET
Modified files:
conf/sync4j/spds syncml.properties
src/java/org/jahia/suite/calendar/syncClients SyncClient.java
Added files:
lib/uwCal synchcommon.jar
Log:
iCalendar Sync Client version 1.0 beta1
Revision Changes Path
1.3 +1 -1 uwcal_JSR168/conf/sync4j/spds/syncml.properties
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/uwcal_JSR168/conf/sync4j/spds/syncml.properties.diff?r1=1.2&r2=1.3&f=h
1.1 +25 -0 uwcal_JSR168/lib/uwCal/synchcommon.jar (new)
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/uwcal_JSR168/lib/uwCal/synchcommon.jar?rev=1.1&content-type=text/plain
1.8 +5 -1
uwcal_JSR168/src/java/org/jahia/suite/calendar/syncClients/SyncClient.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/uwcal_JSR168/src/java/org/jahia/suite/calendar/syncClients/SyncClient.java.diff?r1=1.7&r2=1.8&f=h
Index: syncml.properties
===================================================================
RCS file:
/home/cvs/repository/uwcal_JSR168/conf/sync4j/spds/syncml.properties,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- syncml.properties 3 Dec 2004 11:12:06 -0000 1.2
+++ syncml.properties 7 Dec 2004 17:07:07 -0000 1.3
@@ -44,7 +44,7 @@
#
# Which sync-mode should be used for the first sync?
#
-firstTimeSyncMode=two-way
+firstTimeSyncMode=slow
#
# Message type [application/vnd.syncml+xml / application/vnd.syncml+wbxml]
Index: SyncClient.java
===================================================================
RCS file:
/home/cvs/repository/uwcal_JSR168/src/java/org/jahia/suite/calendar/syncClients/SyncClient.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- SyncClient.java 6 Dec 2004 14:39:15 -0000 1.7
+++ SyncClient.java 7 Dec 2004 17:07:07 -0000 1.8
@@ -247,7 +247,11 @@
syncClientGUI.log("Updating iCalendar file...");
// Update the source iCalendar file
- updateICSFile(dir.listFiles(), fileName, dbDirectoryName);
+ if (dir.listFiles().length > 0) {
+ updateICSFile(dir.listFiles(), fileName, dbDirectoryName);
+ } else {
+ syncClientGUI.log("WARNING: No data returned");
+ }
}
/**
Index: synchcommon.jar
===================================================================
<<Binary file>>