<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Processing Microsoft Project File in Java using MPXJ</title>
	<atom:link href="http://www.ashishpaliwal.com/blog/2008/10/processing-microsoft-project-file-in-java-using-mpxj/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ashishpaliwal.com/blog/2008/10/processing-microsoft-project-file-in-java-using-mpxj/</link>
	<description>From Programmer, For Programmers</description>
	<lastBuildDate>Tue, 07 Sep 2010 13:06:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Nicolas</title>
		<link>http://www.ashishpaliwal.com/blog/2008/10/processing-microsoft-project-file-in-java-using-mpxj/comment-page-1/#comment-15387</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Thu, 08 Jul 2010 13:40:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=58#comment-15387</guid>
		<description>Does anybody have an example code for updating an mpp file using task.set ?
I update the task successfully, I can read it using task,get and the update is correct, however when I open the mpp file the updates are not there.
Am I missing something such as commit or close?
Thanks
Nicolas</description>
		<content:encoded><![CDATA[<p>Does anybody have an example code for updating an mpp file using task.set ?<br />
I update the task successfully, I can read it using task,get and the update is correct, however when I open the mpp file the updates are not there.<br />
Am I missing something such as commit or close?<br />
Thanks<br />
Nicolas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.ashishpaliwal.com/blog/2008/10/processing-microsoft-project-file-in-java-using-mpxj/comment-page-1/#comment-732</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 14 Jan 2009 13:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=58#comment-732</guid>
		<description>Ashish,
after I&#039;ve been working with this api a couple days, I found that in fact the properties of the &quot;father task&quot; doesn&#039;t get updated, i&#039;ve to update them manually using for example father.setDuration(), father.setWork() , father.setStart() or father.setFinish(). It would be very good that the father task get his properties updated after a call to remove() or add() method. It seems that the api gives a few classes in net.sf.mpxj.listener package that able to trigger actions when change are performed in some task, resource or project file. Maybe the solution goes in that direction.
Regards.</description>
		<content:encoded><![CDATA[<p>Ashish,<br />
after I&#8217;ve been working with this api a couple days, I found that in fact the properties of the &#8220;father task&#8221; doesn&#8217;t get updated, i&#8217;ve to update them manually using for example father.setDuration(), father.setWork() , father.setStart() or father.setFinish(). It would be very good that the father task get his properties updated after a call to remove() or add() method. It seems that the api gives a few classes in net.sf.mpxj.listener package that able to trigger actions when change are performed in some task, resource or project file. Maybe the solution goes in that direction.<br />
Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashish</title>
		<link>http://www.ashishpaliwal.com/blog/2008/10/processing-microsoft-project-file-in-java-using-mpxj/comment-page-1/#comment-695</link>
		<dc:creator>ashish</dc:creator>
		<pubDate>Fri, 09 Jan 2009 16:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=58#comment-695</guid>
		<description>Thanks! I don&#039;t have the answer right now, but working on my next post on Task class details. So will take care of your comment. Will try to post it in 2-3 days</description>
		<content:encoded><![CDATA[<p>Thanks! I don&#8217;t have the answer right now, but working on my next post on Task class details. So will take care of your comment. Will try to post it in 2-3 days</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.ashishpaliwal.com/blog/2008/10/processing-microsoft-project-file-in-java-using-mpxj/comment-page-1/#comment-693</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 09 Jan 2009 14:08:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=58#comment-693</guid>
		<description>ashish,
very good post.
I&#039;am starting using this api and I&#039;ve a question about if the Task classes are live or not. By live I mean that if you remove a subtask from a task, the &quot;father task&quot; gets all his information like cost and duration updated &quot;on line&quot;. Is that what&#039;s happend?, Or you have to update &quot;manually&quot; suchs information about the &quot;father task&quot;?
Regards.</description>
		<content:encoded><![CDATA[<p>ashish,<br />
very good post.<br />
I&#8217;am starting using this api and I&#8217;ve a question about if the Task classes are live or not. By live I mean that if you remove a subtask from a task, the &#8220;father task&#8221; gets all his information like cost and duration updated &#8220;on line&#8221;. Is that what&#8217;s happend?, Or you have to update &#8220;manually&#8221; suchs information about the &#8220;father task&#8221;?<br />
Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Purathani</title>
		<link>http://www.ashishpaliwal.com/blog/2008/10/processing-microsoft-project-file-in-java-using-mpxj/comment-page-1/#comment-51</link>
		<dc:creator>Purathani</dc:creator>
		<pubDate>Mon, 10 Nov 2008 06:02:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=58#comment-51</guid>
		<description>I&#039;ve tried before with the other version of poi jar file. This poi-3.0.2-FINAL-20080204.jar version is okey to parse the file now.
Thanks alot for your help, Basu.
:)

Regards,
Purathani.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried before with the other version of poi jar file. This poi-3.0.2-FINAL-20080204.jar version is okey to parse the file now.<br />
Thanks alot for your help, Basu.<br />
 <img src='http://www.ashishpaliwal.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards,<br />
Purathani.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Basu</title>
		<link>http://www.ashishpaliwal.com/blog/2008/10/processing-microsoft-project-file-in-java-using-mpxj/comment-page-1/#comment-47</link>
		<dc:creator>Basu</dc:creator>
		<pubDate>Fri, 07 Nov 2008 11:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=58#comment-47</guid>
		<description>Hi 

Please download mpxj-2.1.0 after which u need to use the following import statements
import net.sf.mpxj.ProjectFile;
import net.sf.mpxj.Task;
import net.sf.mpxj.mpp.*;

I think u are getting the following import statement 
import com.tapsterrock.mpp.*;
import com.tapsterrock.mpx.*;
which are not correct as i was also getting the same error before but bu using the first import statement as specified above solved the issue.

Please see that once again 
I hope u will get through tht easily

Also add all the jar files given in tht mpxj-2.1.0.zip file present in the lib directory along with the mpxj.jar and 
poi-3.0.2-FINAL-20080204.jar

Regards
Basu</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>Please download mpxj-2.1.0 after which u need to use the following import statements<br />
import net.sf.mpxj.ProjectFile;<br />
import net.sf.mpxj.Task;<br />
import net.sf.mpxj.mpp.*;</p>
<p>I think u are getting the following import statement<br />
import com.tapsterrock.mpp.*;<br />
import com.tapsterrock.mpx.*;<br />
which are not correct as i was also getting the same error before but bu using the first import statement as specified above solved the issue.</p>
<p>Please see that once again<br />
I hope u will get through tht easily</p>
<p>Also add all the jar files given in tht mpxj-2.1.0.zip file present in the lib directory along with the mpxj.jar and<br />
poi-3.0.2-FINAL-20080204.jar</p>
<p>Regards<br />
Basu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Basu</title>
		<link>http://www.ashishpaliwal.com/blog/2008/10/processing-microsoft-project-file-in-java-using-mpxj/comment-page-1/#comment-46</link>
		<dc:creator>Basu</dc:creator>
		<pubDate>Fri, 07 Nov 2008 11:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=58#comment-46</guid>
		<description>Hi 

Please download mpxj-2.1.0 after which u need to use the following import statements
import net.sf.mpxj.ProjectFile;
import net.sf.mpxj.Task;
import net.sf.mpxj.mpp.*;

I think u are getting the following import statement 
import com.tapsterrock.mpp.*;
import com.tapsterrock.mpx.*;
which are not correct as i was also getting the same error before but bu using the first import statement as specified above solved the issue.

Please see that once again 
I hope u will get through tht easily

Regards
Basu</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>Please download mpxj-2.1.0 after which u need to use the following import statements<br />
import net.sf.mpxj.ProjectFile;<br />
import net.sf.mpxj.Task;<br />
import net.sf.mpxj.mpp.*;</p>
<p>I think u are getting the following import statement<br />
import com.tapsterrock.mpp.*;<br />
import com.tapsterrock.mpx.*;<br />
which are not correct as i was also getting the same error before but bu using the first import statement as specified above solved the issue.</p>
<p>Please see that once again<br />
I hope u will get through tht easily</p>
<p>Regards<br />
Basu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Purathani</title>
		<link>http://www.ashishpaliwal.com/blog/2008/10/processing-microsoft-project-file-in-java-using-mpxj/comment-page-1/#comment-45</link>
		<dc:creator>Purathani</dc:creator>
		<pubDate>Fri, 07 Nov 2008 06:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=58#comment-45</guid>
		<description>Hai,
Thanks for your help..
But i&#039;m still getting this exception error.

Exception in thread &quot;main&quot; java.lang.NoSuchMethodError: org.apache.poi.poifs.filesystem.POIFSFileSystem.getRoot()Lorg/apache/poi/poifs/filesystem/DirectoryEntry;
        at net.sf.mpxj.mpp.MPPReader.read(MPPReader.java:61)
        at net.sf.mpxj.reader.AbstractProjectReader.read(AbstractProjectReader.java:69)
        at Mppparser.MppParser.main(MppParser.java:55)

I&#039;m trying to solve this.
If you have any idea, please help me :)

Purathani.</description>
		<content:encoded><![CDATA[<p>Hai,<br />
Thanks for your help..<br />
But i&#8217;m still getting this exception error.</p>
<p>Exception in thread &#8220;main&#8221; java.lang.NoSuchMethodError: org.apache.poi.poifs.filesystem.POIFSFileSystem.getRoot()Lorg/apache/poi/poifs/filesystem/DirectoryEntry;<br />
        at net.sf.mpxj.mpp.MPPReader.read(MPPReader.java:61)<br />
        at net.sf.mpxj.reader.AbstractProjectReader.read(AbstractProjectReader.java:69)<br />
        at Mppparser.MppParser.main(MppParser.java:55)</p>
<p>I&#8217;m trying to solve this.<br />
If you have any idea, please help me <img src='http://www.ashishpaliwal.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Purathani.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Basu</title>
		<link>http://www.ashishpaliwal.com/blog/2008/10/processing-microsoft-project-file-in-java-using-mpxj/comment-page-1/#comment-44</link>
		<dc:creator>Basu</dc:creator>
		<pubDate>Thu, 06 Nov 2008 12:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=58#comment-44</guid>
		<description>This is the code to access the mpp file 

File file = new File(&quot;D:\\MMPT_Project\\Project1.mpp&quot;);
MPPReader mppRead = new MPPReader();
System.out.println(&quot;mpp reader : &quot;+ mppRead.toString());
ProjectFile pf = mppRead.read(file); 
/*
The above statement can also be write as 
ProjectFile pf = mppRead.read(&quot;path of the mpp file&quot;); 
*/
System.out.println(&quot;proj file : &quot;+ pf.getMppFileType());
			
List lstTask = pf.getAllTasks();
	
System.out.println(&quot;tasks count:: &quot;+ lstTask.size());
for(int i=1;i&lt;lstTask.size();i++){
          System.out.println(&quot;tasks one:: &quot;+ lstTask.get(i).getName() + &quot; ---- &quot;+ lstTask.get(i).getUniqueID() +&quot; ----- &quot;+lstTask.get(i).getStart() + &quot; ----- &quot;+ lstTask.get(i).getID());
	System.out.println(&quot;tasks second :: &quot;+ lstTask.get(i).getText2() + &quot; ---- &quot;+ lstTask.get(i).getFinish() +&quot; ---- &quot;+lstTask.get(i).getPercentageComplete());
}


Hope this will solve the problem
set the classpath of mpxj.jar(2.0) and poi-3.0.2-FINAL-20080204.jar
which comes with the mpxj folder when downloaded.

don&#039;t forget the classpath setting

:-) Basu</description>
		<content:encoded><![CDATA[<p>This is the code to access the mpp file </p>
<p>File file = new File(&#8220;D:\\MMPT_Project\\Project1.mpp&#8221;);<br />
MPPReader mppRead = new MPPReader();<br />
System.out.println(&#8220;mpp reader : &#8220;+ mppRead.toString());<br />
ProjectFile pf = mppRead.read(file);<br />
/*<br />
The above statement can also be write as<br />
ProjectFile pf = mppRead.read(&#8220;path of the mpp file&#8221;);<br />
*/<br />
System.out.println(&#8220;proj file : &#8220;+ pf.getMppFileType());</p>
<p>List lstTask = pf.getAllTasks();</p>
<p>System.out.println(&#8220;tasks count:: &#8220;+ lstTask.size());<br />
for(int i=1;i&lt;lstTask.size();i++){<br />
          System.out.println(&#8220;tasks one:: &#8220;+ lstTask.get(i).getName() + &#8221; &#8212;- &#8220;+ lstTask.get(i).getUniqueID() +&#8221; &#8212;&#8211; &#8220;+lstTask.get(i).getStart() + &#8221; &#8212;&#8211; &#8220;+ lstTask.get(i).getID());<br />
	System.out.println(&#8220;tasks second :: &#8220;+ lstTask.get(i).getText2() + &#8221; &#8212;- &#8220;+ lstTask.get(i).getFinish() +&#8221; &#8212;- &#8220;+lstTask.get(i).getPercentageComplete());<br />
}</p>
<p>Hope this will solve the problem<br />
set the classpath of mpxj.jar(2.0) and poi-3.0.2-FINAL-20080204.jar<br />
which comes with the mpxj folder when downloaded.</p>
<p>don&#8217;t forget the classpath setting</p>
<p> <img src='http://www.ashishpaliwal.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Basu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Purathani</title>
		<link>http://www.ashishpaliwal.com/blog/2008/10/processing-microsoft-project-file-in-java-using-mpxj/comment-page-1/#comment-43</link>
		<dc:creator>Purathani</dc:creator>
		<pubDate>Thu, 06 Nov 2008 09:07:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashishpaliwal.com/blog/?p=58#comment-43</guid>
		<description>Ok.. Thanks.. :)
I&#039;ll try and will see them.

Purathani</description>
		<content:encoded><![CDATA[<p>Ok.. Thanks.. <img src='http://www.ashishpaliwal.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I&#8217;ll try and will see them.</p>
<p>Purathani</p>
]]></content:encoded>
	</item>
</channel>
</rss>
