| View previous topic :: View next topic |
| Author |
Message |
cookie
Joined: 09 Jan 2009 Posts: 9
|
Posted: Thu Feb 05, 2009 10:16 am Post subject: Good news! |
|
|
Hello Markus,
that's great news!
I'll get the server part right now and will hopefully have some spare time over the weekend to have a look at it.
Thank's a lot!
Hauke |
|
| Back to top |
|
 |
cookie
Joined: 09 Jan 2009 Posts: 9
|
Posted: Fri Feb 06, 2009 3:10 pm Post subject: |
|
|
Hello Markus,
just tried to get the sources from Sourceforge. Unfortunatly, since I'm behind a firewall, I cannot access the CVS repository. Tried to use the SVN repository instead, but something must have gone wrong during setup there, because the SVN repository contains no sources. Instead, one can find a .gz tarball here (which says it would contain all sources), but that tarball is unfortunatly empty.
Also, the SVN repository is not accessible (at least not from within eclipse), as opposed to some other projects (like "el4j").
I I recall correctly, someone from the original thread offered to publish the stuff at Sourceforge - maybe he can help? (I have no clue how to setup a sourceforge project correctly, otherwise I'd offer help myself.)
cu
Hauke |
|
| Back to top |
|
 |
cookie
Joined: 09 Jan 2009 Posts: 9
|
Posted: Mon Feb 09, 2009 10:34 am Post subject: |
|
|
Hi,
I'll try again with TortoiseCVS, who knows, maybe it's just eclipse's CVS integration which has a issue with "CVS-through-firewalls".
Anyway, I already checked it out at home over the weekend, and I've got a few wishes already
a) You've included the ical4j stuff as source rather than as a library (*.jar). Would you consider to use the *.jars instead? I noticed that you've included a non-up-to-date version (dont know which, I just noticed that it's not the 1.0-rc1 release) There are some issues when changing to the latest release because the ical4j folks have changed some interfaces (duh!), but it might be worth anyway to make the necessary adaptions (syntactically it's not that much trouble, took maybe 10 minutes, still needs to be checked, though).
b) Talking about libraries, my second wish: Would you also consider to "mavenize" the project (for all who do not know what I'm talking about: http://maven.apache.org). It makes handling of libraries so much easier and makes it easy to keep them up-to-date. Maven could be used to create the official "releases" of finchsync (at least of the server part).
c) What about SVN support? Don't know how much it takes to set this up at sourceforge, I'd hope it's just a matter of setting a checkmark somewhere "[X] add SVN support"
d) ... and one last nice-to-have: Would it be ok to add the necessary files to "eclipsify" FinchSync? Surely, it should be possible to develop FinchSync with just about any Development environment, it would just be nice to keep the necessary stuff within one CVS repository. As long as they don't disturb, one should consider to add the IDE specific stuff (like eclipses ".project") to the CVS.
That's it for now
cu,
Hauke |
|
| Back to top |
|
 |
cookie
Joined: 09 Jan 2009 Posts: 9
|
Posted: Mon Feb 09, 2009 12:51 pm Post subject: |
|
|
Just checked with TortoiseCVS - no, it's also not getting thru our firewall.
But I managed to get the stuff here anyway by using CVSGrab. Took just 5 minutes of fiddling with the parameters, and it worked!
Maybe useful for other users plagued by too-restrictive firewalls, too!
Hauke |
|
| Back to top |
|
 |
neandr
Joined: 22 Nov 2006 Posts: 45
|
Posted: Tue Feb 10, 2009 6:11 pm Post subject: "eclipsify" FinchSync |
|
|
Hi
first of all many thanks to Markus .. finally the FS OpenSource here, a long awaited step.
Markus, hope you are doing fine with your company activities as well as with your health. Hope to see you much more around here, more than last year.
But this a new period .. let's look forward.
Hauke has made already some interesting notes. I would like to join any activities around "eclipsify" FinchSync.
I'm currently working with the ReminderFox[1] team. We develop based on Eclipse and we are very happy with it.
Also I have to say RF is implemented with JavaScript, no C++ or anything else. So generating the extension (XPI) is a very straight process. But there are some posting within different newsgroups how to get JS and JAVA together.
Said this it's clear my interest is to combine FS and some JS functionality (maybe based on ReminderFox and some of my other experience with Thunderbird and Addressbook) into one product AND to use Mozilla/JS to f.e.
- expand the FS sync concept, eg. to work with different Categories,
- replace the MORK part (accessto the TB/AB) of FS.
(Why to replace it? MORK will be outdated, work for this at least for the AB is underway. So it's necessary to change the interface)
So this is a call to others how the resources can be joined to make sure FS will hold it's place also with the upcoming TB 3.x -- out later this year!
Günter
[1] http://reminderfox.mozdev.org/ _________________ WIN XPhome/SP3; Xubuntu 8.10; MAC OSX 10.5.6; Firefox/3.0.x; jre1.6
Reminderfox 1.9; finchsync.0.8d
//gW |
|
| Back to top |
|
 |
Lino159
Joined: 21 Jan 2009 Posts: 1
|
Posted: Tue Feb 10, 2009 10:59 pm Post subject: |
|
|
Hi Markus,
I'm very happy =)
Your project is interessting me anyway, but i've looked your sources and its more complicated than what I was thinking about. I'm really happy to have something to work on in Java.
Thank you very much =) |
|
| Back to top |
|
 |
magog96
Joined: 20 Aug 2007 Posts: 13 Location: Germany
|
Posted: Wed Feb 11, 2009 9:41 pm Post subject: Re: "eclipsify" FinchSync |
|
|
| neandr wrote: |
Hauke has made already some interesting notes. I would like to join any activities around "eclipsify" FinchSync.
|
Hi Günter!
Markus is already using Eclipse 3.4 for the FinchSync Server.
I have no idea why he didn't use Subversion instead of CVS but I already wrote an email about that topic.
I hope this will be changed...doing it later will be a pretty ugly task.
I also have no idea why he didn't use the "Team" --> "Share Project.." function in Eclipse to upload the sources to Sourceforge.
That way it would have been possible not just to upload the stuff below the src directory but also the lib directory and additional project files (e.g. the .project,.classpath, FinchSyncServer.jardesc).
This way a simple checkout would give you all you need to compile the server in Eclipse and also NetBeans.
I also suggested Maven2 last month but if the needed libs are available in the repository (see above) it's ok even if it would make some things easier.
If SVN is used moving files to the filestructure needed by Maven is quite easy later on - and file history won't be lost. With CVS you will lose the complete change history of the files. _________________ Juergen |
|
| Back to top |
|
 |
neandr
Joined: 22 Nov 2006 Posts: 45
|
Posted: Thu Feb 12, 2009 4:23 pm Post subject: |
|
|
Thanks Markus for the feedback and a few notes.
| Quote: | | ( and people didn't even started looking at the code) Wink |
Yes I did .. checking out the code to my local Eclipse, had a first look into the different parts .. as MORK access ... and need a bit more analysis / help to find a way to use your project together with the standard MOZ access methods for a TB extension.
Main problem will be to get it combined that way.
Do you think your announced write-ups
| Quote: | | Further documentation will follow within a few days. |
will help here??
Question around CVS vs version control. That's very much about a 'team' setup I think. We have discussed before about the process of changing /updating FS. If you /anyone else will take the role to be the only one to checkin any changes, then CVS will do. If a 'FS team' should work in parallel AFAIU a version control system is the right choice.
So the basic question: how about the future of FS, who 'controls' the contributions .. do you think anyone would develop his/her own FS version?
Just a few thoughts.
Günter _________________ WIN XPhome/SP3; Xubuntu 8.10; MAC OSX 10.5.6; Firefox/3.0.x; jre1.6
Reminderfox 1.9; finchsync.0.8d
//gW |
|
| Back to top |
|
 |
magog96
Joined: 20 Aug 2007 Posts: 13 Location: Germany
|
Posted: Sun Feb 15, 2009 3:21 pm Post subject: |
|
|
| Markus Rahlff wrote: |
If you check out the source, it takes just a few mouse-clicks to have the eclipse project up and running.
|
Sorry for the long message!
I talked to Markus on Thursday but hadn't much time until today for further steps. So far it hasn't been decided by Markus to move to SVN but he is also aware of problems that might show up when ISO8859-1/15 is mixed up with sources in UTF-8 when CVS is used.
As he first has to look into additional tasks that are required for SVN repository it will take a few more days for a decision.
I also looked into the Eclipse Jigloo GUI Editor and if it's working with the FinchSyncServer sourcecode. So far I don't see a problem.
Jigloo is free for Open Source usage and can be added ("Help"-->"Software Updated"-->"Tab: Available Software"-->"Add Site...") using this url:
| Code: | | http://cloudgarden1.com/update-site |
More details on Jigloo can be found here:
http://www.cloudgarden.com/jigloo/
So far I've not yet tried to get the Windows Mobile client running with VS2008. The Visual Studio test won't happen until Thursday I think.
Now again to the main problem:
I just checked out the source using CVS (I already had a version from January so.
As I said earlier I would prefer SVN but currently the main problem is the structure in CVS itself (which would be the same problem for SVN and should be fixed).
The basic project structure normally is this:
| Code: |
[PROJECTNAME]
+- bin
+- lib
| +-org.apache.log4j.*
+- src
+-com.finchsync.*
+-net.fortuna.* <---- could be moved to the lib directory
|
Here are the tasks (using Eclipse..NetBeans should be similar) needed at the moment to get a normal standard project structure in NON Maven2 format as described above:
- Create a Java project "FinchSyncServer" (File-->New-->Java Project)
- Add a directory "lib" to the project (File-->New-->Folder - Select the project "FinchSyncServer")
- Get the apache logger log4j (better include it in the repository in the first place)
- Add the "lib" directory to the Libraries using "Add Class Folder..." if it's extracted or use "Add JARs..." if it's a *.jar in "lib" - Select the project and Press ALT+ENTER to get fast to the Eclipse project settings.
- Add CVS repository location
- Host: myfinchsync.cvs.sourceforge.net
- Repository path: /cvsroot/myfinchsync
- User: anonymous
- Now add first part of source - the "com" directory from the repository (File-->New-->Projects from CVS)
- Select the just created repository location and press "Next"
- Select "Use an existing module (...)"
- Click the triangle before "FinchSyncServer" to see the subdirectories
- Select the directory "com" by clicking on it and press "Next"
- Select "Check out into an existing project" and press Net
- Click the triangle before the project Name "FinchSyncServer" (appears when the mouse enters the list)
- In the list of directories you select "src" and press "Finish"
- Now we repeat it again for the second part of source - the "net" directory from the repository (File-->New-->Projects from CVS)
- Select the just created repository location and press "Next"
- Select "Use an existing module (...)"
- Click the triangle before "FinchSyncServer" to see the subdirectories
- Select the directory "net" by clicking on it and press "Next"
- Select "Check out into an existing project" and press Net
- Click the triangle before the project Name "FinchSyncServer" (appears when the mouse enters the list)
- In the list of directories you select "src" and press "Finish"
As you can see there are a lot of steps to get a working project (to build your own FinchSyncServer) which doesn't have to be THAT complicated.
To make it much easier first the "lib" directory should be checked in with the Apache Logging module (is open source so there is no problem adding it).
Then the complete directory structure should be added under the Name FinchSyncServer (name as before) but not directly the .\com and .\net directories but the .\src and the .\lib directory. Adding the lib directory with Apache Logging makes it also much easier as you don't have to look for it on the web or on your harddrive.
Edit - 2009-02-18:
Maybe it's not a good idea to add the ".classpath" file. I've seen that the used JDK will be added if you don't use the default one.
In total you can directly check out the source as project:
- Create project directly from CVS (File-->New-->Projects from CVS)
- Select "Create a new repository location" and press "Next"
- Host: myfinchsync.cvs.sourceforge.net
- Repository path: /cvsroot/myfinchsync
- User: anonymous
- Select "Use an existing module (...)"
- Click "FinchSyncServer" and press "Next"
- Select the "Checkout as a project configurated using the New Project Wizard" and press "Next"
- No TAG to select...just press "Finish"
- Now the new project wizard shows up - Select "Java Project" and press "Next"
- Enter the name "FinchSyncServer" as project name and press "Finish"
I think you get the idea.  _________________ Juergen |
|
| Back to top |
|
 |
magog96
Joined: 20 Aug 2007 Posts: 13 Location: Germany
|
Posted: Fri Feb 20, 2009 5:25 pm Post subject: |
|
|
Hello!
I've just compiled the FinchSync Client project in Visual Studio 2008.
There were no errors but some warnings. Most warnings because of catched exceptions where the exception object is not used for further reports.
So far I've not tried to run the created files inside the Windows Mobile/PPC Emulators...maybe tomorrow. _________________ Juergen |
|
| Back to top |
|
 |
cookie
Joined: 09 Jan 2009 Posts: 9
|
Posted: Mon Feb 23, 2009 5:08 pm Post subject: |
|
|
Back again.
Finally found myself some time to come back to FinchSync! Wow, some activity has started!
@magog96: Good idea that you wrote such a detailled description, makes it easier for others to get the sources running!
@Markus: sorry, I didn't have the intention to criticize you, I just wanted to make some suggestions. Concerning the CVS/SVN stuff: I admit I was a bit selfish here, because for some reason SVN gets thru our firewall, while CVS doesn't. Apart from that, SVN has some additional benefits (like support for refactorings), but to be honest, I'm also using plain old CVS in my work projects
Glad to here you're using eclipse,too! I don't see any problem to add the necessary .project and .classpath files, they should not disturb anyone using other IDE's, I think. And now that the master head chief architect is using it anyway, we should just follow ...
Another thing: I don't know if had mentioned that I "mavenized" my personal version of the project. Believe me, once you've set up maven (which isn't very hard), it's so easy to add new libraries (like e.g. log4j).
Markus, I noticed that you've included the ical4j stuff as source - did you make any changes in these sources? I used maven to update to the latest ical4j version (watch out! The central maven repository contains outdated versions only!) and noticed that either you must have changes in their code, or that the ical4j people have made some interface changes.
'Took me about half an hour to get finchsync running with the latest ical4j stuff, they are using their own "DateTime" classes now (instead of the standard java.util.Date ...)
Now, if only we had some unit tests to check if the changes I've made didn't break anything ... any volunteers ?!?
Markus, have you decided yet how to proceed with the sources you just released? I managed to get a (VERY LIMITED, READ-ONLY) version of my Lotus Notes import running inside finchsync. Of course I'd be willing to share the stuff that I've written (if anybody's interested at all), and I guess sourceforge would be the right place to do so. Would you be willing to accept other contributors to your project?
cu
Hauke |
|
| Back to top |
|
 |
magog96
Joined: 20 Aug 2007 Posts: 13 Location: Germany
|
Posted: Tue Feb 24, 2009 6:34 pm Post subject: |
|
|
Hi Hauke!
SVN has been set up by Markus.
I began creating UML diagrams using the great Visual Paradigm UML Suite I use for several years now. Currently I've only the UML diagram for the FinchSync C# Client (Core + PPC and Core + SP) but I'll also create them for the FinchSync Server.
The diagram is big so you need a magnifying glass if you don't have eagle eyes and print it out on one DIN A4/Letter page. If you print it on two pages it's better but still small.
I put the diagrams on my website shortly (as SVG- and also 16 color PNG-Image with 300dpi [8420x6280 pixel ~1MB]) including the Visual Paradigm project file until the stuff finally makes it into the sourceforge repository.
Update - 2009-02-28
Sorry for the delay with the FinchSyncClient UML class diagrams...finally here they are:
Visual Paradigm UML project file incl. the class diagrams (218 kb)
SVG UML class diagram graphics (28 kb)
PNG UML class diagram graphics (2686 kb)
Here are some links and tips if you want to print or convert the images:
- The SVG-Image can be opened and converted into various formats with Inkscape...which is the best tool for SVG-Images I've seen so far. Inkscape is Open Source: http://www.inkscape.org/
- For printing and converting the PNG-Image PMView is good. You can decide on how many pages the images should be printed (but maybe you also have another graphic tool for that). Finally just glue the pages together for your new "wallpaper". PMView is Shareware: http://www.pmview.com/
- You can get Visual Paradigm for UML here. A community edition is available for non commercial use: http://www.visual-paradigm.com/
Update - 2009-03-16
I'm working on the FinchSync Server UML class diagram. As some other things are more important right now, it will take some days until the updated diagrams are available. I'll keep you posted.
Update - 2009-05-01
Sorry for the delay. I've been busy getting a new job which I now have since 1st April. I've also been working hard on my Java Movie Database (JMDB) project and another payed project I was working on in March. I'm now getting slowly back to the FinchSync project while still working on JMDB. There has also been some progress on TotalCross but the PIM-API - I need for my alternative FinchSync Client - is still not yet in sight. Currently the TotalCross developers are working on the Symbian port.
Up next will be finally the UML diagram for FinchSync. _________________ Juergen |
|
| Back to top |
|
 |
|