[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Soot from Subversion



Ondrej Lhotak wrote:
On Sat, Jul 31, 2004 at 02:46:30AM -0400, Chris Pickett wrote:

$ CLASSPATH= && ant

[...]

compile:
[javac] Compiling 2192 source files to /home/research/ccl/cpicke/soot-dev/classes


BUILD FAILED
file:/home/research/ccl/cpicke/soot-dev/build.xml:17: Error starting modern compiler


-- OR --

compile:
[javac] Compiling 2192 source files to /home/research/ccl/cpicke/soot-dev/classes


    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.

BUILD FAILED
Listener attempted to access System.err - infinite loop terminated


Those look like problems with your ant configuration rather than with
anything related to Soot. I am not an ant developer, but off-hand, I'd
say the first might be related to the classpath (ant can't find javac
wherever it's looking), while the second might be ant/javac running out
of heap. You can give it more heap in your .antrc:

~ $ cat .antrc ANT_OPTS="$ANT_OPTS -Xmx200m"

Yes, thank-you, that worked. ANT_OPTS strangely isn't mentioned in the ant-1.5.3 manpage.


On Sat, Jul 31, 2004 at 10:24:52PM -0400, Chris Pickett wrote:

I would humbly suggest that the active Soot developers create a "stable" branch, possibly at r1503, and merge tested, stable, critical updates from the trunk onto it.


As you've demonstrated, one person's critical update is another person's
useless bloat. The trunk is a consensus among a number of Soot users of
updates considered critical by some, and acceptable by the rest.

It's not that I think it's "useless bloat" (certainly I am not quick to consider months/years of research work "bloat"), I was just under the impression that the changes to the trunk recently were causing breakages, even if mostly localized to separate project dirs. So, forget about it, since it was apparently only an ant problem. I think that your build instructions page helps immensely, and that you could even add the above note about .antrc. I'll try and merge -r1503:1710 again, I suspect things will work fine (my changes are so _minor_, I suppose that's why I was getting frustrated).


Thanks everyone for the continuously hard work on this project.

Chris