ndeepakp / caldav4j

Automatically exported from code.google.com/p/caldav4j
0 stars 0 forks source link

Unit Tests with missing GCaldavCredential.java - No build possible #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Build the project

What is the expected output? What do you see instead?

Expected: A finished build.

But the current build output:

[ERROR]Mojo: 
[ERROR]    org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile
[ERROR]FAILED for project: 
[ERROR]    org.osaf:caldav4j:jar:0.6-SNAPSHOT
[ERROR]Reason:
[ERROR]org/osaf/caldav4j/google/GCalDAVCalendarCollectionTest.java:[24,24]
cannot find symbol
[ERROR]symbol  : class GCaldavCredential
[ERROR]location: package org.osaf.caldav4j
[ERROR]org/osaf/caldav4j/methods/PutGetTestGoogle.java:[15,24] cannot find
symbol
[ERROR]symbol  : class GCaldavCredential
[ERROR]location: package org.osaf.caldav4j
[ERROR]org/osaf/caldav4j/google/GCalDAVCalendarCollectionTest.java:[52,31]
cannot find symbol
[ERROR]symbol  : class GCaldavCredential
[ERROR]location: class org.osaf.caldav4j.google.GCalDAVCalendarCollectionTest
[ERROR]org/osaf/caldav4j/methods/PutGetTestGoogle.java:[28,54] cannot find
symbol
[ERROR]symbol  : class GCaldavCredential
[ERROR]location: class org.osaf.caldav4j.methods.PutGetTestGoogle

What version of the product are you using? On what operating system?

Current svn checkout from 2010-02-23 (up to commit ID SVN#184)

Original issue reported on code.google.com by ARitt...@gmx.net on 24 Feb 2010 at 8:20

GoogleCodeExporter commented 9 years ago
Here is an example of an GCaldavCredential-class:

package org.osaf.caldav4j;

public class GCaldavCredential extends CaldavCredential {

    public GCaldavCredential() {
        CALDAV_SERVER_HOST = "www.google.com";
        CALDAV_SERVER_PORT = 443;
        CALDAV_SERVER_PROTOCOL = "https";
        CALDAV_SERVER_WEBDAV_ROOT = "/calendar/dav/name@ofYourCalendar/";
        CALDAV_SERVER_USERNAME = "your@username";
        CALDAV_SERVER_PASSWORD = "password";
        COLLECTION = "events";
    }
}

Original comment by roland.s...@googlemail.com on 26 Feb 2010 at 10:12

GoogleCodeExporter commented 9 years ago
this class is a "private" one, you should put your own credentials here ;)

Original comment by robipo...@gmail.com on 24 May 2010 at 3:39

GoogleCodeExporter commented 9 years ago
added in 0.7

Original comment by robipo...@gmail.com on 23 Aug 2010 at 12:28