Build.xml weirdness mac os x

ok jme compiles fine and runs fine within my eclipse environment…

however when i attempt to use build.xml with ant on the dist-all target i get this error



jme/src/com/jme/scene/state/lwjgl/records/TextureStateRecord.java:594: cannot find symbol
    [javac] symbol  : variable GL_SUBTRACT_ARB
    [javac] location: class org.lwjgl.opengl.ARBTextureEnvCombine
    [javac]                 return ARBTextureEnvCombine.GL_SUBTRACT_ARB;



yet when i inspect this in eclipse the symbol exists and throws no compile errors...
my jme project in eclipse is pointing to the same lwjgl jar as the ant file...
any ideas?

Another JAR of JME 2 (an older version) is in your classpath. Eclipse looks at the JAR you show it but outside, it might work differently.