ACal CalDAV calendar: Difference between revisions
From WickyWiki
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
I now prefer: | |||
* [[CalDAVSyncAdapter]] | |||
Information: | Information: | ||
Revision as of 20:25, 2 September 2013
I now prefer:
Information:
Checkout in Eclipse workspace:
cd /home/wilbert/Documents/Eclipse sudo apt-get install git git clone git://gitorious.org/acal/acal.git
The hidden files ".classpath" and ".project" are often not included in repositories but they are needed by Eclipse to recognize a project and to know what folders are used for building (gen), source (src) and binary (bin). Modify or create files ".classpath" and ".project" in the project root folder:
File ".classpath":
<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="src" path="gen"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="output" path="bin/classes"/> </classpath>
File ".project", change the PROJECT NAME:
<?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>PROJECT NAME</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.android.ide.eclipse.adt.ApkBuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>com.android.ide.eclipse.adt.AndroidNature</nature> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription>
In Eclipse:
- File
- Import
- Select 'General/Existing Projects into Workspace'
- Browse for the project root folder
- Check the project
- Finish
In Eclipse
- Project - Properties - Java Compiler - set the correct version
Run