<div dir="ltr">Friedrich,<div><br></div><div style>I've tried it with both mpxj-4.3.0 and mpxj-4.4.0 but it didn't work because PlanWriter java class invokes non existing methods of mpxj. In case of 4.3.0, which you recommended, ResourceAssignment::getTimephasedComplete() is called from PlanWriter::writeActualEffort(). Could you please confirm which mpxj version is correct?</div>

<div style><br></div><div style>Cheers,</div><div style>Andrius (Xiluembo).</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/6 Friedrich W. H. Kossebau <span dir="ltr"><<a href="mailto:kossebau@kde.org" target="_blank">kossebau@kde.org</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
the last weeks I looked into how to make Calligra Plan's existing import<br>
filter for MS Project (*.mpp) and MS Project Exchange (*.mpx) files working,<br>
without needing the user to fuss around with installing and setting up more<br>
stuff.<br>
<br>
I managed things to work for me, and now would like to know if it works for<br>
others as well, so it makes sense to backport to 2.7.<br>
<br>
So please:<br>
<br>
0. Get some MPP or MPX file you might have or can find on the net<br>
1. Update to the latest commits on branch master of Calligra<br>
2. Build & install<br>
3. Fetch the runtime requirements (not yet packaged at least for OpenSUSE):<br>
   Get e.g. mpxj-4.3.0.zip from <a href="http://sourceforge.net/projects/mpxj/files/" target="_blank">http://sourceforge.net/projects/mpxj/files/</a><br>
   and unpack the zip, then cp the files mpxj.jar and poi-3.7-20101029.jar<br>
   to some place where java will find them automatically, unless you are okay<br>
   with using an env var<br>
4. Run calligraplan,<br>
   if needed with the env var PLAN_CLASSPATH listing the two jar files, like<br>
   PLAN_CLASSPATH=/path/to/mpxj.jar:/path/to/poi-3.7-20101029.jar calligraplan<br>
5. Try to load that MPP or MPX file you prepared in 0.<br>
6. Report success here or directly to me :)<br>
<br>
I really would like to backport this to 2.7, as the code is around since 2.5<br>
(see <a href="http://userbase.kde.org/Plan/Manual/Import_and_Export" target="_blank">http://userbase.kde.org/Plan/Manual/Import_and_Export</a>), just was lacking<br>
the final polish in the installation setup. The runtime requirement needs the<br>
packagers to do some more work, but they will prefer that over us simply<br>
having our own copies of those jars and installing them.<br>
Currently also planning to put a note about runtime requirements to the end of<br>
the log of the cmake run, so chances are higher that people note them (already<br>
added an entry to README.PACKAGERS for mpxj)<br>
<br>
Backport needs the addition of some mimetypes to the mimetype datebase,<br>
meaning some strings to translate. Would ask the translators for an exception.<br>
<br>
Cheers<br>
Friedrich<br>
_______________________________________________<br>
calligra-devel mailing list<br>
<a href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/calligra-devel" target="_blank">https://mail.kde.org/mailman/listinfo/calligra-devel</a><br>
</blockquote></div><br></div>