On 23/Sep/2010 12:17, Mark Hindess wrote: > I've been looking at: > > https://issues.apache.org/jira/browse/HARMONY-6535 > > and wondering about build processes particularly for releases. > > Some of you might have noticed (as I checked in my scripts recently[0]), > that I try quite hard to ensure that the linux builds are built with a > known environment. In particular, these scripts do: > > cat /tmp/build/*/common_resources/depends/jars/ecj_*/ecj-*.jar \ > >/usr/share/ant/lib/ecj-harmony.jar > > to ensure that the version of ecj used during the build is the one > defined by the harmony dependency downloads. > > I don't really have an equivalent clean process for windows
Why can't you copy the downloaded ecj into the ant/lib on windows? > and it looks like the version of ecj.jar on my windows build machine > was a little older than the 3.5.1 that I used on Linux. So this > accounts for the differences described in the above JIRA. > > Obviously I've fixed my machine now and will try to make sure I check > this before building release binaries in future. However, I'd prefer a > more robust solution. > > I'd be tempted to add a build time check to look at the ecj jar version > that is available but there doesn't seem to be enough information in the > ecj.jar manifests to do this. > > Anyone got any bright ideas? > Regards, The help string includes version info, but I'd have thought that the copy approach you use on Linux would be a simpler approach. Regards, Tim > Mark. > > [0] https://svn.apache.org/repos/asf/harmony/standard/tools/release > >