Title: RE: [Xdoclet-user] Building with Ant

I just found the cause. It is maven. I have a custom maven plugin in my cache that uses the hiberate doclet. For some reason when building the Xdoclet docs it runs it.

The error in question it runs that custom plugin...

Thanks

Ben
 
________________________________

Ben Gidley       tel: 01753 804000     
Project Engineer         ddi: 01753 804108     
Anite    fax: 01753 804123     
353 Buckingham Avenue   mobile: 07788 754303   
Slough   web: http://www.anite.com/publicsector <http://www.anite.com/>        
Berkshire        personal: http://www.gidley.co.uk <http://www.gidley.co.uk/>  
SL1 4PF  email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>     
________________________________

 


________________________________

        From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Rupp, Heiko

        Sent: 31 August 2004 13:20
        To: [EMAIL PROTECTED]
        Subject: RE: [Xdoclet-user] Building with Ant
       
       
        Interesting.
        I just did full build from HEAD and I succeeded with Maven 1.0.
        This is with sun JDK1.4.x on Win2k


________________________________

                From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Gidley Ben, Slough

                Sent: Tuesday, August 31, 2004 1:22 PM
                To: ([EMAIL PROTECTED])
                Subject: [Xdoclet-user] Building with Ant
               
               

                I have downloaded Xdoclet and am trying to compile it (as I want to try a feature from CVS HEAD) - but when I compile it it failed generating the documentation using Maven.

                I am not sure what is wrong here - does anyone have any ideas?


                The maven error is
                 __  __
                |  \/  |__ _Apache__ ___
                | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
                |_|  |_\__,_|\_/\___|_||_|  v. 1.0

                Could not create taglib or URI:  tag name: OtherMapping
                org.apache.commons.jelly.JellyException: null:-1:-1: <null> Unable to create _expression_: anite.hibernate.hibernatecfg.OtherMapping.${nested_element_index

                        at org.apache.commons.jelly._expression_.jexl.JexlExpressionFactory.createExpression(JexlExpressionFactory.java:110)

                        at org.apache.commons.jelly._expression_.CompositeExpression.parse(CompositeExpression.java:254)
                        at org.apache.commons.jelly.TagLibrary.createExpression(TagLibrary.java:166)
                        at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1070)
                        at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647)
                        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
                        at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
                        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
                        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

                        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
                        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
                        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
                        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
                        at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299)
                        at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222)
                        at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180)
                        at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146)
                        at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:973)
                        at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:993)
                        at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext(PluginManager.java:706)

                        at org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.java:685)
                        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:624)
                        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
                        at org.apache.maven.cli.App.doMain(App.java:486)
                        at org.apache.maven.cli.App.main(App.java:1215)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:324)
                        at com.werken.forehead.Forehead.run(Forehead.java:551)
                        at com.werken.forehead.Forehead.main(Forehead.java:581)
                Caused by: org.apache.commons.jexl.parser.ParseException: Encountered "{" at line 1, column 44.
                Was expecting one of:
                    "||" ...
                    "or" ...
                    "&&" ...
                    "and" ...
                    "|" ...
                    "^" ...
                    "&" ...
                    "==" ...
                    "eq" ...
                    "!=" ...
                    "ne" ...
                    "<" ...
                    "lt" ...
                    ">" ...
                    "gt" ...
                    "<=" ...
                    "le" ...
                    ">=" ...
                    "ge" ...
                    "+" ...
                    "-" ...
                    "*" ...
                    "/" ...
                    "div" ...
                    "%" ...
                    "mod" ...
                    ";" ...
                    "[" ...
                    "(" ...
                    "." ...
                    "=" ...
                   
                        at org.apache.commons.jexl.parser.Parser.generateParseException(Parser.java:3193)
                        at org.apache.commons.jexl.parser.Parser.jj_consume_token(Parser.java:3077)
                        at org.apache.commons.jexl.parser.Parser.ExpressionExpression(Parser.java:1519)
                        at org.apache.commons.jexl.parser.Parser.Statement(Parser.java:1492)
                        at org.apache.commons.jexl.parser.Parser.JexlScript(Parser.java:58)
                        at org.apache.commons.jexl.parser.Parser.parse(Parser.java:18)
                        at org.apache.commons.jexl.ExpressionFactory.createNewExpression(ExpressionFactory.java:124)
                        at org.apache.commons.jexl.ExpressionFactory.createExpression(ExpressionFactory.java:88)
                        at org.apache.commons.jelly._expression_.jexl.JexlExpressionFactory.createExpression(JexlExpressionFactory.java:106)

                        ... 31 more

                And lots lots more.

                Thanks

                Ben

                 _______________________________________________________________

                Ben Gidley             tel: 01753 804000
                Project Engineer       ddi: 01753 804108
                Anite                  fax: 01753 804123
                353 Buckingham Avenue  mobile: 07788 754303
                Slough                 web: http://www.anite.com/publicsector
                Berkshire              personal: http://www.gidley.co.uk
                SL1 4PF                email: [EMAIL PROTECTED]
                _______________________________________________________________


                Scanned for viruses by MessageLabs. The integrity and security of this message cannot be guaranteed. This email is intended for the named recipient only, and may contain confidential information and proprietary material. Any unauthorised use or disclosure is prohibited.

               


        Scanned for viruses by MessageLabs
       


Scanned for viruses by MessageLabs. The integrity and security of this message cannot be guaranteed. This email is intended for the named recipient only, and may contain confidential information and proprietary material. Any unauthorised use or disclosure is prohibited.

Reply via email to