There are additional issues...
Finally I got it to login and get task details. I added org.eclipse.plug-in in the class path and there is a dependency on eclipse swt jar. I added it and then I was able to login.
I could not find any documentation for how to use the connector classes, so I tried to download the source. But I was not able to download the source code using the team project in eclipse.
Any tips or pointers would be great.
Basically I was trying to find out how to query and add new task using the headless jars.
Thanks
Shekar
----- Original Message ----
From: Mik Kersten
<beatmik@xxxxxxx>
To: Mylar developer discussions <mylar-dev@xxxxxxxxxxx>
Sent: Wednesday, June 6, 2007 6:47:24 PM
Subject: RE: [mylar-dev] Issue with Headless jars
Looks like we could be missing the org.eclipse.mylar plug-in
from the headless distribution. Please file a bug.
Mik
From:
mylar-dev-bounces@xxxxxxxxxxx [mailto:mylar-dev-bounces@xxxxxxxxxxx] On
Behalf Of Shekar Pasumarthi
Sent: Wednesday, June 06, 2007 3:46 PM
To: mylar-dev@xxxxxxxxxxx
Subject: [mylar-dev] Issue with Headless jars
Hi,
I am writing a client using the headless jars and I get the following error.
Any tips or hints would be great.
Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/mylar/core/net/WebClientUtil
at
org.eclipse.mylar.tasks.core.TaskRepository.getProxy(TaskRepository.java:421)
at
org.eclipse.mylar.internal.bugzilla.core.BugzillaClientManager.getClient(BugzillaClientManager.java:40)
at TestClient.main(TestClient.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Shekar