facebook

Xdoclet source folder

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #229387 Reply

    Is is possible to change the location from where xdoclet looks up the source files instead of the “src” folder? I could not find anything in the xdoclet documentation.

    #229388

    I should probably give more detail..I have my source folders structured as src/java, src/test, src/intg with the main code located in src/java. Now when I run xdoclet within ME, it does not pickup any source files to process and I get a validation error when it tries to generate the ejb-jar.xml. Now if I move the com directory from src/java to src, all the xdoclet tags seems to work. Anyway I can configure xdoclet to look at src/java instead of src?

    #229394

    Greg
    Member

    For each source directory you will need to add a new “fileset” subtask to your ejbdoclet.

    – Open MyEclipse-XDoclet properties.
    – Right-click on the ejbdoclet item and select “Add”
    – Select “fileset” from the list
    – On the filset set dir = “src/java”
    – Uncheck excludes property
    – Set “includes” to “**/*.java”

    Add 2 more filesets for src/test src/intg. Save the configuration and re-run xdoclet.

    Now xdoclet will scan those source folders for source files with xdoclet tags.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Xdoclet source folder

You must be logged in to post in the forum log in