On 30 December 2011 20:09, Eric Wolf <ebw...@gmail.com> wrote:
> I had to stick this in my blog because the listserv choked on the original
> email - I was being too detailed.
>
> In a nutshell, if I make a trivial code change and recompile Potlatch with
> ant, the resulting code doesn't work. The problem is explained in detail
> here:
>
> http://www.asifanyonecares.com/2011/12/potlatch-dev-problems.html

Hi Eric,

I tried investigating this last week, but since it takes sooo long to
compile potlatch on my laptop I had to give up! I spent an hour or so
compiling over and over this evening instead.

First off, don't worry about "ant test" not working. The unit tests
have been broken for a few months since various internal APIs were
changed without also updating the tests[1].

Secondly, I see the same problem as you're seeing with the builds
running successfully but resulting in unusable .swf files. The error
messages are slightly perplexing so I've no idea what's the cause.
I'll note simply that I can make debug builds using the fcsh command
line compiler, and also using "ant release" to build non-debug builds
that work fine too.

If anyone has any clues as to what's up with the build system, please shout!

Cheers,
Andy

[1] It's a shame the unit tests are so unloved - I find these prove
remarkably useful in so many other projects.

_______________________________________________
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev

Reply via email to