updated site index with some links and more content; changed pom definitions to put docs into the uploaded builds

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571259 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Patrick Linskey 2007-08-30 18:01:10 +00:00
parent fefe7f2df1
commit 3a78ec68ac
3 changed files with 62 additions and 2 deletions

View File

@ -510,6 +510,19 @@ public abstract class AbstractUnenhancedClassTest
assertFalse(em.isDetached(un));
assertTrue(em.isDetached(copy));
/*
##### need to make detachment algorithm in ReflectingPC smarter
// ensure that remove() cannot be invoked on a detached instance
try {
em.getTransaction().begin();
em.remove(copy);
fail("remove() cannot be invoked on detached instance");
} catch (IllegalArgumentException e) {
em.getTransaction().rollback();
}
*/
copy.setStringField("offline update");
em.getTransaction().begin();

View File

@ -71,6 +71,9 @@
${openjpa.assembly.sourceBase}.zip
</openjpa.assembly.sourceFile>
<parent.site.docs>
${project.basedir}/../target/site/docs
</parent.site.docs>
<docbook.source>${project.basedir}/src/doc/manual</docbook.source>
<docbook.target>${project.basedir}/target/manual</docbook.target>
@ -191,6 +194,17 @@
<imgSrcPath>
${docbook.source}/
</imgSrcPath>
<postProcess>
<!-- copy to parent module for
expanded access in upload -->
<mkdir dir="${parent.site.docs}"/>
<copy todir="${parent.site.docs}">
<fileset
dir="${docbook.target}">
<include name="manual.pdf"/>
</fileset>
</copy>
</postProcess>
</configuration>
</execution>
<execution>
@ -232,6 +246,16 @@
<include name="*.*"/>
</fileset>
</copy>
<!-- copy to parent module for
expanded access in upload -->
<mkdir dir="${parent.site.docs}"/>
<copy todir="${parent.site.docs}">
<fileset
dir="${docbook.target}">
<include name="*.*"/>
</fileset>
</copy>
</postProcess>
</configuration>
</execution>
@ -251,6 +275,17 @@
<htmlCustomization>
${docbook.source}/manual-xhtml.xsl
</htmlCustomization>
<postProcess>
<!-- copy to parent module for
expanded access in upload -->
<mkdir dir="${parent.site.docs}"/>
<copy todir="${parent.site.docs}">
<fileset
dir="${docbook.target}">
<include name="manual.html"/>
</fileset>
</copy>
</postProcess>
</configuration>
</execution>
</executions>

View File

@ -19,6 +19,18 @@
openjpa
------
This is the OpenJPA build site. For the official site, please visit {{{http://openjpa.apache.org}http://openjpa.apache.org}}.
For the official OpenJPA site, please visit {{{http://openjpa.apache.org}http://openjpa.apache.org}}. This area is automatically generated by maven during the site deploy process, which is automatically triggered by svn checkins or manually run by a release manager.
The contents of this directory (including documentation and release artifacts) are not necessarily endorsed by the OpenJPA community, and are not official release artifacts.
*-------------------*-------------------------*
Description | Location
*-------------------*-------------------------*
Source and binary | {{downloads/}}
download directory |
*-------------------*-------------------------*
Documentation | {{docs/index.html}}
(multi-page) |
*-------------------*-------------------------*
JavaDoc | {{apidocs/index.html}}
*-------------------*-------------------------*