OpenFire - Build from github exception

Hi,

I have imported the project in Intellij, The project imported successfully. But while running getting following error.

Is there any setting need to change?

Error:(19, 25) java: package com.install4j.api does not exist
Error:(20, 25) java: package com.install4j.api does not exist
Error:(21, 25) java: package com.install4j.api does not exist
Error:(30, 34) java: cannot find symbol
symbol: class UninstallAction
Error:(38, 34) java: cannot find symbol
symbol: class Context
location: class org.jivesoftware.openfire.launcher.Uninstaller
Error:(38, 51) java: cannot find symbol
symbol: class ProgressInterface
location: class org.jivesoftware.openfire.launcher.Uninstaller

Your best bet is probably to exclude the src/java/org/jivesoftware/openfire/launcher directory from IntelliJ (right click on the folder, and select “Mark Directory As … Excluded”

{AFAICT it’s a side-effect of the migration from Ant to Maven that’s still not been properly tidied up - it really needs to be a separate project in it’s own right, I think).

Greg

I have excluded that folder, the exception still shows if I build the project.

import com.install4j.api.Context;
import com.install4j.api.ProgressInterface;
import com.install4j.api.UninstallAction;

All these classes package structure are changed in the jar file. and some are the interface.

Thanks
Mohsin

According to this post, it seems there is issue

I have imported the code from source code tar file in to the eclipse and changed the and comment the code for install4j, I am able to run it and run in debug mode. I want to debug the plugin. I think i need to attache the source code for jar file. Any one know the common area where the control is direct to the plugin.

Thanks
Mohsin

If IntelliJ is still trying to compile Uninstaller.java then you’ve not correctly excluded the folder containing it.

Greg