Skip to content

Commit 498248a

Browse files
committedSep 18, 2017
Update to POI 3.17
1 parent 38f5e3a commit 498248a

File tree

11 files changed

+25
-22
lines changed

11 files changed

+25
-22
lines changed
 

‎.classpath

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
99
<classpathentry kind="lib" path="lib/sqlite-jdbc-3.8.10.1.jar"/>
1010
<classpathentry kind="lib" path="lib/rtfparserkit-1.10.0.jar"/>
11-
<classpathentry kind="lib" path="lib/poi-3.16.jar"/>
1211
<classpathentry kind="lib" path="lib/commons-collections4-4.1.jar"/>
12+
<classpathentry kind="lib" path="lib/poi-3.17.jar"/>
1313
<classpathentry kind="output" path="classes"/>
1414
</classpath>

‎CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
## 6.2.0 (git master)
4+
* Updated to use POI 3.17.
5+
* Improve accuracy of calendar exception dates read from XER files and P6 database.
46

57
## 6.1.2 (12/09/2017)
68
* Gracefully handle incomplete records in XER files.

‎build.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
-->
4141
<property name="target-jvm-version" value="1.6" />
4242

43-
<property name="poi.jar" value="poi-3.16" />
43+
<property name="poi.jar" value="poi-3.17" />
4444
<path id="poi.path">
4545
<pathelement location="${lib.dir}/${poi.jar}.jar" />
4646
</path>

‎lib/poi-3.16.jar ‎lib/poi-3.17.jar

2.56 MB
Binary file not shown.

‎maven/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<dependency>
2727
<groupId>org.apache.poi</groupId>
2828
<artifactId>poi</artifactId>
29-
<version>3.16</version>
29+
<version>3.17</version>
3030
</dependency>
3131

3232
<dependency>

‎maven/src/changes/changes.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
</properties>
77
<body>
88
<release date="git master" version="6.2.0">
9-
<action dev="joniles" type="update">Improve accuracy of calendar exception dates read from XER files and P6 database.</action>
9+
<action dev="joniles" type="update">Updated to use POI 3.17.</action>
10+
<action dev="joniles" type="update">Improve accuracy of calendar exception dates read from XER files and P6 database.</action>
1011
</release>
1112
<release date="12/09/2017" version="6.1.2">
1213
<action dev="joniles" type="update">Gracefully handle incomplete records in XER files.</action>

‎src.net/MpxjConvert/MpxjConvert.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@
148148
<Reference Include="mpxj-for-csharp">
149149
<HintPath>..\..\lib.net\mpxj-for-csharp.dll</HintPath>
150150
</Reference>
151-
<Reference Include="poi-3.16">
152-
<HintPath>..\..\lib.net\poi-3.16.dll</HintPath>
151+
<Reference Include="poi-3.17">
152+
<HintPath>..\..\lib.net\poi-3.17.dll</HintPath>
153153
</Reference>
154154
<Reference Include="commons-collections4-4.1">
155155
<HintPath>..\..\lib.net\commons-collections4-4.1.dll</HintPath>

‎src.net/MpxjCreate/MpxjCreate/MpxjCreate.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@
126126
<Reference Include="mpxj-for-csharp">
127127
<HintPath>..\..\..\lib.net\mpxj-for-csharp.dll</HintPath>
128128
</Reference>
129-
<Reference Include="poi-3.16">
130-
<HintPath>..\..\..\lib.net\poi-3.16.dll</HintPath>
129+
<Reference Include="poi-3.17">
130+
<HintPath>..\..\..\lib.net\poi-3.17.dll</HintPath>
131131
</Reference>
132132
<Reference Include="rtfparserkit-1.10.0">
133133
<HintPath>..\..\..\lib.net\rtfparserkit-1.10.0.dll</HintPath>

‎src.net/MpxjQuery/MpxjQuery.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@
150150
<Reference Include="MpxjUtilities">
151151
<HintPath>..\..\lib.net\MpxjUtilities.dll</HintPath>
152152
</Reference>
153-
<Reference Include="poi-3.16">
154-
<HintPath>..\..\lib.net\poi-3.16.dll</HintPath>
153+
<Reference Include="poi-3.17">
154+
<HintPath>..\..\lib.net\poi-3.17.dll</HintPath>
155155
</Reference>
156156
<Reference Include="commons-collections4-4.1">
157157
<HintPath>..\..\lib.net\commons-collections4-4.1.dll</HintPath>

‎src.net/MpxjTest/MpxjTest.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@
154154
<Reference Include="mpxj-test">
155155
<HintPath>..\..\lib.net\mpxj-test.dll</HintPath>
156156
</Reference>
157-
<Reference Include="poi-3.16">
158-
<HintPath>..\..\lib.net\poi-3.16.dll</HintPath>
157+
<Reference Include="poi-3.17">
158+
<HintPath>..\..\lib.net\poi-3.17.dll</HintPath>
159159
</Reference>
160160
<Reference Include="commons-collections4-4.1">
161161
<HintPath>..\..\lib.net\commons-collections4-4.1.dll</HintPath>

‎src/net/sf/mpxj/mpp/ProjectPropertiesReader.java

+10-10
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@
2626
import java.util.HashMap;
2727
import java.util.Map;
2828

29-
import net.sf.mpxj.Day;
30-
import net.sf.mpxj.MPXJException;
31-
import net.sf.mpxj.ProjectFile;
32-
import net.sf.mpxj.ProjectProperties;
33-
import net.sf.mpxj.Rate;
34-
import net.sf.mpxj.ScheduleFrom;
35-
import net.sf.mpxj.TimeUnit;
36-
import net.sf.mpxj.common.NumberHelper;
37-
3829
import org.apache.poi.hpsf.CustomProperties;
3930
import org.apache.poi.hpsf.CustomProperty;
4031
import org.apache.poi.hpsf.DocumentSummaryInformation;
@@ -44,6 +35,15 @@
4435
import org.apache.poi.poifs.filesystem.DocumentEntry;
4536
import org.apache.poi.poifs.filesystem.DocumentInputStream;
4637

38+
import net.sf.mpxj.Day;
39+
import net.sf.mpxj.MPXJException;
40+
import net.sf.mpxj.ProjectFile;
41+
import net.sf.mpxj.ProjectProperties;
42+
import net.sf.mpxj.Rate;
43+
import net.sf.mpxj.ScheduleFrom;
44+
import net.sf.mpxj.TimeUnit;
45+
import net.sf.mpxj.common.NumberHelper;
46+
4747
/**
4848
* This class reads project properties data from MPP8, MPP9, and MPP12 files.
4949
*/
@@ -126,7 +126,7 @@ public void process(ProjectFile file, Props props, DirectoryEntry rootDir) throw
126126
CustomProperties customProperties = documentSummaryInformation.getCustomProperties();
127127
if (customProperties != null)
128128
{
129-
for (CustomProperty property : customProperties.values())
129+
for (CustomProperty property : customProperties.properties())
130130
{
131131
customPropertiesMap.put(property.getName(), property.getValue());
132132
}

0 commit comments

Comments
 (0)
Please sign in to comment.