I put a patch on issue 5098 that solves it for me.
Bob.
2008/5/20 Bob Tarling <[EMAIL PROTECTED]>:
>> This is the wrong antlr, the right one is in the lib directory of the
>> project. I don't know how to tell eclipse to use this.
>
> Eclipse is using ANT to build to generate the antlr files.
>
> The build.xml in the java project contains this line
>
> <property name="antlrall.jar.path"
> value="${module.lib.dir}/antlrworks-1.1.7.jar"/>
>
> I experimented by placing this line before and after the above
> <echo message="Will run antlr from ${antlrall.jar.path}"/>
>
> On an eclipse clean it then displays for me
> C:\argoworkspace\argouml-app/lib/antlr-2.7.7.jar both before and after
> trying to set the property to a different value.
>
> I checked the ANT description of the property task, it says
> "Properties are immutable: whoever sets a property first freezes it
> for the rest of the build; they are most definitely not variables."
>
> So I assume this is being picked up from default.properties in the
> argouml-app project and we are unable to override it.
>
> I think modules should provide their own property for this and it
> should be removed from argouml-app once all the java dependant code is
> removed.
>
> Bob.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]