|
Environment variables: msg#00074lang.groovy.user
I have some old-ish Groovy scripts that worked with a version of Groovy from March. I downloaded beta 7 and two things stopped working. The first is access to environment variables. I have a script that looks like this: ant.copy(toDir: "${SYSTEMROOT}", file: "scripts\\mysql\\my.ini", overwrite:true) { filterset() { filter(token: "DIR", value: "${mysqlhomedir}") } } In the 'March' groovy this works, in beta 7 it fails with an IncompatibleClassChangeError (is this the only error Groovy throws :) ) at getGroovyObjectProperty. SYSTEMROOT is set by Windows to reference the dir that windows is installed. I'll mention the other problem in another email, Kevin Jones http://kevinj.develop.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: CMS/Blog w/ Groovy?, Owen Densmore |
|---|---|
| Next by Date: | Closure changes, Kevin Jones |
| Previous by Thread: | Re: Evaluating dynamic GPath, Daniel Serodio |
| Next by Thread: | Re: Environment variables, jastrachan-ee4meeAH724 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |