processing / processing-library-template-ant

Processing Library Template for Eclipse
Other
142 stars 447 forks source link

@example Taglet not working. #4

Closed ernestum closed 10 years ago

ernestum commented 10 years ago

Problem

The @example Taglet in the javadoc is not working for me. The example is not included and the build output of ANT shows me:

  [javadoc] Javadoc execution
  [javadoc] Loading source file /home/m/.eclipseworkspace/processing-library-template/tmp/YourLibrary/src/template/library/HelloLibrary.java...
  [javadoc] Constructing Javadoc information...
  [javadoc] Registered Taglet ExampleTaglet ...
  [javadoc] Standard Doclet version 1.6.0_27
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Generating /home/m/.eclipseworkspace/processing-library-template/tmp/YourLibrary/reference/template/library/HelloLibrary.html...
  [javadoc] java.io.FileNotFoundException: ../examples/Hello 
  [javadoc]  
  [javadoc]  (the tag @example followed by the name of an example included in folder 'examples' will
  [javadoc]  automatically include the example in the javadoc.)/Hello

Something in ExampleTaglet.javas readFile() seems to be off with the path. I tried to fix it but apparently the ANT script does not compile ExampleTaglet.java.

If you tell me how you compiled it I can try to fix it.

Steps to reproduce: