20091117

Word 2003 XML and Eclipse Compilation Problems.

Today I processed one small customer support incident. I have to fix a MS Word document with too wide tables exceeding the paper width that is auto-generated using Word 2003 XML technology.
It was because the tables included too long words without any line break and occupied much space.
I found tag makes tables fixed-width and forcibly put such words within the width.
See http://msdn.microsoft.com/en-us/library/aa174899(office.11).aspx

It was easy until finding the solution and revising the source code. The following tasks of compiling it and generating its installer was unexpectedly troublesome.

At first I had to spend some time to configure JET.
[A Project] -> [New] -> [Other] -> [Java Emitter Templates] -> [Convert Projects to JET Projects]
[A Project] -> [properties] -> [Jet Setting] -> [Source Container]: gensrc
Secondary, I faced a version mismatch problem between eclipse subversive and client svn.
The project was checked out using subversive, which the build script is supported by another svn client program to write in a release version number.
The solution was written at http://subversion.tigris.org/faq.html#working-copy-format-change.
I had to downgrade some working copies I checked out using the latest subversive.
$ python change-svn-wc-format.py [working copy folder] 1.4
Very tricky! Even though subversion is so widely used, there are many different distributions which bother engineers around the world.

No comments:

Post a Comment