mirror of https://github.com/apache/poi.git
fix paths to new gradle directories
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888529 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0f3bf7e37f
commit
b9521e877c
|
@ -333,7 +333,7 @@ rat {
|
||||||
// include all directories which contain files that are included in releases
|
// include all directories which contain files that are included in releases
|
||||||
includes.add("examples/**")
|
includes.add("examples/**")
|
||||||
includes.add("excelant/**")
|
includes.add("excelant/**")
|
||||||
includes.add("integrationtest/**")
|
includes.add("poi-integration/**")
|
||||||
includes.add("legal/**")
|
includes.add("legal/**")
|
||||||
includes.add("main/**")
|
includes.add("main/**")
|
||||||
includes.add("maven/**")
|
includes.add("maven/**")
|
||||||
|
|
|
@ -453,7 +453,7 @@ poijobs.each { poijob ->
|
||||||
}
|
}
|
||||||
ant {
|
ant {
|
||||||
targets(['run'] + (poijob.properties ?: []))
|
targets(['run'] + (poijob.properties ?: []))
|
||||||
buildFile('integrationtest/build.xml')
|
buildFile('poi-integration/build.xml')
|
||||||
// Properties did not work, so I had to use targets instead
|
// Properties did not work, so I had to use targets instead
|
||||||
//properties(poijob.properties ?: '')
|
//properties(poijob.properties ?: '')
|
||||||
antInstallation(antRT)
|
antInstallation(antRT)
|
||||||
|
@ -470,7 +470,7 @@ poijobs.each { poijob ->
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// in archive, junit and jacoco publishers, matches beneath build/*/build/... are for Gradle-build results
|
// in archive, junit and jacoco publishers, matches beneath build/*/build/... are for Gradle-build results
|
||||||
archiveArtifacts('build/dist/*.tar.gz,build/findbugs.html,build/coverage/**,integrationtest/build/test-results/**,*/build/libs/*.jar')
|
archiveArtifacts('build/dist/*.tar.gz,build/findbugs.html,build/coverage/**,poi-integration/build/test-results/**,*/build/libs/*.jar')
|
||||||
warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) {
|
warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) {
|
||||||
resolveRelativePaths()
|
resolveRelativePaths()
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@ import org.apache.poi.util.LittleEndianOutput;
|
||||||
/**
|
/**
|
||||||
* Title: FeatFormulaErr2 (Formula Evaluation Shared Feature) common record part
|
* Title: FeatFormulaErr2 (Formula Evaluation Shared Feature) common record part
|
||||||
* <P>
|
* <P>
|
||||||
* This record part specifies Formula Evaluation & Error Ignoring data
|
* This record part specifies Formula Evaluation & Error Ignoring data
|
||||||
* for a sheet, stored as part of a Shared Feature. It can be found in
|
* for a sheet, stored as part of a Shared Feature. It can be found in
|
||||||
* records such as {@link FeatRecord}.
|
* records such as {@link FeatRecord}.
|
||||||
* For the full meanings of the flags, see pages 669 and 670
|
* For the full meanings of the flags, see pages 669 and 670
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
==================================================================== */
|
==================================================================== */
|
||||||
|
|
||||||
|
|
||||||
package org.apache.poi.poifs.common;
|
package org.apache.poi.poifs.common;
|
||||||
|
|
||||||
|
@ -28,30 +28,30 @@ public final class POIFSBigBlockSize
|
||||||
{
|
{
|
||||||
private int bigBlockSize;
|
private int bigBlockSize;
|
||||||
private short headerValue;
|
private short headerValue;
|
||||||
|
|
||||||
protected POIFSBigBlockSize(int bigBlockSize, short headerValue) {
|
protected POIFSBigBlockSize(int bigBlockSize, short headerValue) {
|
||||||
this.bigBlockSize = bigBlockSize;
|
this.bigBlockSize = bigBlockSize;
|
||||||
this.headerValue = headerValue;
|
this.headerValue = headerValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getBigBlockSize() {
|
public int getBigBlockSize() {
|
||||||
return bigBlockSize;
|
return bigBlockSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the value that gets written into the
|
* Returns the value that gets written into the
|
||||||
* header.
|
* header.
|
||||||
* Is the power of two that corresponds to the
|
* Is the power of two that corresponds to the
|
||||||
* size of the block, eg 512 => 9
|
* size of the block, eg 512 => 9
|
||||||
*/
|
*/
|
||||||
public short getHeaderValue() {
|
public short getHeaderValue() {
|
||||||
return headerValue;
|
return headerValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getPropertiesPerBlock() {
|
public int getPropertiesPerBlock() {
|
||||||
return bigBlockSize / POIFSConstants.PROPERTY_SIZE;
|
return bigBlockSize / POIFSConstants.PROPERTY_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getBATEntriesPerBlock() {
|
public int getBATEntriesPerBlock() {
|
||||||
return bigBlockSize / LittleEndianConsts.INT_SIZE;
|
return bigBlockSize / LittleEndianConsts.INT_SIZE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<outputDirectory>${basedir}/src/test/java</outputDirectory>
|
<outputDirectory>${basedir}/src/test/java</outputDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>../../integrationtest/src/test/java</directory>
|
<directory>../../poi-integration/src/test/java</directory>
|
||||||
</resource>
|
</resource>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>../../main/src/test/java</directory>
|
<directory>../../main/src/test/java</directory>
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
</includes>
|
</includes>
|
||||||
</resource>
|
</resource>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>../../integrationtest/src/test/resources</directory>
|
<directory>../../poi-integration/src/test/resources</directory>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
Loading…
Reference in New Issue