Java Question Error parsing library

kolbe

Active Member
Licensed User
Longtime User
I'm trying to add Open Accessory support to the IOIO library. At the moment I'm getting a parse error when I load the library into B4A.

The parse errors states that:

B4X:
"ioio.lib.andorid.accessory.AccessoryConnectionBootstrap.abortbroadcast already exists"

This is working code I'm just wrapping to expose to B4A. I don't see anything in the code that would cause this. Eclipse builds a JAR without any warning/errors.

Any ideas as to what is going on here?
 

kolbe

Active Member
Licensed User
Longtime User
@Hide does the trick. It didn't even occur to me it was a Javadoc/doclet problem.

Thanks. Top notch support. Where do you find the time?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Where do you find the time?
Not sure...

Note that it is better to only run the doclet on your code.
You can use the -b4aignore flag (in the javadoc properties) to ignore all classes starting with a given string.
For example:
B4X:
-b4aignore org,com.android,com.example
The above command will ignore all org.*, com.android.* and com.example.* packages.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…