wolfgangimig / joa

Java Library for Developing Microsoft Outlook Add-ins
MIT License
12 stars 12 forks source link

must extend class OutlookFormRegion #5

Closed xgouchet closed 8 years ago

xgouchet commented 8 years ago

Hi, I'm trying to use your library, following your tutorial I created the following class :

@CoClass(progId="MyAddin.Class", guid="{7e6f5d9a-743b-4198-876c-9c18472b254c}")
@DeclAddin(friendlyName="Foo", description="", application=OfficeApplication.Outlook, loadBehavior=LoadBehavior.LoadOnStart)
public class MyAddin extends OutlookAddin {
}

But upon compilation, I get an error in the generated Module class :

"MyAddin mus extend class com.wilutions.joa.outlook.OutlookFormRegion".

I'm uisng the library from release 0.4.0.

Help me, Wolfgangimig. You're my only hope !

wolfgangimig commented 8 years ago

Hello xgouchet, some days ago I encountered the same problem when trying to compile a JOA based Addin in IntelliJ. The problem was caused in the annotation processor joa-processor.jar. For some reason, a plausibility check failed. I removed the dispensable code, re-built the project and the problem was solved. Please checkout the master branch and try again. Regards, Wolfgang

xgouchet commented 8 years ago

Thanks a lot, this works now !