Improved localization, improved some formatting and documentation, updated APLAWS bundle, added Tomcat 7 rpm SPEC and SOURCE files to create a rpm.

git-svn-id: https://svn.libreccm.org/ccm/trunk@2723 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2014-06-25 21:02:41 +00:00
parent a166f87dfe
commit ec5bd01f51
25 changed files with 1242 additions and 46 deletions

View File

@ -0,0 +1,3 @@
version = 2.3.x
appname = ScientificCMS
apphomepage = http://www.scientificcms.org

View File

@ -1079,3 +1079,4 @@ cms.ui.authoring.parameter_not_empty=This parameter may not be empty.
cms.ui.authoring.parameter_should_be_a_valid_filename=This parameter should be a valid filename. cms.ui.authoring.parameter_should_be_a_valid_filename=This parameter should be a valid filename.
cms.ui.authoring.parameter_may_not_contain_periods=This parameter may not contain periods cms.ui.authoring.parameter_may_not_contain_periods=This parameter may not contain periods
cms.ui.cse.none=No soon expired items were found. cms.ui.cse.none=No soon expired items were found.
cms.ui.contentcenter.task_panel_control=Experimental. Try to use it.

View File

@ -1073,3 +1073,4 @@ cms.ui.authoring.parameter_not_empty=Dieser Parameter darf nicht leer sein.
cms.ui.authoring.parameter_should_be_a_valid_filename=Dieser Parameter muss einem g\u00fcltigen Dateinamen entsprechen. cms.ui.authoring.parameter_should_be_a_valid_filename=Dieser Parameter muss einem g\u00fcltigen Dateinamen entsprechen.
cms.ui.authoring.parameter_may_not_contain_periods=This parameter may not contain periods cms.ui.authoring.parameter_may_not_contain_periods=This parameter may not contain periods
cms.ui.cse.none=Es wurde keine bald abgelaufenen Dokumente gefunden. cms.ui.cse.none=Es wurde keine bald abgelaufenen Dokumente gefunden.
cms.ui.contentcenter.task_panel_control=Experimental. Try to use it.

View File

@ -127,3 +127,4 @@ cms.ui.authoring.parameter_not_empty=This parameter may not be empty.
cms.ui.authoring.parameter_should_be_a_valid_filename=This parameter should be a valid filename. cms.ui.authoring.parameter_should_be_a_valid_filename=This parameter should be a valid filename.
cms.ui.authoring.parameter_may_not_contain_periods=This parameter may not contain periods cms.ui.authoring.parameter_may_not_contain_periods=This parameter may not contain periods
cms.ui.cse.none= cms.ui.cse.none=
cms.ui.contentcenter.task_panel_control=Experimental. Try to use it.

View File

@ -601,3 +601,4 @@ cms.ui.authoring.parameter_not_empty=This parameter may not be empty.
cms.ui.authoring.parameter_should_be_a_valid_filename=This parameter should be a valid filename. cms.ui.authoring.parameter_should_be_a_valid_filename=This parameter should be a valid filename.
cms.ui.authoring.parameter_may_not_contain_periods=This parameter may not contain periods cms.ui.authoring.parameter_may_not_contain_periods=This parameter may not contain periods
cms.ui.cse.none= cms.ui.cse.none=
cms.ui.contentcenter.task_panel_control=Experimental. Try to use it.

View File

@ -358,9 +358,6 @@ public abstract class BasicItemForm extends FormSection
* @param parent the folder in which to check * @param parent the folder in which to check
* @param event the {@link FormSectionEvent} which was passed to the * @param event the {@link FormSectionEvent} which was passed to the
* validation listener * validation listener
*
* @throws FormProcessException if the folder already contains an item
* with the name the use provided on the input form.
*/ */
public void validateNameUniqueness(Folder parent, FormSectionEvent event) { public void validateNameUniqueness(Folder parent, FormSectionEvent event) {
@ -375,8 +372,6 @@ public abstract class BasicItemForm extends FormSection
* @param parent * @param parent
* @param event * @param event
* @param newName * @param newName
*
* @throws FormProcessException
*/ */
public void validateNameUniqueness(Folder parent, public void validateNameUniqueness(Folder parent,
FormSectionEvent event, FormSectionEvent event,
@ -418,7 +413,7 @@ public abstract class BasicItemForm extends FormSection
String[] itemObj=new String[1]; String[] itemObj=new String[1];
itemObj[0]=itemID.toString(); itemObj[0]=itemID.toString();
dq.close(); dq.close();
name.addError(globalize(ERR_MSG)); name.addError(globalize(ERR_MSG,itemObj));
return; return;
} }
} }

View File

@ -133,6 +133,9 @@ public class TasksPanel extends CMSContainer {
/** /**
* Constructs a new task panel that shows no more than 15 * Constructs a new task panel that shows no more than 15
* enabled tasks by default. * enabled tasks by default.
*
* @param typeModel
* @param sectionModel
**/ **/
public TasksPanel(ACSObjectSelectionModel typeModel, public TasksPanel(ACSObjectSelectionModel typeModel,
ACSObjectSelectionModel sectionModel) { ACSObjectSelectionModel sectionModel) {
@ -144,6 +147,8 @@ public class TasksPanel extends CMSContainer {
* enabled tasks by default. * enabled tasks by default.
* *
* @param maxRows the maximum number of rows to show by default * @param maxRows the maximum number of rows to show by default
* @param typeModel
* @param sectionModel
* *
* @pre maxRows != null * @pre maxRows != null
**/ **/
@ -174,6 +179,7 @@ public class TasksPanel extends CMSContainer {
// A label that says "Create $content_type in $section" // A label that says "Create $content_type in $section"
m_selectorLabel = new Label(new PrintListener() { m_selectorLabel = new Label(new PrintListener() {
@Override
public void prepare(PrintEvent e) { public void prepare(PrintEvent e) {
PageState s = e.getPageState(); PageState s = e.getPageState();
Label t = (Label) e.getTarget(); Label t = (Label) e.getTarget();
@ -182,7 +188,7 @@ public class TasksPanel extends CMSContainer {
ContentSection sec = ContentSection sec =
(ContentSection) m_sectionSel.getSelectedObject(s); (ContentSection) m_sectionSel.getSelectedObject(s);
StringBuffer buf = new StringBuffer( StringBuilder buf = new StringBuilder(
GlobalizationUtil GlobalizationUtil
.globalize("cms.ui.create").localize() + " "); .globalize("cms.ui.create").localize() + " ");
buf.append(type.getLabel()); buf.append(type.getLabel());
@ -212,6 +218,7 @@ public class TasksPanel extends CMSContainer {
// When a new type is selected, show the creation UI. // When a new type is selected, show the creation UI.
// When the selection is cleared, return to section list // When the selection is cleared, return to section list
m_typeSel.addChangeListener(new ChangeListener() { m_typeSel.addChangeListener(new ChangeListener() {
@Override
public void stateChanged(ChangeEvent e) { public void stateChanged(ChangeEvent e) {
PageState s = e.getPageState(); PageState s = e.getPageState();
boolean isSelected = m_typeSel.isSelected(s); boolean isSelected = m_typeSel.isSelected(s);
@ -225,6 +232,7 @@ public class TasksPanel extends CMSContainer {
m_viewLockLink = new ActionLink(new Label(GlobalizationUtil m_viewLockLink = new ActionLink(new Label(GlobalizationUtil
.globalize("cms.ui.workflow.task.view_locked"))); .globalize("cms.ui.workflow.task.view_locked")));
m_viewLockLink.addActionListener(new ActionListener() { m_viewLockLink.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
PageState ps = e.getPageState(); PageState ps = e.getPageState();
ps.setValue(m_lockFilterParam, "lock"); ps.setValue(m_lockFilterParam, "lock");
@ -235,6 +243,7 @@ public class TasksPanel extends CMSContainer {
m_viewUnlockLink = new ActionLink(new Label(GlobalizationUtil m_viewUnlockLink = new ActionLink(new Label(GlobalizationUtil
.globalize("cms.ui.workflow.task.view_unlocked"))); .globalize("cms.ui.workflow.task.view_unlocked")));
m_viewUnlockLink.addActionListener(new ActionListener() { m_viewUnlockLink.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
PageState ps = e.getPageState(); PageState ps = e.getPageState();
ps.setValue(m_lockFilterParam, "unlock"); ps.setValue(m_lockFilterParam, "unlock");
@ -245,6 +254,7 @@ public class TasksPanel extends CMSContainer {
m_viewAllLockLink = new ActionLink(new Label(GlobalizationUtil m_viewAllLockLink = new ActionLink(new Label(GlobalizationUtil
.globalize("cms.ui.workflow.task.view_all"))); .globalize("cms.ui.workflow.task.view_all")));
m_viewAllLockLink.addActionListener(new ActionListener() { m_viewAllLockLink.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
PageState ps = e.getPageState(); PageState ps = e.getPageState();
ps.setValue(m_lockFilterParam, "all"); ps.setValue(m_lockFilterParam, "all");
@ -301,6 +311,7 @@ public class TasksPanel extends CMSContainer {
p.setVisibleDefault(m_viewAllLockLink, false); p.setVisibleDefault(m_viewAllLockLink, false);
p.addActionListener(new ActionListener() { p.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
final PageState state = e.getPageState(); final PageState state = e.getPageState();
@ -358,6 +369,9 @@ public class TasksPanel extends CMSContainer {
/** /**
* Returns the number of enabled tasks for the specified user. * Returns the number of enabled tasks for the specified user.
*
* @param state
* @return
**/ **/
protected int numberTasksForUser(PageState state) { protected int numberTasksForUser(PageState state) {
return m_taskList.size(state); return m_taskList.size(state);
@ -456,13 +470,18 @@ public class TasksPanel extends CMSContainer {
} }
/**
*
*/
private class TasksPaginationModelBuilder implements PaginationModelBuilder { private class TasksPaginationModelBuilder implements PaginationModelBuilder {
@Override
public int getTotalSize(Paginator paginator, public int getTotalSize(Paginator paginator,
PageState state) { PageState state) {
return numberTasksForUser(state); return numberTasksForUser(state);
} }
@Override
public boolean isVisible(PageState state) { public boolean isVisible(PageState state) {
return numberTasksForUser(state) > m_maxRows; return numberTasksForUser(state) > m_maxRows;
} }
@ -650,6 +669,8 @@ public class TasksPanel extends CMSContainer {
} }
ControlLink link = new ControlLink(container); ControlLink link = new ControlLink(container);
link.setHint(GlobalizationUtil
.globalize("cms.ui.contentcenter.task_panel_control"));
link.setClassAttr(header); link.setClassAttr(header);
link.generateXML(state, content); link.generateXML(state, content);
state.clearControlEvent(); state.clearControlEvent();

View File

@ -84,10 +84,19 @@ public abstract class BaseLink extends TextStylable
private final String HREF_NO_JAVASCRIPT = "href_no_javascript"; private final String HREF_NO_JAVASCRIPT = "href_no_javascript";
private final String HREF = "href"; private final String HREF = "href";
protected String m_url; /** Label component used to display the link. Typically a Label, may be
protected String m_noJavascriptURL = null; * e.g. an image as well. */
protected Component m_child; protected Component m_child;
/** Property to store the url the Link points to. */
protected String m_url;
/** Property to store informational text for the user about the Link, e.g.
* how to use it, or when to use it (or not to use it). */
private GlobalizedMessage m_hint;
protected String m_noJavascriptURL = null;
private PrintListener m_printListener; private PrintListener m_printListener;
private String m_sConfirmMsg = ""; private String m_sConfirmMsg = "";
@ -150,6 +159,11 @@ public abstract class BaseLink extends TextStylable
this("", listener); this("", listener);
} }
/**
*
* @return
* @throws CloneNotSupportedException
*/
@Override @Override
public Object clone() throws CloneNotSupportedException { public Object clone() throws CloneNotSupportedException {
final BaseLink result = (BaseLink) super.clone(); final BaseLink result = (BaseLink) super.clone();
@ -199,6 +213,11 @@ public abstract class BaseLink extends TextStylable
m_printListener = null; m_printListener = null;
} }
/**
*
* @param state
* @return
*/
protected BaseLink firePrintEvent(final PageState state) { protected BaseLink firePrintEvent(final PageState state) {
BaseLink l = this; BaseLink l = this;
if (m_printListener != null) { if (m_printListener != null) {
@ -213,6 +232,12 @@ public abstract class BaseLink extends TextStylable
return l; return l;
} }
/**
* Retrieves the label component used to display the Link. Typically a Label,
* but may be an other type, e.g. an Image, as well.
*
* @return Component used to display the Link.
*/
public final Component getChild() { public final Component getChild() {
return m_child; return m_child;
} }
@ -222,6 +247,10 @@ public abstract class BaseLink extends TextStylable
m_child = child; m_child = child;
} }
/**
*
* @return
*/
public final String getTarget() { public final String getTarget() {
return m_url; return m_url;
} }
@ -232,6 +261,16 @@ public abstract class BaseLink extends TextStylable
m_url = url; m_url = url;
} }
/**
* Sets a popup hint for the Link. It usually contains some explanation for
* the user about the link, how to use, why it is there, etc.
*
* @param hint GlobalizedMessage object with the information text.
*/
public void setHint(GlobalizedMessage hint) {
m_hint = hint;
}
/** /**
* Sets the type of link this link represents. * Sets the type of link this link represents.
* *
@ -242,6 +281,11 @@ public abstract class BaseLink extends TextStylable
setAttribute(TYPE_ATTR, type); setAttribute(TYPE_ATTR, type);
} }
/**
*
* @param state
* @param parent
*/
protected abstract void generateURL(final PageState state, final Element parent); protected abstract void generateURL(final PageState state, final Element parent);
/** /**
@ -249,14 +293,13 @@ public abstract class BaseLink extends TextStylable
* <p><pre> * <p><pre>
* &lt;bebop:link href="..." type="..." %bebopAttr;/> * &lt;bebop:link href="..." type="..." %bebopAttr;/>
* </pre> * </pre>
* The <code>href</code> attribute contains the target the link * The <code>href</code> attribute contains the target the link should point
* should point to. The <code>type</code> attribute is used to * to. The <code>type</code> attribute is used to give more fine grained
* give more fine grained control over which kind of link this element * control over which kind of link this element represents. The types are
* represents. The types are <code>link</code> for a * <code>link</code> for a <code>Link</code>, <code>control</code> for a
* <code>Link</code>, <code>control</code> for a {@link ControlLink}, * {@link ControlLink}, and <code>toggle</code> for a {@link ToggleLink}.
* and <code>toggle</code> for a {@link ToggleLink}. There may be * There may be additional attributes depending on what type of link this
* additional attributes depending on what type of link this link * link represents.
* represents.
* *
* @param state The current {@link PageState}. * @param state The current {@link PageState}.
* @param parent The XML element to attach the XML to. * @param parent The XML element to attach the XML to.
@ -271,15 +314,22 @@ public abstract class BaseLink extends TextStylable
Element link = parent.newChildElement("bebop:link", BEBOP_XML_NS); Element link = parent.newChildElement("bebop:link", BEBOP_XML_NS);
target.generateURL(state, link); target.generateURL(state, link);
target.exportConfirmAttributes(state, link); target.exportConfirmAttributes(state, link);
//setup the link without javascript //setup the link without javascript
target.setupNoJavascriptURL(state, link); target.setupNoJavascriptURL(state, link);
target.exportAttributes(link); target.exportAttributes(link);
target.generateExtraXMLAttributes(state, link); target.generateExtraXMLAttributes(state, link);
target.getChild().generateXML(state, link); target.getChild().generateXML(state, link);
if(m_hint != null) target.setAttribute("hint",
(String) m_hint.localize());
} }
} }
/**
*
* @param state
* @param sUrl
* @return
*/
private String getAbsoluteUrl(final PageState state, final String sUrl) { private String getAbsoluteUrl(final PageState state, final String sUrl) {
String sReturn = ""; String sReturn = "";
@ -397,7 +447,7 @@ public abstract class BaseLink extends TextStylable
* *
* @param message the confirmation message presented to the user. This * @param message the confirmation message presented to the user. This
* message cannot have an apostrophe or back slash. * message cannot have an apostrophe or back slash.
* * @deprecated Use setConfirmation(final GlobalizedMessage msg) instead
*/ */
public void setConfirmation(final String message) { public void setConfirmation(final String message) {
//make sure that the message doesn't have any apostrophe's //make sure that the message doesn't have any apostrophe's

View File

@ -56,6 +56,7 @@ public class SimpleComponent extends Completable
* Clones a component. The clone is not locked and has its own set of * Clones a component. The clone is not locked and has its own set of
* attributes. * attributes.
* @return the clone of a component. * @return the clone of a component.
* @throws java.lang.CloneNotSupportedException
* @post ! ((SimpleComponent) return).isLocked() * @post ! ((SimpleComponent) return).isLocked()
*/ */
@Override @Override
@ -98,6 +99,7 @@ public class SimpleComponent extends Completable
* @pre p != null * @pre p != null
* @param p * @param p
*/ */
@Override
public void register(Page p) { public void register(Page p) {
return; return;
} }
@ -109,9 +111,12 @@ public class SimpleComponent extends Completable
* have a connection to an HTML form). Other components can implement it * have a connection to an HTML form). Other components can implement it
* as a no-op. * as a no-op.
* *
* @param f
* @param m
* @pre f != null * @pre f != null
* @pre m != null * @pre m != null
*/ */
@Override
public void register(Form f, FormModel m) { public void register(Form f, FormModel m) {
return; return;
} }
@ -121,24 +126,30 @@ public class SimpleComponent extends Completable
* receiving the click. * receiving the click.
* @param state the current page state * @param state the current page state
*/ */
@Override
public void respond(PageState state) public void respond(PageState state)
throws javax.servlet.ServletException { } throws javax.servlet.ServletException { }
@Override
public Iterator children() { public Iterator children() {
return Collections.EMPTY_LIST.iterator(); return Collections.EMPTY_LIST.iterator();
} }
/** Adds [J]DOM nodes for this component. Specifically for /** Adds [J]DOM nodes for this component. Specifically for
* base class SimpleComponent, does nothing. * base class SimpleComponent, does nothing.
* @param p
*/ */
@Override
public void generateXML(PageState state, Element p) { public void generateXML(PageState state, Element p) {
return; return;
} }
@Override
public final boolean isLocked() { public final boolean isLocked() {
return m_locked; return m_locked;
} }
@Override
public void lock () { public void lock () {
if (m_attr != null) { if (m_attr != null) {
m_attr.lock(); m_attr.lock();
@ -163,6 +174,7 @@ public class SimpleComponent extends Completable
* Gets the class attribute. * Gets the class attribute.
* @return the class attribute. * @return the class attribute.
*/ */
@Override
public String getClassAttr() { public String getClassAttr() {
return getAttribute(CLASS); return getAttribute(CLASS);
} }
@ -172,6 +184,7 @@ public class SimpleComponent extends Completable
* @param theClass a valid <a * @param theClass a valid <a
* href="http://www.w3.org/TR/2000/REC-xml-20001006#NT-Name">XML name</a> * href="http://www.w3.org/TR/2000/REC-xml-20001006#NT-Name">XML name</a>
*/ */
@Override
public void setClassAttr(String theClass) { public void setClassAttr(String theClass) {
Assert.isUnlocked(this); Assert.isUnlocked(this);
setAttribute(CLASS, theClass); setAttribute(CLASS, theClass);
@ -181,6 +194,7 @@ public class SimpleComponent extends Completable
* Gets the style attribute. * Gets the style attribute.
* @return the style attribute. * @return the style attribute.
*/ */
@Override
public String getStyleAttr() { public String getStyleAttr() {
return getAttribute(STYLE); return getAttribute(STYLE);
} }
@ -195,6 +209,7 @@ public class SimpleComponent extends Completable
* <tt>style</tt> attribute of an HTML tag * <tt>style</tt> attribute of an HTML tag
* @see <a href="#standard">Standard Attributes</a> * @see <a href="#standard">Standard Attributes</a>
*/ */
@Override
public void setStyleAttr(String style) { public void setStyleAttr(String style) {
Assert.isUnlocked(this); Assert.isUnlocked(this);
setAttribute(STYLE, style); setAttribute(STYLE, style);
@ -205,6 +220,7 @@ public class SimpleComponent extends Completable
* @return the <tt>id</tt> attribute. * @return the <tt>id</tt> attribute.
* @see #setIdAttr(String id) * @see #setIdAttr(String id)
*/ */
@Override
public String getIdAttr() { public String getIdAttr() {
return getAttribute(ID); return getAttribute(ID);
} }
@ -220,6 +236,7 @@ public class SimpleComponent extends Completable
* @param id a valid XML identifier * @param id a valid XML identifier
* @see <a href="#standard">Standard Attributes</a> * @see <a href="#standard">Standard Attributes</a>
*/ */
@Override
public void setIdAttr(String id) { public void setIdAttr(String id) {
Assert.isUnlocked(this); Assert.isUnlocked(this);
setAttribute(ID, id); setAttribute(ID, id);
@ -306,8 +323,11 @@ public class SimpleComponent extends Completable
/** /**
* Supplies a key for parameter name mangling. * Supplies a key for parameter name mangling.
*
* @param key the key to mangle * @param key the key to mangle
* @return
*/ */
@Override
public Component setKey(String key) { public Component setKey(String key) {
Assert.isUnlocked(this); Assert.isUnlocked(this);
if (key.charAt(0) >= 0 && key.charAt(0) <= 9) { if (key.charAt(0) >= 0 && key.charAt(0) <= 9) {
@ -321,14 +341,17 @@ public class SimpleComponent extends Completable
* Retrieves a key for parameter name mangling. * Retrieves a key for parameter name mangling.
* @return a key for parameter name mangling. * @return a key for parameter name mangling.
*/ */
@Override
public final String getKey() { public final String getKey() {
return m_key; return m_key;
} }
@Override
public boolean isVisible(PageState s) { public boolean isVisible(PageState s) {
return s.isVisible(this); return s.isVisible(this);
} }
@Override
public void setVisible(PageState s, boolean v) { public void setVisible(PageState s, boolean v) {
s.setVisible(this, v); s.setVisible(this, v);
} }

View File

@ -80,9 +80,7 @@ public abstract class Widget extends BlockStylable implements Cloneable,
private ParameterListener m_forwardParameter = null; private ParameterListener m_forwardParameter = null;
private PrintListener m_printListener; private PrintListener m_printListener;
private Form m_form; private Form m_form;
/** /** The optional (localized) label (or title) of this widget. */
* The optional (localized) label (or title) of this widget.
*/
private GlobalizedMessage m_label; private GlobalizedMessage m_label;
private ValidationGuard m_guard = null; private ValidationGuard m_guard = null;

View File

@ -13,7 +13,7 @@
<ccm:requires name="ccm-portalworkspace" version="6.6.1" relation="ge"/> <ccm:requires name="ccm-portalworkspace" version="6.6.1" relation="ge"/>
<ccm:requires name="ccm-navigation" version="6.6.0" relation="ge"/> <ccm:requires name="ccm-navigation" version="6.6.0" relation="ge"/>
<ccm:requires name="ccm-subsite" version="6.6.0" relation="ge"/> <ccm:requires name="ccm-subsite" version="6.6.0" relation="ge"/>
<ccm:requires name="ccm-rssfeed" version="6.6.0" relation="ge"/> <!-- <ccm:requires name="ccm-rssfeed" version="6.6.0" relation="ge"/> -->
<ccm:requires name="ccm-ldn-dublin" version="6.6.0" relation="ge"/> <ccm:requires name="ccm-ldn-dublin" version="6.6.0" relation="ge"/>
<ccm:requires name="ccm-ldn-search" version="6.6.0" relation="ge"/> <ccm:requires name="ccm-ldn-search" version="6.6.0" relation="ge"/>
<ccm:requires name="ccm-ldn-terms" version="6.6.0" relation="ge"/> <ccm:requires name="ccm-ldn-terms" version="6.6.0" relation="ge"/>

View File

@ -1,5 +1,5 @@
# ############################################################################## # ##############################################################################
# APLAWS+ devel bundle integration.properties, version 2.0.x # APLAWS+ devel bundle integration.properties, version 2.2.x
# Main purpose is to ensure compatibility among all CCM packages and to provide # Main purpose is to ensure compatibility among all CCM packages and to provide
# Add On packages. # Add On packages.
# ############################################################################## # ##############################################################################

View File

@ -45,7 +45,7 @@
in class ui.PortletTypeForm --> in class ui.PortletTypeForm -->
<ccm:application name="ccm-portalworkspace"/> <ccm:application name="ccm-portalworkspace"/>
<ccm:application name="ccm-portalworkspace-homepage"/> <ccm:application name="ccm-portalworkspace-homepage"/>
<ccm:application name="ccm-rssfeed"/> <!-- <ccm:application name="ccm-rssfeed"/> -->
<ccm:application name="ccm-shortcuts"/> <ccm:application name="ccm-shortcuts"/>
<ccm:application name="ccm-subsite"/> <ccm:application name="ccm-subsite"/>
<ccm:application name="ccm-themedirector"/> <ccm:application name="ccm-themedirector"/>

View File

@ -1,5 +1,5 @@
# ############################################################################## # ##############################################################################
# APLAWS+ Standard bundle integration.properties, version 2.0.x # APLAWS+ Standard bundle integration.properties, version 2.2.x
# ############################################################################## # ##############################################################################
# #
# #

View File

@ -1,4 +1,4 @@
^<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- project.xml - (ldn)standard - containing those modules of current <!-- project.xml - (ldn)standard - containing those modules of current
aplaws repository which are used by most Local Authorities. --> aplaws repository which are used by most Local Authorities. -->
@ -8,7 +8,7 @@
ccmVersion="6.1" ccmVersion="6.1"
name="aplaws" name="aplaws"
prettyName="APLAWS plus Standard Spin" prettyName="APLAWS plus Standard Spin"
version="2-0-0" version="2.2.2"
release="std-beta" release="std-beta"
webxml="web.xml" webxml="web.xml"
webapp="ROOT" webapp="ROOT"

View File

@ -0,0 +1,45 @@
#!/bin/sh
#
# tomcat7-digest script
# JPackage Project <http://www.jpackage.org/>
# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then
. /usr/share/java-utils/java-functions
else
echo "Can't find functions library, aborting"
exit 1
fi
# Get the tomcat config (use this for environment specific settings)
if [ -z "${TOMCAT_CFG}" ]; then
TOMCAT_CFG="/etc/tomcat7/tomcat7.conf"
fi
if [ -r "$TOMCAT_CFG" ]; then
. $TOMCAT_CFG
fi
set_javacmd
# CLASSPATH munging
if [ -n "$JSSE_HOME" ]; then
CLASSPATH="${CLASSPATH}:$(build-classpath jcert jnet jsse 2>/dev/null)"
fi
CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/bin/bootstrap.jar"
CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/bin/tomcat-juli.jar"
export CLASSPATH
# Configuration
MAIN_CLASS="org.apache.catalina.startup.Tool"
BASE_FLAGS="-Dcatalina.home=\"$CATALINA_HOME\""
BASE_OPTIONS=""
BASE_JARS="commons-daemon tomcat7/catalina servlet"
# Set parameters
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run -server org.apache.catalina.realm.RealmBase "$@"

View File

@ -0,0 +1,45 @@
#!/bin/sh
#
# tomcat7-digest script
# JPackage Project <http://www.jpackage.org/>
# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then
. /usr/share/java-utils/java-functions
else
echo "Can't find functions library, aborting"
exit 1
fi
# Get the tomcat config (use this for environment specific settings)
if [ -z "${TOMCAT_CFG}" ]; then
TOMCAT_CFG="/etc/tomcat7/tomcat7.conf"
fi
if [ -r "$TOMCAT_CFG" ]; then
. $TOMCAT_CFG
fi
set_javacmd
# CLASSPATH munging
if [ -n "$JSSE_HOME" ]; then
CLASSPATH="${CLASSPATH}:$(build-classpath jcert jnet jsse 2>/dev/null)"
fi
CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/bin/bootstrap.jar"
CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/bin/tomcat-juli.jar"
export CLASSPATH
# Configuration
MAIN_CLASS="org.apache.catalina.startup.Tool"
BASE_OPTIONS=""
BASE_FLAGS="-Dcatalina.home=\"$CATALINA_HOME\""
BASE_JARS="commons-daemon tomcat7/catalina servlet"
# Set parameters
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"

View File

@ -0,0 +1,50 @@
# System-wide configuration file for tomcat7 services
# This will be sourced by tomcat7 and any secondary service
# Values will be overridden by service-specific configuration
# files in /etc/sysconfig
#
# Use this one to change default values for all services
# Change the service specific ones to affect only one service
# (see, for instance, /etc/sysconfig/tomcat7)
#
# Where your java installation lives
#JAVA_HOME="/usr/lib/jvm/java"
# Where your tomcat installation lives
CATALINA_BASE="@@@TCHOME@@@"
CATALINA_HOME="@@@TCHOME@@@"
JASPER_HOME="@@@TCHOME@@@"
CATALINA_TMPDIR="@@@TCTEMP@@@"
# You can pass some parameters to java here if you wish to
#JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"
# Use JAVA_OPTS to set java.library.path for libtcnative.so
#JAVA_OPTS="-Djava.library.path=@@@LIBDIR@@@"
# What user should run tomcat
TOMCAT_USER="tomcat"
# You can change your tomcat locale here
#LANG="en_US"
# Run tomcat under the Java Security Manager
SECURITY_MANAGER="false"
# Time to wait in seconds, before killing process
SHUTDOWN_WAIT="30"
# Whether to annoy the user with "attempting to shut down" messages or not
SHUTDOWN_VERBOSE="false"
# Set the TOMCAT_PID location
CATALINA_PID="/var/run/tomcat7.pid"
# Connector port is 8080 for this tomcat7 instance
#CONNECTOR_PORT="8080"
# If you wish to further customize your tomcat environment,
# put your own definitions here
# (i.e. LD_LIBRARY_PATH for some jdbc drivers)

View File

@ -0,0 +1,291 @@
#!/bin/bash
#
# tomcat7 This shell script takes care of starting and stopping Tomcat
#
# chkconfig: - 80 20
#
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network $syslog
# Required-Stop: $network $syslog
# Default-Start:
# Default-Stop:
# Description: Release implementation for Servlet 3.0 and JSP 2.2
# Short-Description: start and stop tomcat
### END INIT INFO
#
# - originally written by Henri Gomez, Keith Irwin, and Nicolas Mailhot
# - heavily rewritten by Deepak Bhole and Jason Corley
#
## Source function library.
#. /etc/rc.d/init.d/functions
# Source LSB function library.
if [ -r /lib/lsb/init-functions ]; then
. /lib/lsb/init-functions
else
exit 1
fi
DISTRIB_ID=`lsb_release -i -s 2>/dev/null`
NAME="$(basename $0)"
unset ISBOOT
if [ "${NAME:0:1}" = "S" -o "${NAME:0:1}" = "K" ]; then
NAME="${NAME:3}"
ISBOOT="1"
fi
# For SELinux we need to use 'runuser' not 'su'
if [ -x "/sbin/runuser" ]; then
SU="/sbin/runuser -s /bin/sh"
else
SU="/bin/su -s /bin/sh"
fi
# Get the tomcat config (use this for environment specific settings)
TOMCAT_CFG="/etc/tomcat7/tomcat7.conf"
if [ -r "$TOMCAT_CFG" ]; then
. $TOMCAT_CFG
fi
# Get instance specific config file
if [ -r "/etc/sysconfig/${NAME}" ]; then
. /etc/sysconfig/${NAME}
fi
# Define which connector port to use
CONNECTOR_PORT="${CONNECTOR_PORT:-8080}"
# Path to the tomcat launch script
TOMCAT_SCRIPT="/usr/sbin/dtomcat7"
# Tomcat program name
TOMCAT_PROG="${NAME}"
# Define the tomcat username
TOMCAT_USER="${TOMCAT_USER:-tomcat}"
# Define the tomcat log file
TOMCAT_LOG="${TOMCAT_LOG:-/var/log/${NAME}/catalina.out}"
RETVAL="0"
# Look for open ports, as the function name might imply
function findFreePorts() {
local isSet1="false"
local isSet2="false"
local isSet3="false"
local lower="8000"
randomPort1="0"
randomPort2="0"
randomPort3="0"
local -a listeners="( $(
netstat -ntl | \
awk '/^tcp/ {gsub("(.)*:", "", $4); print $4}'
) )"
while [ "$isSet1" = "false" ] || \
[ "$isSet2" = "false" ] || \
[ "$isSet3" = "false" ]; do
let port="${lower}+${RANDOM:0:4}"
if [ -z `expr " ${listeners[*]} " : ".*\( $port \).*"` ]; then
if [ "$isSet1" = "false" ]; then
export randomPort1="$port"
isSet1="true"
elif [ "$isSet2" = "false" ]; then
export randomPort2="$port"
isSet2="true"
elif [ "$isSet3" = "false" ]; then
export randomPort3="$port"
isSet3="true"
fi
fi
done
}
function makeHomeDir() {
if [ ! -d "$CATALINA_HOME" ]; then
echo "$CATALINA_HOME does not exist, creating"
if [ ! -d "/usr/share/${NAME}" ]; then
mkdir /usr/share/${NAME}
cp -pLR /usr/share/tomcat7/* /usr/share/${NAME}
fi
mkdir -p /var/log/${NAME} \
/var/cache/${NAME} \
/var/tmp/${NAME}
ln -fs /var/cache/${NAME} ${CATALINA_HOME}/work
ln -fs /var/tmp/${NAME} ${CATALINA_HOME}/temp
cp -pLR /usr/share/${NAME}/bin $CATALINA_HOME
cp -pLR /usr/share/${NAME}/conf $CATALINA_HOME
ln -fs /usr/share/java/tomcat7 ${CATALINA_HOME}/lib
ln -fs /usr/share/tomcat7/webapps ${CATALINA_HOME}/webapps
chown ${TOMCAT_USER}:${TOMCAT_USER} /var/log/${NAME}
fi
}
function parseOptions() {
options=""
options="$options $(
awk '!/^#/ && !/^$/ { ORS=" "; print "export ", $0, ";" }' \
$TOMCAT_CFG
)"
if [ -r "/etc/sysconfig/${NAME}" ]; then
options="$options $(
awk '!/^#/ && !/^$/ { ORS=" ";
print "export ", $0, ";" }' \
/etc/sysconfig/${NAME}
)"
fi
TOMCAT_SCRIPT="$options ${TOMCAT_SCRIPT}"
}
# See how we were called.
function start() {
echo -n "Starting ${TOMCAT_PROG}: "
if [ -f "/var/lock/subsys/${NAME}" ] ; then
if [ -f "/var/run/${NAME}.pid" ]; then
read kpid < /var/run/${NAME}.pid
# if checkpid $kpid 2>&1; then
if [ -d "/proc/${kpid}" ]; then
log_success_msg
if [ "$DISTRIB_ID" = "MandrivaLinux" ]; then
echo
fi
return 0
fi
fi
fi
# fix permissions on the log and pid files
export CATALINA_PID="/var/run/${NAME}.pid"
touch $CATALINA_PID
chown ${TOMCAT_USER}:${TOMCAT_USER} $CATALINA_PID
touch $TOMCAT_LOG
chown ${TOMCAT_USER}:${TOMCAT_USER} $TOMCAT_LOG
if [ "$CATALINA_HOME" != "/usr/share/tomcat7" ]; then
# Create a tomcat directory if it doesn't exist
makeHomeDir
# If CATALINA_HOME doesn't exist modify port number so that
# multiple instances don't interfere with each other
findFreePorts
sed -i -e "s/8005/${randomPort1}/g" -e "s/8080/${CONNECTOR_PORT}/g" \
-e "s/8009/${randomPort2}/g" -e "s/8443/${randomPort3}/g" \
${CATALINA_HOME}/conf/server.xml
fi
parseOptions
if [ "$SECURITY_MANAGER" = "true" ]; then
$SU - $TOMCAT_USER -c "${TOMCAT_SCRIPT} start-security" \
>> $TOMCAT_LOG 2>&1
else
$SU - $TOMCAT_USER -c "${TOMCAT_SCRIPT} start" >> $TOMCAT_LOG 2>&1
fi
RETVAL="$?"
if [ "$RETVAL" -eq 0 ]; then
log_success_msg
touch /var/lock/subsys/${NAME}
else
log_failure_msg
fi
if [ "$DISTRIB_ID" = "MandrivaLinux" ]; then
echo
fi
return $RETVAL
}
function stop() {
RETVAL="0"
echo -n "Stopping ${TOMCAT_PROG}: "
if [ -f "/var/lock/subsys/${NAME}" ]; then
parseOptions
$SU - $TOMCAT_USER -c "${TOMCAT_SCRIPT} stop" >> $TOMCAT_LOG 2>&1
RETVAL="$?"
if [ "$RETVAL" -eq "0" ]; then
count="0"
if [ -f "/var/run/${NAME}.pid" ]; then
read kpid < /var/run/${NAME}.pid
until [ "$(ps --pid $kpid | grep -c $kpid)" -eq "0" ] || \
[ "$count" -gt "$SHUTDOWN_WAIT" ]; do
if [ "$SHUTDOWN_VERBOSE" = "true" ]; then
echo "waiting for processes $kpid to exit"
fi
sleep 1
let count="${count}+1"
done
if [ "$count" -gt "$SHUTDOWN_WAIT" ]; then
if [ "$SHUTDOWN_VERBOSE" = "true" ]; then
echo "killing processes which didn't stop after $SHUTDOWN_WAIT seconds"
fi
kill -9 $kpid
fi
log_success_msg
fi
rm -f /var/lock/subsys/${NAME} /var/run/${NAME}.pid
else
log_failure_msg
fi
else
log_success_msg
fi
if [ "$DISTRIB_ID" = "MandrivaLinux" ]; then
echo
fi
return $RETVAL
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
condrestart|try-restart)
if [ -f "/var/run/${NAME}.pid" ]; then
stop
start
fi
;;
reload)
RETVAL="3"
;;
force-reload)
if [ -f "/var/run/${NAME}.pid" ]; then
stop
start
fi
;;
status)
if [ -f "/var/run/${NAME}.pid" ]; then
# status ${NAME}
# RETVAL="$?"
read kpid < /var/run/${NAME}.pid
if [ -d "/proc/${kpid}" ]; then
echo "${NAME} (pid ${kpid}) is running..."
RETVAL="0"
fi
else
pid="$(/usr/bin/pgrep -d , -u ${TOMCAT_USER} -G ${TOMCAT_USER} java)"
if [ -z "$pid" ]; then
# status ${NAME}
# RETVAL="$?"
echo "${NAME} is stopped"
RETVAL="3"
else
echo "${NAME} (pid $pid) is running..."
RETVAL="0"
fi
fi
;;
version)
${TOMCAT_SCRIPT} version
;;
*)
echo "Usage: $0 {start|stop|restart|condrestart|try-restart|reload|force-reload|status|version}"
RETVAL="2"
esac
exit $RETVAL

View File

@ -0,0 +1,8 @@
@@@TCLOG@@@/catalina.out {
copytruncate
weekly
rotate 52
compress
missingok
create 0644 tomcat tomcat
}

View File

@ -0,0 +1,40 @@
#!/bin/sh
#
# Wrapper script for Tomcat 7.0, to be sure it will allways
# be run with correct user profile (tomcat by default)
#
# derived from stuff in tomcat5.init
#
# Gomez Henri <hgomez@slib.fr>
# Keith Irwin <keith_irwin@non.hp.com>
# Nicolas Mailhot <nicolas.mailhot@one2team.com>
#
# version 1.01 - Fix webapps dir permissions
#
# Get Tomcat config
TOMCAT_CFG="/etc/tomcat7/tomcat7.conf"
[ -r "$TOMCAT_CFG" ] && . "${TOMCAT_CFG}"
export CATALINA_BASE
export CATALINA_HOME
# Path to the tomcat launch script
TOMCAT_SCRIPT=/usr/sbin/dtomcat7
# Tomcat name :)
TOMCAT_PROG=tomcat7
# if TOMCAT_USER is not set, use tomcat
if [ -z "$TOMCAT_USER" ]; then
TOMCAT_USER="tomcat"
fi
RETVAL=0
su $TOMCAT_USER -c "$TOMCAT_SCRIPT $@"
RETVAL=$?
exit $RETVAL

View File

@ -0,0 +1,56 @@
# Service-specific configuration file for tomcat7. This will be sourced by
# the SysV init script after the global configuration file
# /etc/tomcat7/tomcat7.conf, thus allowing values to be overridden in
# a per-service manner.
#
# NEVER change the init script itself. To change values for all services make
# your changes in /etc/tomcat7/tomcat7.conf
#
# To change values for a specific service make your edits here.
# To create a new service create a link from /etc/init.d/<your new service> to
# /etc/init.d/tomcat7 (do not copy the init script) and make a copy of the
# /etc/sysconfig/tomcat7 file to /etc/sysconfig/<your new service> and change
# the property values so the two services won't conflict. Register the new
# service in the system as usual (see chkconfig and similars).
#
# Where your java installation lives
#JAVA_HOME="/usr/lib/jvm/java"
# Where your tomcat installation lives
#CATALINA_BASE="@@@TCHOME@@@"
#CATALINA_HOME="@@@TCHOME@@@"
#JASPER_HOME="@@@TCHOME@@@"
#CATALINA_TMPDIR="@@@TCTEMP@@@"
# You can pass some parameters to java here if you wish to
#JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"
# Use JAVA_OPTS to set java.library.path for libtcnative.so
#JAVA_OPTS="-Djava.library.path=@@@LIBDIR@@@"
# What user should run tomcat
#TOMCAT_USER="tomcat"
# You can change your tomcat locale here
#LANG="en_US"
# Run tomcat under the Java Security Manager
#SECURITY_MANAGER="false"
# Time to wait in seconds, before killing process
#SHUTDOWN_WAIT="30"
# Whether to annoy the user with "attempting to shut down" messages or not
#SHUTDOWN_VERBOSE="false"
# Set the TOMCAT_PID location
#CATALINA_PID="/var/run/tomcat7.pid"
# Connector port is 8080 for this tomcat7 instance
#CONNECTOR_PORT="8080"
# If you wish to further customize your tomcat environment,
# put your own definitions here
# (i.e. LD_LIBRARY_PATH for some jdbc drivers)

View File

@ -0,0 +1,74 @@
#!/bin/bash
if [ -r /usr/share/java-utils/java-functions ]; then
. /usr/share/java-utils/java-functions
else
echo "Can't read Java functions library, aborting"
exit 1
fi
## Get the tomcat config (use this for environment specific settings)
#if [ -z "${TOMCAT_CFG}" ]; then
# TOMCAT_CFG="/etc/tomcat7/tomcat7.conf"
#fi
#if [ -r "$TOMCAT_CFG" ]; then
# . $TOMCAT_CFG
#fi
set_javacmd
# CLASSPATH munging
if [ -n "$JSSE_HOME" ]; then
CLASSPATH="${CLASSPATH}:$(build-classpath jcert jnet jsse 2>/dev/null)"
fi
CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/bin/bootstrap.jar"
CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/bin/tomcat-juli.jar"
CLASSPATH="${CLASSPATH}:$(build-classpath commons-daemon 2>/dev/null)"
if [ "$1" = "start" ]; then
${JAVACMD} $JAVA_OPTS $CATALINA_OPTS \
-classpath "$CLASSPATH" \
-Dcatalina.base="$CATALINA_BASE" \
-Dcatalina.home="$CATALINA_HOME" \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
-Djava.io.tmpdir="$CATALINA_TMPDIR" \
-Djava.util.logging.config.file="${CATALINA_BASE}/conf/logging.properties" \
-Djava.util.logging.manager="org.apache.juli.ClassLoaderLogManager" \
org.apache.catalina.startup.Bootstrap start \
>> ${CATALINA_BASE}/logs/catalina.out 2>&1 &
if [ ! -z "$CATALINA_PID" ]; then
echo $! > $CATALINA_PID
fi
elif [ "$1" = "start-security" ]; then
${JAVACMD} $JAVA_OPTS $CATALINA_OPTS \
-classpath "$CLASSPATH" \
-Dcatalina.base="$CATALINA_BASE" \
-Dcatalina.home="$CATALINA_HOME" \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
-Djava.io.tmpdir="$CATALINA_TMPDIR" \
-Djava.security.manager \
-Djava.security.policy=="${CATALINA_BASE}/conf/catalina.policy" \
-Djava.util.logging.config.file="${CATALINA_BASE}/conf/logging.properties" \
-Djava.util.logging.manager="org.apache.juli.ClassLoaderLogManager" \
org.apache.catalina.startup.Bootstrap start \
>> ${CATALINA_BASE}/logs/catalina.out 2>&1 &
if [ ! -z "$CATALINA_PID" ]; then
echo $! > $CATALINA_PID
fi
elif [ "$1" = "stop" ]; then
${JAVACMD} $JAVA_OPTS \
-classpath "$CLASSPATH" \
-Dcatalina.base="$CATALINA_BASE" \
-Dcatalina.home="$CATALINA_HOME" \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
-Djava.io.tmpdir="$CATALINA_TMPDIR" \
org.apache.catalina.startup.Bootstrap stop \
>> ${CATALINA_BASE}/logs/catalina.out 2>&1
elif [ "$1" = "version" ]; then
${JAVACMD} -classpath ${CATALINA_HOME}/lib/catalina.jar \
org.apache.catalina.util.ServerInfo
else
echo "Usage: $0 {start|start-security|stop|version}"
exit 1
fi

View File

@ -0,0 +1,355 @@
# Copyright (c) 2000-2012, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the
# distribution.
# 3. Neither the name of the JPackage Project nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
###%define rel 4%{?dist}
###%define section free
%define major_version 7
%define minor_version 0
%define micro_version 37
%define packdname apache-tomcat-%{major_version}.%{minor_version}.%{micro_version}
%define jspspec 2.2
%define servletspec 3.0
%define elspec 2.2
%define tcuid 91
#--%global arch noarch
%define dist .TCbin
# FHS 2.3 compliant tree structure - http://www.pathname.com/fhs/2.3/
%define homedir %{_datadir}/%{name}
%define basedir %{_var}/lib/%{name}
%define appdir %{basedir}/webapps
%define bindir %{_datadir}/%{name}/bin
%define confdir %{_sysconfdir}/%{name}
%define libdir %{_javadir}/%{name}
%define logdir %{_var}/log/%{name}
%define cachedir %{_var}/cache/%{name}
%define tempdir %{cachedir}/temp
%define workdir %{cachedir}/work
%define _initrddir %{_sysconfdir}/init.d
# Avoid RPM 4.2+'s internal dep generator, it may produce bogus
# Provides/Requires here.
%define _use_internal_dependency_generator 0
# This prevents aggressive stripping.
%define debug_package %{nil}
Name: tomcat7
Epoch: 0
Version: %{major_version}.%{minor_version}.%{micro_version}
Release: 1ccm%{dist}
Summary: Apache Servlet/JSP Engine, RI for Servlet %{servletspec}/JSP %{jspspec} API
License: ASL 2.0
URL: http://tomcat.apache.org/
Source0: apache-tomcat-%{major_version}.%{minor_version}.%{micro_version}.tar.gz
Source1: %{name}-%{major_version}.%{minor_version}.conf
Source2: %{name}-%{major_version}.%{minor_version}.init
Source3: %{name}-%{major_version}.%{minor_version}.sysconfig
Source4: %{name}-%{major_version}.%{minor_version}.wrapper
Source5: %{name}-%{major_version}.%{minor_version}.logrotate
Source6: %{name}-%{major_version}.%{minor_version}-digest.script
Source7: %{name}-%{major_version}.%{minor_version}-tool-wrapper.script
Source8: %{name}-%{major_version}.%{minor_version}.starter
###Source10 http://apache.mirror.clusters.cc/tomcat/tomcat-7/v%{version}/bin/extras/tomcat-juli.jar
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
Requires(pre): shadow-utils
Requires(pre): shadow-utils
Requires: java >= 0:1.6.0
Requires: procps
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(post): /lib/lsb/init-functions
Requires(preun): /lib/lsb/init-functions
Requires(post): jpackage-utils >= 0:1.7.5
Requires(postun): jpackage-utils >= 0:1.7.5
%description
Tomcat is the servlet container that is used in the official Reference
Implementation for the Java Servlet and JavaServer Pages technologies.
The Java Servlet and JavaServer Pages specifications are developed by
Sun under the Java Community Process.
Tomcat is developed in an open and participatory environment and
released under the Apache Software License version 2.0. Tomcat is intended
to be a collaboration of the best-of-breed developers from around the world.
This package distributes the original, unmodified binary Apache Tomcat
distribution in a FHS compliant structure and includes configuration and
helper files to start Tomcat during systems init process.
# --------------------------------------------------------------------------
%package admin-webapps
Summary: The host-manager and manager web applications for Apache Tomcat
Requires: %{name} = %{epoch}:%{version}-%{release}
%description admin-webapps
The host-manager and manager web applications for Apache Tomcat.
This package distributes the original, unmodified binary Apache Tomcat
distribution in a FHS compliant structure and includes configuration and
helper files to start Tomcat during systems init process.
# --------------------------------------------------------------------------
%package docs-webapp
Group: System Environment/Applications
Summary: The docs web application for Apache Tomcat
Requires: %{name} = %{epoch}:%{version}-%{release}
%description docs-webapp
The docs web application for Apache Tomcat.
This package distributes the original, unmodified binary Apache Tomcat
distribution in a FHS compliant structure and includes configuration and
helper files to start Tomcat during systems init process.
# --------------------------------------------------------------------------
%package webapps
##Group: System Environment/Applications
Summary: The ROOT and examples web applications for Apache Tomcat
Requires: %{name} = %{epoch}:%{version}-%{release}
%description webapps
The ROOT and examples web applications for Apache Tomcat.
This package distributes the original, unmodified binary Apache Tomcat
distribution in a FHS compliant structure and includes configuration and
helper files to start Tomcat during systems init process.
# --------------------------------------------------------------------------
%prep
###%setup -q -c
%setup -n %{packdname}
chmod -R go=u-w *
chmod -R u+w *
# remove pre-built binaries and windows files
find . -type f \( \
-name "*.bat" -o \
-name "*.gz" -o \
-name "*.war" -o \
-name "*.zip" -o \
-name "Thumbs.db" \) | xargs -t %{__rm}
# excluded in order to provice the managers class files
# -name "*.class" -o \
### currently nothing to patch
### %patch0 -p0
%build
# Nope.
%install
%{__rm} -rf $RPM_BUILD_ROOT
# build initial path structure
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_bindir}
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_sbindir}
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_initrddir}
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{homedir}
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{bindir}
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{confdir}
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{confdir}/Catalina/localhost
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{libdir}
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{logdir}
/bin/touch ${RPM_BUILD_ROOT}%{logdir}/catalina.out
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{tempdir}
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{workdir}
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{webappdir}
%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{appdir}
# move things into place
# tomcat stuff first
# pushd %{packdname}
%{__cp} -a $RPM_BUILD_DIR/%{packdname}/LICENSE ${RPM_BUILD_ROOT}/%{homedir}/
%{__cp} -a $RPM_BUILD_DIR/%{packdname}/NOTICE ${RPM_BUILD_ROOT}/%{homedir}/
%{__cp} -a $RPM_BUILD_DIR/%{packdname}/RELEASE* ${RPM_BUILD_ROOT}/%{homedir}/
%{__cp} -a $RPM_BUILD_DIR/%{packdname}/bin/*.{jar,xml} ${RPM_BUILD_ROOT}%{bindir}
%{__cp} -a $RPM_BUILD_DIR/%{packdname}/conf/*.{policy,properties,xml} ${RPM_BUILD_ROOT}%{confdir}
%{__cp} -a $RPM_BUILD_DIR/%{packdname}/lib/*.jar ${RPM_BUILD_ROOT}%{libdir}
%{__cp} -a $RPM_BUILD_DIR/%{packdname}/webapps/* ${RPM_BUILD_ROOT}%{webappdir}
# popd
# supporting files for configuration, init etc.
%{__sed} -e "s|\@\@\@TCHOME\@\@\@|%{homedir}|g" \
-e "s|\@\@\@TCTEMP\@\@\@|%{tempdir}|g" \
-e "s|\@\@\@LIBDIR\@\@\@|%{_libdir}|g" %{SOURCE1} \
> ${RPM_BUILD_ROOT}%{confdir}/%{name}.conf
%{__sed} -e "s|\@\@\@TCHOME\@\@\@|%{homedir}|g" \
-e "s|\@\@\@TCTEMP\@\@\@|%{tempdir}|g" \
-e "s|\@\@\@LIBDIR\@\@\@|%{_libdir}|g" %{SOURCE3} \
> ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/%{name}
%{__install} -m 0644 %{SOURCE2} \
${RPM_BUILD_ROOT}%{initrddir}/%{name}
%{__install} -m 0644 %{SOURCE4} \
${RPM_BUILD_ROOT}%{_sbindir}/%{name}
%{__ln_s} %{name} ${RPM_BUILD_ROOT}%{_sbindir}/d%{name}
%{__sed} -e "s|\@\@\@TCLOG\@\@\@|%{logdir}|g" %{SOURCE5} \
> ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/%{name}
%{__sed} -e "s|\@\@\@TCHOME\@\@\@|%{homedir}|g" \
-e "s|\@\@\@TCTEMP\@\@\@|%{tempdir}|g" \
-e "s|\@\@\@LIBDIR\@\@\@|%{_libdir}|g" %{SOURCE6} \
> ${RPM_BUILD_ROOT}%{_bindir}/%{name}-digest
%{__sed} -e "s|\@\@\@TCHOME\@\@\@|%{homedir}|g" \
-e "s|\@\@\@TCTEMP\@\@\@|%{tempdir}|g" \
-e "s|\@\@\@LIBDIR\@\@\@|%{_libdir}|g" %{SOURCE7} \
> ${RPM_BUILD_ROOT}%{_bindir}/%{name}-tool-wrapper
# symlink to the FHS locations where we've installed things
pushd ${RPM_BUILD_ROOT}%{homedir}
%{__ln_s} %{confdir} conf
%{__ln_s} %{logdir} logs
%{__ln_s} %{tempdir} temp
%{__ln_s} %{workdir} work
%{__ln_s} %{webappdir} webapps
popd
%pre
# add the tomcat user and group
%{_sbindir}/groupadd -g %{tcuid} -r tomcat 2>/dev/null || :
%{_sbindir}/useradd -c "Apache Tomcat" -u %{tcuid} -g tomcat \
-s /bin/nologin -r -d %{homedir} tomcat 2>/dev/null || :
## In case user tomcat exists already from a previous tomcat6 install, fix the homedir.
#%{_sbindir}/usermod -d %{homedir} tomcat 2>/dev/null || :
%post
# install but don't activate
/sbin/chkconfig --add %{name}
%preun
# clean tempdir and workdir on removal or upgrade
%{__rm} -rf %{workdir} %{tempdir}
if [ "$1" = "0" ]; then
%{initrddir}/%{name} stop >/dev/null 2>&1
/sbin/chkconfig --del %{name}
fi
# base package
%files
%defattr(0664,root,tomcat,0775)
# % % doc {LICENSE,NOTICE,RELEASE*}
# attribute flags for rpm support and config files
%attr(0755,root,root) %{_bindir}/%{name}-digest
%attr(0755,root,root) %{_bindir}/%{name}-tool-wrapper
%attr(0755,root,root) %{_sbindir}/d%{name}
%attr(0755,root,root) %{_sbindir}/%{name}
%attr(0755,root,root) %{initrddir}/%{name}
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
# attribute flags for basic tomcat directories and config files
%attr(0765,root,tomcat) %dir %{basedir}
%attr(0775,root,tomcat) %dir %{webappdir}
%attr(0775,root,tomcat) %dir %{cachedir}
%attr(0775,root,tomcat) %dir %{tempdir}
%attr(0775,root,tomcat) %dir %{workdir}
# (from sl spec)
%attr(0775,root,tomcat) %dir %{logdir}
%attr(0644,tomcat,tomcat) %{logdir}/catalina.out
%attr(0775,root,tomcat) %dir %{confdir}
%attr(0775,root,tomcat) %dir %{confdir}/Catalina
%attr(0775,root,tomcat) %dir %{confdir}/Catalina/localhost
%attr(0664,tomcat,tomcat) %config(noreplace) %{confdir}/%{name}.conf
%attr(0664,tomcat,tomcat) %config(noreplace) %{confdir}/*.policy
%attr(0664,tomcat,tomcat) %config(noreplace) %{confdir}/*.properties
%attr(0664,tomcat,tomcat) %config(noreplace) %{confdir}/context.xml
%attr(0664,tomcat,tomcat) %config(noreplace) %{confdir}/server.xml
%attr(0664,tomcat,tomcat) %config(noreplace) %{confdir}/tomcat-users.xml
%attr(0666,tomcat,tomcat) %config(noreplace) %{confdir}/web.xml
%dir %{homedir}
# specify files to include in package for installation
%{homedir}/LICENSE
%{homedir}/NOTICE
%{homedir}/RELEASE*
%{homedir}/bin
%{homedir}/lib
%{homedir}/temp
%{homedir}/webapps
%{homedir}/work
%{homedir}/logs
%{homedir}/conf
%files admin-webapps
%defattr(0664,root,tomcat,0775)
%{webappdir}/host-manager
%{webappdir}/manager
%files docs-webapp
%defattr(-,root,root,-)
%{webappdir}/docs
%files webapps
%defattr(0664,root,tomcat,0775)
%{webappdir}/ROOT
%{webappdir}/examples
%changelog
* Sun Jun 21 2014 Peter Boy <pboy@zes.uni-bremen.de> 0:7.0.53-1
- Initial release, heavily borrowed from jpp, Scientific Linux,
and CentOS

View File

@ -15,6 +15,16 @@
<location>.</location> <location>.</location>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</source-folder> </source-folder>
<source-folder>
<label>webapps</label>
<type>doc_root</type>
<location>runtime/webapps</location>
</source-folder>
<source-folder>
<label>WEB-INF</label>
<type>web_inf</type>
<location>runtime/webapps/WEB-INF</location>
</source-folder>
<source-folder> <source-folder>
<label>ccm-core (Source)</label> <label>ccm-core (Source)</label>
<type>java</type> <type>java</type>
@ -51,12 +61,24 @@
<location>ccm-cms-assets-notes/src</location> <location>ccm-cms-assets-notes/src</location>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</source-folder> </source-folder>
<source-folder>
<label>ccm-cms-assets-orgaunittext (Source)</label>
<type>java</type>
<location>ccm-cms-assets-orgaunittext/src</location>
<encoding>UTF-8</encoding>
</source-folder>
<source-folder> <source-folder>
<label>ccm-cms-assets-relatedlink (Source)</label> <label>ccm-cms-assets-relatedlink (Source)</label>
<type>java</type> <type>java</type>
<location>ccm-cms-assets-relatedlink/src</location> <location>ccm-cms-assets-relatedlink/src</location>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</source-folder> </source-folder>
<source-folder>
<label>ccm-cms-personalcontentcomponent (Source)</label>
<type>java</type>
<location>ccm-cms-personalcontentcomponent/src</location>
<encoding>UTF-8</encoding>
</source-folder>
<source-folder> <source-folder>
<label>ccm-cms-publicpersonalprofile (Source)</label> <label>ccm-cms-publicpersonalprofile (Source)</label>
<type>java</type> <type>java</type>
@ -142,9 +164,9 @@
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</source-folder> </source-folder>
<source-folder> <source-folder>
<label>ccm-cms-types-htmlform (Source)</label> <label>ccm-cms-types-historicdate (Source)</label>
<type>java</type> <type>java</type>
<location>ccm-cms-types-htmlform/src</location> <location>ccm-cms-types-historicdate/src</location>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</source-folder> </source-folder>
<source-folder> <source-folder>
@ -237,6 +259,12 @@
<location>ccm-cms-types-simpleaddress/src</location> <location>ccm-cms-types-simpleaddress/src</location>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</source-folder> </source-folder>
<source-folder>
<label>ccm-cms-types-simpleorganization (Source)</label>
<type>java</type>
<location>ccm-cms-types-simpleorganization/src</location>
<encoding>UTF-8</encoding>
</source-folder>
<source-folder> <source-folder>
<label>ccm-cms-types-siteproxy (Source)</label> <label>ccm-cms-types-siteproxy (Source)</label>
<type>java</type> <type>java</type>
@ -537,6 +565,30 @@
<location>ccm-lbc-wordxml/src</location> <location>ccm-lbc-wordxml/src</location>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</source-folder> </source-folder>
<source-folder>
<label>ccm-sci-assets-publicationsabout (Source)</label>
<type>java</type>
<location>ccm-sci-assets-publicationsabout/src</location>
<encoding>UTF-8</encoding>
</source-folder>
<source-folder>
<label>ccm-sci-assets-publicationslibrarysignatures (Source)</label>
<type>java</type>
<location>ccm-sci-assets-publicationslibrarysignatures/src</location>
<encoding>UTF-8</encoding>
</source-folder>
<source-folder>
<label>ccm-sci-assets-publicationspersons (Source)</label>
<type>java</type>
<location>ccm-sci-assets-publicationspersons/src</location>
<encoding>UTF-8</encoding>
</source-folder>
<source-folder>
<label>ccm-sci-assets-publicationspublicationtype (Source)</label>
<type>java</type>
<location>ccm-sci-assets-publicationspublicationtype/src</location>
<encoding>UTF-8</encoding>
</source-folder>
<source-folder> <source-folder>
<label>ccm-sci-bundle (Source)</label> <label>ccm-sci-bundle (Source)</label>
<type>java</type> <type>java</type>
@ -561,6 +613,36 @@
<location>ccm-sci-publications/src</location> <location>ccm-sci-publications/src</location>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</source-folder> </source-folder>
<source-folder>
<label>ccm-sci-publicationscvsexporter (Source)</label>
<type>java</type>
<location>ccm-sci-publicationscvsexporter/src</location>
<encoding>UTF-8</encoding>
</source-folder>
<source-folder>
<label>ccm-sci-publicationscvsimporter (Source)</label>
<type>java</type>
<location>ccm-sci-publicationscvsimporter/src</location>
<encoding>UTF-8</encoding>
</source-folder>
<source-folder>
<label>ccm-sci-publications-dramaticarts (Source)</label>
<type>java</type>
<location>ccm-sci-publications-dramaticarts/src</location>
<encoding>UTF-8</encoding>
</source-folder>
<source-folder>
<label>ccm-sci-publicationsexportlinks (Source)</label>
<type>java</type>
<location>ccm-sci-publicationsexportlinks/src</location>
<encoding>UTF-8</encoding>
</source-folder>
<source-folder>
<label>ccm-sci-publications-researchreport (Source)</label>
<type>java</type>
<location>ccm-sci-publications-researchreport/src</location>
<encoding>UTF-8</encoding>
</source-folder>
<source-folder> <source-folder>
<label>ccm-sci-types-department (Source)</label> <label>ccm-sci-types-department (Source)</label>
<type>java</type> <type>java</type>
@ -585,16 +667,6 @@
<location>ccm-sci-types-project/src</location> <location>ccm-sci-types-project/src</location>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</source-folder> </source-folder>
<source-folder>
<label>webapps</label>
<type>doc_root</type>
<location>runtime/webapps</location>
</source-folder>
<source-folder>
<label>WEB-INF</label>
<type>web_inf</type>
<location>runtime/webapps/WEB-INF</location>
</source-folder>
</folders> </folders>
<ide-actions> <ide-actions>
<action name="build"> <action name="build">
@ -662,10 +734,18 @@
<label>ccm-cms-assets-notes (Source)</label> <label>ccm-cms-assets-notes (Source)</label>
<location>ccm-cms-assets-notes/src</location> <location>ccm-cms-assets-notes/src</location>
</source-folder> </source-folder>
<source-folder style="packages">
<label>ccm-cms-assets-orgaunittext (Source)</label>
<location>ccm-cms-assets-orgaunittext/src</location>
</source-folder>
<source-folder style="packages"> <source-folder style="packages">
<label>ccm-cms-assets-relatedlink (Source)</label> <label>ccm-cms-assets-relatedlink (Source)</label>
<location>ccm-cms-assets-relatedlink/src</location> <location>ccm-cms-assets-relatedlink/src</location>
</source-folder> </source-folder>
<source-folder style="packages">
<label>ccm-cms-personalcontentcomponent (Source)</label>
<location>ccm-cms-personalcontentcomponent/src</location>
</source-folder>
<source-folder style="packages"> <source-folder style="packages">
<label>ccm-cms-publicpersonalprofile (Source)</label> <label>ccm-cms-publicpersonalprofile (Source)</label>
<location>ccm-cms-publicpersonalprofile/src</location> <location>ccm-cms-publicpersonalprofile/src</location>
@ -723,8 +803,8 @@
<location>ccm-cms-types-healthCareFacility/src</location> <location>ccm-cms-types-healthCareFacility/src</location>
</source-folder> </source-folder>
<source-folder style="packages"> <source-folder style="packages">
<label>ccm-cms-types-htmlform (Source)</label> <label>ccm-cms-types-historicdate (Source)</label>
<location>ccm-cms-types-htmlform/src</location> <location>ccm-cms-types-historicdate/src</location>
</source-folder> </source-folder>
<source-folder style="packages"> <source-folder style="packages">
<label>ccm-cms-types-image (Source)</label> <label>ccm-cms-types-image (Source)</label>
@ -786,6 +866,10 @@
<label>ccm-cms-types-simpleaddress (Source)</label> <label>ccm-cms-types-simpleaddress (Source)</label>
<location>ccm-cms-types-simpleaddress/src</location> <location>ccm-cms-types-simpleaddress/src</location>
</source-folder> </source-folder>
<source-folder style="packages">
<label>ccm-cms-types-simpleorganisation (Source)</label>
<location>ccm-cms-types-simpleorganisation/src</location>
</source-folder>
<source-folder style="packages"> <source-folder style="packages">
<label>ccm-cms-types-siteproxy (Source)</label> <label>ccm-cms-types-siteproxy (Source)</label>
<location>ccm-cms-types-siteproxy/src</location> <location>ccm-cms-types-siteproxy/src</location>
@ -946,6 +1030,10 @@
<label>ccm-ldn-types-contact (Source)</label> <label>ccm-ldn-types-contact (Source)</label>
<location>ccm-ldn-types-contact/src</location> <location>ccm-ldn-types-contact/src</location>
</source-folder> </source-folder>
<source-folder style="packages">
<label>ccm-ldn-types-councillor (Source)</label>
<location>ccm-ldn-types-councillor/src</location>
</source-folder>
<source-folder style="packages"> <source-folder style="packages">
<label>ccm-ldn-types-esdservice (Source)</label> <label>ccm-ldn-types-esdservice (Source)</label>
<location>ccm-ldn-types-esdservice/src</location> <location>ccm-ldn-types-esdservice/src</location>
@ -986,6 +1074,22 @@
<label>ccm-lbc-wordxml (Source)</label> <label>ccm-lbc-wordxml (Source)</label>
<location>ccm-lbc-wordxml/src</location> <location>ccm-lbc-wordxml/src</location>
</source-folder> </source-folder>
<source-folder style="packages">
<label>ccm-sci-assets-publicationsabout (Source)</label>
<location>ccm-sci-assets-publicationsabout/src</location>
</source-folder>
<source-folder style="packages">
<label>ccm-sci-assets-publicationslibrarysignatures (Source)</label>
<location>ccm-sci-assets-publicationslibrarysignatures/src</location>
</source-folder>
<source-folder style="packages">
<label>ccm-sci-assets-publicationspersons (Source)</label>
<location>ccm-sci-assets-publicationspersons/src</location>
</source-folder>
<source-folder style="packages">
<label>ccm-sci-assets-publicationspublicationtype (Source)</label>
<location>ccm-sci-assets-publicationspublicationtype/src</location>
</source-folder>
<source-folder style="packages"> <source-folder style="packages">
<label>ccm-sci-bundle (Source)</label> <label>ccm-sci-bundle (Source)</label>
<location>ccm-sci-bundle/src</location> <location>ccm-sci-bundle/src</location>
@ -1002,6 +1106,26 @@
<label>ccm-sci-publications (Source)</label> <label>ccm-sci-publications (Source)</label>
<location>ccm-sci-publications/src</location> <location>ccm-sci-publications/src</location>
</source-folder> </source-folder>
<source-folder style="packages">
<label>ccm-sci-publicationscvsexporter (Source)</label>
<location>ccm-sci-cvsexporter/src</location>
</source-folder>
<source-folder style="packages">
<label>ccm-sci-publicationscvsimporter (Source)</label>
<location>ccm-sci-publicationscvsimporter/src</location>
</source-folder>
<source-folder style="packages">
<label>ccm-sci-publications-dramaticarts (Source)</label>
<location>ccm-sci-publications-dramaticarts/src</location>
</source-folder>
<source-folder style="packages">
<label>ccm-sci-publicationsexportlinks (Source)</label>
<location>ccm-sci-publicationsexportlinks/src</location>
</source-folder>
<source-folder style="packages">
<label>ccm-sci-publications-researchreport (Source)</label>
<location>ccm-sci-publications-researchreport/src</location>
</source-folder>
<source-folder style="packages"> <source-folder style="packages">
<label>ccm-sci-types-department (Source)</label> <label>ccm-sci-types-department (Source)</label>
<location>ccm-sci-types-department/src</location> <location>ccm-sci-types-department/src</location>
@ -1043,7 +1167,9 @@
<package-root>ccm-cms-assets-fileattachment/src</package-root> <package-root>ccm-cms-assets-fileattachment/src</package-root>
<package-root>ccm-cms-assets-imagestep/src</package-root> <package-root>ccm-cms-assets-imagestep/src</package-root>
<package-root>ccm-cms-assets-notes/src</package-root> <package-root>ccm-cms-assets-notes/src</package-root>
<package-root>ccm-cms-assets-orgaunittext/src</package-root>
<package-root>ccm-cms-assets-relatedlink/src</package-root> <package-root>ccm-cms-assets-relatedlink/src</package-root>
<package-root>ccm-cms-personalcontentcomponent/src</package-root>
<package-root>ccm-cms-publicpersonalprofile/src</package-root> <package-root>ccm-cms-publicpersonalprofile/src</package-root>
<package-root>ccm-cms-types-address/src</package-root> <package-root>ccm-cms-types-address/src</package-root>
<package-root>ccm-cms-types-agenda/src</package-root> <package-root>ccm-cms-types-agenda/src</package-root>
@ -1059,7 +1185,7 @@
<package-root>ccm-cms-types-formsectionitem/src</package-root> <package-root>ccm-cms-types-formsectionitem/src</package-root>
<package-root>ccm-cms-types-glossaryitem/src</package-root> <package-root>ccm-cms-types-glossaryitem/src</package-root>
<package-root>ccm-cms-types-healthCareFacility/src</package-root> <package-root>ccm-cms-types-healthCareFacility/src</package-root>
<package-root>ccm-cms-types-htmlform/src</package-root> <package-root>ccm-cms-types-historicdate/src</package-root>
<package-root>ccm-cms-types-image/src</package-root> <package-root>ccm-cms-types-image/src</package-root>
<package-root>ccm-cms-types-inlinesite/src</package-root> <package-root>ccm-cms-types-inlinesite/src</package-root>
<package-root>ccm-cms-types-job/src</package-root> <package-root>ccm-cms-types-job/src</package-root>
@ -1075,6 +1201,7 @@
<package-root>ccm-cms-types-researchnetwork/src</package-root> <package-root>ccm-cms-types-researchnetwork/src</package-root>
<package-root>ccm-cms-types-service/src</package-root> <package-root>ccm-cms-types-service/src</package-root>
<package-root>ccm-cms-types-simpleaddress/src</package-root> <package-root>ccm-cms-types-simpleaddress/src</package-root>
<package-root>ccm-cms-types-simpleorganisation/src</package-root>
<package-root>ccm-cms-types-siteproxy/src</package-root> <package-root>ccm-cms-types-siteproxy/src</package-root>
<package-root>ccm-cms-types-survey/src</package-root> <package-root>ccm-cms-types-survey/src</package-root>
<package-root>ccm-cms-types-xmlfeed/src</package-root> <package-root>ccm-cms-types-xmlfeed/src</package-root>
@ -1107,6 +1234,7 @@
<package-root>ccm-webpage/src</package-root> <package-root>ccm-webpage/src</package-root>
<package-root>ccm-ldn-aplaws/src</package-root> <package-root>ccm-ldn-aplaws/src</package-root>
<package-root>ccm-ldn-atoz/src</package-root> <package-root>ccm-ldn-atoz/src</package-root>
<package-root>ccm-ldn-atoz-siteproxy/src</package-root>
<package-root>ccm-ldn-dublin/src</package-root> <package-root>ccm-ldn-dublin/src</package-root>
<package-root>ccm-ldn-exporter/src</package-root> <package-root>ccm-ldn-exporter/src</package-root>
<package-root>ccm-ldn-freeform/src</package-root> <package-root>ccm-ldn-freeform/src</package-root>
@ -1114,6 +1242,7 @@
<package-root>ccm-ldn-search/src</package-root> <package-root>ccm-ldn-search/src</package-root>
<package-root>ccm-ldn-terms/src</package-root> <package-root>ccm-ldn-terms/src</package-root>
<package-root>ccm-ldn-types-contact/src</package-root> <package-root>ccm-ldn-types-contact/src</package-root>
<package-root>ccm-ldn-types-councillor/src</package-root>
<package-root>ccm-ldn-types-esdservice/src</package-root> <package-root>ccm-ldn-types-esdservice/src</package-root>
<package-root>ccm-ldn-userpreferences/src</package-root> <package-root>ccm-ldn-userpreferences/src</package-root>
<package-root>ccm-ldn-util/src</package-root> <package-root>ccm-ldn-util/src</package-root>
@ -1124,15 +1253,24 @@
<package-root>ccm-lbc-foi/src</package-root> <package-root>ccm-lbc-foi/src</package-root>
<package-root>ccm-lbc-retention/src</package-root> <package-root>ccm-lbc-retention/src</package-root>
<package-root>ccm-lbc-wordxml/src</package-root> <package-root>ccm-lbc-wordxml/src</package-root>
<package-root>ccm-sci-assets-publicationsabout/src</package-root>
<package-root>ccm-sci-assets-publicationslibrarysignatures/src</package-root>
<package-root>ccm-sci-assets-publicationspersons/src</package-root>
<package-root>ccm-sci-assets-publicationspublicationtype/src</package-root>
<package-root>ccm-sci-bundle/src</package-root> <package-root>ccm-sci-bundle/src</package-root>
<package-root>ccm-sci-personalprojects/src</package-root> <package-root>ccm-sci-personalprojects/src</package-root>
<package-root>ccm-sci-personalpublications/src</package-root> <package-root>ccm-sci-personalpublications/src</package-root>
<package-root>ccm-sci-publications/src</package-root> <package-root>ccm-sci-publications/src</package-root>
<package-root>ccm-sci-publicationscsvexporter/src</package-root>
<package-root>ccm-sci-publicationscsvimporter/src</package-root>
<package-root>ccm-sci-publications-dramaticarts/src</package-root>
<package-root>ccm-sci-publicationsexportlinks/src</package-root>
<package-root>ccm-sci-publications-researchreport/src</package-root>
<package-root>ccm-sci-types-department/src</package-root> <package-root>ccm-sci-types-department/src</package-root>
<package-root>ccm-sci-types-institute/src</package-root> <package-root>ccm-sci-types-institute/src</package-root>
<package-root>ccm-sci-types-member/src</package-root> <package-root>ccm-sci-types-member/src</package-root>
<package-root>ccm-sci-types-project/src</package-root> <package-root>ccm-sci-types-project/src</package-root>
<classpath mode="compile">ccm-core/lib/log4j.jar:ccm-core/lib/mail.jar:ccm-core/lib/commons-beanutils.jar:ccm-core/lib/commons-cli-1.0.jar:ccm-core/lib/commons-collections-3.0.jar:ccm-core/lib/commons-codec-1.3.jar:ccm-core/lib/commons-fileupload-1.1.1.jar:ccm-core/lib/commons-io-1.3.1.jar:ccm-core/lib/commons-lang-2.1.jar:ccm-core/lib/commons-primitives-1.0.jar:ccm-core/lib/xercesImpl.jar:ccm-core/lib/jakarta-oro-2.0.8.jar:ccm-core/lib/Tidy.jar:ccm-core/lib/imgscalr-lib-4.3-SNAPSHOT.jar:ccm-core/lib/jdom.jar:ccm-core/lib/jdxslt.jar:ccm-core/lib/lucene-core-2.4.0.jar:ccm-core/lib/saxon.jar:ccm-core/lib/poi-2.5-final-20040302.jar:ccm-core/lib/pdfbox-1.4.0.jar:ccm-core/lib/tm-extractors-0.4.jar:ccm-core/lib/bcprov-jdk16-144.jar:ccm-cms/lib/jai_codec.jar:ccm-cms/lib/jai_core.jar:ccm-cms/lib/mlibwrapper_jai.jar:ccm-ldn-search/lib/axis.jar:ccm-ldn-search/lib/jaxrpc.jar:ccm-ldn-search/lib/jobo.jar:ccm-ldn-terms/lib/commons-digester.jar:ccm-ldn-terms/lib/jena.jar:ccm-ldn-terms/lib/snowball.jar:ccm-ldn-terms/lib/weka-3.5.5.jar:ccm-ldn-terms/lib/xstream-1.3.1.jar:ccm-formbuilder-pdf/lib/fop.jar:ccm-sci-publications/lib/jbibtex-1.0.2.jar:tools-ng/devel/lib/ojdbc14.jar:tools-ng/devel/lib/postgresql-jdbc.jar:tools-ng/devel/lib/servlet-api.jar:tools-ng/devel/lib/jsp-api.jar</classpath> <classpath mode="compile">ccm-core/lib/log4j.jar:ccm-core/lib/mail.jar:ccm-core/lib/commons-beanutils.jar:ccm-core/lib/commons-cli-1.0.jar:ccm-core/lib/commons-collections-3.0.jar:ccm-core/lib/commons-codec-1.3.jar:ccm-core/lib/commons-fileupload-1.1.1.jar:ccm-core/lib/commons-io-1.3.1.jar:ccm-core/lib/commons-lang-2.1.jar:ccm-core/lib/commons-primitives-1.0.jar:ccm-core/lib/xercesImpl.jar:ccm-core/lib/jakarta-oro-2.0.8.jar:ccm-core/lib/Tidy.jar:ccm-core/lib/imgscalr-lib-4.3-SNAPSHOT.jar:ccm-core/lib/jdom.jar:ccm-core/lib/jdxslt.jar:ccm-core/lib/lucene-core-2.4.0.jar:ccm-core/lib/saxon.jar:ccm-core/lib/poi-2.5-final-20040302.jar:ccm-core/lib/pdfbox-1.4.0.jar:ccm-core/lib/tm-extractors-0.4.jar:ccm-core/lib/bcprov-jdk16-144.jar:ccm-cms/lib/jai_codec.jar:ccm-cms/lib/jai_core.jar:ccm-cms/lib/mlibwrapper_jai.jar:ccm-ldn-search/lib/axis.jar:ccm-ldn-search/lib/jaxrpc.jar:ccm-ldn-search/lib/jobo.jar:ccm-ldn-terms/lib/commons-digester.jar:ccm-ldn-terms/lib/jena.jar:ccm-ldn-terms/lib/snowball.jar:ccm-ldn-terms/lib/weka-3.5.5.jar:ccm-ldn-terms/lib/xstream-1.3.1.jar:ccm-formbuilder-pdf/lib/fop.jar:ccm-sci-publications/lib/jbibtex-1.0.2.jar:tools-ng/devel/lib/ojdbc14.jar:tools-ng/devel/lib/servlet-api.jar:tools-ng/devel/lib/jsp-api.jar:tools-ng/devel/lib/portlet-2.0.jar</classpath>
<source-level>1.6</source-level> <source-level>1.6</source-level>
</compilation-unit> </compilation-unit>
</java-data> </java-data>