On Tue, May 20, 2008 at 2:37 PM, Bob Tarling <[EMAIL PROTECTED]> wrote:
> 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.
>
>
> So I assume this is being picked up from default.properties in the
> argouml-app project and we are unable to override it.
It's getting it from somewhere, but the argouml-java Ant build doesn't
read the default.properties file until after it has set this property,
so it shouldn't be coming from there. Actually, now that I look at
it, this property isn't even defined in the default.properties file.
The two files that it reads earlier are build.properties and
module.properties. The first doesn't normally exist unless a
developer has created it to override things and the second only
contains a couple of properties (and nothing to do with ANTLR). Is it
possible that you've created/modified one of these?
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]