From 9a4a3caef0a5ef9e7dacd662f5a7103d9ee8b12f Mon Sep 17 00:00:00 2001 From: jensp Date: Thu, 6 Jan 2011 12:05:50 +0000 Subject: [PATCH] =?UTF-8?q?Readme=20aktualisiert,=20Hinweis=20f=C3=BCr=20H?= =?UTF-8?q?eapspace=20(OpenCCM=20Ticket=2012)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@670 8810af33-2d31-482b-a856-94f89814c4df --- .../cms/contenttypes/ArticleInCollectedVolume.java | 1 + .../com/arsdigita/cms/contenttypes/ArticleInJournal.java | 1 + .../src/com/arsdigita/cms/contenttypes/SciDepartment.java | 2 ++ .../src/com/arsdigita/cms/contenttypes/SciProject.java | 1 + tools-ng/ecdc/README.txt | 8 ++++++++ 5 files changed, 13 insertions(+) diff --git a/ccm-sci-publications/src/com/arsdigita/cms/contenttypes/ArticleInCollectedVolume.java b/ccm-sci-publications/src/com/arsdigita/cms/contenttypes/ArticleInCollectedVolume.java index 97885950f..e762845ab 100644 --- a/ccm-sci-publications/src/com/arsdigita/cms/contenttypes/ArticleInCollectedVolume.java +++ b/ccm-sci-publications/src/com/arsdigita/cms/contenttypes/ArticleInCollectedVolume.java @@ -99,6 +99,7 @@ public class ArticleInCollectedVolume extends Publication { collection.next(); dobj = collection.getDataObject(); + collection.close(); return (CollectedVolume)DomainObjectFactory.newInstance(dobj); } diff --git a/ccm-sci-publications/src/com/arsdigita/cms/contenttypes/ArticleInJournal.java b/ccm-sci-publications/src/com/arsdigita/cms/contenttypes/ArticleInJournal.java index b0b35109c..ab0f3b154 100644 --- a/ccm-sci-publications/src/com/arsdigita/cms/contenttypes/ArticleInJournal.java +++ b/ccm-sci-publications/src/com/arsdigita/cms/contenttypes/ArticleInJournal.java @@ -96,6 +96,7 @@ public class ArticleInJournal extends Publication { collection.next(); dobj = collection.getDataObject(); + collection.close(); return (Journal) DomainObjectFactory.newInstance(dobj); } diff --git a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/SciDepartment.java b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/SciDepartment.java index 2f4ce6b1a..b2830e351 100644 --- a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/SciDepartment.java +++ b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/SciDepartment.java @@ -144,6 +144,7 @@ public class SciDepartment extends GenericOrganizationalUnit { collection.next(); dobj = collection.getDataObject(); + collection.close(); return new SciDepartment(dobj); } @@ -183,6 +184,7 @@ public class SciDepartment extends GenericOrganizationalUnit { collection.next(); dobj = collection.getDataObject(); + collection.close(); return new SciOrganization(dobj); } diff --git a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/SciProject.java b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/SciProject.java index 1bfa20428..56fe97ba6 100644 --- a/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/SciProject.java +++ b/ccm-sci-types-organization/src/com/arsdigita/cms/contenttypes/SciProject.java @@ -246,6 +246,7 @@ public class SciProject extends GenericOrganizationalUnit { getTitle())); collection.next(); dobj = collection.getDataObject(); + collection.close(); return new SciProject(dobj); } diff --git a/tools-ng/ecdc/README.txt b/tools-ng/ecdc/README.txt index 7bf062df1..8200e7303 100644 --- a/tools-ng/ecdc/README.txt +++ b/tools-ng/ecdc/README.txt @@ -127,8 +127,16 @@ Eclipse: Use File > Import to import aplaws.launch (if aplaws doesn't appear in Debug configurations) Debug > Debug configurations > aplaws > Debug + +Heap space: + If you have problems with the heap space, you can enlarge you + heap space using these command line on Unix system with Bash: + + ANT_OPTS="-Xms256M -Xmx256M" ant + 5. CONTACTS Send any queries to the "Developing on APLAWS+" forum at http://sourceforge.net/forum/forum.php?forum_id=368401 +