Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1281

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1281
    Summary: TemplateException
       Type: Bug

     Status: Open
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Langelage, Frank

    Created: Mon, 28 Feb 2005 1:19 PM
    Updated: Mon, 28 Feb 2005 1:19 PM
Environment: XDoclet current CVS checkout on Solaris/SPARC 9 with Sun JDK 
1.4.2_07

Description:
Using the currently available cvs checkout I get an exception on running ejb 
subtask deploymentdescriptor.
If I delete all the generated stuff from xdoclet the run succeeds. But if the 
target files of the task exist, the run fails:
ejb.entity.xdoclet:                                                             
                                                    
[ejbdoclet] (XDocletMain.start                   47  ) Running 
<localinterface/>                                                    
[ejbdoclet] (XDocletMain.start                   47  ) Running 
<localhomeinterface/>                                                
[ejbdoclet] (XDocletMain.start                   47  ) Running <entitypk/>      
                                                    
[ejbdoclet] (XDocletMain.start                   47  ) Running <entitycmp/>     
                                                    
[ejbdoclet] (XDocletMain.start                   47  ) Running 
<deploymentdescriptor/>                                              
[ejbdoclet] (XDocletMain.start                   53  ) Running XDoclet failed.  
                                                    
[ejbdoclet] (XDocletMain.start                   54  ) 
<<xdoclet.XDocletException: Running XDoclet failed.: xdoclet.template.Templat
eException: Error in template file: " sign expected but something different 
found, line=5 of template file: file:/mbi_e_src/mbi2e/j2
ee/xdoclet/modules/ejb/dd/resources/ejb-ref.xdt>>                               
                              [ejbdoclet] xdoclet.XDocletException: Running 
XDoclet failed.: xdoclet.template.TemplateException: Error in template file: " 
sign ex
pected but something different found, line=5 of template file: 
file:/mbi_e_src/mbi2e/j2ee/xdoclet/modules/ejb/dd/resources/ejb-ref.x
dt                                                                    
[ejbdoclet]     at 
xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:747)                  
                        [ejbdoclet]     at 
xdoclet.tagshandler.MergeTagsHandler.generateUsingMergedFile(MergeTagsHandler.java:297)
                          
[ejbdoclet]     at 
xdoclet.tagshandler.MergeTagsHandler.merge(MergeTagsHandler.java:120)           
                                [ejbdoclet]     at 
sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)                    
                                 
[ejbdoclet]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                            
[ejbdoclet]     at java.lang.reflect.Method.invoke(Method.java:324)             
                                        

and 

[ejbdoclet] Caused by: xdoclet.XDocletException: xdoclet.XDocletException: 
Running XDoclet failed.: xdoclet.template.TemplateExcepti
on: Error in template file: " sign expected but something different found, 
line=5 of template file: file:/mbi_e_src/mbi2e/j2ee/xdocl
et/modules/ejb/dd/resources/ejb-ref.xdt                                         
                      [ejbdoclet]     at 
xdoclet.GenerationManager.isGenerationNeeded(GenerationManager.java:314)        
                                 
[ejbdoclet]     at 
xdoclet.GenerationManager.isGenerationNeeded(GenerationManager.java:182)        
                                 
[ejbdoclet]     at 
xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java:616)            
                                [ejbdoclet]     at 
xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:598)                  
                          [ejbdoclet]     at 
xdoclet.XmlSubTask.startProcess(XmlSubTask.java:201)                            
                     [ejbdoclet]     at 
xdoclet.modules.ejb.dd.EjbDotXmlSubTask.execute(EjbDotXmlSubTask.java:231)      
                                 
[ejbdoclet]     at xdoclet.XDocletMain.start(XDocletMain.java:48)               
                                  [ejbdoclet]     at 
xdoclet.DocletTask.start(DocletTask.java:468)                                   
                                 


---------------------------------------------------------------------
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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to