Message:

   The following issue has been re-assigned.

   Assignee: Eric Pugh (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1023

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1023
    Summary: Example Maven code inadequate
       Type: Improvement

     Status: Open
   Priority: Minor

 Original Estimate: 2 hours
 Time Spent: Unknown
  Remaining: 2 hours

    Project: XDoclet
 Components: 
             Documentation
   Versions:
             1.2.1

   Assignee: Eric Pugh
   Reporter: Mykel Alvis

    Created: Mon, 16 Aug 2004 3:57 PM
    Updated: Thu, 23 Sep 2004 1:02 PM
Environment: Any from xdoclet maven plugin website

Description:
Maven 1.0 and maven-xdoclet-plugin-1.2.1

Per the current instructions, running the xdoclet:ejbdoclet goal produces no jboss.xml 
or jbosscmp-jdbc.xml for specified entities.

Documentation should indicate that one must also set
maven.xdoclet.ejbdoclet.jboss.0=true
in order to generate the additional required jboss files.

Also, documentation should indicate that if maven.xdoclet.ejbdoclet.jboss.0 is NOT set 
to true, then none of the other <jboss> tag elements will be processed, such as the 
jbossTemplateFile, jawsTemplateFile, or jbosscmpTemplateFile (and others).

This issue actually re-occurs throughout the maven plugin, as it relies on setting 
properties in the project properties file(s) to drive when and how various 
implementation specific sources are generated.

>From my perspective as a brand-new user, the day or so I spent looking around the web 
>and the code for this answer  was invaluable since I discovered a great deal about 
>how the plugin works.  However, it was pretty frustrating to have followed the 
>example and not had it produce the effect that I expected.  Obviously my expectations 
>were out of whack, but with some slight additions to the docs regarding the setup for 
>the jboss example (http://xdoclet.sourceforge.net/xdoclet/maven-plugin.html).

For instance, in my particular installation, I use the following additional properties:

maven.xdoclet.ejbdoclet.jboss.0=true
maven.xdoclet.ejbdoclet.jboss.0.Version=3.0
maven.xdoclet.ejbdoclet.jboss.0.datasource=java:/myLocalDS
maven.xdoclet.ejbdoclet.jboss.0.datasourceMapping=MS SQLSERVER2000
maven.xdoclet.ejbdoclet.jboss.0.preferredRelationMapping=relation-table
maven.xdoclet.ejbdoclet.jboss.0.xmlencoding=UTF-8
maven.xdoclet.ejbdoclet.jboss.0.validateXML=true
maven.xdoclet.ejbdoclet.jboss.0.destDir=${maven.build.dir}/xdoclet/ejb/x/META-INF
maven.xdoclet.ejbdoclet.jboss.0.mergeDir=${maven.build.dir}/temp/mergedir





---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to