Geez, having some very bad release-luck. Got his question on IRC:
<rniamo> hi, is openejb 3.1.4 java 5 compliant? i think it uses
Property.stringPropertyNames() method which is only java 1.6 compliant
Of course OSX yanked Java 1.5, so I booted up a Parallels VM and ran
the build with WinXP and JDK 1.5 and sure enough...
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 37 resources
[INFO] Copying 3 resources
[INFO] [dependency:copy {execution: copy}]
[INFO] Configured Artifact:
org.apache.openejb:openejb-javaagent:3.1.4-SNAPSHOT:jar
[INFO] Copying openejb-javaagent-3.1.4-SNAPSHOT.jar to C:\Documents
and
Settings\Administrator\openejb-3.1.x\container\openejb-core\target\openejb-javaagent-3.1.4-SNAPSHOT.jar
[INFO] [compiler:compile]
[INFO] Compiling 609 source files to C:\Documents and
Settings\Administrator\openejb-3.1.x\container\openejb-core\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
C:\Documents and
Settings\Administrator\openejb-3.1.x\container\openejb-core\src\main\java\org\apache\openejb\config\AppInfoBuilder.java:[572,76]
cannot find symbol
symbol : method stringPropertyNames()
location: class java.util.Properties
C:\Documents and
Settings\Administrator\openejb-3.1.x\container\openejb-core\src\main\java\org\apache\openejb\config\AppInfoBuilder.java:[572,76]
cannot find symbol
symbol : method stringPropertyNames()
location: class java.util.Properties
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 minutes 29 seconds
[INFO] Finished at: Fri Nov 12 10:37:14 PST 2010
[INFO] Final Memory: 44M/106M
[INFO]
------------------------------------------------------------------------
So anyway, have to change my +1 to a -1 as not having Java 1.5 support
is showstopper -- not something that can wait till next release.
Curse Apple for removing JDK 1.5 ... as if -source 1.5 and/or -target
1.5 is even close to good enough.
Thank you to whoever rniamo is, you saved the day!
Once again.. new binaries shortly.
-David