Questions tagged [mpxj]

MPXJ is a library that provides a set of facilities to allow project information to be manipulated in Java and .NET.

MPXJ is a library that provides a set of facilities to allow project information to be manipulated in Java and .NET. MPXJ supports seven data formats, Microsoft Project Exchange (MPX), Microsoft Project (MPP, MPT), Microsoft Project Data Interchange (MSPDI XML), Microsoft Project Database (MPD), Planner (XML), and Primavera (XER and database).

102 questions
0
votes
1 answer

mpxj Project c# resource assignment with fixed duration

I'm using the mpxj library to build a MS Project schedule. I would like to assgin a resource to a task with a fixed duration so it would show an even number of hours per day. For example, if the task is 3 days long and there are 9 hours of work,…
tienow
  • 171
  • 12
0
votes
1 answer

Include .jar-File in PHPJAVA Bridge

I try to load the "Tasks" from a .mpp-File. If I get the current date by java.util.Date it works very fine, to access JAVA but if i try to access the MPPReader I get the error: CreateInstance failed: new net.sf.mpxj.mpp.MPPReader. Cause:…
michael-mammut
  • 2,595
  • 5
  • 28
  • 46
0
votes
1 answer

MPXJ: How can I specify the start and end time of a task with resources assigned?

I was told to use the MPXJ to generate a project file with task that spans no more than several hours, or even minutes only. Everything seems to work when the duration of a task is specified in days, or if the task doesn't have resources assigned.…
amedina
  • 2,838
  • 3
  • 19
  • 40
0
votes
1 answer

MS Project not showing proper dates when importing XML generated using mpxj library

I am using mpxj lib (5.2.2) to export a project to xml using ProjectWriter for mpp (MS Project). Am setting the duration, actual duration, start date, finish date, resume date, percentComplete , actualStartDate , actualFinishDate wherever applicable…
Patruni Srikanth
  • 741
  • 1
  • 7
  • 14
0
votes
1 answer

How to set MSPDI project properties with MPXJ library?

Hy, I am trying to create MSPDI (.xml) file using MPXJ library. I've managed to add tasks and resources but I have problem with setting project Title, etc. I have checked examples on SourceForge and can't find how to set ProjectProperties to…
Scip
  • 3
  • 3
0
votes
1 answer

MPXJ Set 24 Hours Calendar on Resource

I am working with MPXJ framework to generate an XML file with i import into project 2007. I have run in to allot of problems but i can't seem to find an answer to the following. I have a fixed Work and duration on a task, but when i add a resource…
Duncan Roosma
  • 481
  • 7
  • 21
0
votes
1 answer

How to get remaining early start and finish from MPXJ Task object

I want to get the remaining early start and remaining early finish properties of an Activity while reading a Primavera .xer file. I have seen that the class PrimaveraPMFileReader in the mpxj library sets these properties to the task object, but am…
Patruni Srikanth
  • 741
  • 1
  • 7
  • 14
0
votes
0 answers

Create a P6 XML file using MPXJ java library

I have a json having all the information of my project, its activities, dependencies / relationships and the calendar. Using the MPXJ java library am trying to generate a corresponding Primevera P6 XML file that can be imported in Oracle primevera.…
Patruni Srikanth
  • 741
  • 1
  • 7
  • 14
0
votes
1 answer

Error:com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000) Android studio

I already know that question has been already asked very often and answers, but no one of the answers i found fixed my problem. It's the error: Information:Gradle tasks [:app:assembleDebug] :app:preBuild UP-TO-DATE :app:preDebugBuild…
siddhesh
  • 563
  • 1
  • 9
  • 15
0
votes
2 answers

Is the C# library MPXJ able to read in a file from a MemoryStream?

I am using the library MPXJ which works great but I now want the ability for users to upload their own file (asp.net-mvc site) and it comes on the server side form post as a HttpPostedFileBase and I then I convert to a memory stream using: var…
leora
  • 188,729
  • 360
  • 878
  • 1,366
0
votes
1 answer

Unsupported encoding command ansicpg949

using mpxj~, .mpp file upload. net.sf.mpxj.mpp.MPPReader called -> read(InputStream is) Error code: ProjectReader reader = new MPPReader (); ProjectFile project; try { project = reader.read(uploadFile.getInputStream()); Error file : rtfparserkit…
JIAM SEO
  • 18
  • 2
0
votes
1 answer

Reading P6 Activity ID (.xer and xml) via MPXJ for C#

MPXJ Version:5.1.17 Q1: If I export my p6 file to .xer . When I use MPXJ to read the file , I got garbled text in c#.(It's Chinese text originally),but if i export p6 file to XML format, i can get the right Chinese text using MPXJ in c#. Is anyone…
Steven Wu
  • 15
  • 5
0
votes
1 answer

MPXJ is it possible to set % Complete of task? [version 5.1.10.0]

I try to set 50 % Complete for single task using MPXJ in C# code var pfTask = pf.GetTaskByID(new java.lang.Integer(task.ID)); pfTask.PercentageComplete = new java.lang.Integer(task.PercentComplete); but it doesn't work - after opening in MS Project…
marcinn
  • 1,879
  • 2
  • 22
  • 46
0
votes
1 answer

Does MPXJ support MPP files of 2013 version?

Does MPXJ support reading MPP files of 2013 version? If so, which version of MPXJ to be considered for this purpose?
user3220129
  • 503
  • 9
  • 24
0
votes
1 answer

MPXJ custom fields connected with Tasks?

Good Morning everyone, Does anyone know on how to use MPXJ v5.1.5 to effectively to read the MPP. project file to get the Outline Code Values linked to their assigned tasks. I already have found a way of getting the tasks and the time scale data…
TommyB
  • 5
  • 6