maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dion Gillard <dion.gill...@gmail.com>
Subject Re: memory initialization problem..Pls suggest..
Date Tue, 24 Aug 2004 00:51:55 GMT
Jexl has recently been fixed to better support size methods.

If there is a case where it's busted, please let us know :-)

On Tue, 24 Aug 2004 10:36:45 +1000, Brett Porter <brett.porter@gmail.com> wrote:
> I think jexl believes "size" to be a function.
> 
> Try:
> ${context.getVariable('mem.int.size')}
> 
> On Mon, 23 Aug 2004 13:25:28 +0530, Logachandru, Rajamanickam
> 
> 
> <rlogach@templeton.com> wrote:
> > Hi,
> >
> > In maven.xml, I'm trying to echo the memory initialization parameters specified
in project.properties. I'm getting the errors as mentioned below and would request you to
suggest me a work around for this problem.
> >
> > Caught exception: org.apache.commons.jelly.JellyException: null:-1:-1: <null>
Un
> > able to create expression: mem.init.size
> > org.apache.commons.jelly.JellyException: null:-1:-1: <null> Unable to create
exp
> > ression: mem.init.size
> >         at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory.create
> > Expression(JexlExpressionFactory.java:110)
> >         at org.apache.commons.jelly.expression.CompositeExpression.parse(Composi
> > teExpression.java:254)
> >         at org.apache.commons.jelly.parser.XMLParser.addTextScript(XMLParser.jav
> > a:1160)
> >         at org.apache.commons.jelly.parser.XMLParser.endElement(XMLParser.java:7
> > 31)
> >         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
> > )
> >         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow
> > n Source)
> >         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
> > Dispatcher.dispatch(Unknown Source)
> >         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
> > known 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:9
> > 73)
> >         at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:99
> > 3)
> >         at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> > 615)
> >         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 java.lang.reflect.Method.invoke(Native Method)
> >         at com.werken.forehead.Forehead.run(Forehead.java:551)
> >         at com.werken.forehead.Forehead.main(Forehead.java:581)
> > Root cause
> > org.apache.commons.jexl.parser.ParseException: Encountered ". size" at line 1, c
> > olumn 9.
> > Was expecting one of:
> >     "||" ...
> >     "or" ...
> >     "&&" ...
> >     "and" ...
> >     "|" ...
> >     "^" ...
> >     "&" ...
> >     "==" ...
> >     "eq" ...
> >     "!=" ...
> >     "ne" ...
> >     "<" ...
> >     "lt" ...
> >     ">" ...
> >     "gt" ...
> >     "<=" ...
> >     "le" ...
> >     ">=" ...
> >     "ge" ...
> >     "+" ...
> >     "-" ...
> >     "*" ...
> >     "/" ...
> >     "div" ...
> >     "%" ...
> >     "mod" ...
> >     ";" ...
> >     "[" ...
> >     "(" ...
> >     "." <IDENTIFIER> ...
> >     "." <INTEGER_LITERAL> ...
> >     "=" ...
> >
> > Thanks,
> > Logachandru.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message