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:
Andreas Beeker 2021-04-08 17:54:42 +00:00
parent 0f3bf7e37f
commit b9521e877c
5 changed files with 14 additions and 14 deletions

View File

@ -333,7 +333,7 @@ rat {
// include all directories which contain files that are included in releases
includes.add("examples/**")
includes.add("excelant/**")
includes.add("integrationtest/**")
includes.add("poi-integration/**")
includes.add("legal/**")
includes.add("main/**")
includes.add("maven/**")

View File

@ -453,7 +453,7 @@ poijobs.each { poijob ->
}
ant {
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(poijob.properties ?: '')
antInstallation(antRT)
@ -470,7 +470,7 @@ poijobs.each { poijob ->
}
}
// 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) {
resolveRelativePaths()
}

View File

@ -33,7 +33,7 @@ import org.apache.poi.util.LittleEndianOutput;
/**
* Title: FeatFormulaErr2 (Formula Evaluation Shared Feature) common record part
* <P>
* This record part specifies Formula Evaluation & Error Ignoring data
* This record part specifies Formula Evaluation &amp; Error Ignoring data
* for a sheet, stored as part of a Shared Feature. It can be found in
* records such as {@link FeatRecord}.
* For the full meanings of the flags, see pages 669 and 670

View File

@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
package org.apache.poi.poifs.common;
@ -28,30 +28,30 @@ public final class POIFSBigBlockSize
{
private int bigBlockSize;
private short headerValue;
protected POIFSBigBlockSize(int bigBlockSize, short headerValue) {
this.bigBlockSize = bigBlockSize;
this.headerValue = headerValue;
}
public int getBigBlockSize() {
return bigBlockSize;
}
/**
* Returns the value that gets written into the
* Returns the value that gets written into the
* header.
* Is the power of two that corresponds to the
* size of the block, eg 512 => 9
* size of the block, eg 512 =&gt; 9
*/
public short getHeaderValue() {
return headerValue;
}
public int getPropertiesPerBlock() {
return bigBlockSize / POIFSConstants.PROPERTY_SIZE;
}
public int getBATEntriesPerBlock() {
return bigBlockSize / LittleEndianConsts.INT_SIZE;
}

View File

@ -31,7 +31,7 @@
<outputDirectory>${basedir}/src/test/java</outputDirectory>
<resources>
<resource>
<directory>../../integrationtest/src/test/java</directory>
<directory>../../poi-integration/src/test/java</directory>
</resource>
<resource>
<directory>../../main/src/test/java</directory>
@ -43,7 +43,7 @@
</includes>
</resource>
<resource>
<directory>../../integrationtest/src/test/resources</directory>
<directory>../../poi-integration/src/test/resources</directory>
</resource>
</resources>
</configuration>