Android Question Custom library: error JavaDoc generation

Roberto P.

Well-Known Member
Licensed User
Longtime User
HI,
I'm creating My library and Eclipse return this error:

B4X:
Loading source files for package dev.meta.libary...
Constructing Javadoc information...
[-doclet, BADoclet]
[-docletpath, C:\Program Files (x86)\Anywhere Software]
[-doclet, BADoclet]
[-docletpath, C:\Program Files (x86)\Anywhere Software]
[-sourcepath, C:\EclipsePrj\FormatHelpers\src]
[-classpath, C:\Program Files (x86)\Anywhere Software\JavaNativeLibrary\dist\jna.jar;C:\Program Files (x86)\Anywhere Software\B4A7_3\Libraries\Core.jar;C:\AndroidStudio\sdk\platforms\android-23\android.jar;C:\Program Files (x86)\Anywhere Software\B4A7_3\Libraries\B4AShared.jar;C:\Program Files (x86)\Anywhere Software\B4A7_3\Libraries\Sql.jar]
[-public]
[-b4Atarget, C:\Program Files (x86)\Anywhere Software\AddOnLibraryB4A\FormatHelper.xml]
starting....
Working with class: dev.meta.libary.TItem
Working with class: dev.meta.libary.TestFormatter
No ShortName annotation found for class: TestFormatter
Working with class: dev.meta.libary.Helper
Working with class: dev.meta.libary.FormatHelpers
java.lang.RuntimeException: Only one version is allowed.
    at BADoclet.writeClass(BADoclet.java:65)
    at BADoclet.start(BADoclet.java:354)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
    at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
    at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
    at com.sun.tools.javadoc.Start.begin(Start.java:219)
    at com.sun.tools.javadoc.Start.begin(Start.java:205)
    at com.sun.tools.javadoc.Main.execute(Main.java:64)
    at com.sun.tools.javadoc.Main.main(Main.java:54)

can anyone help me to find out what the problem is?
thanks
 

DonManfred

Expert
Licensed User
Longtime User
java.lang.RuntimeException: Only one version is allowed.
You have multiple files with a Version Annotation.
Only ONE Version is allowed in a Project.

Additionally you should add "dev.meta" to the b4aignore Field
 
Last edited:
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
You have multiple files with a Version Annotation.
Only ONE Version is allowed in a Project.

Additionally you should add "dev.meta" to the b4aignore Field

It's work
Thanks Manfred :)
 
Upvote 0
Top