Changeset 46805 for Apogee/trunk/sync
- Timestamp:
- 06/28/06 14:24:15 (2 years ago)
- Files:
-
- Apogee/trunk/sync/org.nuxeo.sync.jcr.client/build/build.xml (modified) (2 diffs)
- Apogee/trunk/sync/org.nuxeo.sync.jcr.client/config/spds/sources/SyncSource.properties (modified) (2 diffs)
- Apogee/trunk/sync/org.nuxeo.sync.jcr.extensions/build/build.xml (modified) (1 diff)
- Apogee/trunk/sync/org.nuxeo.sync.jcr/src/java/org/nuxeo/sync/jcr/source/JCRSyncSource.java (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Apogee/trunk/sync/org.nuxeo.sync.jcr.client/build/build.xml
r45977 r46805 28 28 <mkdir dir="${prj.output}/bin"/> 29 29 30 <javac classpathref="client.class.path"31 srcdir="${prj.src}"32 destdir="${prj.output}/bin" />33 34 30 <ant dir="../org.nuxeo.sync.jcr.extensions/build/" 35 31 target="localhandler.deliver" inheritall="false"> … … 37 33 <property name="dest" value="../../org.nuxeo.sync.jcr.client/lib"/> 38 34 </ant> 35 36 <javac classpathref="client.class.path" 37 srcdir="${prj.src}" 38 destdir="${prj.output}/bin" /> 39 39 40 40 </target> Apogee/trunk/sync/org.nuxeo.sync.jcr.client/config/spds/sources/SyncSource.properties
r45977 r46805 1 #2 #Mon May 29 13:06:04 CEST 20063 1 jcrpassword=password 4 2 name=jackrabbit_foo … … 8 6 type=text/plain 9 7 jcrhandler=org.nuxeo.sync.jcr.extensions.LocalHandler 10 last=114890076121211 8 jcrusername=username Apogee/trunk/sync/org.nuxeo.sync.jcr.extensions/build/build.xml
r46160 r46805 68 68 69 69 <copy todir="${dest}" file="${prj.output}/LocalHandler.jar" /> 70 71 <copy todir="${dest}"> 72 <fileset dir="${prj}/lib"> 73 <include name="*.jar"/> 74 </fileset> 75 </copy> 70 76 71 77 <!-- Cleans the output --> Apogee/trunk/sync/org.nuxeo.sync.jcr/src/java/org/nuxeo/sync/jcr/source/JCRSyncSource.java
r46798 r46805 358 358 syncItemKey); 359 359 360 syncItem.setState(getSyncItemStateFromId(syncItemKey)); 360 // TODO remove 361 // syncItem.setState(getSyncItemStateFromId(syncItemKey)); 361 362 syncItem.setContent(JCRHelper.getNodeContent(__session, 362 363 syncItemKey.getKeyAsString())); … … 364 365 365 366 return syncItem; 366 }367 368 /*369 * (non-Javadoc)370 * @see com.funambol.framework.engine.source.SyncSource#removeSyncItem(com.funambol.framework.engine.SyncItemKey, java.sql.Timestamp)371 */372 public void removeSyncItem(SyncItemKey syncItemKey, Timestamp time)373 throws SyncSourceException {374 375 log.info("[JCRSyncSource] removeSyncItem(" +376 principal +377 " , " +378 syncItemKey +379 " , " +380 time +381 ")");382 383 367 } 384 368 … … 425 409 426 410 try { 427 428 ;429 430 411 JCRHelper.addContentAsNode(__session, 431 412 syncItem.getKey().getKeyAsString(), … … 450 431 451 432 return new SyncItemKey[0]; 452 }453 454 /*455 * (non-Javadoc)456 * @see com.funambol.framework.engine.source.SyncSource#getSyncItemStateFromId(com.funambol.framework.engine.SyncItemKey)457 */458 public char getSyncItemStateFromId(SyncItemKey key) throws SyncSourceException {459 460 // TODO461 462 return 'N';463 }464 465 /*466 * (non-Javadoc)467 * @see com.funambol.framework.engine.source.SyncSource#mergeSyncItems(com.funambol.framework.engine.SyncItemKey, com.funambol.framework.engine.SyncItem)468 */469 public boolean mergeSyncItems(SyncItemKey syncItemKey, SyncItem syncItem)470 throws SyncSourceException {471 472 // TODO473 return false;474 }475 476 /*477 * (non-Javadoc)478 * @see com.funambol.framework.engine.source.SyncSource#isSyncItemInFilterClause(com.funambol.framework.engine.SyncItem)479 */480 public boolean isSyncItemInFilterClause(SyncItem syncItem)481 throws SyncSourceException {482 // All the workspace items are in the clause.483 return true;484 }485 486 /*487 * (non-Javadoc)488 * @see com.funambol.framework.engine.source.SyncSource#isSyncItemInFilterClause(com.funambol.framework.engine.SyncItemKey)489 */490 public boolean isSyncItemInFilterClause(SyncItemKey syncItemKey)491 throws SyncSourceException {492 493 // All the workspace items are in the clause.494 return true;495 433 } 496 434
