Re: Errors when generating code for Samples/Weblogic

John Woolsey <[email protected]>
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
I find a lot of my problems where fixed by typing ant clean before every 
middlegen build. Mind you I like a completely automated process so I 
have turned off the interface etc. Ant clean doesn't take long and I 
believe it doesn't take any longer to build after you have done an ant 
clean, since I don't think dependencies are set up in the example build.xml.

						- bfn - JAW

Eivind Waaler wrote:
> Hi,
> 
> I noticed someone else had this same problem. I'm not sure why you get it,
> but it has something to do with the generation of the
> weblogic-cmp-rdbms-jar-xml file.
> 
> - If you are not using weblogic, remove the <weblogic..> subtask from the
> <ejbdoclet> task.
> 
> - If you are using weblogic and need the file. Try manually deleting the
> file, then run ejbdoclet again.
> 
> Cheers
> .eivind
> 
> On Tue, 13 Jan 2004, Jingping Wang wrote:
> 
> 
>>Greetings,
>>
>>I'm new to MiddleGen and was trying to get started with the samples and
>>weblogic server.The following errors occurred when running Ant. Would really
>>appreciate if somebody can help me? Thanks!
>>
>>-Jingping
>>
>>[ejbdoclet] (XDocletMain.start                   53  ) Running XDoclet
>>failed.
>>[ejbdoclet] (XDocletMain.start                   54  )
>><<xdoclet.template.TemplateException: Error i
>>n template file: = sign expected but something different found, line=6 of
>>template file: jar:file:C:
>>\download\middlegen\middlegen-2.0-vo\middlegen-2.0-vo\samples\lib\xdoclet-be
>>a-module-1.2b3-dev.jar!/
>>xdoclet/modules/bea/wls/ejb/resources/weblogic-cmp-rdbms-jar-xml.xdt>>
>>[ejbdoclet] xdoclet.template.TemplateException: Error in template file: =
>>sign expected but somethin
>>g different found, line=6 of template file:
>>jar:file:C:\download\middlegen\middlegen-2.0-vo\middlege
>>n-2.0-vo\samples\lib\xdoclet-bea-module-1.2b3-dev.jar!/xdoclet/modules/bea/w
>>ls/ejb/resources/weblogi
>>c-cmp-rdbms-jar-xml.xdt
>>[ejbdoclet]     at
>>xdoclet.template.TemplateEngine.extractNextAttribute(TemplateEngine.java:704
>>)
>>[ejbdoclet]     at
>>xdoclet.template.TemplateEngine.extractAttributes(TemplateEngine.java:650)
>>[ejbdoclet]     at
>>xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:431)
>>[ejbdoclet]     at
>>xdoclet.template.TemplateParser.generate(TemplateParser.java:114)
>>[ejbdoclet]     at
>>xdoclet.template.TemplateParser.invoke(TemplateParser.java:179)
>>[ejbdoclet]     at
>>xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:492)
>>[ejbdoclet]     at
>>xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:917)
>>[ejbdoclet]     at
>>xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:884)
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: Perforce Software.
>>Perforce is the Fast Software Configuration Management System offering
>>advanced branching capabilities and atomic changes on 50+ platforms.
>>Free Eval! http://www.perforce.com/perforce/loadprog.html
>>_______________________________________________
>>middlegen-user mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/middlegen-user
>>
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> middlegen-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/middlegen-user
> 
> 



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
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.