Java Question My first library

D

Deleted member 103

Guest
Hi,

I try to write my first library, unfortunately I can't keep going on.
The jar file I can create without problems, only the JavaDoc doesn't work.
What am I doing wrong?
B4X:
import anywheresoftware.b4a.BA.Author;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.BA.Version;

@ShortName("test")
@Version(1.0f)
@Author("Filippo")
/**
* My Comment.
*/
public class test {
   
   public int getWidth() {
        return 1;
   }
   public void setWidth(int value) {
   }
   
}
Error: javadoc: error - invalid flag: -b4atarget

Ciao,
Filippo
 

Attachments

  • JavaDoc-Error_0.jpg
    JavaDoc-Error_0.jpg
    19.1 KB · Views: 499
  • JavaDoc-Error_1.jpg
    JavaDoc-Error_1.jpg
    16.2 KB · Views: 484
  • JavaDoc-Error_2.jpg
    JavaDoc-Error_2.jpg
    14.4 KB · Views: 462

agraham

Expert
Licensed User
Longtime User
There is not enough detail in the screenshots to check everything but the doclet name looks wrong on the "Select types for Javadoc generation." It should be "BADoclet" and below it should be the full path to where BADoclet.class and BADoclet$Property.class are located.
 
D

Deleted member 103

Guest
Attached the screenshots in a zip-file.
Can you please look again?
 
Top