Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0.2
-
Component/s: Project infrastructure
-
Labels:None
-
Environment:OS X only, JDK 1.4, 1.5 and 1.6
-
Patch Submitted:Yes
Description
Because the location of the JVM is standard on OS X machines, I want to add OS X-specific build targets to verify that Grails will build/test against a specific JVM version without having to fool around with:
export JAVA_HOME=/some/path/home
I have created an osx.xml ant build file with some OS X-specific build tasks:
osx-build-14
osx-build-15
etc.
These targets set JAVA_HOME to the specified version and execute ant clean build
osx-test-14
osx-test-15
etc.
These targets set JAVA_HOME to the specified version and execute ant clean build
osx-multi-build
osx-multi-test
These targets run a build/test on all JDK's > 1.4 if they are available . The target will fail if a build/test on any of the available JDKs fail.
hmm the use of exec is a little problematic, for me i get permission denied errors