Permalink
Browse files

thinking how it will going to be

  • Loading branch information...
1 parent 15f8ad5 commit f828530c05cf6d38dff44a2e1fc04a4d45da5d82 @mileschet mileschet committed Jun 2, 2012
Showing with 99 additions and 28 deletions.
  1. +72 −22 .idea/workspace.xml
  2. +18 −5 bsync.iml
  3. +6 −0 pom.xml
  4. +3 −1 src/bravado/sync/core/SyncCore.java
View
@@ -58,24 +58,32 @@
</component>
<component name="FileEditorManager">
<leaf>
- <file leaf-file-name="SyncCoreTest.java" pinned="false" current="false" current-in-tab="false">
+ <file leaf-file-name="SyncCoreTest.java" pinned="false" current="true" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src-test/bravado/sync/test/SyncCoreTest.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="15" column="33" selection-start="212" selection-end="212" vertical-scroll-proportion="0.0">
+ <state line="23" column="24" selection-start="487" selection-end="487" vertical-scroll-proportion="0.26948053">
<folding>
<element signature="imports" expanded="true" />
+ <element signature="e#463#479#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="SyncCore.java" pinned="false" current="true" current-in-tab="true">
+ <file leaf-file-name="SyncCore.java" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/bravado/sync/core/SyncCore.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="6" column="44" selection-start="136" selection-end="136" vertical-scroll-proportion="0.07281554">
- <folding>
- <element signature="e#374#390#0" expanded="true" />
- </folding>
+ <state line="21" column="25" selection-start="421" selection-end="421" vertical-scroll-proportion="0.0">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ </file>
+ <file leaf-file-name="spring-config.xml" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/src/spring-config.xml">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <folding />
</state>
</provider>
</entry>
@@ -98,8 +106,8 @@
<option value="$PROJECT_DIR$/src/SyncCore.java" />
<option value="$PROJECT_DIR$/src/bravado/sync/core/SyncCoreTest.java" />
<option value="$USER_HOME$/.m2/settings.xml" />
- <option value="$PROJECT_DIR$/pom.xml" />
<option value="$PROJECT_DIR$/src-test/bravado/sync/test/SyncCoreTest.java" />
+ <option value="$PROJECT_DIR$/pom.xml" />
<option value="$PROJECT_DIR$/src/bravado/sync/core/SyncCore.java" />
</list>
</option>
@@ -192,6 +200,14 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
+ <option name="myItemId" value="bravado" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="sync" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
<option name="myItemId" value="test" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
@@ -224,6 +240,14 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
+ <option name="myItemId" value="bravado" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="sync" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
<option name="myItemId" value="core" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
@@ -460,27 +484,47 @@
</task>
<servers />
</component>
+ <component name="TodoView" selected-index="0">
+ <todo-panel id="selected-file">
+ <are-packages-shown value="false" />
+ <are-modules-shown value="false" />
+ <flatten-packages value="false" />
+ <is-autoscroll-to-source value="true" />
+ </todo-panel>
+ <todo-panel id="all">
+ <are-packages-shown value="true" />
+ <are-modules-shown value="false" />
+ <flatten-packages value="false" />
+ <is-autoscroll-to-source value="true" />
+ </todo-panel>
+ <todo-panel id="default-changelist">
+ <are-packages-shown value="false" />
+ <are-modules-shown value="false" />
+ <flatten-packages value="false" />
+ <is-autoscroll-to-source value="false" />
+ </todo-panel>
+ </component>
<component name="ToolWindowManager">
<frame x="0" y="22" width="1280" height="774" extended-state="6" />
- <editor active="true" />
+ <editor active="false" />
<layout>
<window_info id="Data Sources" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
- <window_info id="IDEtalk Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
+ <window_info id="IDEtalk Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.4687023" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
- <window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
+ <window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.19724026" sideWeight="0.5312977" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
- <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32977098" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33522728" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.30194804" sideWeight="0.670229" order="0" side_tool="false" content_ui="tabs" />
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32977098" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
+ <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.30194804" sideWeight="0.5312977" order="0" side_tool="false" content_ui="tabs" />
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32977098" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
@@ -560,25 +604,31 @@
</entry>
<entry file="file://$PROJECT_DIR$/pom.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="9" column="35" selection-start="393" selection-end="393" vertical-scroll-proportion="0.21496816">
+ <state line="21" column="21" selection-start="784" selection-end="784" vertical-scroll-proportion="0.7645631">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/src-test/bravado/sync/test/SyncCoreTest.java">
+ <entry file="file://$PROJECT_DIR$/src/spring-config.xml">
<provider selected="true" editor-type-id="text-editor">
- <state line="15" column="33" selection-start="212" selection-end="212" vertical-scroll-proportion="0.0">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/bravado/sync/core/SyncCore.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="6" column="44" selection-start="136" selection-end="136" vertical-scroll-proportion="0.07281554">
+ <state line="21" column="25" selection-start="421" selection-end="421" vertical-scroll-proportion="0.0">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/src-test/bravado/sync/test/SyncCoreTest.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="23" column="24" selection-start="487" selection-end="487" vertical-scroll-proportion="0.26948053">
<folding>
- <element signature="e#374#390#0" expanded="true" />
+ <element signature="imports" expanded="true" />
+ <element signature="e#463#479#0" expanded="true" />
</folding>
</state>
</provider>
View
@@ -1,14 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
+ <component name="FacetManager">
+ <facet type="Spring" name="Spring">
+ <configuration>
+ <fileset id="fileset1" name="My Fileset" removed="false">
+ <file>file://$MODULE_DIR$/src/spring-config.xml</file>
+ </fileset>
+ </configuration>
+ </facet>
+ </component>
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
- <exclude-output />
<content url="file://$MODULE_DIR$">
- <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src-test" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="jdk" jdkName="1.6" jdkType="JavaSDK" />
@@ -22,6 +26,15 @@
<SOURCES />
</library>
</orderEntry>
+ <orderEntry type="library" name="spring-3.1.0" level="project" />
+ <orderEntry type="library" name="spring-ws-2.0.2" level="project" />
+ <orderEntry type="library" name="spring-data-jpa-1.0.0" level="project" />
+ <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.8.1" level="project" />
+ <orderEntry type="library" name="Maven: com.googlecode.lambdaj:lambdaj:2.2" level="project" />
+ <orderEntry type="library" name="Maven: org.hamcrest:hamcrest-all:1.1" level="project" />
+ <orderEntry type="library" name="Maven: org.objenesis:objenesis:1.2" level="project" />
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
+ <orderEntry type="library" name="Maven: cglib:cglib-nodep:2.2" level="project" />
</component>
</module>
View
@@ -15,5 +15,11 @@
<version>4.8.1</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>com.googlecode.lambdaj</groupId>
+ <artifactId>lambdaj</artifactId>
+ <version>2.2</version>
+ </dependency>
</dependencies>
+
</project>
@@ -13,10 +13,12 @@
*/
public class SyncCore {
- private static List<String> sync(String repository, HashMap<String, String> listFilesRepository1) {
+ public static List<String> sync(String repository, HashMap<String, String> listFilesRepository1) {
HashMap<String, String> listFilesServer = new HashMap<String, String>();
+
+
// listFilesRepository1 right repository // download
// listFilesRepository1 left repository // upload
// isRepositoryLastUpdateFile(repository, file)

0 comments on commit f828530

Please sign in to comment.