Ant already does this for jdk < 6 ... http://lampwww.epfl.ch/~linuxsoft/ant/manual/api/org/apache/tools/ant/taskde...
or (pseudo code)
if (unix) Runtime.getRuntime().exec("chmod u+x /path/to/file");
Cheers Charles ----- "John Mazzitelli" mazz@redhat.com wrote:
i'm sending this to both users and devel lists because it involves both.
Who is using RHQ that *require* the use of Java5? If so, what platforms are you running RHQ on that require Java5?
What are the ramifications if we stop Java5 support and require that the server and agent run on at least Java6?
I currently hit an issue that, if we were to use Java6, would be done
already.
Instead, I have to hack this up and take I don't know how long to even
get the hack coded up.
Specifically, I'm talking about this:
java.io.File.setExecutable(boolean) _______________________________________________ rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users
rhq-users@lists.fedorahosted.org