[XDoclet-JIRA] Created: (XDT-1605) jdodoclet and destinationFile attribute

André Fügenschuh (JIRA) <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
jdodoclet and destinationFile attribute
---------------------------------------

         Key: XDT-1605
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1605
     Project: XDoclet
        Type: Improvement

  Components: JDO Module  
    Versions: 1.2.3    
 Environment: W2K, JDK5, Ant 1.6.5
    Reporter: André Fügenschuh
 Assigned to: xdoclet-devel (Use for new issues) 
    Priority: Minor


Using the jdodoclet task like the following:

    <jdodoclet jdoSpec="2.0"
               ...>
      <fileset .../>
      <jdometadata project="${ant.project.name}"
                   generation="package"
                   destinationFile="package.jdo"/>
    </jdodoclet>

I expected files named "package.jdo" within the package folder. Instead, following the jdo1 spec, files named "[subPackageName].jdo" in parent package directory will be generated. Specifying attribute "destinationFile" has no impact.

See: http://www.jpox.org/docs/1_1/metadata.html for details.

Any chance to improve jdo output location and naming? (Maybe not that complete, as the spec denotes)

Workaround: an Ant copy-task with regexmapper.


-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.