xlawrence 2005/01/12 17:33:37 CET
Modified files:
syncClient/src/java/org/jahia/suite/calendar/syncClients
CalendarFileManager.java
SyncClient.java
Log:
Client now ignores calendar props for synch
Revision Changes Path
1.2 +1 -1
uwcal_JSR168/syncClient/src/java/org/jahia/suite/calendar/syncClients/CalendarFileManager.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/uwcal_JSR168/syncClient/src/java/org/jahia/suite/calendar/syncClients/CalendarFileManager.java.diff?r1=1.1&r2=1.2&f=h
1.2 +2 -0
uwcal_JSR168/syncClient/src/java/org/jahia/suite/calendar/syncClients/SyncClient.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/uwcal_JSR168/syncClient/src/java/org/jahia/suite/calendar/syncClients/SyncClient.java.diff?r1=1.1&r2=1.2&f=h
Index: CalendarFileManager.java
===================================================================
RCS file:
/home/cvs/repository/uwcal_JSR168/syncClient/src/java/org/jahia/suite/calendar/syncClients/CalendarFileManager.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CalendarFileManager.java 5 Jan 2005 10:03:40 -0000 1.1
+++ CalendarFileManager.java 12 Jan 2005 16:33:37 -0000 1.2
@@ -119,7 +119,7 @@
if (props.length() > 1) {
items.add(props.substring(0, props.length()-1));
}
-
+
// Get the VEVENTS
Iterator ite = cal.getComponents().iterator();
while (ite.hasNext()) {
Index: SyncClient.java
===================================================================
RCS file:
/home/cvs/repository/uwcal_JSR168/syncClient/src/java/org/jahia/suite/calendar/syncClients/SyncClient.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SyncClient.java 5 Jan 2005 10:03:40 -0000 1.1
+++ SyncClient.java 12 Jan 2005 16:33:37 -0000 1.2
@@ -69,6 +69,7 @@
public class SyncClient {
public static final String DB_DIRECTORY = "./db/";
+ public static final boolean withOutCalProps = true;
private SyncClientFrame syncClientGUI;
private CalendarFileManager calManager;
@@ -203,6 +204,7 @@
// Generate all Sync Item files
for (int i=0; i<items.length; i++) {
+ if (i==0 && withOutCalProps) continue; // Ignore the cal
properties
File f = new File(dbDirectoryName +"/"+ i);
generateSyncItemFile(f, items[i].trim());
}