OPENJPA-2105 Fix document upload problem

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1227723 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dianne E. Richards 2012-01-05 17:53:40 +00:00
parent afef47f798
commit ed33f06f4d
2 changed files with 4 additions and 11 deletions

View File

@ -59,8 +59,8 @@
</fileSet> </fileSet>
--> -->
<fileSet> <fileSet>
<directory>target/manual</directory> <directory>target/docbook</directory>
<outputDirectory>docs/manual</outputDirectory> <outputDirectory>docs/docbook</outputDirectory>
</fileSet> </fileSet>
<fileSet> <fileSet>
<directory>../target/site/apidocs</directory> <directory>../target/site/apidocs</directory>

View File

@ -33,21 +33,14 @@
</fileset> </fileset>
<patternset> <patternset>
<include name="**/javadoc/**" /> <include name="**/javadoc/**" />
<include name="**/manual/**" /> <include name="**/docbook/**" />
</patternset> </patternset>
</unzip> </unzip>
<!-- copy schema files -->
<mkdir dir="target/site/tempDocs/apache-openjpa-${project.version}/schema"/>
<copy file="../openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/extendable-orm.xsd"
todir="target/site/tempDocs/apache-openjpa-${project.version}/schema"/>
<copy file="../openjpa-persistence/src/main/resources/org/apache/openjpa/persistence/openjpa-orm.xsd"
todir="target/site/tempDocs/apache-openjpa-${project.version}/schema"/>
<zip destfile="target/site/tempDocs/docs.zip"> <zip destfile="target/site/tempDocs/docs.zip">
<fileset dir="target/site/tempDocs"> <fileset dir="target/site/tempDocs">
<include name="**/javadoc/**"/> <include name="**/javadoc/**"/>
<include name="**/manual/**"/> <include name="**/docbook/**"/>
<exclude name="docs/**"/> <exclude name="docs/**"/>
</fileset> </fileset>
</zip> </zip>