From: <fg...@us...> - 2008-05-05 23:13:35
|
Revision: 809 http://openutils.svn.sourceforge.net/openutils/?rev=809&view=rev Author: fgiust Date: 2008-05-05 16:11:37 -0700 (Mon, 05 May 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnlstripes-3.5 Added Paths: ----------- tags/openutils-mgnlstripes-3.5/ tags/openutils-mgnlstripes-3.5/pom.xml tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedFormTag.java tags/openutils-mgnlstripes-3.5/src/main/resources/META-INF/mgnlstripes.tld tags/openutils-mgnlstripes-3.5/src/site/apt/index.apt tags/openutils-mgnlstripes-3.5/src/site/changes/changes.xml Removed Paths: ------------- tags/openutils-mgnlstripes-3.5/pom.xml tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedFormTag.java tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedLabelTag.java tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedMessagesTag.java tags/openutils-mgnlstripes-3.5/src/site/apt/index.apt tags/openutils-mgnlstripes-3.5/src/site/changes/changes.xml Copied: tags/openutils-mgnlstripes-3.5 (from rev 806, trunk/openutils-mgnlstripes) Deleted: tags/openutils-mgnlstripes-3.5/pom.xml =================================================================== --- trunk/openutils-mgnlstripes/pom.xml 2008-04-29 12:54:36 UTC (rev 806) +++ tags/openutils-mgnlstripes-3.5/pom.xml 2008-05-05 23:11:37 UTC (rev 809) @@ -1,100 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <modelVersion>4.0.0</modelVersion> - <packaging>jar</packaging> - <artifactId>openutils-mgnlstripes</artifactId> - <name>openutils-mgnlstripes</name> - <version>3.5-SNAPSHOT</version> - <licenses> - <license> - <name>GPLv3</name> - <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> - </license> - </licenses> - <build> - <resources> - <resource> - <filtering>false</filtering> - <directory>src/main/resources</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - <resource> - <filtering>true</filtering> - <directory>src/main/resources</directory> - <includes> - <include>META-INF/magnolia/*</include> - </includes> - </resource> - </resources> - </build> - <dependencies> - <dependency> - <groupId>net.sourceforge.stripes</groupId> - <artifactId>stripes</artifactId> - <version>1.4.3</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-core</artifactId> - <version>3.5.4</version> - </dependency> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-module-admininterface</artifactId> - <version>3.5.4</version> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - <version>2.4</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>jsp-api</artifactId> - <version>2.0</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <classifier>jdk15</classifier> - <version>5.7</version> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - <repositories> - <repository> - <id>repository.magnolia.info</id> - <name>magnolia repository</name> - <url>http://repo.magnolia.info/m2</url> - <releases> - <enabled>true</enabled> - </releases> - <snapshots> - <enabled>false</enabled> - </snapshots> - </repository> - </repositories> -</project> Copied: tags/openutils-mgnlstripes-3.5/pom.xml (from rev 808, trunk/openutils-mgnlstripes/pom.xml) =================================================================== --- tags/openutils-mgnlstripes-3.5/pom.xml (rev 0) +++ tags/openutils-mgnlstripes-3.5/pom.xml 2008-05-05 23:11:37 UTC (rev 809) @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <packaging>jar</packaging> + <artifactId>openutils-mgnlstripes</artifactId> + <name>openutils-mgnlstripes</name> + <version>3.5</version> + <licenses> + <license> + <name>GPLv3</name> + <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> + </license> + </licenses> + <build> + <resources> + <resource> + <filtering>false</filtering> + <directory>src/main/resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <filtering>true</filtering> + <directory>src/main/resources</directory> + <includes> + <include>META-INF/magnolia/*</include> + </includes> + </resource> + </resources> + </build> + <dependencies> + <dependency> + <groupId>net.sourceforge.stripes</groupId> + <artifactId>stripes</artifactId> + <version>1.4.3</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-core</artifactId> + <version>3.5.4</version> + </dependency> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-module-admininterface</artifactId> + <version>3.5.4</version> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>2.4</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>jsp-api</artifactId> + <version>2.0</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <classifier>jdk15</classifier> + <version>5.7</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + <repositories> + <repository> + <id>repository.magnolia.info</id> + <name>magnolia repository</name> + <url>http://repo.magnolia.info/m2</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlstripes-3.5</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlstripes-3.5</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnlstripes-3.5</url> + </scm> +</project> Deleted: tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedFormTag.java =================================================================== --- trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/tag/ExtendedFormTag.java 2008-04-29 12:54:36 UTC (rev 806) +++ tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedFormTag.java 2008-05-05 23:11:37 UTC (rev 809) @@ -1,63 +0,0 @@ -/** - * Copyright Openmind http://www.openmindonline.it - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ -package it.openutils.magnoliastripes.tag; - -import net.sourceforge.stripes.exception.StripesJspException; -import net.sourceforge.stripes.tag.FormTag; - - -/** - * @author fgiust - * @version $Id: $ - */ -public class ExtendedFormTag extends FormTag -{ - - /** - * Sets the 'action' attribute by inspecting the bean class provided and asking the current ActionResolver what the - * appropriate URL is. - * @param beanclass the Strin FQN of the class, or a Class representing the class - * @throws StripesJspException if the URL cannot be determined for any reason, most likely because of a mis-spelled - * class name, or a class that's not an ActionBean - */ - @Override - public void setBeanclass(Object beanclass) throws StripesJspException - { - String url = getActionBeanUrl(beanclass); - if (url == null) - { - throw new StripesJspException("Could not determine action from 'beanclass' supplied. " - + "The value supplied was '" - + beanclass - + "'. Please ensure that this bean type " - + "exists and is in the classpath. If you are developing a page and the ActionBean " - + "does not yet exist, consider using the 'action' attribute instead for now."); - } - else - { - String currentAction = get("action"); - - setAction(url); - - if (currentAction != null) - { - set("action", currentAction); - } - } - } -} Copied: tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedFormTag.java (from rev 807, trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/tag/ExtendedFormTag.java) =================================================================== --- tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedFormTag.java (rev 0) +++ tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedFormTag.java 2008-05-05 23:11:37 UTC (rev 809) @@ -0,0 +1,67 @@ +/** + * Copyright Openmind http://www.openmindonline.it + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ +package it.openutils.magnoliastripes.tag; + +import net.sourceforge.stripes.exception.StripesJspException; +import net.sourceforge.stripes.tag.FormTag; + + +/** + * <p> + * workaround needed to create a form tag with an "url" attribute different from the actionbean mapped uri. Could be + * solved more cleanly by http://mc4j.org/jira/browse/STS-349, which will be available in stripes 1.5 + * </p> + * @author fgiust + * @version $Id: $ + */ +public class ExtendedFormTag extends FormTag +{ + + /** + * Sets the 'action' attribute by inspecting the bean class provided and asking the current ActionResolver what the + * appropriate URL is. + * @param beanclass the Strin FQN of the class, or a Class representing the class + * @throws StripesJspException if the URL cannot be determined for any reason, most likely because of a mis-spelled + * class name, or a class that's not an ActionBean + */ + @Override + public void setBeanclass(Object beanclass) throws StripesJspException + { + String url = getActionBeanUrl(beanclass); + if (url == null) + { + throw new StripesJspException("Could not determine action from 'beanclass' supplied. " + + "The value supplied was '" + + beanclass + + "'. Please ensure that this bean type " + + "exists and is in the classpath. If you are developing a page and the ActionBean " + + "does not yet exist, consider using the 'action' attribute instead for now."); + } + else + { + String currentAction = get("action"); + + setAction(url); + + if (currentAction != null) + { + set("action", currentAction); + } + } + } +} Deleted: tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedLabelTag.java =================================================================== --- trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/tag/ExtendedLabelTag.java 2008-04-29 12:54:36 UTC (rev 806) +++ tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedLabelTag.java 2008-05-05 23:11:37 UTC (rev 809) @@ -1,276 +0,0 @@ -/** - * Copyright Openmind http://www.openmindonline.it - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ -package it.openutils.magnoliastripes.tag; - -import java.io.IOException; -import java.lang.reflect.Field; -import java.lang.reflect.Method; -import java.lang.reflect.Modifier; -import java.util.HashMap; -import java.util.Map; - -import javax.servlet.jsp.JspException; - -import net.sourceforge.stripes.action.ActionBean; -import net.sourceforge.stripes.controller.ParameterName; -import net.sourceforge.stripes.exception.StripesJspException; -import net.sourceforge.stripes.tag.InputLabelTag; -import net.sourceforge.stripes.validation.Validate; -import net.sourceforge.stripes.validation.ValidateNestedProperties; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - - -/** - * @author molaschi - * @version $Id: $ - */ -public class ExtendedLabelTag extends InputLabelTag -{ - - /** - * Logger. - */ - private Logger log = LoggerFactory.getLogger(ExtendedLabelTag.class); - - boolean nameSet = false; - - /** - * {@inheritDoc} - */ - @Override - public void setName(String name) - { - // TODO Auto-generated method stub - super.setName(name); - this.nameSet = true; - } - - /** - * {@inheritDoc} - */ - @Override - public int doEndInputTag() throws JspException - { - try - { - String label = getLocalizedFieldName(); - String fieldName = getAttributes().remove("name"); - - if (label == null) - { - label = getBodyContentAsString(); - } - - if (label == null) - { - label = "Label could not find localized field name and had no body."; - } - - if (isRequiredField(this.getActionBean(), fieldName)) - { - String cssClass = get("class"); - if (cssClass != null) - { - set("class", cssClass + " required"); - } - else - { - set("class","required"); - } - } - - // Write out the tag - writeOpenTag(getPageContext().getOut(), "label"); - getPageContext().getOut().write(label); - writeCloseTag(getPageContext().getOut(), "label"); - - // Reset the field name so as to not screw up tag pooling - if (this.nameSet) - { - super.setName(fieldName); - } - - set("class", null); - - return EVAL_PAGE; - } - catch (IOException ioe) - { - throw new StripesJspException("Encountered an exception while trying to write to " - + "the output from the stripes:label tag handler class, InputLabelTag.", ioe); - } - } - - protected boolean isRequiredField(ActionBean bean, String name) - { - - ParameterName param = new ParameterName(name); - boolean isIndexed = param.isIndexed(); - - Map<String, Validate> validationInfos = getValidations(bean.getClass()); - - if (validationInfos != null) - { - - for (Map.Entry<String, Validate> entry : validationInfos.entrySet()) - { - String propertyName = entry.getKey(); - Validate validationInfo = entry.getValue(); - - if (name.equals(propertyName) && validationInfo.required() && !isIndexed) - { - return true; - } - } - } - - if (isIndexed) - { - - Validate validationInfo = validationInfos.get(param.getStrippedName()); - - if (validationInfo != null && validationInfo.required()) - { - return true; - } - } - return false; - } - - @SuppressWarnings("unchecked") - protected Map<String, Validate> getValidations(Class< ? extends ActionBean> clazz) - { - if (this.pageContext.getAttribute("validationInfos") != null) - { - Map<String, Map<String, Validate>> validationInfos = (Map<String, Map<String, Validate>>) this.pageContext - .getAttribute("validationInfos"); - if (validationInfos.containsKey(clazz.getName())) - { - return validationInfos.get(clazz.getName()); - } - else - { - Map<String, Validate> fieldValidations = new HashMap<String, Validate>(); - processClassAnnotations(clazz, fieldValidations); - validationInfos.put(clazz.getName(), fieldValidations); - return fieldValidations; - } - } - else - { - Map<String, Map<String, Validate>> validationInfos = new HashMap<String, Map<String, Validate>>(); - Map<String, Validate> fieldValidations = new HashMap<String, Validate>(); - processClassAnnotations(clazz, fieldValidations); - validationInfos.put(clazz.getName(), fieldValidations); - this.pageContext.setAttribute("validationInfos", validationInfos); - return fieldValidations; - } - } - - @SuppressWarnings("unchecked") - protected void processClassAnnotations(Class clazz, Map<String, Validate> fieldValidations) - { - Class superclass = clazz.getSuperclass(); - if (superclass != null) - { - processClassAnnotations(superclass, fieldValidations); - } - - // Process the methods on the class - Method[] methods = clazz.getDeclaredMethods(); - for (Method method : methods) - { - if (!Modifier.isPublic(method.getModifiers())) - { - continue; // only public methods! - } - - Validate validation = method.getAnnotation(Validate.class); - if (validation != null && validation.required()) - { - String fieldName = getPropertyName(method.getName()); - fieldValidations.put(fieldName, validation); - } - - ValidateNestedProperties nested = method.getAnnotation(ValidateNestedProperties.class); - if (nested != null) - { - String fieldName = getPropertyName(method.getName()); - Validate[] validations = nested.value(); - for (Validate nestedValidate : validations) - { - if ("".equals(nestedValidate.field())) - { - log.warn("Nested validation used without field name: ", validation); - } - else - { - if (nestedValidate.required()) - { - fieldValidations.put(fieldName + "." + nestedValidate.field(), nestedValidate); - } - } - } - } - } - - // Process the fields for validation annotations - Field[] fields = clazz.getDeclaredFields(); - for (Field field : fields) - { - Validate validation = field.getAnnotation(Validate.class); - if (validation != null && validation.required()) - { - fieldValidations.put(field.getName(), validation); - } - - ValidateNestedProperties nested = field.getAnnotation(ValidateNestedProperties.class); - if (nested != null) - { - Validate[] validations = nested.value(); - for (Validate nestedValidate : validations) - { - if ("".equals(nestedValidate.field())) - { - log.warn("Nested validation used without field name: ", validation); - } - else - { - if (nestedValidate.required()) - { - fieldValidations.put(field.getName() + "." + nestedValidate.field(), nestedValidate); - } - } - } - } - } - } - - /** - * Helper method that returns the name of the property when supplied with the corresponding get or set method. Does - * not do anything particularly intelligent, just drops the first three characters and makes the next character - * lower case. - */ - protected String getPropertyName(String methodName) - { - return methodName.substring(3, 4).toLowerCase() + methodName.substring(4); - } - -} Deleted: tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedMessagesTag.java =================================================================== --- trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/tag/ExtendedMessagesTag.java 2008-04-29 12:54:36 UTC (rev 806) +++ tags/openutils-mgnlstripes-3.5/src/main/java/it/openutils/magnoliastripes/tag/ExtendedMessagesTag.java 2008-05-05 23:11:37 UTC (rev 809) @@ -1,276 +0,0 @@ -/** - * Copyright Openmind http://www.openmindonline.it - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ -package it.openutils.magnoliastripes.tag; - -import java.io.IOException; -import java.lang.reflect.Field; -import java.lang.reflect.Method; -import java.lang.reflect.Modifier; -import java.util.HashMap; -import java.util.Map; - -import javax.servlet.jsp.JspException; - -import net.sourceforge.stripes.action.ActionBean; -import net.sourceforge.stripes.controller.ParameterName; -import net.sourceforge.stripes.exception.StripesJspException; -import net.sourceforge.stripes.tag.InputLabelTag; -import net.sourceforge.stripes.validation.Validate; -import net.sourceforge.stripes.validation.ValidateNestedProperties; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - - -/** - * @author luca boati - * @version $Id$ - */ -public class ExtendedMessagesTag extends InputLabelTag -{ - - /** - * Logger. - */ - private Logger log = LoggerFactory.getLogger(ExtendedMessagesTag.class); - - boolean nameSet = false; - - /** - * {@inheritDoc} - */ - @Override - public void setName(String name) - { - // TODO Auto-generated method stub - super.setName(name); - this.nameSet = true; - } - - /** - * {@inheritDoc} - */ - @Override - public int doEndInputTag() throws JspException - { - try - { - String label = getLocalizedFieldName(); - String fieldName = getAttributes().remove("name"); - - if (label == null) - { - label = getBodyContentAsString(); - } - - if (label == null) - { - label = "Label could not find localized field name and had no body."; - } - - // if (isRequiredField(this.getActionBean(), fieldName)) - // { - // String cssClass = get("class"); - // if (cssClass != null) - // { - // set("class", cssClass + " required"); - // } - // else - // { - // set("class", "required"); - // } - // } - - // Write out the tag - // writeOpenTag(getPageContext().getOut(), "label"); - getPageContext().getOut().write(label); - // writeCloseTag(getPageContext().getOut(), "label"); - - // Reset the field name so as to not screw up tag pooling - if (this.nameSet) - { - super.setName(fieldName); - } - - // set("class", null); - - return EVAL_PAGE; - } - catch (IOException ioe) - { - throw new StripesJspException("Encountered an exception while trying to write to " - + "the output from the stripes:label tag handler class, InputLabelTag.", ioe); - } - } - - protected boolean isRequiredField(ActionBean bean, String name) - { - - ParameterName param = new ParameterName(name); - boolean isIndexed = param.isIndexed(); - - Map<String, Validate> validationInfos = getValidations(bean.getClass()); - - if (validationInfos != null) - { - - for (Map.Entry<String, Validate> entry : validationInfos.entrySet()) - { - String propertyName = entry.getKey(); - Validate validationInfo = entry.getValue(); - - if (name.equals(propertyName) && validationInfo.required() && !isIndexed) - { - return true; - } - } - } - - if (isIndexed) - { - - Validate validationInfo = validationInfos.get(param.getStrippedName()); - - if (validationInfo != null && validationInfo.required()) - { - return true; - } - } - return false; - } - - @SuppressWarnings("unchecked") - protected Map<String, Validate> getValidations(Class< ? extends ActionBean> clazz) - { - if (this.pageContext.getAttribute("validationInfos") != null) - { - Map<String, Map<String, Validate>> validationInfos = (Map<String, Map<String, Validate>>) this.pageContext - .getAttribute("validationInfos"); - if (validationInfos.containsKey(clazz.getName())) - { - return validationInfos.get(clazz.getName()); - } - else - { - Map<String, Validate> fieldValidations = new HashMap<String, Validate>(); - processClassAnnotations(clazz, fieldValidations); - validationInfos.put(clazz.getName(), fieldValidations); - return fieldValidations; - } - } - else - { - Map<String, Map<String, Validate>> validationInfos = new HashMap<String, Map<String, Validate>>(); - Map<String, Validate> fieldValidations = new HashMap<String, Validate>(); - processClassAnnotations(clazz, fieldValidations); - validationInfos.put(clazz.getName(), fieldValidations); - this.pageContext.setAttribute("validationInfos", validationInfos); - ... [truncated message content] |
From: <mol...@us...> - 2008-05-07 09:00:35
|
Revision: 814 http://openutils.svn.sourceforge.net/openutils/?rev=814&view=rev Author: molaschi Date: 2008-05-07 02:00:41 -0700 (Wed, 07 May 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnlbootstrapsync-0.1 Added Paths: ----------- tags/openutils-mgnlbootstrapsync-0.1/ tags/openutils-mgnlbootstrapsync-0.1/pom.xml tags/openutils-mgnlbootstrapsync-0.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java tags/openutils-mgnlbootstrapsync-0.1/src/site/ Removed Paths: ------------- tags/openutils-mgnlbootstrapsync-0.1/pom.xml tags/openutils-mgnlbootstrapsync-0.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java Copied: tags/openutils-mgnlbootstrapsync-0.1 (from rev 806, trunk/openutils-mgnlbootstrapsync) Deleted: tags/openutils-mgnlbootstrapsync-0.1/pom.xml =================================================================== --- trunk/openutils-mgnlbootstrapsync/pom.xml 2008-04-29 12:54:36 UTC (rev 806) +++ tags/openutils-mgnlbootstrapsync-0.1/pom.xml 2008-05-07 09:00:41 UTC (rev 814) @@ -1,76 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <modelVersion>4.0.0</modelVersion> - <packaging>jar</packaging> - <artifactId>openutils-mgnlbootstrapsync</artifactId> - <name>openutils-mgnlbootstrapsync</name> - <version>0.1-SNAPSHOT</version> - <licenses> - <license> - <name>GPLv3</name> - <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> - </license> - </licenses> - <build> - <resources> - <resource> - <filtering>false</filtering> - <directory>src/main/resources</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - <resource> - <filtering>true</filtering> - <directory>src/main/resources</directory> - <includes> - <include>META-INF/magnolia/*</include> - </includes> - </resource> - </resources> - </build> - <dependencies> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-core</artifactId> - <version>3.5-rc2</version> - </dependency> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-module-admininterface</artifactId> - <version>3.5.2</version> - </dependency> - <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <classifier>jdk15</classifier> - <version>5.1</version> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - <repositories> - <repository> - <id>repository.magnolia.info</id> - <name>magnolia repository</name> - <url>http://svn.magnolia.info/maven/m2</url> - <releases> - <enabled>true</enabled> - </releases> - <snapshots> - <enabled>false</enabled> - </snapshots> - </repository> - </repositories> -</project> Copied: tags/openutils-mgnlbootstrapsync-0.1/pom.xml (from rev 813, trunk/openutils-mgnlbootstrapsync/pom.xml) =================================================================== --- tags/openutils-mgnlbootstrapsync-0.1/pom.xml (rev 0) +++ tags/openutils-mgnlbootstrapsync-0.1/pom.xml 2008-05-07 09:00:41 UTC (rev 814) @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <packaging>jar</packaging> + <artifactId>openutils-mgnlbootstrapsync</artifactId> + <name>openutils-mgnlbootstrapsync</name> + <version>0.1</version> + <licenses> + <license> + <name>GPLv3</name> + <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> + </license> + </licenses> + <build> + <resources> + <resource> + <filtering>false</filtering> + <directory>src/main/resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <filtering>true</filtering> + <directory>src/main/resources</directory> + <includes> + <include>META-INF/magnolia/*</include> + </includes> + </resource> + </resources> + </build> + <dependencies> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-core</artifactId> + <version>3.5-rc2</version> + </dependency> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-module-admininterface</artifactId> + <version>3.5.2</version> + </dependency> + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <classifier>jdk15</classifier> + <version>5.1</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + <repositories> + <repository> + <id>repository.magnolia.info</id> + <name>magnolia repository</name> + <url>http://svn.magnolia.info/maven/m2</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlbootstrapsync-0.1</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlbootstrapsync-0.1</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnlbootstrapsync-0.1</url> + </scm> +</project> Deleted: tags/openutils-mgnlbootstrapsync-0.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java =================================================================== --- trunk/openutils-mgnlbootstrapsync/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java 2008-04-29 12:54:36 UTC (rev 806) +++ tags/openutils-mgnlbootstrapsync-0.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java 2008-05-07 09:00:41 UTC (rev 814) @@ -1,160 +0,0 @@ -package it.openutils.mgnlbootstrapsync.listener; - -import it.openutils.mgnlbootstrapsync.watch.BootstrapSyncRepositoryWatch; - -import java.util.ArrayList; -import java.util.List; - -import javax.jcr.RepositoryException; -import javax.jcr.observation.Event; -import javax.jcr.observation.EventIterator; - -import org.apache.commons.lang.StringUtils; -import org.apache.jackrabbit.core.observation.EventImpl; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - - -/** - * @author luca boati mmolaschi - * @version $Id: $ - */ -public class BootstrapSyncListener extends AbstractBootstrapSyncListener -{ - - /** - * Store operation - * @author mmolaschi - * @version $Id: $ - */ - public class JcrOperation - { - - private String path; - - private boolean remove; - - /** - * @param path path of operation - * @param remove is a remove op? - */ - public JcrOperation(String path, boolean remove) - { - this.path = path; - this.remove = remove; - } - } - - private static Logger log = LoggerFactory.getLogger(BootstrapSyncListener.class); - - /** - * Configure listener on watch - * @param watch watch - */ - public BootstrapSyncListener(BootstrapSyncRepositoryWatch watch) - { - super(watch); - } - - /** - * {@inheritDoc} - */ - @Override - public void onEvent(EventIterator events) - { - List<JcrOperation> operations = new ArrayList<JcrOperation>(); - while (events.hasNext()) - { - // Event event - EventImpl event = (EventImpl) events.nextEvent(); - String eventPath = null; - try - { - eventPath = event.getPath(); - } - catch (RepositoryException ex) - { - log.error(ex.getMessage(), ex); - continue; - } - if (eventPath.startsWith("/jcr:")) - { - return; - } - - switch (event.getType()) - { - case Event.NODE_ADDED : - log.debug(eventPath + " added"); - break; - case Event.NODE_REMOVED : - log.debug(eventPath + " removed"); - break; - case Event.PROPERTY_ADDED : - log.debug(eventPath + " added"); - break; - case Event.PROPERTY_CHANGED : - log.debug(eventPath + " changed"); - break; - case Event.PROPERTY_REMOVED : - log.debug(eventPath + " removed"); - break; - default : - break; - } - - if (event.getType() == Event.NODE_REMOVED) - { - operations.add(new JcrOperation(eventPath, true)); - } - else - { - operations.add(new JcrOperation(eventPath, false)); - } - } - - // calculate minimum path and remove operation - String basePath = null; - JcrOperation remove = null; - for (JcrOperation operation : operations) - { - if (operation.remove) - { - remove = operation; - continue; - } - - int basePathSl = StringUtils.countMatches(basePath, "/"); - int pathSl = StringUtils.countMatches(operation.path, "/"); - - if (basePath == null || pathSl < basePathSl) - { - basePath = operation.path; - } - } - - if (remove != null) - { - if (log.isDebugEnabled()) - { - log.debug("Removed PATH: " + remove.path); - } - - removeNode(remove.path); - } - - if (basePath != null) - { - // remove metadata if present - basePath = StringUtils.substringBefore(basePath, "/MetaData"); - - if (log.isDebugEnabled()) - { - log.debug("Changed PATH: " + basePath); - } - - exportNode(basePath); - } - } - -} Copied: tags/openutils-mgnlbootstrapsync-0.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java (from rev 811, trunk/openutils-mgnlbootstrapsync/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java) =================================================================== --- tags/openutils-mgnlbootstrapsync-0.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java (rev 0) +++ tags/openutils-mgnlbootstrapsync-0.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java 2008-05-07 09:00:41 UTC (rev 814) @@ -0,0 +1,166 @@ +package it.openutils.mgnlbootstrapsync.listener; + +import info.magnolia.cms.beans.config.ConfigLoader; +import it.openutils.mgnlbootstrapsync.watch.BootstrapSyncRepositoryWatch; + +import java.util.ArrayList; +import java.util.List; + +import javax.jcr.RepositoryException; +import javax.jcr.observation.Event; +import javax.jcr.observation.EventIterator; + +import org.apache.commons.lang.StringUtils; +import org.apache.jackrabbit.core.observation.EventImpl; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + + +/** + * @author luca boati mmolaschi + * @version $Id: $ + */ +public class BootstrapSyncListener extends AbstractBootstrapSyncListener +{ + + /** + * Store operation + * @author mmolaschi + * @version $Id: $ + */ + public class JcrOperation + { + + private String path; + + private boolean remove; + + /** + * @param path path of operation + * @param remove is a remove op? + */ + public JcrOperation(String path, boolean remove) + { + this.path = path; + this.remove = remove; + } + } + + private static Logger log = LoggerFactory.getLogger(BootstrapSyncListener.class); + + /** + * Configure listener on watch + * @param watch watch + */ + public BootstrapSyncListener(BootstrapSyncRepositoryWatch watch) + { + super(watch); + } + + /** + * {@inheritDoc} + */ + @Override + public void onEvent(EventIterator events) + { + if (!ConfigLoader.isConfigured() || ConfigLoader.isBootstrapping()) + { + return; + } + + List<JcrOperation> operations = new ArrayList<JcrOperation>(); + while (events.hasNext()) + { + // Event event + EventImpl event = (EventImpl) events.nextEvent(); + String eventPath = null; + try + { + eventPath = event.getPath(); + } + catch (RepositoryException ex) + { + log.error(ex.getMessage(), ex); + continue; + } + if (eventPath.startsWith("/jcr:")) + { + return; + } + + switch (event.getType()) + { + case Event.NODE_ADDED : + log.debug(eventPath + " added"); + break; + case Event.NODE_REMOVED : + log.debug(eventPath + " removed"); + break; + case Event.PROPERTY_ADDED : + log.debug(eventPath + " added"); + break; + case Event.PROPERTY_CHANGED : + log.debug(eventPath + " changed"); + break; + case Event.PROPERTY_REMOVED : + log.debug(eventPath + " removed"); + break; + default : + break; + } + + if (event.getType() == Event.NODE_REMOVED) + { + operations.add(new JcrOperation(eventPath, true)); + } + else + { + operations.add(new JcrOperation(eventPath, false)); + } + } + + // calculate minimum path and remove operation + String basePath = null; + JcrOperation remove = null; + for (JcrOperation operation : operations) + { + if (operation.remove) + { + remove = operation; + continue; + } + + int basePathSl = StringUtils.countMatches(basePath, "/"); + int pathSl = StringUtils.countMatches(operation.path, "/"); + + if (basePath == null || pathSl < basePathSl) + { + basePath = operation.path; + } + } + + if (remove != null) + { + if (log.isDebugEnabled()) + { + log.debug("Removed PATH: " + remove.path); + } + + removeNode(remove.path); + } + + if (basePath != null) + { + // remove metadata if present + basePath = StringUtils.substringBefore(basePath, "/MetaData"); + + if (log.isDebugEnabled()) + { + log.debug("Changed PATH: " + basePath); + } + + exportNode(basePath); + } + } + +} Copied: tags/openutils-mgnlbootstrapsync-0.1/src/site (from rev 812, trunk/openutils-mgnlbootstrapsync/src/site) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mol...@us...> - 2008-05-07 09:08:40
|
Revision: 818 http://openutils.svn.sourceforge.net/openutils/?rev=818&view=rev Author: molaschi Date: 2008-05-07 02:08:45 -0700 (Wed, 07 May 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnlbootstrapsync-0.1.1 Added Paths: ----------- tags/openutils-mgnlbootstrapsync-0.1.1/ tags/openutils-mgnlbootstrapsync-0.1.1/pom.xml tags/openutils-mgnlbootstrapsync-0.1.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java tags/openutils-mgnlbootstrapsync-0.1.1/src/site/ tags/openutils-mgnlbootstrapsync-0.1.1/src/site/site.xml Removed Paths: ------------- tags/openutils-mgnlbootstrapsync-0.1.1/pom.xml tags/openutils-mgnlbootstrapsync-0.1.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java tags/openutils-mgnlbootstrapsync-0.1.1/src/site/site.xml Copied: tags/openutils-mgnlbootstrapsync-0.1.1 (from rev 806, trunk/openutils-mgnlbootstrapsync) Deleted: tags/openutils-mgnlbootstrapsync-0.1.1/pom.xml =================================================================== --- trunk/openutils-mgnlbootstrapsync/pom.xml 2008-04-29 12:54:36 UTC (rev 806) +++ tags/openutils-mgnlbootstrapsync-0.1.1/pom.xml 2008-05-07 09:08:45 UTC (rev 818) @@ -1,76 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <modelVersion>4.0.0</modelVersion> - <packaging>jar</packaging> - <artifactId>openutils-mgnlbootstrapsync</artifactId> - <name>openutils-mgnlbootstrapsync</name> - <version>0.1-SNAPSHOT</version> - <licenses> - <license> - <name>GPLv3</name> - <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> - </license> - </licenses> - <build> - <resources> - <resource> - <filtering>false</filtering> - <directory>src/main/resources</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - <resource> - <filtering>true</filtering> - <directory>src/main/resources</directory> - <includes> - <include>META-INF/magnolia/*</include> - </includes> - </resource> - </resources> - </build> - <dependencies> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-core</artifactId> - <version>3.5-rc2</version> - </dependency> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-module-admininterface</artifactId> - <version>3.5.2</version> - </dependency> - <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <classifier>jdk15</classifier> - <version>5.1</version> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - <repositories> - <repository> - <id>repository.magnolia.info</id> - <name>magnolia repository</name> - <url>http://svn.magnolia.info/maven/m2</url> - <releases> - <enabled>true</enabled> - </releases> - <snapshots> - <enabled>false</enabled> - </snapshots> - </repository> - </repositories> -</project> Copied: tags/openutils-mgnlbootstrapsync-0.1.1/pom.xml (from rev 817, trunk/openutils-mgnlbootstrapsync/pom.xml) =================================================================== --- tags/openutils-mgnlbootstrapsync-0.1.1/pom.xml (rev 0) +++ tags/openutils-mgnlbootstrapsync-0.1.1/pom.xml 2008-05-07 09:08:45 UTC (rev 818) @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <packaging>jar</packaging> + <artifactId>openutils-mgnlbootstrapsync</artifactId> + <name>openutils-mgnlbootstrapsync</name> + <version>0.1.1</version> + <licenses> + <license> + <name>GPLv3</name> + <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> + </license> + </licenses> + <build> + <resources> + <resource> + <filtering>false</filtering> + <directory>src/main/resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <filtering>true</filtering> + <directory>src/main/resources</directory> + <includes> + <include>META-INF/magnolia/*</include> + </includes> + </resource> + </resources> + </build> + <dependencies> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-core</artifactId> + <version>3.5-rc2</version> + </dependency> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-module-admininterface</artifactId> + <version>3.5.2</version> + </dependency> + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <classifier>jdk15</classifier> + <version>5.1</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + <repositories> + <repository> + <id>repository.magnolia.info</id> + <name>magnolia repository</name> + <url>http://svn.magnolia.info/maven/m2</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlbootstrapsync-0.1.1</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlbootstrapsync-0.1.1</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnlbootstrapsync-0.1.1</url> + </scm> +</project> Deleted: tags/openutils-mgnlbootstrapsync-0.1.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java =================================================================== --- trunk/openutils-mgnlbootstrapsync/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java 2008-04-29 12:54:36 UTC (rev 806) +++ tags/openutils-mgnlbootstrapsync-0.1.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java 2008-05-07 09:08:45 UTC (rev 818) @@ -1,160 +0,0 @@ -package it.openutils.mgnlbootstrapsync.listener; - -import it.openutils.mgnlbootstrapsync.watch.BootstrapSyncRepositoryWatch; - -import java.util.ArrayList; -import java.util.List; - -import javax.jcr.RepositoryException; -import javax.jcr.observation.Event; -import javax.jcr.observation.EventIterator; - -import org.apache.commons.lang.StringUtils; -import org.apache.jackrabbit.core.observation.EventImpl; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - - -/** - * @author luca boati mmolaschi - * @version $Id: $ - */ -public class BootstrapSyncListener extends AbstractBootstrapSyncListener -{ - - /** - * Store operation - * @author mmolaschi - * @version $Id: $ - */ - public class JcrOperation - { - - private String path; - - private boolean remove; - - /** - * @param path path of operation - * @param remove is a remove op? - */ - public JcrOperation(String path, boolean remove) - { - this.path = path; - this.remove = remove; - } - } - - private static Logger log = LoggerFactory.getLogger(BootstrapSyncListener.class); - - /** - * Configure listener on watch - * @param watch watch - */ - public BootstrapSyncListener(BootstrapSyncRepositoryWatch watch) - { - super(watch); - } - - /** - * {@inheritDoc} - */ - @Override - public void onEvent(EventIterator events) - { - List<JcrOperation> operations = new ArrayList<JcrOperation>(); - while (events.hasNext()) - { - // Event event - EventImpl event = (EventImpl) events.nextEvent(); - String eventPath = null; - try - { - eventPath = event.getPath(); - } - catch (RepositoryException ex) - { - log.error(ex.getMessage(), ex); - continue; - } - if (eventPath.startsWith("/jcr:")) - { - return; - } - - switch (event.getType()) - { - case Event.NODE_ADDED : - log.debug(eventPath + " added"); - break; - case Event.NODE_REMOVED : - log.debug(eventPath + " removed"); - break; - case Event.PROPERTY_ADDED : - log.debug(eventPath + " added"); - break; - case Event.PROPERTY_CHANGED : - log.debug(eventPath + " changed"); - break; - case Event.PROPERTY_REMOVED : - log.debug(eventPath + " removed"); - break; - default : - break; - } - - if (event.getType() == Event.NODE_REMOVED) - { - operations.add(new JcrOperation(eventPath, true)); - } - else - { - operations.add(new JcrOperation(eventPath, false)); - } - } - - // calculate minimum path and remove operation - String basePath = null; - JcrOperation remove = null; - for (JcrOperation operation : operations) - { - if (operation.remove) - { - remove = operation; - continue; - } - - int basePathSl = StringUtils.countMatches(basePath, "/"); - int pathSl = StringUtils.countMatches(operation.path, "/"); - - if (basePath == null || pathSl < basePathSl) - { - basePath = operation.path; - } - } - - if (remove != null) - { - if (log.isDebugEnabled()) - { - log.debug("Removed PATH: " + remove.path); - } - - removeNode(remove.path); - } - - if (basePath != null) - { - // remove metadata if present - basePath = StringUtils.substringBefore(basePath, "/MetaData"); - - if (log.isDebugEnabled()) - { - log.debug("Changed PATH: " + basePath); - } - - exportNode(basePath); - } - } - -} Copied: tags/openutils-mgnlbootstrapsync-0.1.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java (from rev 811, trunk/openutils-mgnlbootstrapsync/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java) =================================================================== --- tags/openutils-mgnlbootstrapsync-0.1.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java (rev 0) +++ tags/openutils-mgnlbootstrapsync-0.1.1/src/main/java/it/openutils/mgnlbootstrapsync/listener/BootstrapSyncListener.java 2008-05-07 09:08:45 UTC (rev 818) @@ -0,0 +1,166 @@ +package it.openutils.mgnlbootstrapsync.listener; + +import info.magnolia.cms.beans.config.ConfigLoader; +import it.openutils.mgnlbootstrapsync.watch.BootstrapSyncRepositoryWatch; + +import java.util.ArrayList; +import java.util.List; + +import javax.jcr.RepositoryException; +import javax.jcr.observation.Event; +import javax.jcr.observation.EventIterator; + +import org.apache.commons.lang.StringUtils; +import org.apache.jackrabbit.core.observation.EventImpl; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + + +/** + * @author luca boati mmolaschi + * @version $Id: $ + */ +public class BootstrapSyncListener extends AbstractBootstrapSyncListener +{ + + /** + * Store operation + * @author mmolaschi + * @version $Id: $ + */ + public class JcrOperation + { + + private String path; + + private boolean remove; + + /** + * @param path path of operation + * @param remove is a remove op? + */ + public JcrOperation(String path, boolean remove) + { + this.path = path; + this.remove = remove; + } + } + + private static Logger log = LoggerFactory.getLogger(BootstrapSyncListener.class); + + /** + * Configure listener on watch + * @param watch watch + */ + public BootstrapSyncListener(BootstrapSyncRepositoryWatch watch) + { + super(watch); + } + + /** + * {@inheritDoc} + */ + @Override + public void onEvent(EventIterator events) + { + if (!ConfigLoader.isConfigured() || ConfigLoader.isBootstrapping()) + { + return; + } + + List<JcrOperation> operations = new ArrayList<JcrOperation>(); + while (events.hasNext()) + { + // Event event + EventImpl event = (EventImpl) events.nextEvent(); + String eventPath = null; + try + { + eventPath = event.getPath(); + } + catch (RepositoryException ex) + { + log.error(ex.getMessage(), ex); + continue; + } + if (eventPath.startsWith("/jcr:")) + { + return; + } + + switch (event.getType()) + { + case Event.NODE_ADDED : + log.debug(eventPath + " added"); + break; + case Event.NODE_REMOVED : + log.debug(eventPath + " removed"); + break; + case Event.PROPERTY_ADDED : + log.debug(eventPath + " added"); + break; + case Event.PROPERTY_CHANGED : + log.debug(eventPath + " changed"); + break; + case Event.PROPERTY_REMOVED : + log.debug(eventPath + " removed"); + break; + default : + break; + } + + if (event.getType() == Event.NODE_REMOVED) + { + operations.add(new JcrOperation(eventPath, true)); + } + else + { + operations.add(new JcrOperation(eventPath, false)); + } + } + + // calculate minimum path and remove operation + String basePath = null; + JcrOperation remove = null; + for (JcrOperation operation : operations) + { + if (operation.remove) + { + remove = operation; + continue; + } + + int basePathSl = StringUtils.countMatches(basePath, "/"); + int pathSl = StringUtils.countMatches(operation.path, "/"); + + if (basePath == null || pathSl < basePathSl) + { + basePath = operation.path; + } + } + + if (remove != null) + { + if (log.isDebugEnabled()) + { + log.debug("Removed PATH: " + remove.path); + } + + removeNode(remove.path); + } + + if (basePath != null) + { + // remove metadata if present + basePath = StringUtils.substringBefore(basePath, "/MetaData"); + + if (log.isDebugEnabled()) + { + log.debug("Changed PATH: " + basePath); + } + + exportNode(basePath); + } + } + +} Copied: tags/openutils-mgnlbootstrapsync-0.1.1/src/site (from rev 812, trunk/openutils-mgnlbootstrapsync/src/site) Deleted: tags/openutils-mgnlbootstrapsync-0.1.1/src/site/site.xml =================================================================== --- trunk/openutils-mgnlbootstrapsync/src/site/site.xml 2008-05-06 16:37:17 UTC (rev 812) +++ tags/openutils-mgnlbootstrapsync-0.1.1/src/site/site.xml 2008-05-07 09:08:45 UTC (rev 818) @@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils mgnlstripes"> - <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> - <version position="navigation-bottom" /> - <bannerRight> - <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png - </src> - <href>http://openutils.sourceforge.net</href> - </bannerRight> - <bannerLeft> - <name>Sourceforge</name> - <src>http://sourceforge.net/sflogo.php?group_id=150467&amp;type=2</src> - <href>http://www.sourceforge.net/projects/openutils</href> - </bannerLeft> - <body> - <head> - <link rel="icon" href="images/favicon.ico" /> - </head> - <breadcrumbs> - <item name="openutils" href="http://openutils.sourceforge.net/" /> - <item name="openutils-mgnlbootstrapsync" href="http://openutils.sourceforge.net/openutils-mgnlbootstrapsync" /> - </breadcrumbs> - <menu name="openutils mgnlstripes"> - <item name="Usage" href="index.html"></item> - </menu> - <menu ref="modules" inherit="bottom" /> - <menu ref="reports" inherit="bottom" /> - </body> - <skin> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils-maven-skin</artifactId> - <version>1.1</version> - </skin> -</project> Copied: tags/openutils-mgnlbootstrapsync-0.1.1/src/site/site.xml (from rev 816, trunk/openutils-mgnlbootstrapsync/src/site/site.xml) =================================================================== --- tags/openutils-mgnlbootstrapsync-0.1.1/src/site/site.xml (rev 0) +++ tags/openutils-mgnlbootstrapsync-0.1.1/src/site/site.xml 2008-05-07 09:08:45 UTC (rev 818) @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="Openutils mgnlbootstrapsync"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> + <bannerRight> + <name>Openutils</name> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> + <href>http://openutils.sourceforge.net</href> + </bannerRight> + <bannerLeft> + <name>Sourceforge</name> + <src>http://sourceforge.net/sflogo.php?group_id=150467&amp;type=2</src> + <href>http://www.sourceforge.net/projects/openutils</href> + </bannerLeft> + <body> + <head> + <link rel="icon" href="images/favicon.ico" /> + </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-mgnlbootstrapsync" href="http://openutils.sourceforge.net/openutils-mgnlbootstrapsync" /> + </breadcrumbs> + <menu name="openutils mgnlstripes"> + <item name="Usage" href="index.html"></item> + </menu> + <menu ref="modules" inherit="bottom" /> + <menu ref="reports" inherit="bottom" /> + </body> + <skin> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils-maven-skin</artifactId> + <version>1.1</version> + </skin> +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-05-07 12:56:46
|
Revision: 823 http://openutils.svn.sourceforge.net/openutils/?rev=823&view=rev Author: fgiust Date: 2008-05-07 05:56:53 -0700 (Wed, 07 May 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnlspring-3.5 Added Paths: ----------- tags/openutils-mgnlspring-3.5/ tags/openutils-mgnlspring-3.5/LICENSE.txt tags/openutils-mgnlspring-3.5/pom.xml tags/openutils-mgnlspring-3.5/src/ tags/openutils-mgnlspring-3.5/src/test/java/it/openutils/mgnlspring/ContentBridgeTagTest.java tags/openutils-mgnlspring-3.5/src/test/resources/ Removed Paths: ------------- tags/openutils-mgnlspring-3.5/LICENSE.txt tags/openutils-mgnlspring-3.5/pom.xml tags/openutils-mgnlspring-3.5/src/ tags/openutils-mgnlspring-3.5/src/test/java/it/openutils/mgnlspring/ContentBridgeTagTest.java Copied: tags/openutils-mgnlspring-3.5 (from rev 821, trunk/openutils-mgnlspring) Deleted: tags/openutils-mgnlspring-3.5/LICENSE.txt =================================================================== --- trunk/openutils-mgnlspring/LICENSE.txt 2008-05-07 12:56:00 UTC (rev 821) +++ tags/openutils-mgnlspring-3.5/LICENSE.txt 2008-05-07 12:56:53 UTC (rev 823) @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this... [truncated message content] |
From: <fg...@us...> - 2008-06-08 11:39:12
|
Revision: 827 http://openutils.svn.sourceforge.net/openutils/?rev=827&view=rev Author: fgiust Date: 2008-06-08 04:39:19 -0700 (Sun, 08 Jun 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnltasks-3.5.2 Added Paths: ----------- tags/openutils-mgnltasks-3.5.2/ tags/openutils-mgnltasks-3.5.2/pom.xml Removed Paths: ------------- tags/openutils-mgnltasks-3.5.2/pom.xml Copied: tags/openutils-mgnltasks-3.5.2 (from rev 825, trunk/openutils-mgnltasks) Deleted: tags/openutils-mgnltasks-3.5.2/pom.xml =================================================================== --- trunk/openutils-mgnltasks/pom.xml 2008-06-08 11:38:26 UTC (rev 825) +++ tags/openutils-mgnltasks-3.5.2/pom.xml 2008-06-08 11:39:19 UTC (rev 827) @@ -1,89 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <modelVersion>4.0.0</modelVersion> - <packaging>jar</packaging> - <artifactId>openutils-mgnltasks</artifactId> - <name>openutils-mgnltasks</name> - <version>3.5.2-SNAPSHOT</version> - <description>A collection of useful magnolia update tasks that can be reused in custom modules</description> - <licenses> - <license> - <name>GPLv3</name> - <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> - </license> - </licenses> - <build> - <resources> - <resource> - <filtering>false</filtering> - <directory>src/main/resources</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - <resource> - <filtering>true</filtering> - <directory>src/main/resources</directory> - <includes> - <include>META-INF/magnolia/*</include> - </includes> - </resource> - </resources> - </build> - <dependencies> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-core</artifactId> - <version>3.5.8</version> - </dependency> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-module-admininterface</artifactId> - <version>3.5.8</version> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - <version>2.4</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>jsp-api</artifactId> - <version>2.0</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <classifier>jdk15</classifier> - <version>5.7</version> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - <repositories> - <repository> - <id>repository.magnolia.info</id> - <name>magnolia repository</name> - <url>http://repo.magnolia.info/m2</url> - <releases> - <enabled>true</enabled> - </releases> - <snapshots> - <enabled>false</enabled> - </snapshots> - </repository> - </repositories> -</project> Copied: tags/openutils-mgnltasks-3.5.2/pom.xml (from rev 826, trunk/openutils-mgnltasks/pom.xml) =================================================================== --- tags/openutils-mgnltasks-3.5.2/pom.xml (rev 0) +++ tags/openutils-mgnltasks-3.5.2/pom.xml 2008-06-08 11:39:19 UTC (rev 827) @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <packaging>jar</packaging> + <artifactId>openutils-mgnltasks</artifactId> + <name>openutils-mgnltasks</name> + <version>3.5.2</version> + <description>A collection of useful magnolia update tasks that can be reused in custom modules</description> + <licenses> + <license> + <name>GPLv3</name> + <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> + </license> + </licenses> + <build> + <resources> + <resource> + <filtering>false</filtering> + <directory>src/main/resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <filtering>true</filtering> + <directory>src/main/resources</directory> + <includes> + <include>META-INF/magnolia/*</include> + </includes> + </resource> + </resources> + </build> + <dependencies> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-core</artifactId> + <version>3.5.8</version> + </dependency> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-module-admininterface</artifactId> + <version>3.5.8</version> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>2.4</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>jsp-api</artifactId> + <version>2.0</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <classifier>jdk15</classifier> + <version>5.7</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + <repositories> + <repository> + <id>repository.magnolia.info</id> + <name>magnolia repository</name> + <url>http://repo.magnolia.info/m2</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5.2</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5.2</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnltasks-3.5.2</url> + </scm> +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fc...@us...> - 2008-06-09 16:47:50
|
Revision: 832 http://openutils.svn.sourceforge.net/openutils/?rev=832&view=rev Author: fcarone Date: 2008-06-09 09:47:53 -0700 (Mon, 09 Jun 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-bshd5-2.0.4 Added Paths: ----------- tags/openutils-bshd5-2.0.4/ tags/openutils-bshd5-2.0.4/pom.xml tags/openutils-bshd5-2.0.4/src/main/java/it/openutils/dao/hibernate/HibernateDAO.java tags/openutils-bshd5-2.0.4/src/main/java/it/openutils/dao/hibernate/HibernateDAOImpl.java Removed Paths: ------------- tags/openutils-bshd5-2.0.4/pom.xml tags/openutils-bshd5-2.0.4/src/main/java/it/openutils/dao/hibernate/HibernateDAO.java tags/openutils-bshd5-2.0.4/src/main/java/it/openutils/dao/hibernate/HibernateDAOImpl.java Copied: tags/openutils-bshd5-2.0.4 (from rev 829, trunk/openutils-bshd5) Deleted: tags/openutils-bshd5-2.0.4/pom.xml =================================================================== --- trunk/openutils-bshd5/pom.xml 2008-06-08 11:47:36 UTC (rev 829) +++ tags/openutils-bshd5-2.0.4/pom.xml 2008-06-09 16:47:53 UTC (rev 832) @@ -1,108 +0,0 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <artifactId>openutils-bshd5</artifactId> - <name>openutils base Spring-Hibernate DAO for java 5.0</name> - <version>2.0.4-SNAPSHOT</version> - <description>openutils base Spring-Hibernate DAO for java 5.0</description> - <dependencies> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - <version>1.5.0</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>jcl104-over-slf4j</artifactId> - <version>1.5.0</version> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-jdbc</artifactId> - <version>${spring.version}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-beans</artifactId> - <version>${spring.version}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-orm</artifactId> - <version>${spring.version}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-aop</artifactId> - <version>${spring.version}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.hibernate</groupId> - <artifactId>hibernate</artifactId> - <version>3.2.1.ga</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - <exclusion> - <groupId>cglib</groupId> - <artifactId>cglib</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>cglib</groupId> - <artifactId>cglib-nodep</artifactId> - <version>2.1_3</version> - </dependency> - <dependency> - <groupId>commons-beanutils</groupId> - <artifactId>commons-beanutils</artifactId> - <version>1.7.0</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - <version>2.4</version> - </dependency> - </dependencies> - <properties> - <spring.version>2.5.3</spring.version> - </properties> -</project> \ No newline at end of file Copied: tags/openutils-bshd5-2.0.4/pom.xml (from rev 831, trunk/openutils-bshd5/pom.xml) =================================================================== --- tags/openutils-bshd5-2.0.4/pom.xml (rev 0) +++ tags/openutils-bshd5-2.0.4/pom.xml 2008-06-09 16:47:53 UTC (rev 832) @@ -0,0 +1,114 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <artifactId>openutils-bshd5</artifactId> + <name>openutils base Spring-Hibernate DAO for java 5.0</name> + <version>2.0.4</version> + <description>openutils base Spring-Hibernate DAO for java 5.0</description> + <dependencies> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + <version>1.5.0</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jcl104-over-slf4j</artifactId> + <version>1.5.0</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-jdbc</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-beans</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-orm</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-aop</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate</artifactId> + <version>3.2.1.ga</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + <exclusion> + <groupId>cglib</groupId> + <artifactId>cglib</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>cglib</groupId> + <artifactId>cglib-nodep</artifactId> + <version>2.1_3</version> + </dependency> + <dependency> + <groupId>commons-beanutils</groupId> + <artifactId>commons-beanutils</artifactId> + <version>1.7.0</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>2.4</version> + </dependency> + </dependencies> + <properties> + <spring.version>2.5.3</spring.version> + </properties> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-bshd5-2.0.4</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-bshd5-2.0.4</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-bshd5-2.0.4</url> + </scm> +</project> \ No newline at end of file Deleted: tags/openutils-bshd5-2.0.4/src/main/java/it/openutils/dao/hibernate/HibernateDAO.java =================================================================== --- trunk/openutils-bshd5/src/main/java/it/openutils/dao/hibernate/HibernateDAO.java 2008-06-08 11:47:36 UTC (rev 829) +++ tags/openutils-bshd5-2.0.4/src/main/java/it/openutils/dao/hibernate/HibernateDAO.java 2008-06-09 16:47:53 UTC (rev 832) @@ -1,254 +0,0 @@ -package it.openutils.dao.hibernate; - -import it.openutils.hibernate.example.FilterMetadata; - -import java.io.Serializable; -import java.util.List; -import java.util.Map; - -import org.hibernate.criterion.Criterion; -import org.hibernate.criterion.Order; -import org.hibernate.type.Type; - - -/** - * @author Fabrizio Giustina - * @version $Id$ - * @param <T> Persistence class - * @param <K> Object Key - */ -public interface HibernateDAO<T extends Object, K extends Serializable> -{ - - /** - * Execute a query. - * @param query a query expressed in Hibernate's query language - * @return a distinct list of instances (or arrays of instances) - */ - List<T> find(String query); - - /** - * Return all objects related to the implementation of this DAO with no filter. - * @return a list of all instances - */ - List<T> findAll(); - - /** - * Return all objects related to the implementation of this DAO with no filter. - * @param orderProperties <code>desc</code> or <code>asc</code> - * @return a list of all instances - */ - List<T> findAll(final Order[] orderProperties); - - /** - * Return all objects related to the implementation of this DAO with no filter. - * @param orderProperties <code>desc</code> or <code>asc</code> - * @param criteria Additional Criterion conditions - * @return a list of all instances - */ - List<T> findAll(final Order[] orderProperties, List<Criterion> criteria); - - /** - * Execute a query. - * @param query a query expressed in Hibernate's query language - * @param obj filter value - * @param type filter type - * @return a distinct list of instances (or arrays of instances) - */ - List<T> find(String query, Object obj, Type type); - - /** - * Execute a query. - * @param query a query expressed in Hibernate's query language - * @param obj filter values - * @param type filter types - * @return a distinct list of instances (or arrays of instances) - */ - List<T> find(final String query, final Object[] obj, final Type[] type); - - /** - * Re-read the state of the given instance from the underlying database. It is inadvisable to use this to implement - * long-running sessions that span many business tasks. This method is, however, useful in certain special - * circumstances. For example - * <ul> - * <li>where a database trigger alters the object state upon insert or update - * <li>after executing direct SQL (eg. a mass update) in the same session - * <li>after inserting a <tt>Blob</tt> or <tt>Clob</tt> - * </ul> - * @param obj Object - */ - void refresh(T obj); - - /** - * Remove the given object from the Session cache. - * @param obj Object - */ - void evict(T obj); - - /** - * Copy the state of the given object onto the persistent object with the same identifier. If there is no persistent - * instance currently associated with the session, it will be loaded. Return the persistent instance. If the given - * instance is unsaved, save a copy of and return it as a newly persistent instance. The given instance does not - * become associated with the session. This operation cascades to associated instances if the association is mapped - * with <tt>cascade="merge"</tt>.<br> - * <br> - * The semantics of this method are defined by JSR-220. - * @param obj a detached instance with state to be copied - * @return an updated persistent instance - */ - T merge(T obj); - - /** - * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. - * @param filter an instance of the object with the properties you whish to filter on. - * @param maxResults maximum number of results - * @param page result page (first result is maxResults * page) - * @return list of objects - */ - List<T> findFiltered(final T filter, final int maxResults, final int page); - - /** - * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. - * @param filter an instance of the object with the properties you whish to filter on. - * @param metadata filter metadata - * @param maxResults maximum number of results - * @param page result page (first result is maxResults * page) - * @return list of objects - */ - List<T> findFiltered(final T filter, Map<String, FilterMetadata> metadata, final int maxResults, final int page); - - /** - * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. - * @param filter an instance of the object with the properties you whish to filter on. - * @param customOrder order criterias - * @param metadata filter metadata - * @param maxResults maximum number of results - * @param page result page (first result is maxResults * page) - * @return list of objects - */ - List<T> findFiltered(final T filter, final Order[] customOrder, final Map<String, FilterMetadata> metadata, - final int maxResults, final int page); - - /** - * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. - * @param filter an instance of the object with the properties you whish to filter on. - * @param customOrder order criterias - * @param metadata filter metadata - * @param maxResults maximum number of results - * @param page result page (first result is maxResults * page) - * @param additionalCriteria additional criteria - * @return list of objects - */ - List<T> findFiltered(final T filter, final Order[] customOrder, final Map<String, FilterMetadata> metadata, - final int maxResults, final int page, List<Criterion> additionalCriteria); - - /** - * Return properties from all objects related to the implementation of this DAO filtered using properties of the - * provided instance. - * @param filter an instance of the object with the properties you whish to filter on. - * @param customOrder order criterias - * @param metadata filter metadata - * @param maxResults maximum number of results - * @param page result page (first result is maxResults * page) - * @param additionalCriteria additional criteria - * @param properties properties to be returned - * @return list of properties from all objects - */ - List< ? > findFilteredProperties(final T filter, final Order[] customOrder, - final Map<String, FilterMetadata> metadata, final int maxResults, final int page, - List<Criterion> additionalCriteria, List<String> properties); - - /** - * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. - * @param filter an instance of the object with the properties you whish to filter on. - * @return list of objects - */ - List<T> findFiltered(final T filter); - - /** - * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. - * @param filter an instance of the object with the properties you whish to filter on. - * @param orderProperties the name of the property used for ordering - * @return list of objects - */ - List<T> findFiltered(final T filter, final Order[] orderProperties); - - /** - * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. - * @param filter an instance of the object with the properties you whish to filter on. - * @param metadata filter metadata - * @return list of objects - */ - List<T> findFiltered(final T filter, Map<String, FilterMetadata> metadata); - - /** - * Return the first object related to the implementation of this DAO filtered using properties of the provided - * instance. - * @param filter an instance of the object with the properties you whish to filter on. - * @return first object in the collection - */ - T findFilteredFirst(final T filter); - - /** - * Return the first object related to the implementation of this DAO filtered using properties of the provided - * instance. - * @param filter an instance of the object with the properties you whish to filter on. - * @param criteria additional criterion - * @return first object in the collection - */ - T findFilteredFirst(final T filter, final List<Criterion> criteria); - - /** - * Used by the base DAO classes but here for your modification Remove a persistent instance from the datastore. The - * argument may be an instance associated with the receiving Session or a transient instance with an identifier - * associated with existing persistent state. - * @param key key - * @return true if the object was successfully deleted, false otherwise - */ - boolean delete(final K key); - - /** - * Load object matching the given key and return it. Throw an exception if not found. - * @param key serializable key - * @return Object - */ - T load(K key); - - /** - * Load object matching the given key and return it. Lazy object will be initialized. - * @param key serializable key - * @return Object - */ - T loadIfAvailable(K key); - - /** - * Load object matching the given key and return it. Lazy object will be initialized. - * @param key serializable key - * @return Object - */ - T get(K key); - - /** - * Used by the base DAO classes but here for your modification Either save() or update() the given instance, - * depending upon the value of its identifier property. - * @param obj Object - */ - void saveOrUpdate(final T obj); - - /** - * Used by the base DAO classes but here for your modification Update the persistent state associated with the given - * identifier. An exception is thrown if there is a persistent instance with the same identifier in the current - * session. - * @param obj a transient instance containing updated state - */ - void update(T obj); - - /** - * Persist the given transient instance, first assigning a generated identifier. (Or using the current value of the - * identifier property if the assigned generator is used.) - * @param obj Object - * @return generated id - */ - K save(T obj); - -} Copied: tags/openutils-bshd5-2.0.4/src/main/java/it/openutils/dao/hibernate/HibernateDAO.java (from rev 830, trunk/openutils-bshd5/src/main/java/it/openutils/dao/hibernate/HibernateDAO.java) =================================================================== --- tags/openutils-bshd5-2.0.4/src/main/java/it/openutils/dao/hibernate/HibernateDAO.java (rev 0) +++ tags/openutils-bshd5-2.0.4/src/main/java/it/openutils/dao/hibernate/HibernateDAO.java 2008-06-09 16:47:53 UTC (rev 832) @@ -0,0 +1,262 @@ +package it.openutils.dao.hibernate; + +import it.openutils.hibernate.example.FilterMetadata; + +import java.io.Serializable; +import java.util.List; +import java.util.Map; + +import org.hibernate.criterion.Criterion; +import org.hibernate.criterion.Order; +import org.hibernate.type.Type; + + +/** + * @author Fabrizio Giustina + * @version $Id$ + * @param <T> Persistence class + * @param <K> Object Key + */ +public interface HibernateDAO<T extends Object, K extends Serializable> +{ + + /** + * Execute a query. + * @param query a query expressed in Hibernate's query language + * @return a distinct list of instances (or arrays of instances) + */ + List<T> find(String query); + + /** + * Return all objects related to the implementation of this DAO with no filter. + * @return a list of all instances + */ + List<T> findAll(); + + /** + * Return all objects related to the implementation of this DAO with no filter. + * @param orderProperties <code>desc</code> or <code>asc</code> + * @return a list of all instances + */ + List<T> findAll(final Order[] orderProperties); + + /** + * Return all objects related to the implementation of this DAO with no filter. + * @param orderProperties <code>desc</code> or <code>asc</code> + * @param criteria Additional Criterion conditions + * @return a list of all instances + */ + List<T> findAll(final Order[] orderProperties, List<Criterion> criteria); + + /** + * Execute a query. + * @param query a query expressed in Hibernate's query language + * @param obj filter value + * @param type filter type + * @return a distinct list of instances (or arrays of instances) + */ + List<T> find(String query, Object obj, Type type); + + /** + * Execute a query. + * @param query a query expressed in Hibernate's query language + * @param obj filter values + * @param type filter types + * @return a distinct list of instances (or arrays of instances) + */ + List<T> find(final String query, final Object[] obj, final Type[] type); + + /** + * Re-read the state of the given instance from the underlying database. It is inadvisable to use this to implement + * long-running sessions that span many business tasks. This method is, however, useful in certain special + * circumstances. For example + * <ul> + * <li>where a database trigger alters the object state upon insert or update + * <li>after executing direct SQL (eg. a mass update) in the same session + * <li>after inserting a <tt>Blob</tt> or <tt>Clob</tt> + * </ul> + * @param obj Object + */ + void refresh(T obj); + + /** + * Remove the given object from the Session cache. + * @param obj Object + */ + void evict(T obj); + + /** + * Copy the state of the given object onto the persistent object with the same identifier. If there is no persistent + * instance currently associated with the session, it will be loaded. Return the persistent instance. If the given + * instance is unsaved, save a copy of and return it as a newly persistent instance. The given instance does not + * become associated with the session. This operation cascades to associated instances if the association is mapped + * with <tt>cascade="merge"</tt>.<br> + * <br> + * The semantics of this method are defined by JSR-220. + * @param obj a detached instance with state to be copied + * @return an updated persistent instance + */ + T merge(T obj); + + /** + * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. + * @param filter an instance of the object with the properties you whish to filter on. + * @param maxResults maximum number of results + * @param page result page (first result is maxResults * page) + * @return list of objects + */ + List<T> findFiltered(final T filter, final int maxResults, final int page); + + /** + * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. + * @param filter an instance of the object with the properties you whish to filter on. + * @param metadata filter metadata + * @param maxResults maximum number of results + * @param page result page (first result is maxResults * page) + * @return list of objects + */ + List<T> findFiltered(final T filter, Map<String, FilterMetadata> metadata, final int maxResults, final int page); + + /** + * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. + * @param filter an instance of the object with the properties you whish to filter on. + * @param customOrder order criterias + * @param metadata filter metadata + * @param maxResults maximum number of results + * @param page result page (first result is maxResults * page) + * @return list of objects + */ + List<T> findFiltered(final T filter, final Order[] customOrder, final Map<String, FilterMetadata> metadata, + final int maxResults, final int page); + + /** + * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. + * @param filter an instance of the object with the properties you whish to filter on. + * @param customOrder order criterias + * @param metadata filter metadata + * @param maxResults maximum number of results + * @param page result page (first result is maxResults * page) + * @param additionalCriteria additional criteria + * @return list of objects + */ + List<T> findFiltered(final T filter, final Order[] customOrder, final Map<String, FilterMetadata> metadata, + final int maxResults, final int page, List<Criterion> additionalCriteria); + + /** + * Return properties from all objects related to the implementation of this DAO filtered using properties of the + * provided instance. + * @param filter an instance of the object with the properties you whish to filter on. + * @param customOrder order criterias + * @param metadata filter metadata + * @param maxResults maximum number of results + * @param page result page (first result is maxResults * page) + * @param additionalCriteria additional criteria + * @param properties properties to be returned + * @return list of properties from all objects + */ + List< ? > findFilteredProperties(final T filter, final Order[] customOrder, + final Map<String, FilterMetadata> metadata, final int maxResults, final int page, + List<Criterion> additionalCriteria, List<String> properties); + + /** + * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. + * @param filter an instance of the object with the properties you whish to filter on. + * @return list of objects + */ + List<T> findFiltered(final T filter); + + /** + * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. + * @param filter an instance of the object with the properties you whish to filter on. + * @param orderProperties the name of the property used for ordering + * @return list of objects + */ + List<T> findFiltered(final T filter, final Order[] orderProperties); + + /** + * Return all objects related to the implementation of this DAO filtered using properties of the provided instance. + * @param filter an instance of the object with the properties you whish to filter on. + * @param metadata filter metadata + * @return list of objects + */ + List<T> findFiltered(final T filter, Map<String, FilterMetadata> metadata); + + /** + * Return the first object related to the implementation of this DAO filtered using properties of the provided + * instance. + * @param filter an instance of the object with the properties you whish to filter on. + * @return first object in the collection + */ + T findFilteredFirst(final T filter); + + /** + * Return the first object related to the implementation of this DAO filtered using properties of the provided + * instance. + * @param filter an instance of the object with the properties you whish to filter on. + * @return first object in the collection + */ + T findFilteredFirst(final T filter, final Order[] order); + + /** + * Return the first object related to the implementation of this DAO filtered using properties of the provided + * instance. + * @param filter an instance of the object with the properties you whish to filter on. + * @param criteria additional criterion + * @return first object in the collection + */ + T findFilteredFirst(final T filter, final List<Criterion> criteria); + + /** + * Used by the base DAO classes but here for your modification Remove a persistent instance from the datastore. The + * argument may be an instance associated with the receiving Session or a transient instance with an identifier + * associated with existing persistent state. + * @param key key + * @return true if the object was successfully deleted, false otherwise + */ + boolean delete(final K key); + + /** + * Load object matching the given key and return it. Throw an exception if not found. + * @param key serializable key + * @return Object + */ + T load(K key); + + /** + * Load object matching the given key and return it. Lazy object will be initialized. + * @param key seri... [truncated message content] |
From: <fg...@us...> - 2008-06-11 21:26:37
|
Revision: 837 http://openutils.svn.sourceforge.net/openutils/?rev=837&view=rev Author: fgiust Date: 2008-06-11 14:25:54 -0700 (Wed, 11 Jun 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-dbmigration-2.0.4 Added Paths: ----------- tags/openutils-dbmigration-2.0.4/ tags/openutils-dbmigration-2.0.4/pom.xml tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcIfForeignKeyExistsConditionalTask.java tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/task/setup/BaseConditionalTask.java tags/openutils-dbmigration-2.0.4/src/site/changes/changes.xml Removed Paths: ------------- tags/openutils-dbmigration-2.0.4/pom.xml tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcIfForeignKeyExistsConditionalTask.java tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/task/setup/BaseConditionalTask.java tags/openutils-dbmigration-2.0.4/src/site/changes/changes.xml Copied: tags/openutils-dbmigration-2.0.4 (from rev 824, trunk/openutils-dbmigration) Deleted: tags/openutils-dbmigration-2.0.4/pom.xml =================================================================== --- trunk/openutils-dbmigration/pom.xml 2008-05-07 12:57:08 UTC (rev 824) +++ tags/openutils-dbmigration-2.0.4/pom.xml 2008-06-11 21:25:54 UTC (rev 837) @@ -1,96 +0,0 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <artifactId>openutils-dbmigration</artifactId> - <name>openutils db migration</name> - <version>2.0.4-SNAPSHOT</version> - <description /> - <dependencies> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - <version>2.3</version> - </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>1.3</version> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-jdbc</artifactId> - <version>${spring.version}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-beans</artifactId> - <version>${spring.version}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-core</artifactId> - <version>${spring.version}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>1.4.1</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>jcl104-over-slf4j</artifactId> - <version>1.4.1</version> - </dependency> - <dependency> - <groupId>org.apache.poi</groupId> - <artifactId>poi</artifactId> - <version>3.0-FINAL</version> - <optional>true</optional> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <classifier>jdk15</classifier> - <version>5.1</version> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - <properties> - <spring.version>2.5.1</spring.version> - </properties> -</project> \ No newline at end of file Copied: tags/openutils-dbmigration-2.0.4/pom.xml (from rev 836, trunk/openutils-dbmigration/pom.xml) =================================================================== --- tags/openutils-dbmigration-2.0.4/pom.xml (rev 0) +++ tags/openutils-dbmigration-2.0.4/pom.xml 2008-06-11 21:25:54 UTC (rev 837) @@ -0,0 +1,102 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <artifactId>openutils-dbmigration</artifactId> + <name>openutils db migration</name> + <version>2.0.4</version> + <description /> + <dependencies> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>2.3</version> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>1.3</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-jdbc</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-beans</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-core</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>1.4.1</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jcl104-over-slf4j</artifactId> + <version>1.4.1</version> + </dependency> + <dependency> + <groupId>org.apache.poi</groupId> + <artifactId>poi</artifactId> + <version>3.0-FINAL</version> + <optional>true</optional> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <classifier>jdk15</classifier> + <version>5.1</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + <properties> + <spring.version>2.5.1</spring.version> + </properties> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-dbmigration-2.0.4</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-dbmigration-2.0.4</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-dbmigration-2.0.4</url> + </scm> +</project> \ No newline at end of file Deleted: tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java 2008-05-07 12:57:08 UTC (rev 824) +++ tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java 2008-06-11 21:25:54 UTC (rev 837) @@ -1,178 +0,0 @@ -/* - * Copyright Openmind http://www.openmindonline.it - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package it.openutils.migration.generic; - -import it.openutils.migration.task.setup.BaseConditionalTask; - -import java.sql.Connection; -import java.sql.DatabaseMetaData; -import java.sql.ResultSet; -import java.sql.ResultSetMetaData; -import java.sql.SQLException; -import java.util.HashMap; -import java.util.Map; - -import org.apache.commons.lang.StringUtils; -import org.springframework.dao.DataAccessException; -import org.springframework.jdbc.core.ConnectionCallback; -import org.springframework.jdbc.core.simple.SimpleJdbcTemplate; - - -/** - * Base conditional task that operates on conditions related to a specific column. This base task takes care of - * retrieving the column metadata, so that subclasses only need to override <code>checkColumnMetadata()</code>. - * @author fgiust - * @version $Id$ - */ -public abstract class JdbcColumnBasedConditionalTask extends BaseConditionalTask -{ - - /** - * Column name - */ - protected String column; - - /** - * Catalog name - */ - protected String catalog; - - /** - * Schema name - */ - protected String schema; - - /** - * Sets the catalog. - * @param catalog the catalog to set - */ - public void setCatalog(String catalog) - { - this.catalog = catalog; - } - - /** - * Sets the schema. - * @param schema the schema to set - */ - public void setSchema(String schema) - { - this.schema = schema; - } - - /** - * Sets the column. - * @param column the column to set - */ - public void setColumn(String column) - { - this.column = column; - } - - /** - * {@inheritDoc} - */ - @Override - public boolean check(SimpleJdbcTemplate jdbcTemplate) - { - - String columnTrim = StringUtils.trim(column); - - final String tableName = StringUtils.substringBefore(columnTrim, "."); - final String columnName = StringUtils.substringAfter(columnTrim, "."); - return (Boolean) jdbcTemplate.getJdbcOperations().execute(new ConnectionCallback() - { - - public Object doInConnection(Connection con) throws SQLException, DataAccessException - { - DatabaseMetaData dbMetadata = con.getMetaData(); - ResultSet rs = dbMetadata.getColumns(catalog, schema, tableName, columnName); - boolean conditionMet = rs.next(); - if (conditionMet) - { - ResultSetMetaData rsmeta = rs.getMetaData(); - int colcount = rsmeta.getColumnCount(); - Map<String, Object> params = new HashMap<String, Object>(); - for (int j = 1; j <= colcount; j++) - { - params.put(rsmeta.getColumnName(j), rs.getObject(j)); - } - conditionMet = !checkColumnMetadata(params); - } - rs.close(); - return conditionMet; - } - }); - } - - /** - * <p> - * Check if a specific condition is met depending on column metadata. - * </p> - * Column attributes included in the Map are: - * <ol> - * <li><strong>TABLE_CAT</strong> String => table catalog (may be <code>null</code>)</li> - * <li><strong>TABLE_SCHEM</strong> String => table schema (may be <code>null</code>)</li> - * <li><strong>TABLE_NAME</strong> String => table name</li> - * <li><strong>COLUMN_NAME</strong> String => column name</li> - * <li><strong>DATA_TYPE</strong> int => SQL type from java.sql.Types</li> - * <li><strong>TYPE_NAME</strong> String => Data source dependent type name, for a UDT the type name is fully - * qualified</li> - * <li><strong>COLUMN_SIZE</strong> int => column size.</li> - * <li><strong>BUFFER_LENGTH</strong> is not used.</li> - * <li><strong>DECIMAL_DIGITS</strong> int => the number of fractional digits. Null is returned for data types - * where DECIMAL_DIGITS is not applicable.</li> - * <li><strong>NUM_PREC_RADIX</strong> int => Radix (typically either 10 or 2)</li> - * <li><strong>NULLABLE</strong> int => is NULL allowed.</li> - * <ul> - * <li> columnNoNulls - might not allow <code>NULL</code> values</li> - * <li> columnNullable - definitely allows <code>NULL</code> values</li> - * <li> columnNullableUnknown - nullability unknown</li> - * </ul> - * <li><strong>REMARKS</strong> String => comment describing column (may be <code>null</code>)</li> - * <li><strong>COLUMN_DEF</strong> String => default value for the column, which should be interpreted as a string - * when the value is enclosed in single quotes (may be <code>null</code>)</li> - * <li><strong>SQL_DATA_TYPE</strong> int => unused</li> - * <li><strong>SQL_DATETIME_SUB</strong> int => unused</li> - * <li><strong>CHAR_OCTET_LENGTH</strong> int => for char types the maximum number of bytes in the column</li> - * <li><strong>ORDINAL_POSITION</strong> int => index of column in table (starting at 1)</li> - * <li><strong>IS_NULLABLE</strong> String => ISO rules are used to determine the nullability for a column.</li> - * <ul> - * <li> YES --- if the parameter can include NULLs</li> - * <li> NO --- if the parameter cannot include NULLs</li> - * <li> empty string --- if the nullability for the parameter is unknown</li> - * </ul> - * <li><strong>SCOPE_CATLOG</strong> String => catalog of table that is the scope of a reference attribute (<code>null</code> - * if DATA_TYPE isn't REF)</li> - * <li><strong>SCOPE_SCHEMA</strong> String => schema of table that is the scope of a reference attribute (<code>null</code> - * if the DATA_TYPE isn't REF)</li> - * <li><strong>SCOPE_TABLE</strong> String => table name that this the scope of a reference attribure (<code>null</code> - * if the DATA_TYPE isn't REF)</li> - * <li><strong>SOURCE_DATA_TYPE</strong> short => source type of a distinct type or user-generated Ref type, SQL - * type from java.sql.Types (<code>null</code> if DATA_TYPE isn't DISTINCT or user-generated REF)</li> - * <li><strong>IS_AUTOINCREMENT</strong> String => Indicates whether this column is auto incremented</li> - * <ul> - * <li> YES --- if the column is auto incremented</li> - * <li> NO --- if the column is not auto incremented</li> - * <li> empty string --- if it cannot be determined whether the column is auto incremented parameter is unknown</li> - * </ul> - * </ol> - * @param metadata column metadata - * @return <code>true</code> if the condition is met - */ - protected abstract boolean checkColumnMetadata(Map<String, Object> metadata); - -} Copied: tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java (from rev 834, trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java) =================================================================== --- tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java (rev 0) +++ tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java 2008-06-11 21:25:54 UTC (rev 837) @@ -0,0 +1,178 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package it.openutils.migration.generic; + +import it.openutils.migration.task.setup.BaseConditionalTask; + +import java.sql.Connection; +import java.sql.DatabaseMetaData; +import java.sql.ResultSet; +import java.sql.ResultSetMetaData; +import java.sql.SQLException; +import java.util.HashMap; +import java.util.Map; + +import org.apache.commons.lang.StringUtils; +import org.springframework.dao.DataAccessException; +import org.springframework.jdbc.core.ConnectionCallback; +import org.springframework.jdbc.core.simple.SimpleJdbcTemplate; + + +/** + * Base conditional task that operates on conditions related to a specific column. This base task takes care of + * retrieving the column metadata, so that subclasses only need to override <code>checkColumnMetadata()</code>. + * @author fgiust + * @version $Id$ + */ +public abstract class JdbcColumnBasedConditionalTask extends BaseConditionalTask +{ + + /** + * Column name + */ + protected String column; + + /** + * Catalog name + */ + protected String catalog; + + /** + * Schema name + */ + protected String schema; + + /** + * Sets the catalog. + * @param catalog the catalog to set + */ + public void setCatalog(String catalog) + { + this.catalog = catalog; + } + + /** + * Sets the schema. + * @param schema the schema to set + */ + public void setSchema(String schema) + { + this.schema = schema; + } + + /** + * Sets the column. + * @param column the column to set + */ + public void setColumn(String column) + { + this.column = column; + } + + /** + * {@inheritDoc} + */ + @Override + public boolean check(SimpleJdbcTemplate jdbcTemplate) + { + + String columnTrim = StringUtils.trim(column); + + final String tableName = StringUtils.substringBefore(columnTrim, "."); + final String columnName = StringUtils.substringAfter(columnTrim, "."); + return (Boolean) jdbcTemplate.getJdbcOperations().execute(new ConnectionCallback() + { + + public Object doInConnection(Connection con) throws SQLException, DataAccessException + { + DatabaseMetaData dbMetadata = con.getMetaData(); + ResultSet rs = dbMetadata.getColumns(catalog, schema, tableName, columnName); + boolean conditionMet = rs.next(); + if (conditionMet) + { + ResultSetMetaData rsmeta = rs.getMetaData(); + int colcount = rsmeta.getColumnCount(); + Map<String, Object> params = new HashMap<String, Object>(); + for (int j = 1; j <= colcount; j++) + { + params.put(rsmeta.getColumnName(j), rs.getObject(j)); + } + conditionMet = checkColumnMetadata(params); + } + rs.close(); + return conditionMet; + } + }); + } + + /** + * <p> + * Check if a specific condition is met depending on column metadata. + * </p> + * Column attributes included in the Map are: + * <ol> + * <li><strong>TABLE_CAT</strong> String => table catalog (may be <code>null</code>)</li> + * <li><strong>TABLE_SCHEM</strong> String => table schema (may be <code>null</code>)</li> + * <li><strong>TABLE_NAME</strong> String => table name</li> + * <li><strong>COLUMN_NAME</strong> String => column name</li> + * <li><strong>DATA_TYPE</strong> int => SQL type from java.sql.Types</li> + * <li><strong>TYPE_NAME</strong> String => Data source dependent type name, for a UDT the type name is fully + * qualified</li> + * <li><strong>COLUMN_SIZE</strong> int => column size.</li> + * <li><strong>BUFFER_LENGTH</strong> is not used.</li> + * <li><strong>DECIMAL_DIGITS</strong> int => the number of fractional digits. Null is returned for data types + * where DECIMAL_DIGITS is not applicable.</li> + * <li><strong>NUM_PREC_RADIX</strong> int => Radix (typically either 10 or 2)</li> + * <li><strong>NULLABLE</strong> int => is NULL allowed.</li> + * <ul> + * <li> columnNoNulls - might not allow <code>NULL</code> values</li> + * <li> columnNullable - definitely allows <code>NULL</code> values</li> + * <li> columnNullableUnknown - nullability unknown</li> + * </ul> + * <li><strong>REMARKS</strong> String => comment describing column (may be <code>null</code>)</li> + * <li><strong>COLUMN_DEF</strong> String => default value for the column, which should be interpreted as a string + * when the value is enclosed in single quotes (may be <code>null</code>)</li> + * <li><strong>SQL_DATA_TYPE</strong> int => unused</li> + * <li><strong>SQL_DATETIME_SUB</strong> int => unused</li> + * <li><strong>CHAR_OCTET_LENGTH</strong> int => for char types the maximum number of bytes in the column</li> + * <li><strong>ORDINAL_POSITION</strong> int => index of column in table (starting at 1)</li> + * <li><strong>IS_NULLABLE</strong> String => ISO rules are used to determine the nullability for a column.</li> + * <ul> + * <li> YES --- if the parameter can include NULLs</li> + * <li> NO --- if the parameter cannot include NULLs</li> + * <li> empty string --- if the nullability for the parameter is unknown</li> + * </ul> + * <li><strong>SCOPE_CATLOG</strong> String => catalog of table that is the scope of a reference attribute (<code>null</code> + * if DATA_TYPE isn't REF)</li> + * <li><strong>SCOPE_SCHEMA</strong> String => schema of table that is the scope of a reference attribute (<code>null</code> + * if the DATA_TYPE isn't REF)</li> + * <li><strong>SCOPE_TABLE</strong> String => table name that this the scope of a reference attribure (<code>null</code> + * if the DATA_TYPE isn't REF)</li> + * <li><strong>SOURCE_DATA_TYPE</strong> short => source type of a distinct type or user-generated Ref type, SQL + * type from java.sql.Types (<code>null</code> if DATA_TYPE isn't DISTINCT or user-generated REF)</li> + * <li><strong>IS_AUTOINCREMENT</strong> String => Indicates whether this column is auto incremented</li> + * <ul> + * <li> YES --- if the column is auto incremented</li> + * <li> NO --- if the column is not auto incremented</li> + * <li> empty string --- if it cannot be determined whether the column is auto incremented parameter is unknown</li> + * </ul> + * </ol> + * @param metadata column metadata + * @return <code>true</code> if the condition is met + */ + protected abstract boolean checkColumnMetadata(Map<String, Object> metadata); + +} Deleted: tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java 2008-05-07 12:57:08 UTC (rev 824) +++ tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java 2008-06-11 21:25:54 UTC (rev 837) @@ -1,108 +0,0 @@ -/* - * Copyright Openmind http://www.openmindonline.it - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package it.openutils.migration.generic; - -import it.openutils.migration.task.setup.BaseConditionalTask; - -import java.sql.Connection; -import java.sql.DatabaseMetaData; -import java.sql.ResultSet; -import java.sql.SQLException; - -import org.apache.commons.lang.StringUtils; -import org.springframework.dao.DataAccessException; -import org.springframework.jdbc.core.ConnectionCallback; -import org.springframework.jdbc.core.simple.SimpleJdbcTemplate; - - -/** - * Task that executes if a given column exists. - * @author fgiust - * @version $Id: $ - */ -public class JdbcIfColumnExistsConditionalTask extends BaseConditionalTask -{ - - /** - * Column name. - */ - protected String column; - - /** - * Catalog. - */ - protected String catalog; - - /** - * Schema. - */ - protected String schema; - - /** - * Sets the catalog. - * @param catalog the catalog to set - */ - public void setCatalog(String catalog) - { - this.catalog = catalog; - } - - /** - * Sets the schema. - * @param schema the schema to set - */ - public void setSchema(String schema) - { - this.schema = schema; - } - - /** - * Sets the column. - * @param column the column to set - */ - public void setColumn(String column) - { - this.column = column; - } - - /** - * {@inheritDoc} - */ - @Override - public boolean check(SimpleJdbcTemplate jdbcTemplate) - { - - String columnTrim = StringUtils.trim(column); - - final String tableName = StringUtils.substringBefore(columnTrim, "."); - final String columnName = StringUtils.substringAfter(columnTrim, "."); - return (Boolean) jdbcTemplate.getJdbcOperations().execute(new ConnectionCallback() - { - - public Object doInConnection(Connection con) throws SQLException, DataAccessException - { - - DatabaseMetaData dbMetadata = con.getMetaData(); - ResultSet rs = dbMetadata.getColumns(catalog, schema, tableName, columnName); - boolean tableExists = rs.next(); - rs.close(); - - return !tableExists; - } - }); - } - -} Copied: tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java (from rev 834, trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java) =================================================================== --- tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java (rev 0) +++ tags/openutils-dbmigration-2.0.4/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java 2008-06-11 21:25:54 UTC (rev 837) @@ -0,0 +1,108 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package it.openutils.migration.generic; + +import it.openutils.migration.task.setup.BaseConditionalTask; + +import java.sql.Connection; +import java.sql.DatabaseMetaData; +import java.sql.ResultSet; +import java.sql.SQLException; + +import org.apache.commons.lang.StringUtils; +import org.springframework.dao.DataAccessException; +import org.springframework.jdbc.core.ConnectionCallback; +import org.springframework.jdbc.core.simple.SimpleJdbcTemplate; + + +/** + * Task that executes if a given column exists. + * @author fgiust + * @version $Id: $ + */ +public class JdbcIfColumnExistsConditionalTask extends BaseConditionalTask +{ + + /** + * Column name. + */ + protected String column; + + /** + * Catalog. + */ + protected String catalog; + + /** + * Schema. + */ + protected String schema; + + /** + * Sets... [truncated message content] |
From: <fg...@us...> - 2008-06-20 14:52:20
|
Revision: 849 http://openutils.svn.sourceforge.net/openutils/?rev=849&view=rev Author: fgiust Date: 2008-06-20 07:52:27 -0700 (Fri, 20 Jun 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnlcontrols-3.5 Added Paths: ----------- tags/openutils-mgnlcontrols-3.5/ tags/openutils-mgnlcontrols-3.5/pom.xml tags/openutils-mgnlcontrols-3.5/src/main/java/net/sourceforge/openutils/mgnlcontrols/dialog/ConfigurableFreemarkerDialog.java tags/openutils-mgnlcontrols-3.5/src/main/java/net/sourceforge/openutils/mgnlcontrols/setup/ControlsModuleVersionHandler.java tags/openutils-mgnlcontrols-3.5/src/main/resources/META-INF/magnolia/controls.xml tags/openutils-mgnlcontrols-3.5/src/main/resources/dialogs/grid.ftl tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/basic-dialog.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/borders.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/box.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/button.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/combo.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/core.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/date-picker.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/dialog.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/ext-all.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/form.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/grid.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/layout.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/menu.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/panel.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/progress.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/qtips.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/reset-min.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/resizable.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/slider.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/tabs.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/toolbar.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/tree.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/window.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/xtheme-aero.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/xtheme-gray.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/css/xtheme-vista.css tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/ext-all-debug.js tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/ext-all.js tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/ext-base.js tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/aero-close-over.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/aero-close.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/bg-center.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/bg-left.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/bg-right.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/close.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/collapse-over.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/collapse.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/e-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/expand-over.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/expand.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/hd-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/s-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/se-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/w-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/gradient-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/grid-split.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/grid-vista-hd.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/pspbrwse.jbf tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/sort-col-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/sort_asc.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/sort_desc.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/collapse.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/expand.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/gradient-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/ns-expand.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/panel-close.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/panel-title-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/panel-title-light-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/tab-close-on.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/tab-close.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/menu/menu.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/menu/unchecked.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/sizer/ne-handle-dark.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/sizer/ne-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/sizer/nw-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/sizer/se-handle-dark.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-btm-inactive-left-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-btm-inactive-right-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-btm-left-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-strip-btm-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/toolbar/bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/aero/toolbar/tb-btn-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/btn-arrow.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/btn-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/close.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/collapse.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/e-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/expand.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/hd-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/progress.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/progress2.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/se-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/box/corners-blue.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/box/corners.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/box/l-blue.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/box/l.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/box/r-blue.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/box/r.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/box/tb-blue.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/box/tb.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/button/btn-arrow.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/button/btn-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/dd/drop-add.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/dd/drop-no.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/dd/drop-yes.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/form/clear-trigger.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/form/clear-trigger.psd tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/form/date-trigger.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/form/date-trigger.psd tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/form/exclamation.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/form/search-trigger.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/form/search-trigger.psd tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/form/text-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/form/trigger-tpl.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/form/trigger.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/form/trigger.psd tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/gradient-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/Thumbs.db tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/arrow-left-white.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/arrow-right-white.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/col-move-top.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/dirty.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/drop-no.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/drop-yes.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/footer-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-blue-hd.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-blue-split.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-hrow.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-loading.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-split.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-vista-hd.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-hd-btn.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-hrow-over.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-hrow.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-special-col-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-special-col-sel-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/group-by.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/group-expand-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hd-pop.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-asc.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-desc.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-lock.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-lock.png tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-unlock.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-unlock.png tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/loading.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/mso-hd.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/nowait.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-first-disabled.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-first.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-last-disabled.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-last.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-next-disabled.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-prev-disabled.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-prev.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/pick-button.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/refresh.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/row-expand-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/row-over.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/row-sel.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/sort_asc.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/sort_desc.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/grid/wait.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/layout/collapse.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/layout/expand.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/layout/gradient-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/layout/mini-left.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/layout/mini-right.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/layout/ns-expand.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/layout/panel-close.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/layout/stick.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/layout/stuck.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/layout/tab-close-on.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/layout/tab-close.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/menu/checked.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/menu/group-checked.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/menu/item-over.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/menu/menu-parent.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/menu/menu.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/menu/unchecked.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/panel/corners-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/panel/left-right.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/panel/tool-sprite-tpl.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/panel/tool-sprites.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/panel/tools-sprites-trans.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/panel/top-bottom.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/panel/top-bottom.png tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/panel/white-corners-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/panel/white-left-right.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/panel/white-top-bottom.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/progress/progress-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/qtip/bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/qtip/close.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/qtip/tip-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/s.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/shadow-c.png tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/shadow-lr.png tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/shadow.png tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/shared/blue-loading.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/shared/calendar.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/shared/hd-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/shared/large-loading.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/shared/loading-balls.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/shared/right-btn.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/shared/warning.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/e-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/ne-handle-dark.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/nw-handle-dark.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/nw-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/s-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/se-handle-dark.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/square.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/sw-handle-dark.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/sw-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/slider/slider-bg.png tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/slider/slider-v-bg.png tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/slider/slider-v-thumb.png tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/scroll-left.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/scroll-right.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/scroller-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-btm-inactive-left-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-btm-inactive-right-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-btm-left-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-btm-right-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-close.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-strip-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-strip-bg.png tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-strip-btm-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tabs-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/btn-arrow-light.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/btn-arrow.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/btn-over-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/tb-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/tb-btn-sprite.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/arrows.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-add.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-between.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-no.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-over.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-under.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-yes.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-end-minus-nl.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-end-plus-nl.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-end-plus.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-end.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-line.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/folder.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/tree/loading.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/window/icon-error.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/window/icon-info.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/window/icon-question.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/window/left-corners.png tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/window/left-right.png tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/window/right-corners.psd tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/default/window/top-bottom.psd tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/gray/basic-dialog/close.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/gray/basic-dialog/collapse.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/gray/basic-dialog/dlg-bg.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/gray/basic-dialog/e-handle.gif tags/openutils-mgnlcontrols-3.5/src/main/resources/mgnl-resources/controls/ext/images/gray/basic-dialog/expand.gif tags/openutils-mgnlcontrols-3.5/src/ma... [truncated message content] |
From: <fg...@us...> - 2008-06-23 19:24:36
|
Revision: 856 http://openutils.svn.sourceforge.net/openutils/?rev=856&view=rev Author: fgiust Date: 2008-06-23 12:24:42 -0700 (Mon, 23 Jun 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnlcontrols-3.5.1 Added Paths: ----------- tags/openutils-mgnlcontrols-3.5.1/ tags/openutils-mgnlcontrols-3.5.1/pom.xml tags/openutils-mgnlcontrols-3.5.1/src/main/java/net/sourceforge/openutils/mgnlcontrols/dialog/ConfigurableFreemarkerDialog.java tags/openutils-mgnlcontrols-3.5.1/src/main/java/net/sourceforge/openutils/mgnlcontrols/setup/ControlsModuleVersionHandler.java tags/openutils-mgnlcontrols-3.5.1/src/main/resources/META-INF/magnolia/controls.xml tags/openutils-mgnlcontrols-3.5.1/src/main/resources/dialogs/grid.ftl tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/css/ tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/basic-dialog.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/borders.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/box.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/button.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/combo.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/core.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/date-picker.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/dialog.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/ext-all.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/form.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/grid.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/layout.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/menu.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/panel.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/progress.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/qtips.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/reset-min.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/resizable.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/slider.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/tabs.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/toolbar.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/tree.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/window.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/xtheme-aero.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/xtheme-gray.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/css/xtheme-vista.css tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/ext-all-debug.js tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/ext-all.js tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/ext-base.js tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/aero-close-over.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/aero-close.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/bg-center.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/bg-left.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/bg-right.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/close.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/collapse-over.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/collapse.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/e-handle.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/expand-over.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/expand.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/hd-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/s-handle.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/se-handle.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/w-handle.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/gradient-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/grid-split.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/grid-vista-hd.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/pspbrwse.jbf tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/sort-col-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/sort_asc.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/sort_desc.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/collapse.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/expand.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/gradient-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/ns-expand.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/panel-close.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/panel-title-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/panel-title-light-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/tab-close-on.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/tab-close.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/menu/menu.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/menu/unchecked.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/sizer/ne-handle-dark.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/sizer/ne-handle.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/sizer/nw-handle.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/sizer/se-handle-dark.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-btm-inactive-left-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-btm-inactive-right-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-btm-left-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-strip-btm-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/toolbar/bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/aero/toolbar/tb-btn-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/btn-arrow.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/btn-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/close.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/collapse.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/e-handle.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/expand.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/hd-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/progress.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/progress2.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/se-handle.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/box/corners-blue.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/box/corners.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/box/l-blue.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/box/l.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/box/r-blue.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/box/r.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/box/tb-blue.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/box/tb.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/button/btn-arrow.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/button/btn-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/dd/drop-add.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/dd/drop-no.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/dd/drop-yes.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/form/clear-trigger.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/form/clear-trigger.psd tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/form/date-trigger.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/form/date-trigger.psd tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/form/exclamation.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/form/search-trigger.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/form/search-trigger.psd tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/form/text-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/form/trigger-tpl.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/form/trigger.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/form/trigger.psd tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/gradient-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/Thumbs.db tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/arrow-left-white.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/arrow-right-white.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/col-move-top.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/dirty.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/drop-no.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/drop-yes.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/footer-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-blue-hd.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-blue-split.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-hrow.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-loading.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-split.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-vista-hd.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-hd-btn.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-hrow-over.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-hrow.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-special-col-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-special-col-sel-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/group-by.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/group-expand-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hd-pop.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-asc.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-desc.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-lock.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-lock.png tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-unlock.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-unlock.png tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/loading.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/mso-hd.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/nowait.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-first-disabled.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-first.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-last-disabled.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-last.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-next-disabled.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-prev-disabled.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-prev.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/pick-button.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/refresh.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/row-expand-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/row-over.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/row-sel.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/sort_asc.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/sort_desc.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/grid/wait.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/layout/collapse.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/layout/expand.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/layout/gradient-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/layout/mini-left.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/layout/mini-right.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/layout/ns-expand.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/layout/panel-close.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/layout/stick.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/layout/stuck.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/layout/tab-close-on.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/layout/tab-close.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/menu/checked.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/menu/group-checked.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/menu/item-over.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/menu/menu-parent.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/menu/menu.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/menu/unchecked.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/panel/corners-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/panel/left-right.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/panel/tool-sprite-tpl.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/panel/tool-sprites.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/panel/tools-sprites-trans.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/panel/top-bottom.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/panel/top-bottom.png tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/panel/white-corners-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/panel/white-left-right.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/panel/white-top-bottom.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/progress/progress-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/qtip/bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/qtip/close.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/qtip/tip-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/s.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/shadow-c.png tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/shadow-lr.png tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/shadow.png tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/shared/blue-loading.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/shared/calendar.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/shared/hd-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/shared/large-loading.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/shared/loading-balls.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/shared/right-btn.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/shared/warning.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/e-handle.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/ne-handle-dark.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/nw-handle-dark.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/nw-handle.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/s-handle.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/se-handle-dark.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/square.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/sw-handle-dark.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/sw-handle.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/slider/slider-bg.png tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/slider/slider-v-bg.png tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/slider/slider-v-thumb.png tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/scroll-left.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/scroll-right.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/scroller-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-btm-inactive-left-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-btm-inactive-right-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-btm-left-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-btm-right-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-close.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-strip-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-strip-bg.png tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-strip-btm-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tabs-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/btn-arrow-light.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/btn-arrow.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/btn-over-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/tb-bg.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/tb-btn-sprite.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/arrows.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-add.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-between.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-no.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-over.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-under.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-yes.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-end-minus-nl.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-end-plus-nl.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-end-plus.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-end.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-line.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/folder.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/tree/loading.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/window/icon-error.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/window/icon-info.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/window/icon-question.gif tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/window/left-corners.png tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/window/left-right.png tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/window/right-corners.psd tags/openutils-mgnlcontrols-3.5.1/src/main/resources/mgnl-resources/controls/ext/images/default/window/top-bottom.psd tags/openutils-mgnlcontrols-3.5.1/src/ma... [truncated message content] |
From: <fg...@us...> - 2008-06-24 15:59:54
|
Revision: 863 http://openutils.svn.sourceforge.net/openutils/?rev=863&view=rev Author: fgiust Date: 2008-06-24 08:28:00 -0700 (Tue, 24 Jun 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnltasks-3.5.3 Added Paths: ----------- tags/openutils-mgnltasks-3.5.3/ tags/openutils-mgnltasks-3.5.3/pom.xml tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/AnonymousUserSetupTask.java tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/CheckAndCreateGroupTask.java tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/CheckAndCreateRoleTask.java tags/openutils-mgnltasks-3.5.3/src/site/changes/changes.xml Removed Paths: ------------- tags/openutils-mgnltasks-3.5.3/pom.xml tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/AnonymousUserSetupTask.java tags/openutils-mgnltasks-3.5.3/src/site/changes/changes.xml Copied: tags/openutils-mgnltasks-3.5.3 (from rev 838, trunk/openutils-mgnltasks) Deleted: tags/openutils-mgnltasks-3.5.3/pom.xml =================================================================== --- trunk/openutils-mgnltasks/pom.xml 2008-06-11 21:26:56 UTC (rev 838) +++ tags/openutils-mgnltasks-3.5.3/pom.xml 2008-06-24 15:28:00 UTC (rev 863) @@ -1,89 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <modelVersion>4.0.0</modelVersion> - <packaging>jar</packaging> - <artifactId>openutils-mgnltasks</artifactId> - <name>openutils-mgnltasks</name> - <version>3.5.3-SNAPSHOT</version> - <description>A collection of useful magnolia update tasks that can be reused in custom modules</description> - <licenses> - <license> - <name>GPLv3</name> - <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> - </license> - </licenses> - <build> - <resources> - <resource> - <filtering>false</filtering> - <directory>src/main/resources</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - <resource> - <filtering>true</filtering> - <directory>src/main/resources</directory> - <includes> - <include>META-INF/magnolia/*</include> - </includes> - </resource> - </resources> - </build> - <dependencies> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-core</artifactId> - <version>3.5.8</version> - </dependency> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-module-admininterface</artifactId> - <version>3.5.8</version> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - <version>2.4</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>jsp-api</artifactId> - <version>2.0</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <classifier>jdk15</classifier> - <version>5.7</version> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - <repositories> - <repository> - <id>repository.magnolia.info</id> - <name>magnolia repository</name> - <url>http://repo.magnolia.info/m2</url> - <releases> - <enabled>true</enabled> - </releases> - <snapshots> - <enabled>false</enabled> - </snapshots> - </repository> - </repositories> -</project> Copied: tags/openutils-mgnltasks-3.5.3/pom.xml (from rev 862, trunk/openutils-mgnltasks/pom.xml) =================================================================== --- tags/openutils-mgnltasks-3.5.3/pom.xml (rev 0) +++ tags/openutils-mgnltasks-3.5.3/pom.xml 2008-06-24 15:28:00 UTC (rev 863) @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <packaging>jar</packaging> + <artifactId>openutils-mgnltasks</artifactId> + <name>openutils-mgnltasks</name> + <version>3.5.3</version> + <description>A collection of useful magnolia update tasks that can be reused in custom modules</description> + <licenses> + <license> + <name>GPLv3</name> + <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> + </license> + </licenses> + <build> + <resources> + <resource> + <filtering>false</filtering> + <directory>src/main/resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <filtering>true</filtering> + <directory>src/main/resources</directory> + <includes> + <include>META-INF/magnolia/*</include> + </includes> + </resource> + </resources> + </build> + <dependencies> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-core</artifactId> + <version>3.5.8</version> + <exclusions> + <exclusion> + <groupId>servlets.com</groupId> + <artifactId>cos</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-module-admininterface</artifactId> + <version>3.5.8</version> + <exclusions> + <exclusion> + <groupId>servlets.com</groupId> + <artifactId>cos</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>2.4</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>jsp-api</artifactId> + <version>2.0</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <classifier>jdk15</classifier> + <version>5.7</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + <repositories> + <repository> + <id>repository.magnolia.info</id> + <name>magnolia repository</name> + <url>http://repo.magnolia.info/m2</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5.3</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5.3</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnltasks-3.5.3</url> + </scm> +</project> \ No newline at end of file Deleted: tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/AnonymousUserSetupTask.java =================================================================== --- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/AnonymousUserSetupTask.java 2008-06-11 21:26:56 UTC (rev 838) +++ tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/AnonymousUserSetupTask.java 2008-06-24 15:28:00 UTC (rev 863) @@ -1,94 +0,0 @@ -/** - * Copyright Openmind http://www.openmindonline.it - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ -package it.openutils.mgnltasks; - -import info.magnolia.cms.beans.config.ContentRepository; -import info.magnolia.cms.core.Content; -import info.magnolia.cms.core.HierarchyManager; -import info.magnolia.cms.security.Permission; -import info.magnolia.cms.security.UserManager; -import info.magnolia.cms.util.NodeDataUtil; -import info.magnolia.module.InstallContext; -import info.magnolia.module.delta.AbstractRepositoryTask; -import info.magnolia.module.delta.Task; -import info.magnolia.module.delta.TaskExecutionException; - -import java.util.Collection; - -import javax.jcr.RepositoryException; - - -/** - * A task that can be used to add or remove read only access to the anonymous user (for an easy admin/public switch). - * @author fgiust - * @version $Id: $ - */ -public class AnonymousUserSetupTask extends AbstractRepositoryTask implements Task -{ - - private boolean allowAccess; - - /** - * @param allowAccess true to add access to anonymous users, false to remove it - */ - public AnonymousUserSetupTask(boolean allowAccess) - { - super("Setup anonymous user", allowAccess - ? "Adding access to anonymous user" - : "Removing access to anonymous user"); - this.allowAccess = allowAccess; - } - - /** - * {@inheritDoc} - */ - @SuppressWarnings("unchecked") - @Override - protected void doExecute(InstallContext installContext) throws RepositoryException, TaskExecutionException - { - - HierarchyManager hm = installContext.getHierarchyManager(ContentRepository.USER_ROLES); - - Content role = hm.getContent("/" + UserManager.ANONYMOUS_USER); - - Content acls = role.getChildByName("acl_website"); - - Collection<Content> children = acls.getChildren(); - - boolean found = false; - for (Content acl : children) - { - if ("/*".equals(acl.getNodeData("path").getString())) - { - found = true; - - long permissions = acl.getNodeData("permissions").getLong(); - long newpermissions = this.allowAccess ? Permission.READ : 0; - if (permissions != newpermissions) - { - NodeDataUtil.getOrCreate(acl, "permissions").setValue(newpermissions); - } - } - } - if (!found) - { - log.warn("Security not configured on anonymous user! No acl for /* found."); - } - } - -} Copied: tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/AnonymousUserSetupTask.java (from rev 860, trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/AnonymousUserSetupTask.java) =================================================================== --- tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/AnonymousUserSetupTask.java (rev 0) +++ tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/AnonymousUserSetupTask.java 2008-06-24 15:28:00 UTC (rev 863) @@ -0,0 +1,110 @@ +/** + * Copyright Openmind http://www.openmindonline.it + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ +package it.openutils.mgnltasks; + +import info.magnolia.cms.beans.config.ContentRepository; +import info.magnolia.cms.core.Content; +import info.magnolia.cms.core.HierarchyManager; +import info.magnolia.cms.security.AccessDeniedException; +import info.magnolia.cms.security.Permission; +import info.magnolia.cms.security.UserManager; +import info.magnolia.cms.util.NodeDataUtil; +import info.magnolia.module.InstallContext; +import info.magnolia.module.delta.AbstractRepositoryTask; +import info.magnolia.module.delta.Task; +import info.magnolia.module.delta.TaskExecutionException; + +import java.util.Collection; + +import javax.jcr.RepositoryException; + + +/** + * A task that can be used to add or remove read only access to the anonymous user (for an easy admin/public switch). + * @author fgiust + * @version $Id$ + */ +public class AnonymousUserSetupTask extends AbstractRepositoryTask implements Task +{ + + private boolean allowAccess; + + /** + * @param allowAccess true to add access to anonymous users, false to remove it + */ + public AnonymousUserSetupTask(boolean allowAccess) + { + super("Setup anonymous user", allowAccess + ? "Adding access to anonymous user" + : "Removing access to anonymous user"); + this.allowAccess = allowAccess; + } + + /** + * {@inheritDoc} + */ + @Override + protected void doExecute(InstallContext installContext) throws RepositoryException, TaskExecutionException + { + + HierarchyManager hm = installContext.getHierarchyManager(ContentRepository.USER_ROLES); + + Content role = hm.getContent("/" + UserManager.ANONYMOUS_USER); + + setupAcl(role, "website", "/", this.allowAccess ? Permission.READ : Permission.NONE); + setupAcl(role, "uri", "/*", this.allowAccess ? Permission.ALL : Permission.NONE); + setupAcl(role, "uri", "/.magnolia*", Permission.NONE); + } + + /** + * @param role + * @param repository + * @param newpermissions + * @throws RepositoryException + * @throws AccessDeniedException + */ + @SuppressWarnings("unchecked") + private void setupAcl(Content role, String repository, String path, long newpermissions) + throws RepositoryException, AccessDeniedException + { + Content acls = role.getChildByName("acl_" + repository); + + Collection<Content> children = acls.getChildren(); + + boolean found = false; + for (Content acl : children) + { + String aclPath = acl.getNodeData("path").getString(); + if (path.equals(aclPath)) + { + found = true; + + long permissions = acl.getNodeData("permissions").getLong(); + if (permissions != newpermissions) + { + NodeDataUtil.getOrCreate(acl, "permissions").setValue(newpermissions); + } + } + } + if (!found) + { + log.warn("Security not configured on anonymous user! No acl for {} found on {}", path, repository); + } + } + +} Copied: tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/CheckAndCreateGroupTask.java (from rev 860, trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckAndCreateGroupTask.java) =================================================================== --- tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/CheckAndCreateGroupTask.java (rev 0) +++ tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/CheckAndCreateGroupTask.java 2008-06-24 15:28:00 UTC (rev 863) @@ -0,0 +1,76 @@ +/** + * Copyright Openmind http://www.openmindonline.it + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ +package it.openutils.mgnltasks; + +import info.magnolia.cms.beans.config.ContentRepository; +import info.magnolia.cms.core.HierarchyManager; +import info.magnolia.module.InstallContext; +import info.magnolia.module.delta.AbstractRepositoryTask; +import info.magnolia.module.delta.BootstrapSingleResource; +import info.magnolia.module.delta.Task; +import info.magnolia.module.delta.TaskExecutionException; + +import javax.jcr.PathNotFoundException; +import javax.jcr.RepositoryException; + + +/** + * Creates a group if not already existing. + * @author fgiust + * @version $Id$ + */ +public class CheckAndCreateGroupTask extends AbstractRepositoryTask implements Task +{ + + private String group; + + private String bootstrapFile; + + /** + * @param group group name + * @param bootstrapFile bootstrap file used to create the group + */ + public CheckAndCreateGroupTask(String group, String bootstrapFile) + { + super("Checking " + group, "Checking " + group); + this.group = group; + this.bootstrapFile = bootstrapFile; + } + + /** + * {@inheritDoc} + */ + @Override + protected void doExecute(InstallContext installContext) throws RepositoryException, TaskExecutionException + { + + HierarchyManager hm = installContext.getHierarchyManager(ContentRepository.USER_GROUPS); + + try + { + hm.getContent(group); + } + catch (PathNotFoundException e) + { + + BootstrapSingleResource bsr = new BootstrapSingleResource("creating group " + group, "creating group " + + group, bootstrapFile); + bsr.execute(installContext); + } + } +} Copied: tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/CheckAndCreateRoleTask.java (from rev 860, trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckAndCreateRoleTask.java) =================================================================== --- tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/CheckAndCreateRoleTask.java (rev 0) +++ tags/openutils-mgnltasks-3.5.3/src/main/java/it/openutils/mgnltasks/CheckAndCreateRoleTask.java 2008-06-24 15:28:00 UTC (rev 863) @@ -0,0 +1,78 @@ +/** + * Copyright Openmind http://www.openmindonline.it + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ +package it.openutils.mgnltasks; + +import info.magnolia.cms.beans.config.ContentRepository; +import info.magnolia.cms.core.HierarchyManager; +import info.magnolia.module.InstallContext; +import info.magnolia.module.delta.AbstractRepositoryTask; +import info.magnolia.module.delta.BootstrapSingleResource; +import info.magnolia.module.delta.Task; +import info.magnolia.module.delta.TaskExecutionException; + +import javax.jcr.PathNotFoundException; +import javax.jcr.RepositoryException; + + +/** + * Creates a role if not already existing. + * @author fgiust + * @version $Id$ + */ +public class CheckAndCreateRoleTask extends AbstractRepositoryTask implements Task +{ + + private String role; + + private String bootstrapFile; + + /** + * @param role role name + * @param bootstrapFile bootstrap file used to create the role + */ + public CheckAndCreateRoleTask(String role, String bootstrapFile) + { + super("Checking " + role, "Checking " + role); + this.role = role; + this.bootstrapFile = bootstrapFile; + } + + /** + * {@inheritDoc} + */ + @Override + protected void doExecute(InstallContext installContext) throws RepositoryException, TaskExecutionException + { + + HierarchyManager hm = installContext.getHierarchyManager(ContentRepository.USER_ROLES); + + try + { + hm.getContent(role); + } + catch (PathNotFoundException e) + { + + BootstrapSingleResource bsr = new BootstrapSingleResource( + "creating role " + role, + "creating role " + role, + bootstrapFile); + bsr.execute(installContext); + } + } +} Deleted: tags/openutils-mgnltasks-3.5.3/src/site/changes/changes.xml =================================================================== --- trunk/openutils-mgnltasks/src/site/changes/changes.xml 2008-06-11 21:26:56 UTC (rev 838) +++ tags/openutils-mgnltasks-3.5.3/src/site/changes/changes.xml 2008-06-24 15:28:00 UTC (rev 863) @@ -1,25 +0,0 @@ -<?xml version="1.0"?> -<!-- - "type" attribute can be: add, remove, update or fix. ---> -<document> - <properties> - <title>Changes</title> - <author email="fgiust(at)users.sourceforge.net">Fabrizio Giustina</author> - </properties> - <body> - <release version="3.5.2" date="2008-06-08" description="in svn"> - <action type="add" dev="fgiust">Added [modulename].update.disabled property in SimpleModuleVersionHandler that - can be set to true in order to disable module configuration updates</action> - <action type="add" dev="fgiust">Added it.openutils.mgnltasks.DisableSubscribersTask</action> - </release> - <release version="3.5.1" date="2008-04-28" description="3.5.1"> - <action type="add" dev="fgiust">Added UpdateModuleVersionTask.</action> - <action type="add" dev="fgiust">Added SimpleModuleVersionHandler.</action> - </release> - <release version="3.5" date="2008-04-27" description="first release"> - <action type="add" dev="fgiust">First public release. The version is labeled "3.5" in order to make clear which - version of magnolia is required.</action> - </release> - </body> -</document> \ No newline at end of file Copied: tags/openutils-mgnltasks-3.5.3/src/site/changes/changes.xml (from rev 860, trunk/openutils-mgnltasks/src/site/changes/changes.xml) =================================================================== --- tags/openutils-mgnltasks-3.5.3/src/site/changes/changes.xml (rev 0) +++ tags/openutils-mgnltasks-3.5.3/src/site/changes/changes.xml 2008-06-24 15:28:00 UTC (rev 863) @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<!-- + "type" attribute can be: add, remove, update or fix. +--> +<document> + <properties> + <title>Changes</title> + <author email="fgiust(at)users.sourceforge.net">Fabrizio Giustina</author> + </properties> + <body> + <release version="3.5.3" date="2008-06-24" description=""> + <action type="add" dev="fgiust">new CheckAndCreateRoleTask and CheckAndCreateGroupTask</action> + <action type="update" dev="fgiust">AnonymousUserSetupTask now also takes care of changing + permissions on URIs</action> + </release> + <release version="3.5.2" date="2008-06-08" description=""> + <action type="add" dev="fgiust">Added [modulename].update.disabled property in SimpleModuleVersionHandler that + can be set to true in order to disable module configuration updates</action> + <action type="add" dev="fgiust">Added it.openutils.mgnltasks.DisableSubscribersTask</action> + </release> + <release version="3.5.1" date="2008-04-28" description="3.5.1"> + <action type="add" dev="fgiust">Added UpdateModuleVersionTask.</action> + <action type="add" dev="fgiust">Added SimpleModuleVersionHandler.</action> + </release> + <release version="3.5" date="2008-04-27" description="first release"> + <action type="add" dev="fgiust">First public release. The version is labeled "3.5" in order to make clear which + version of magnolia is required.</action> + </release> + </body> +</document> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-06-26 17:00:10
|
Revision: 872 http://openutils.svn.sourceforge.net/openutils/?rev=872&view=rev Author: fgiust Date: 2008-06-26 09:58:33 -0700 (Thu, 26 Jun 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnlcontrols-3.5.2 Added Paths: ----------- tags/openutils-mgnlcontrols-3.5.2/ tags/openutils-mgnlcontrols-3.5.2/pom.xml tags/openutils-mgnlcontrols-3.5.2/src/main/java/net/sourceforge/openutils/mgnlcontrols/dialog/ConfigurableFreemarkerDialog.java tags/openutils-mgnlcontrols-3.5.2/src/main/java/net/sourceforge/openutils/mgnlcontrols/setup/ControlsModuleVersionHandler.java tags/openutils-mgnlcontrols-3.5.2/src/main/resources/META-INF/magnolia/controls.xml tags/openutils-mgnlcontrols-3.5.2/src/main/resources/dialogs/grid.ftl tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-bootstrap/controls/config.modules.controls.controls.grid.xml tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/css/ tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/basic-dialog.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/borders.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/box.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/button.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/combo.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/core.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/date-picker.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/dialog.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/ext-all.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/form.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/grid.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/layout.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/menu.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/panel.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/progress.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/qtips.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/reset-min.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/resizable.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/slider.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/tabs.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/toolbar.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/tree.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/window.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/xtheme-aero.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/xtheme-gray.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/css/xtheme-vista.css tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/ext-all-debug.js tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/ext-all.js tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/ext-base.js tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/aero-close-over.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/aero-close.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/bg-center.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/bg-left.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/bg-right.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/close.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/collapse-over.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/collapse.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/e-handle.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/expand-over.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/expand.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/hd-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/s-handle.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/se-handle.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/basic-dialog/w-handle.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/gradient-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/grid-split.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/grid-vista-hd.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/pspbrwse.jbf tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/sort-col-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/sort_asc.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/grid/sort_desc.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/collapse.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/expand.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/gradient-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/ns-expand.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/panel-close.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/panel-title-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/panel-title-light-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/tab-close-on.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/layout/tab-close.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/menu/menu.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/menu/unchecked.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/sizer/ne-handle-dark.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/sizer/ne-handle.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/sizer/nw-handle.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/sizer/se-handle-dark.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-btm-inactive-left-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-btm-inactive-right-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-btm-left-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/tabs/tab-strip-btm-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/toolbar/bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/aero/toolbar/tb-btn-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/btn-arrow.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/btn-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/close.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/collapse.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/e-handle.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/expand.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/hd-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/progress.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/progress2.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/basic-dialog/se-handle.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/box/corners-blue.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/box/corners.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/box/l-blue.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/box/l.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/box/r-blue.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/box/r.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/box/tb-blue.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/box/tb.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/button/btn-arrow.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/button/btn-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/dd/drop-add.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/dd/drop-no.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/dd/drop-yes.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/form/clear-trigger.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/form/clear-trigger.psd tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/form/date-trigger.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/form/date-trigger.psd tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/form/exclamation.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/form/search-trigger.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/form/search-trigger.psd tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/form/text-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/form/trigger-tpl.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/form/trigger.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/form/trigger.psd tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/gradient-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/Thumbs.db tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/arrow-left-white.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/arrow-right-white.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/col-move-top.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/dirty.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/drop-no.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/drop-yes.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/footer-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-blue-hd.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-blue-split.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-hrow.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-loading.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-split.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid-vista-hd.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-hd-btn.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-hrow-over.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-hrow.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-special-col-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/grid3-special-col-sel-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/group-by.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/group-expand-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hd-pop.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-asc.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-desc.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-lock.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-lock.png tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-unlock.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/hmenu-unlock.png tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/loading.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/mso-hd.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/nowait.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-first-disabled.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-first.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-last-disabled.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-last.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-next-disabled.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-prev-disabled.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/page-prev.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/pick-button.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/refresh.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/row-expand-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/row-over.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/row-sel.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/sort_asc.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/sort_desc.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/grid/wait.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/layout/collapse.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/layout/expand.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/layout/gradient-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/layout/mini-left.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/layout/mini-right.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/layout/ns-expand.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/layout/panel-close.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/layout/stick.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/layout/stuck.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/layout/tab-close-on.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/layout/tab-close.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/menu/checked.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/menu/group-checked.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/menu/item-over.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/menu/menu-parent.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/menu/menu.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/menu/unchecked.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/panel/corners-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/panel/left-right.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/panel/tool-sprite-tpl.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/panel/tool-sprites.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/panel/tools-sprites-trans.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/panel/top-bottom.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/panel/top-bottom.png tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/panel/white-corners-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/panel/white-left-right.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/panel/white-top-bottom.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/progress/progress-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/qtip/bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/qtip/close.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/qtip/tip-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/s.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/shadow-c.png tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/shadow-lr.png tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/shadow.png tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/shared/blue-loading.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/shared/calendar.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/shared/hd-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/shared/large-loading.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/shared/loading-balls.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/shared/right-btn.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/shared/warning.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/e-handle.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/ne-handle-dark.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/nw-handle-dark.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/nw-handle.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/s-handle.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/se-handle-dark.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/square.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/sw-handle-dark.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/sizer/sw-handle.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/slider/slider-bg.png tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/slider/slider-v-bg.png tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/slider/slider-v-thumb.png tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/scroll-left.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/scroll-right.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/scroller-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-btm-inactive-left-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-btm-inactive-right-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-btm-left-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-btm-right-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-close.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-strip-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-strip-bg.png tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tab-strip-btm-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tabs/tabs-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/btn-arrow-light.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/btn-arrow.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/btn-over-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/tb-bg.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/toolbar/tb-btn-sprite.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/arrows.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-add.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-between.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-no.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-over.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-under.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/drop-yes.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-end-minus-nl.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-end-plus-nl.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-end-plus.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-end.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/elbow-line.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/folder.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/tree/loading.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/window/icon-error.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/window/icon-info.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/window/icon-question.gif tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/window/left-corners.png tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/window/left-right.png tags/openutils-mgnlcontrols-3.5.2/src/main/resources/mgnl-resources/controls/ext/images/default/window/right-corners.psd tags/openutils-mgnlcontrols-3.5.2/src/m... [truncated message content] |
From: <mol...@us...> - 2008-07-01 14:10:22
|
Revision: 876 http://openutils.svn.sourceforge.net/openutils/?rev=876&view=rev Author: molaschi Date: 2008-07-01 07:10:27 -0700 (Tue, 01 Jul 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnlbootstrapsync-0.2 Added Paths: ----------- tags/openutils-mgnlbootstrapsync-0.2/ tags/openutils-mgnlbootstrapsync-0.2/pom.xml tags/openutils-mgnlbootstrapsync-0.2/src/main/java/it/openutils/mgnlbootstrapsync/listener/AbstractBootstrapSyncListener.java Removed Paths: ------------- tags/openutils-mgnlbootstrapsync-0.2/pom.xml tags/openutils-mgnlbootstrapsync-0.2/src/main/java/it/openutils/mgnlbootstrapsync/listener/AbstractBootstrapSyncListener.java Copied: tags/openutils-mgnlbootstrapsync-0.2 (from rev 873, trunk/openutils-mgnlbootstrapsync) Deleted: tags/openutils-mgnlbootstrapsync-0.2/pom.xml =================================================================== --- trunk/openutils-mgnlbootstrapsync/pom.xml 2008-06-26 17:03:15 UTC (rev 873) +++ tags/openutils-mgnlbootstrapsync-0.2/pom.xml 2008-07-01 14:10:27 UTC (rev 876) @@ -1,76 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <modelVersion>4.0.0</modelVersion> - <packaging>jar</packaging> - <artifactId>openutils-mgnlbootstrapsync</artifactId> - <name>openutils-mgnlbootstrapsync</name> - <version>0.2-SNAPSHOT</version> - <licenses> - <license> - <name>GPLv3</name> - <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> - </license> - </licenses> - <build> - <resources> - <resource> - <filtering>false</filtering> - <directory>src/main/resources</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - <resource> - <filtering>true</filtering> - <directory>src/main/resources</directory> - <includes> - <include>META-INF/magnolia/*</include> - </includes> - </resource> - </resources> - </build> - <dependencies> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-core</artifactId> - <version>3.5-rc2</version> - </dependency> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-module-admininterface</artifactId> - <version>3.5.2</version> - </dependency> - <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <classifier>jdk15</classifier> - <version>5.1</version> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - <repositories> - <repository> - <id>repository.magnolia.info</id> - <name>magnolia repository</name> - <url>http://svn.magnolia.info/maven/m2</url> - <releases> - <enabled>true</enabled> - </releases> - <snapshots> - <enabled>false</enabled> - </snapshots> - </repository> - </repositories> -</project> Copied: tags/openutils-mgnlbootstrapsync-0.2/pom.xml (from rev 875, trunk/openutils-mgnlbootstrapsync/pom.xml) =================================================================== --- tags/openutils-mgnlbootstrapsync-0.2/pom.xml (rev 0) +++ tags/openutils-mgnlbootstrapsync-0.2/pom.xml 2008-07-01 14:10:27 UTC (rev 876) @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <packaging>jar</packaging> + <artifactId>openutils-mgnlbootstrapsync</artifactId> + <name>openutils-mgnlbootstrapsync</name> + <version>0.2</version> + <licenses> + <license> + <name>GPLv3</name> + <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> + </license> + </licenses> + <build> + <resources> + <resource> + <filtering>false</filtering> + <directory>src/main/resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <filtering>true</filtering> + <directory>src/main/resources</directory> + <includes> + <include>META-INF/magnolia/*</include> + </includes> + </resource> + </resources> + </build> + <dependencies> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-core</artifactId> + <version>3.5-rc2</version> + </dependency> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-module-admininterface</artifactId> + <version>3.5.2</version> + </dependency> + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <classifier>jdk15</classifier> + <version>5.1</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + <repositories> + <repository> + <id>repository.magnolia.info</id> + <name>magnolia repository</name> + <url>http://svn.magnolia.info/maven/m2</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlbootstrapsync-0.2</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlbootstrapsync-0.2</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnlbootstrapsync-0.2</url> + </scm> +</project> Deleted: tags/openutils-mgnlbootstrapsync-0.2/src/main/java/it/openutils/mgnlbootstrapsync/listener/AbstractBootstrapSyncListener.java =================================================================== --- trunk/openutils-mgnlbootstrapsync/src/main/java/it/openutils/mgnlbootstrapsync/listener/AbstractBootstrapSyncListener.java 2008-06-26 17:03:15 UTC (rev 873) +++ tags/openutils-mgnlbootstrapsync-0.2/src/main/java/it/openutils/mgnlbootstrapsync/listener/AbstractBootstrapSyncListener.java 2008-07-01 14:10:27 UTC (rev 876) @@ -1,427 +0,0 @@ -package it.openutils.mgnlbootstrapsync.listener; - -import info.magnolia.cms.core.Content; -import info.magnolia.cms.core.HierarchyManager; -import info.magnolia.cms.core.Path; -import info.magnolia.cms.core.ie.DataTransporter; -import info.magnolia.cms.core.ie.filters.VersionFilter; -import info.magnolia.cms.security.AccessDeniedException; -import info.magnolia.cms.util.ContentUtil; -import info.magnolia.context.MgnlContext; -import it.openutils.mgnlbootstrapsync.BootstrapAtomicFilter; -import it.openutils.mgnlbootstrapsync.watch.BootstrapSyncRepositoryWatch; - -import java.io.File; -import java.io.FileNotFoundException; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.OutputStream; -import java.util.Collection; -import java.util.Iterator; -import java.util.zip.DeflaterOutputStream; - -import javax.jcr.PathNotFoundException; -import javax.jcr.RepositoryException; -import javax.jcr.Session; -import javax.jcr.observation.EventIterator; -import javax.jcr.observation.EventListener; - -import org.apache.commons.io.IOUtils; -import org.apache.commons.lang.StringUtils; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.xml.sax.SAXException; -import org.xml.sax.XMLReader; -import org.xml.sax.helpers.XMLReaderFactory; - -/** - * - * @author mmolaschi - * @version $Id: $ - */ -public abstract class AbstractBootstrapSyncListener implements EventListener -{ - - private static Logger log = LoggerFactory.getLogger(AbstractBootstrapSyncListener.class); - - private BootstrapSyncRepositoryWatch watch; - - private Object synchronizationObject = new Object(); - - /** - * - * @param watch watch for this listener - */ - public AbstractBootstrapSyncListener(BootstrapSyncRepositoryWatch watch) - { - this.watch = watch; - } - - - /** - * {@inheritDoc} - */ - public abstract void onEvent(EventIterator events); - - public BootstrapSyncRepositoryWatch getWatch() - { - return watch; - } - - public void setWatch(BootstrapSyncRepositoryWatch watch) - { - this.watch = watch; - } - - /** - * Change event on node - * @param nodePath path to node - */ - public void exportNode(String nodePath) - { - synchronized (synchronizationObject) - { - String path = nodePath; - - // get repository manager - HierarchyManager hm = MgnlContext.getSystemContext().getHierarchyManager(watch.getRepository()); - - // check if path can exported - boolean isEnablePath = this.watch.getEnableRoots().isEnable(path); - if (isEnablePath) - { - try - { - // check if it is a property - if (hm.isNodeData(path)) - { - // move to parent node - path = StringUtils.substringBeforeLast(path, "/"); - } - } - catch (AccessDeniedException e) - { - log.error(e.getMessage(), e); - return; - } - - Content exported = null; - - try - { - // get exported content - exported = getRightContent(hm.getContent(path), watch.getNodeType()); - if (exported == null) - { - return; - } - } - catch (RepositoryException e) - { - if (log.isDebugEnabled() && e instanceof PathNotFoundException) - { - log.debug("Path already deleted:" + path); - } - if (log.isErrorEnabled() && !(e instanceof PathNotFoundException)) - { - log.error("Error hierarchy manager for path " + path, e); - } - return; - } - - // get handle - String handle = exported.getHandle(); - - // check if path is under a "compressed" node - String pathToExport = this.watch.getExportRoots().getRootPath(handle); - - if (pathToExport == null) - { - // not "compressed" - exportFileIterative(hm, exported); - } - else - { - exportFile(hm, pathToExport, false); - } - } - } - } - - /** - * Remove event on node - * @param path path to node - */ - public void removeNode(String path) - { - // synchornization - synchronized (synchronizationObject) - { - // get hierarchy manager - HierarchyManager hm = MgnlContext.getSystemContext().getHierarchyManager(watch.getRepository()); - - // check if path can exported - boolean isEnablePath = this.watch.getEnableRoots().isEnable(path); - if (isEnablePath) - { - // check if path is under a "compressed" node - String pathToExport = this.watch.getExportRoots().getRootPath(path); - - if (pathToExport == null || pathToExport.equals(path)) - { - // remove every file that starts with path - cleanFileSystem(path); - - try - { - // get parent node - String parentHandle = StringUtils.substringBeforeLast(path, "/"); - String parentXmlName = watch.getRepository() - + StringUtils.replace(parentHandle, "/", ".") - + ".xml"; - if (parentHandle.length() == 0) - { - parentHandle = "/"; - } - - // check if path is under a "compressed" node - String pathParentToExport = this.watch.getExportRoots().getRootPath(parentHandle); - - if (pathParentToExport == null) - { - // xml reader for filtering 2 levels - BootstrapAtomicFilter xmlReader = new BootstrapAtomicFilter(XMLReaderFactory - .createXMLReader(org.apache.xerces.parsers.SAXParser.class.getName())); - - // export parent node - exportFile(parentXmlName, xmlReader, hm, parentHandle); - } - else - { - exportFile(hm, pathParentToExport, false); - } - } - catch (SAXException ex) - { - throw new RuntimeException(ex); - } - } - else - { - exportFile(hm, pathToExport, false); - } - } - } - } - - /** - * Go up in tree until the current node type equals passed item type - * @param c current node - * @param itemType item type to check - * @return right node or null if not found - * @throws RepositoryException repository exception - */ - @SuppressWarnings("unchecked") - private Content getRightContent(Content c, String itemType) throws RepositoryException - { - if (c.getItemType().getSystemName().equals(itemType)) - { - return c; - } - if (c.getChildren() != null) - { - Iterator it = c.getChildren().iterator(); - while(it.hasNext()) - { - return getRightContent((Content)it.next(), itemType); - } - } - return null; - } - - /** - * Export node and its subnodes - * @param hm hierarchy manager - * @param node node - */ - @SuppressWarnings("unchecked") - protected void exportFileIterative(HierarchyManager hm, Content node) - { - // write itself - exportFile(hm, node.getHandle(), true); - - // cycle on children - Collection<Content> children = node.getChildren(ContentUtil.EXCLUDE_META_DATA_CONTENT_FILTER); - if (children != null) - { - for (Content child : children) - { - exportFileIterative(hm, child); - } - } - } - - /** - * Export node to file - * @param hm hierarchy manager - * @param handle path to node - * @param singleNode export single node in file - */ - protected void exportFile(HierarchyManager hm, String handle, boolean singleNode) - { - try - { - if (singleNode) - { - String parentHandle = StringUtils.substringBeforeLast(handle, "/"); - String parentXmlName = watch.getRepository() + StringUtils.replace(parentHandle, "/", ".") + ".xml"; - if (parentHandle.length() == 0) - { - parentHandle = "/"; - } - - BootstrapAtomicFilter xmlReader = new BootstrapAtomicFilter(XMLReaderFactory - .createXMLReader(org.apache.xerces.parsers.SAXParser.class.getName())); - - exportFile(parentXmlName, xmlReader, hm, parentHandle); - } - String xmlName = watch.getRepository() + StringUtils.replace(handle, "/", ".") + ".xml"; - - XMLReader xmlReader = null; - - if (singleNode) - { - xmlReader = new BootstrapAtomicFilter(XMLReaderFactory - .createXMLReader(org.apache.xerces.parsers.SAXParser.class.getName())); - } - exportFile(xmlName, xmlReader, hm, handle); - } - catch (SAXException ex) - { - throw new RuntimeException(ex); - } - } - - /** - * - * @param fileName file name - * @param reader xml filter - * @param hm hierarchy manager - * @param handle path to node - */ - protected void exportFile(String fileName, XMLReader reader, HierarchyManager hm, String handle) - { - // create necessary parent directories - File folder = new File(Path.getAbsoluteFileSystemPath(watch.getExportPath())); - folder.mkdirs(); - - File xmlFile = new File(folder.getAbsoluteFile(), fileName); - FileOutputStream fos = null; - try - { - fos = new FileOutputStream(xmlFile); - } - catch (FileNotFoundException e) - { - log.error(e.getMessage(), e); - return; - } - - try - { - executeExport(fos, reader, hm.getWorkspace().getSession(), handle, watch.getRepository()); - } - catch (IOException e) - { - log.error(e.getMessage(), e); - } - finally - { - IOUtils.closeQuietly(fos); - } - } - - /** - * Clean files for node (path) - * @param path path to node - */ - protected void cleanFileSystem(String path) - { - - String baseName = watch.getRepository() + StringUtils.replace(path, "/", "."); - - // create necessary parent directories - File folder = new File(Path.getAbsoluteFileSystemPath(watch.getExportPath())); - - if (folder.exists()) - { - String[] files = folder.list(); - for (String file : files) - { - File f = new File(folder, file); - if (f.exists() && f.getName().startsWith(baseName)) - { - f.delete(); - log.debug("Removed File: " + f.getName()); - } - } - } - } - - /** - * Execute export - * @param baseOutputStream file output stream - * @param reader xml filter - * @param session jcr session - * @param basepath path to node - * @param repository repository - * @throws IOException exception writing file - */ - protected static void executeExport(OutputStream baseOutputStream, XMLReader reader, Session session, - String basepath, String repository) throws IOException - { - OutputStream outputStream = baseOutputStream; - - try - { - // use XMLSerializer and a SAXFilter in order to rewrite the - // file - - XMLReader xmlReader = reader; - if (reader == null) - { - xmlReader = new VersionFilter(XMLReaderFactory - .createXMLReader(org.apache.xerces.parsers.SAXParser.class.getName())); - } - else - { - xmlReader = new VersionFilter(reader); - } - - DataTransporter.parseAndFormat(outputStream, xmlReader, repository, basepath, session, false); - } - catch (IOException e) - { - throw new RuntimeException(e); - } - catch (SAXException e) - { - throw new RuntimeException(e); - } - catch (RepositoryException e) - { - throw new RuntimeException(e); - } - - // finish the stream properly if zip stream - // this is not done by the IOUtils - if (outputStream instanceof DeflaterOutputStream) - { - ((DeflaterOutputStream) outputStream).finish(); - } - - baseOutputStream.flush(); - IOUtils.closeQuietly(baseOutputStream); - } - -} Copied: tags/openutils-mgnlbootstrapsync-0.2/src/main/java/it/openutils/mgnlbootstrapsync/listener/AbstractBootstrapSyncListener.java (from rev 874, trunk/openutils-mgnlbootstrapsync/src/main/java/it/openutils/mgnlbootstrapsync/listener/AbstractBootstrapSyncListener.java) =================================================================== --- tags/openutils-mgnlbootstrapsync-0.2/src/main/java/it/openutils/mgnlbootstrapsync/listener/AbstractBootstrapSyncListener.java (rev 0) +++ tags/openutils-mgnlbootstrapsync-0.2/src/main/java/it/openutils/mgnlbootstrapsync/listener/AbstractBootstrapSyncListener.java 2008-07-01 14:10:27 UTC (rev 876) @@ -0,0 +1,429 @@ +package it.openutils.mgnlbootstrapsync.listener; + +import info.magnolia.cms.core.Content; +import info.magnolia.cms.core.HierarchyManager; +import info.magnolia.cms.core.Path; +import info.magnolia.cms.core.ie.DataTransporter; +import info.magnolia.cms.core.ie.filters.VersionFilter; +import info.magnolia.cms.security.AccessDeniedException; +import info.magnolia.cms.util.ContentUtil; +import info.magnolia.context.MgnlContext; +import it.openutils.mgnlbootstrapsync.BootstrapAtomicFilter; +import it.openutils.mgnlbootstrapsync.watch.BootstrapSyncRepositoryWatch; + +import java.io.File; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.OutputStream; +import java.util.Collection; +import java.util.Iterator; +import java.util.zip.DeflaterOutputStream; + +import javax.jcr.PathNotFoundException; +import javax.jcr.RepositoryException; +import javax.jcr.Session; +import javax.jcr.observation.EventIterator; +import javax.jcr.observation.EventListener; + +import org.apache.commons.io.IOUtils; +import org.apache.commons.lang.StringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.xml.sax.SAXException; +import org.xml.sax.XMLReader; +import org.xml.sax.helpers.XMLReaderFactory; + + +/** + * @author mmolaschi + * @version $Id: $ + */ +public abstract class AbstractBootstrapSyncListener implements EventListener +{ + + private static Logger log = LoggerFactory.getLogger(AbstractBootstrapSyncListener.class); + + private BootstrapSyncRepositoryWatch watch; + + private Object synchronizationObject = new Object(); + + /** + * @param watch watch for this listener + */ + public AbstractBootstrapSyncListener(BootstrapSyncRepositoryWatch watch) + { + this.watch = watch; + } + + /** + * {@inheritDoc} + */ + public abstract void onEvent(EventIterator events); + + public BootstrapSyncRepositoryWatch getWatch() + { + return watch; + } + + public void setWatch(BootstrapSyncRepositoryWatch watch) + { + this.watch = watch; + } + + /** + * Change event on node + * @param nodePath path to node + */ + public void exportNode(String nodePath) + { + synchronized (synchronizationObject) + { + String path = nodePath; + + // get repository manager + HierarchyManager hm = MgnlContext.getSystemContext().getHierarchyManager(watch.getRepository()); + + // check if path can exported + boolean isEnablePath = this.watch.getEnableRoots().isEnable(path); + if (isEnablePath) + { + try + { + // check if it is a property + if (hm.isNodeData(path)) + { + // move to parent node + path = StringUtils.substringBeforeLast(path, "/"); + } + } + catch (AccessDeniedException e) + { + log.error(e.getMessage(), e); + return; + } + + Content exported = null; + + try + { + + if (watch.getNodeType() != null) + { + // get exported content + exported = getRightContent(hm.getContent(path), watch.getNodeType()); + if (exported == null) + { + return; + } + + } + else + { + exported = hm.getContent(path); + } + } + catch (RepositoryException e) + { + if (log.isDebugEnabled() && e instanceof PathNotFoundException) + { + log.debug("Path already deleted:" + path); + } + if (log.isErrorEnabled() && !(e instanceof PathNotFoundException)) + { + log.error("Error hierarchy manager for path " + path, e); + } + return; + } + + // get handle + String handle = exported.getHandle(); + + // check if path is under a "compressed" node + String pathToExport = this.watch.getExportRoots().getRootPath(handle); + + if (pathToExport == null) + { + // not "compressed" + exportFileIterative(hm, exported); + } + else + { + exportFile(hm, pathToExport, false); + } + } + } + } + + /** + * Remove event on node + * @param path path to node + */ + public void removeNode(String path) + { + // synchornization + synchronized (synchronizationObject) + { + // get hierarchy manager + HierarchyManager hm = MgnlContext.getSystemContext().getHierarchyManager(watch.getRepository()); + + // check if path can exported + boolean isEnablePath = this.watch.getEnableRoots().isEnable(path); + if (isEnablePath) + { + // check if path is under a "compressed" node + String pathToExport = this.watch.getExportRoots().getRootPath(path); + + if (pathToExport == null || pathToExport.equals(path)) + { + // remove every file that starts with path + cleanFileSystem(path); + + try + { + // get parent node + String parentHandle = StringUtils.substringBeforeLast(path, "/"); + String parentXmlName = watch.getRepository() + + StringUtils.replace(parentHandle, "/", ".") + + ".xml"; + if (parentHandle.length() == 0) + { + parentHandle = "/"; + } + + // check if path is under a "compressed" node + String pathParentToExport = this.watch.getExportRoots().getRootPath(parentHandle); + + if (pathParentToExport == null) + { + // xml reader for filtering 2 levels + BootstrapAtomicFilter xmlReader = new BootstrapAtomicFilter(XMLReaderFactory + .createXMLReader(org.apache.xerces.parsers.SAXParser.class.getName())); + + // export parent node + exportFile(parentXmlName, xmlReader, hm, parentHandle); + } + else + { + exportFile(hm, pathParentToExport, false); + } + } + catch (SAXException ex) + { + throw new RuntimeException(ex); + } + } + else + { + exportFile(hm, pathToExport, false); + } + } + } + } + + /** + * Go up in tree until the current node type equals passed item type + * @param c current node + * @param itemType item type to check + * @return right node or null if not found + * @throws RepositoryException repository exception + */ + @SuppressWarnings("unchecked") + private Content getRightContent(Content c, String itemType) throws RepositoryException + { + if (c.getItemType().getSystemName().equals(itemType)) + { + return c; + } + if (c.getParent() != null) + { + return getRightContent(c.getParent(), itemType); + } + return null; + } + + /** + * Export node and its subnodes + * @param hm hierarchy manager + * @param node node + */ + @SuppressWarnings("unchecked") + protected void exportFileIterative(HierarchyManager hm, Content node) + { + // write itself + exportFile(hm, node.getHandle(), true); + + // cycle on children + Collection<Content> children = node.getChildren(ContentUtil.EXCLUDE_META_DATA_CONTENT_FILTER); + if (children != null) + { + for (Content child : children) + { + exportFileIterativ... [truncated message content] |
From: <fg...@us...> - 2008-07-12 19:23:28
|
Revision: 880 http://openutils.svn.sourceforge.net/openutils/?rev=880&view=rev Author: fgiust Date: 2008-07-12 12:23:38 -0700 (Sat, 12 Jul 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnlext-2.1 Added Paths: ----------- tags/openutils-mgnlext-2.1/ tags/openutils-mgnlext-2.1/pom.xml Removed Paths: ------------- tags/openutils-mgnlext-2.1/pom.xml Copied: tags/openutils-mgnlext-2.1 (from rev 878, trunk/openutils-mgnlext) Deleted: tags/openutils-mgnlext-2.1/pom.xml =================================================================== --- trunk/openutils-mgnlext/pom.xml 2008-07-12 19:15:57 UTC (rev 878) +++ tags/openutils-mgnlext-2.1/pom.xml 2008-07-12 19:23:38 UTC (rev 880) @@ -1,19 +0,0 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <modelVersion>4.0.0</modelVersion> - <packaging>jar</packaging> - <artifactId>openutils-mgnlext</artifactId> - <name>openutils-mgnlext</name> - <version>2.1-SNAPSHOT</version> - <licenses> - <license> - <name>GPLv3</name> - <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> - </license> - </licenses> -</project> Copied: tags/openutils-mgnlext-2.1/pom.xml (from rev 879, trunk/openutils-mgnlext/pom.xml) =================================================================== --- tags/openutils-mgnlext-2.1/pom.xml (rev 0) +++ tags/openutils-mgnlext-2.1/pom.xml 2008-07-12 19:23:38 UTC (rev 880) @@ -0,0 +1,25 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <packaging>jar</packaging> + <artifactId>openutils-mgnlext</artifactId> + <name>openutils-mgnlext</name> + <version>2.1</version> + <licenses> + <license> + <name>GPLv3</name> + <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> + </license> + </licenses> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlext-2.1</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlext-2.1</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnlext-2.1</url> + </scm> +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-07-13 20:00:49
|
Revision: 885 http://openutils.svn.sourceforge.net/openutils/?rev=885&view=rev Author: fgiust Date: 2008-07-13 13:00:56 -0700 (Sun, 13 Jul 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnlcontrols-3.5.3 Added Paths: ----------- tags/openutils-mgnlcontrols-3.5.3/ tags/openutils-mgnlcontrols-3.5.3/pom.xml Removed Paths: ------------- tags/openutils-mgnlcontrols-3.5.3/pom.xml Copied: tags/openutils-mgnlcontrols-3.5.3 (from rev 883, trunk/openutils-mgnlcontrols) Deleted: tags/openutils-mgnlcontrols-3.5.3/pom.xml =================================================================== --- trunk/openutils-mgnlcontrols/pom.xml 2008-07-13 19:56:36 UTC (rev 883) +++ tags/openutils-mgnlcontrols-3.5.3/pom.xml 2008-07-13 20:00:56 UTC (rev 885) @@ -1,85 +0,0 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <modelVersion>4.0.0</modelVersion> - <packaging>jar</packaging> - <artifactId>openutils-mgnlcontrols</artifactId> - <name>openutils-mgnlcontrols</name> - <version>3.5.3-SNAPSHOT</version> - <licenses> - <license> - <name>GPLv3</name> - <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> - </license> - </licenses> - <build> - <resources> - <resource> - <filtering>false</filtering> - <directory>src/main/resources</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - <resource> - <filtering>true</filtering> - <directory>src/main/resources</directory> - <includes> - <include>META-INF/magnolia/*</include> - </includes> - </resource> - </resources> - </build> - <dependencies> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-core</artifactId> - <version>3.5.8</version> - <exclusions> - <exclusion> - <groupId>servlets.com</groupId> - <artifactId>cos</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-module-admininterface</artifactId> - <version>3.5.8</version> - <exclusions> - <exclusion> - <groupId>servlets.com</groupId> - <artifactId>cos</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils-mgnltasks</artifactId> - <version>3.5.3</version> - </dependency> - <dependency> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils-mgnlext</artifactId> - <version>2.1</version> - </dependency> - <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <classifier>jdk15</classifier> - <version>5.1</version> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> -</project> \ No newline at end of file Copied: tags/openutils-mgnlcontrols-3.5.3/pom.xml (from rev 884, trunk/openutils-mgnlcontrols/pom.xml) =================================================================== --- tags/openutils-mgnlcontrols-3.5.3/pom.xml (rev 0) +++ tags/openutils-mgnlcontrols-3.5.3/pom.xml 2008-07-13 20:00:56 UTC (rev 885) @@ -0,0 +1,90 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <packaging>jar</packaging> + <artifactId>openutils-mgnlcontrols</artifactId> + <name>openutils-mgnlcontrols</name> + <version>3.5.3</version> + <licenses> + <license> + <name>GPLv3</name> + <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> + </license> + </licenses> + <build> + <resources> + <resource> + <filtering>false</filtering> + <directory>src/main/resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <filtering>true</filtering> + <directory>src/main/resources</directory> + <includes> + <include>META-INF/magnolia/*</include> + </includes> + </resource> + </resources> + </build> + <dependencies> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-core</artifactId> + <version>3.5.8</version> + <exclusions> + <exclusion> + <groupId>servlets.com</groupId> + <artifactId>cos</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-module-admininterface</artifactId> + <version>3.5.8</version> + <exclusions> + <exclusion> + <groupId>servlets.com</groupId> + <artifactId>cos</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils-mgnltasks</artifactId> + <version>3.5.3</version> + </dependency> + <dependency> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils-mgnlext</artifactId> + <version>2.1</version> + </dependency> + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <classifier>jdk15</classifier> + <version>5.1</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlcontrols-3.5.3</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlcontrols-3.5.3</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnlcontrols-3.5.3</url> + </scm> +</project> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |