NOTE: this is a major version release, breaking changes have been made to the MPXJ API as documented below.
Timestamps, dates, and times are now represented by java.time.LocalDateTime, java.time.LocalDate and java.time.LocalTime respectively, rather than java.util.Date as they were originally.
For .Net users, new ToDateTime and ToNullableDateTime extension methods have been provided to convert java.time.LocalDateTime, java.time.LocalDate, java.time.LocalTime to DateTime instances.
For .Net users, new ToJavaLocalDateTime, ToJavaLocalDate and ToJavaLocalTime extension methods have been provided to convert DateTime instances to java.time.LocalDateTime, java.time.LocalDate, and java.time.LocalTime.
The class net.sf.mpxj.Day has been replaced by java.time.DayOfWeek.
All code previously marked as deprecated has been removed.
Added support for reading and writing the Activity attribute "Expected Finish" for P6 schedules.
Version 11.5.4
Improve accuracy of dates read from Synchro, Suretrak and Turboproject files.
By default ignore errors in individual records read from XER files. This matches P6's behavior when importing XER files. Use the PrimaveraXERFileReader.setIgnoreErrors method to change the behavior.
Version 11.5.3
When writing an XER file, provide the necessary default values to allow non-P6 schedules to be successfully imported into P6.
Ensure multi-day exceptions are written to XER files correctly.
Ensure GanttProject exception dates are read correctly.
More closely match the Planner predecessor lag calculation.
Ensure that java.sql.Date values are correctly formatted when writing XER files.
When reading from a P6 database, check to ensure the location table is present before attemting to read locations.
Version 11.5.2
Improve accuracy of calendar data read from certain Powerproject schedules.
Improve handling of unusual XER files with calendar time ranges expressed in 12-hour format.
Correctly parse midnight represented as 24:00:00 from MSPDI files written by certain non-Microsoft Project applications.
For MSPDI files produced by applications other than Microsoft Project which have an incorrectly nested calendar hierarchy, avoid pruning derived calendars which are referenced elsewhere in the hierarchy.
Version 11.5.1
Improve read performance when working with large schedules.
Improve read and write performance of code handling resource calendars.
Updated to use sqlite-jdbc 3.42.0.0
Version 11.5.0
Added the ability to read Subproject data embedded in MSPDI files.
Added the ability to read timephased baseline work and cost from MSPDI files.
Added the ability to write timephased baseline work and cost to MSPDI files.
Improve accuracy of timephased baseline work read from MPP files.
Ensure that non-recurring calendar exceptions take precedence over recurring calendar exceptions.
Avoid creating duplicate calendar exceptions when reading Asta PP files.
Added the Bar Name attribute to Task, which is accessed using the getBarName and setBarName methods. This is populated with the name of the bar to which a task belongs when reading an Asta Powerproject schedule.
When reading schedules from XER files and P6 databases, ensure durations without a value are returned as null rather than as a zero duration.
Version 11.4.0
Added the "Resource Pool File" attribute to ProjectProperties, which represents the full path of the resource pool used by an MPP file. This attribute is accessible via the getResourcePoolFile and setResourcePoolFile methods.
Added the getResourcePoolObject method to allow the resource pool file to be located and read
Added support for reading the task attribute Subproject GUID from MPP files. This attribute can be accessed via the getSubprojectGUID and setSubprojectGUID methods.
Added support for the task attribute "External Project". When this attribute is true it indicates that the task represents a subproject. The attribute is accessed via the getExternalProject and setExternalProject methods.
When reading an MSPDI file with external task predecessors, MPXJ now attempts to recreate the placeholder external tasks which would be present if the equivalent MPP file was read.
External task predecessors are now represented when writing an MSPDI file.
Added the Task method getSubprojectObject which allows the caller to retrieve a ProjectFile instance representing the external project linked to a task.
NOTE: this is a major version release, breaking changes have been made to the MPXJ API as documented below.
Timestamps, dates, and times are now represented by java.time.LocalDateTime, java.time.LocalDate and java.time.LocalTime respectively, rather than java.util.Date as they were originally.
For .Net users, new ToDateTime and ToNullableDateTime extension methods have been provided to convert java.time.LocalDateTime, java.time.LocalDate, java.time.LocalTime to DateTime instances.
For .Net users, new ToJavaLocalDateTime, ToJavaLocalDate and ToJavaLocalTime extension methods have been provided to convert DateTime instances to java.time.LocalDateTime, java.time.LocalDate, and java.time.LocalTime.
The class net.sf.mpxj.Day has been replaced by java.time.DayOfWeek.
All code previously marked as deprecated has been removed.
Added support for reading and writing the Activity attribute "Expected Finish" for P6 schedules.
11.5.4 (2023-06-27)
Improve accuracy of dates read from Synchro, Suretrak and Turboproject files.
By default ignore errors in individual records read from XER files. This matches P6's behavior when importing XER files. Use the PrimaveraXERFileReader.setIgnoreErrors method to change the behavior.
11.5.3 (2023-06-19)
When writing an XER file, provide the necessary default values to allow non-P6 schedules to be successfully imported into P6.
Ensure multi-day exceptions are written to XER files correctly.
Ensure GanttProject exception dates are read correctly.
More closely match the Planner predecessor lag calculation.
Ensure that java.sql.Date values are correctly formatted when writing XER files.
When reading from a P6 database, check to ensure the location table is present before attemting to read locations.
11.5.2 (2023-06-08)
Improve accuracy of calendar data read from certain Powerproject schedules.
Improve handling of unusual XER files with calendar time ranges expressed in 12-hour format.
Correctly parse midnight represented as 24:00:00 from MSPDI files written by certain non-Microsoft Project applications.
For MSPDI files produced by applications other than Microsoft Project which have an incorrectly nested calendar hierarchy, avoid pruning derived calendars which are referenced elsewhere in the hierarchy.
11.5.1 (2023-05-24)
Improve read performance when working with large schedules.
Improve read and write performance of code handling resource calendars.
Updated to use sqlite-jdbc 3.42.0.0
11.5.0 (2023-05-19)
Added the ability to read Subproject data embedded in MSPDI files.
Added the ability to read timephased baseline work and cost from MSPDI files.
Added the ability to write timephased baseline work and cost to MSPDI files.
Improve accuracy of timephased baseline work read from MPP files.
Ensure that non-recurring calendar exceptions take precedence over recurring calendar exceptions.
Avoid creating duplicate calendar exceptions when reading Asta PP files.
Added the Bar Name attribute to Task, which is accessed using the getBarName and setBarName methods. This is populated with the name of the bar to which a task belongs when reading an Asta Powerproject schedule.
When reading schedules from XER files and P6 databases, ensure durations without a value are returned as null rather than as a zero duration.
11.4.0 (2023-05-08)
Added the "Resource Pool File" attribute to ProjectProperties, which represents the full path of the resource pool used by an MPP file. This attribute is accessible via the getResourcePoolFile and setResourcePoolFile methods.
Added the getResourcePoolObject method to allow the resource pool file to be located and read
Added support for reading the task attribute Subproject GUID from MPP files. This attribute can be accessed via the getSubprojectGUID and setSubprojectGUID methods.
Added support for the task attribute "External Project". When this attribute is true it indicates that the task represents a subproject. The attribute is accessed via the getExternalProject and setExternalProject methods.
When reading an MSPDI file with external task predecessors, MPXJ now attempts to recreate the placeholder external tasks which would be present if the equivalent MPP file was read.
External task predecessors are now represented when writing an MSPDI file.
Added the Task method getSubprojectObject which allows the caller to retrieve a ProjectFile instance representing the external project linked to a task.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps net.sf.mpxj:mpxj from 10.14.0 to 12.0.0.
Release notes
Sourced from net.sf.mpxj:mpxj's releases.
... (truncated)
Changelog
Sourced from net.sf.mpxj:mpxj's changelog.
... (truncated)
Commits
dee1d30
Update documentation1e90402
Update versionb0f3c76
Tidy up Boolean use0d91b6f
Changes for MPXJ 12.0.0 (#533)d9fb70d
Add support for expected finish (#532)bbed16e
Avoid deprecated methods5e16776
Stop writing deprecated subproject datac75014d
Update documentationbb0c596
Add javadocd5d1f0f
Ignore record errors when reading XER files (#530)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)