You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(39) |
Dec
(10) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(19) |
Feb
(150) |
Mar
(10) |
Apr
|
May
(8) |
Jun
(11) |
Jul
(27) |
Aug
(52) |
Sep
(35) |
Oct
(30) |
Nov
(18) |
Dec
(4) |
2008 |
Jan
(76) |
Feb
(121) |
Mar
(39) |
Apr
(55) |
May
(18) |
Jun
(49) |
Jul
(32) |
Aug
(4) |
Sep
(10) |
Oct
|
Nov
(3) |
Dec
(33) |
2009 |
Jan
(19) |
Feb
(87) |
Mar
(69) |
Apr
(38) |
May
(47) |
Jun
(20) |
Jul
(5) |
Aug
(76) |
Sep
(145) |
Oct
(34) |
Nov
(8) |
Dec
(68) |
2010 |
Jan
(150) |
Feb
(379) |
Mar
(191) |
Apr
(100) |
May
(525) |
Jun
(269) |
Jul
(127) |
Aug
(190) |
Sep
(190) |
Oct
(29) |
Nov
(147) |
Dec
(83) |
2011 |
Jan
(188) |
Feb
(81) |
Mar
(43) |
Apr
(97) |
May
(63) |
Jun
(129) |
Jul
(17) |
Aug
(124) |
Sep
(6) |
Oct
(20) |
Nov
(67) |
Dec
(23) |
2012 |
Jan
(6) |
Feb
(14) |
Mar
(181) |
Apr
(64) |
May
(102) |
Jun
(47) |
Jul
(26) |
Aug
(3) |
Sep
(1) |
Oct
(14) |
Nov
(13) |
Dec
(23) |
2013 |
Jan
(4) |
Feb
(14) |
Mar
(18) |
Apr
(14) |
May
(27) |
Jun
(27) |
Jul
(5) |
Aug
(2) |
Sep
(74) |
Oct
(79) |
Nov
(21) |
Dec
(97) |
2014 |
Jan
(6) |
Feb
(3) |
Mar
(8) |
Apr
|
May
(5) |
Jun
|
Jul
(9) |
Aug
(6) |
Sep
(3) |
Oct
(10) |
Nov
(6) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
(25) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <fg...@us...> - 2008-07-27 09:19:24
|
Revision: 897 http://openutils.svn.sourceforge.net/openutils/?rev=897&view=rev Author: fgiust Date: 2008-07-27 09:19:30 +0000 (Sun, 27 Jul 2008) Log Message: ----------- new tasks: AddPermissionTask and CreateDefaultRepositoryAclForAllUsersTask Modified Paths: -------------- trunk/openutils-mgnltasks/src/site/changes/changes.xml Added Paths: ----------- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/AddPermissionTask.java trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CreateDefaultRepositoryAclForAllUsersTask.java Added: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/AddPermissionTask.java =================================================================== --- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/AddPermissionTask.java (rev 0) +++ trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/AddPermissionTask.java 2008-07-27 09:19:30 UTC (rev 897) @@ -0,0 +1,137 @@ +/** + * 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.core.Path; +import info.magnolia.cms.security.AccessDeniedException; +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; + + +/** + * Sets or add permissions on a repository:path for a given role. + * @author fgiust + * @version $Id: $ + */ +public class AddPermissionTask extends AbstractRepositoryTask implements Task +{ + + private final String role; + + private final String repo; + + private final String path; + + private final long permission; + + public AddPermissionTask(String role, String repo, String path, long permission) + { + super("Setup permissions on " + repo + ":" + path + " for " + role, "Setup permissions on " + + repo + + ":" + + path + + " for " + + role); + this.role = role; + this.repo = repo; + this.path = path; + this.permission = permission; + + } + + /** + * {@inheritDoc} + */ + @Override + protected void doExecute(InstallContext installContext) throws RepositoryException, TaskExecutionException + { + + HierarchyManager hm = installContext.getHierarchyManager(ContentRepository.USER_ROLES); + + Content roleNode = hm.getContent("/" + role); + + setupAcl(roleNode, repo, path, permission); + } + + /** + * @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); + + if (acls == null) + { + acls = role.createContent("acl_" + repository, "mgnl:contentNode"); + } + + 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) + { + setPermission(acl, path, newpermissions); + } + } + } + if (!found) + { + Content acl = acls.createContent(Path.getUniqueLabel(acls, "0"), "mgnl:contentNode"); + setPermission(acl, path, newpermissions); + + } + } + + /** + * @param acl + * @param newpermissions + * @throws RepositoryException + * @throws AccessDeniedException + */ + private void setPermission(Content acl, String path, long newpermissions) throws RepositoryException, + AccessDeniedException + { + log.info("Setting permissions for {} to {}", this.repo + ":" + path, this.role); + NodeDataUtil.getOrCreate(acl, "path").setValue(path); + NodeDataUtil.getOrCreate(acl, "permissions").setValue(newpermissions); + } +} Property changes on: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/AddPermissionTask.java ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CreateDefaultRepositoryAclForAllUsersTask.java =================================================================== --- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CreateDefaultRepositoryAclForAllUsersTask.java (rev 0) +++ trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CreateDefaultRepositoryAclForAllUsersTask.java 2008-07-27 09:19:30 UTC (rev 897) @@ -0,0 +1,93 @@ +/** + * 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.core.ItemType; +import info.magnolia.cms.util.ContentUtil; +import info.magnolia.module.InstallContext; +import info.magnolia.module.delta.AbstractRepositoryTask; +import info.magnolia.module.delta.TaskExecutionException; + +import java.util.Collection; + +import javax.jcr.RepositoryException; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + + +/** + * Adds a default repository permissions for all the configured users, only if there is no acl set for the given + * repository. + * @author fgiust + * @version $Id: $ + */ +public class CreateDefaultRepositoryAclForAllUsersTask extends AbstractRepositoryTask +{ + + private static Logger log = LoggerFactory.getLogger(CreateDefaultRepositoryAclForAllUsersTask.class); + + private String repository; + + private long permissions; + + public CreateDefaultRepositoryAclForAllUsersTask(String repository, long permissions) + { + super("Adding permissions on " + repository + " repository", "Adding permissions on " + + repository + + " repository"); + this.repository = repository; + this.permissions = permissions; + } + + @SuppressWarnings("unchecked") + @Override + protected void doExecute(InstallContext ctx) throws RepositoryException, TaskExecutionException + { + HierarchyManager hm = ctx.getHierarchyManager(ContentRepository.USER_ROLES); + final Content parentNode = hm.getContent("/"); + + final Collection<Content> childNodes = ContentUtil.collectAllChildren(parentNode, ItemType.ROLE); + + for (Content content : childNodes) + { + operateOnChildNode(content, ctx); + } + } + + protected void operateOnChildNode(Content node, InstallContext ctx) throws RepositoryException, + TaskExecutionException + { + + String aclpath = "acl_" + repository; + + if (!node.hasContent(aclpath)) + { + log.info("adding permissions on {} to role {}", repository, node.getName()); + + Content aclnode = node.createContent(aclpath, ItemType.CONTENTNODE); + Content permNode = aclnode.createContent("0", ItemType.CONTENTNODE); + permNode.createNodeData("path", "/*"); + permNode.createNodeData("permissions", new Long(permissions)); + } + } + +} Property changes on: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CreateDefaultRepositoryAclForAllUsersTask.java ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Modified: trunk/openutils-mgnltasks/src/site/changes/changes.xml =================================================================== --- trunk/openutils-mgnltasks/src/site/changes/changes.xml 2008-07-24 08:49:42 UTC (rev 896) +++ trunk/openutils-mgnltasks/src/site/changes/changes.xml 2008-07-27 09:19:30 UTC (rev 897) @@ -8,6 +8,9 @@ <author email="fgiust(at)users.sourceforge.net">Fabrizio Giustina</author> </properties> <body> + <release version="3.5.5" date="2008-07-27" description=""> + <action type="add" dev="fgiust">new tasks: AddPermissionTask, CreateDefaultRepositoryAclForAllUsersTask</action> + </release> <release version="3.5.4" date="2008-07-24" description=""> <action type="add" dev="fgiust">new tasks: CheckMissingTemplatesTask, CheckMissingParagraphsTask, ReplaceTemplateTask</action> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-07-24 08:49:33
|
Revision: 896 http://openutils.svn.sourceforge.net/openutils/?rev=896&view=rev Author: fgiust Date: 2008-07-24 08:49:42 +0000 (Thu, 24 Jul 2008) Log Message: ----------- better log Modified Paths: -------------- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/BaseCheckMissingTask.java Modified: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/BaseCheckMissingTask.java =================================================================== --- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/BaseCheckMissingTask.java 2008-07-24 08:32:20 UTC (rev 895) +++ trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/BaseCheckMissingTask.java 2008-07-24 08:49:42 UTC (rev 896) @@ -151,7 +151,7 @@ if (count > 0) { - log.error("Found {} pages with invalid templates:\n{}", count, sb.toString()); + log.error("Found {} pages with invalid " + templateOrParagraph + "s:\n{}", count, sb.toString()); } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-07-24 08:32:10
|
Revision: 895 http://openutils.svn.sourceforge.net/openutils/?rev=895&view=rev Author: fgiust Date: 2008-07-24 08:32:20 +0000 (Thu, 24 Jul 2008) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/openutils-mgnltasks/pom.xml Modified: trunk/openutils-mgnltasks/pom.xml =================================================================== --- trunk/openutils-mgnltasks/pom.xml 2008-07-24 08:32:10 UTC (rev 894) +++ trunk/openutils-mgnltasks/pom.xml 2008-07-24 08:32:20 UTC (rev 895) @@ -10,7 +10,7 @@ <packaging>jar</packaging> <artifactId>openutils-mgnltasks</artifactId> <name>openutils-mgnltasks</name> - <version>3.5.4</version> + <version>3.5.5-SNAPSHOT</version> <description>A collection of useful magnolia update tasks that can be reused in custom modules</description> <licenses> <license> @@ -98,10 +98,4 @@ </snapshots> </repository> </repositories> - - <scm> - <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5.4</connection> - <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5.4</developerConnection> - <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnltasks-3.5.4</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. |
From: <fg...@us...> - 2008-07-24 08:32:04
|
Revision: 894 http://openutils.svn.sourceforge.net/openutils/?rev=894&view=rev Author: fgiust Date: 2008-07-24 08:32:10 +0000 (Thu, 24 Jul 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnltasks-3.5.4 Added Paths: ----------- tags/openutils-mgnltasks-3.5.4/ tags/openutils-mgnltasks-3.5.4/pom.xml Removed Paths: ------------- tags/openutils-mgnltasks-3.5.4/pom.xml Deleted: tags/openutils-mgnltasks-3.5.4/pom.xml =================================================================== --- trunk/openutils-mgnltasks/pom.xml 2008-07-24 08:30:43 UTC (rev 892) +++ tags/openutils-mgnltasks-3.5.4/pom.xml 2008-07-24 08:32:10 UTC (rev 894) @@ -1,101 +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.4-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> - <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> -</project> \ No newline at end of file Copied: tags/openutils-mgnltasks-3.5.4/pom.xml (from rev 893, trunk/openutils-mgnltasks/pom.xml) =================================================================== --- tags/openutils-mgnltasks-3.5.4/pom.xml (rev 0) +++ tags/openutils-mgnltasks-3.5.4/pom.xml 2008-07-24 08:32:10 UTC (rev 894) @@ -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.4</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.4</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5.4</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnltasks-3.5.4</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. |
From: <fg...@us...> - 2008-07-24 08:31:48
|
Revision: 893 http://openutils.svn.sourceforge.net/openutils/?rev=893&view=rev Author: fgiust Date: 2008-07-24 08:31:56 +0000 (Thu, 24 Jul 2008) Log Message: ----------- [maven-release-plugin] prepare release openutils-mgnltasks-3.5.4 Modified Paths: -------------- trunk/openutils-mgnltasks/pom.xml Modified: trunk/openutils-mgnltasks/pom.xml =================================================================== --- trunk/openutils-mgnltasks/pom.xml 2008-07-24 08:30:43 UTC (rev 892) +++ trunk/openutils-mgnltasks/pom.xml 2008-07-24 08:31:56 UTC (rev 893) @@ -10,7 +10,7 @@ <packaging>jar</packaging> <artifactId>openutils-mgnltasks</artifactId> <name>openutils-mgnltasks</name> - <version>3.5.4-SNAPSHOT</version> + <version>3.5.4</version> <description>A collection of useful magnolia update tasks that can be reused in custom modules</description> <licenses> <license> @@ -98,4 +98,10 @@ </snapshots> </repository> </repositories> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5.4</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5.4</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnltasks-3.5.4</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. |
From: <fg...@us...> - 2008-07-24 08:30:40
|
Revision: 892 http://openutils.svn.sourceforge.net/openutils/?rev=892&view=rev Author: fgiust Date: 2008-07-24 08:30:43 +0000 (Thu, 24 Jul 2008) Log Message: ----------- new tasks for checking/replacing templates Modified Paths: -------------- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/DisableSubscribersTask.java trunk/openutils-mgnltasks/src/site/changes/changes.xml Added Paths: ----------- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/BaseCheckMissingTask.java trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckMissingParagraphsTask.java trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckMissingTemplatesTask.java trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/ReplaceTemplateTask.java Added: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/BaseCheckMissingTask.java =================================================================== --- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/BaseCheckMissingTask.java (rev 0) +++ trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/BaseCheckMissingTask.java 2008-07-24 08:30:43 UTC (rev 892) @@ -0,0 +1,157 @@ +/** + * 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.core.search.Query; +import info.magnolia.cms.core.search.QueryManager; +import info.magnolia.module.InstallContext; +import info.magnolia.module.delta.AbstractRepositoryTask; +import info.magnolia.module.delta.TaskExecutionException; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.Iterator; +import java.util.List; + +import javax.jcr.RepositoryException; +import javax.jcr.query.InvalidQueryException; + +import org.apache.commons.lang.StringUtils; + + +/** + * An abstract task that check for invalid templates/paragraphs. Should not be used directly, see + * {@link CheckMissingTemplatesTask} and {@link CheckMissingParagraphsTask} instead. + * @author fgiust + * @version $Id: $ + */ +public abstract class BaseCheckMissingTask extends AbstractRepositoryTask +{ + + private final String templateOrParagraph; + + private final String nodetype; + + /** + * @param templateOrParagraph "template" or "paragraph" + * @param nodetype node type foc checked nodes + */ + public BaseCheckMissingTask(String templateOrParagraph, String nodetype) + { + super("Check " + templateOrParagraph + "s task", "Checking pages configured with missing " + + templateOrParagraph + + "s"); + this.templateOrParagraph = templateOrParagraph; + this.nodetype = nodetype; + + } + + /** + * {@inheritDoc} + */ + @SuppressWarnings("unchecked") + @Override + protected void doExecute(InstallContext installContext) throws RepositoryException, TaskExecutionException + { + + QueryManager configQueryManager = installContext + .getHierarchyManager(ContentRepository.CONFIG) + .getQueryManager(); + + Collection<Content> templates = configQueryManager.createQuery( + "//modules/*/" + templateOrParagraph + "s/*", + Query.XPATH).execute().getContent("mgnl:contentNode"); + + List<String> templ = new ArrayList<String>(); + Iterator<Content> availableTemplates = templates.iterator(); + while (availableTemplates.hasNext()) + { + Content template = availableTemplates.next(); + templ.add(template.getName()); + } + + checkInvalidPages(installContext, templ); + + } + + /** + * @param installContext + * @param templates + * @throws RepositoryException + * @throws InvalidQueryException + */ + @SuppressWarnings("unchecked") + private void checkInvalidPages(InstallContext installContext, List<String> templates) throws RepositoryException, + InvalidQueryException + { + HierarchyManager hm = installContext.getHierarchyManager(ContentRepository.WEBSITE); + + QueryManager qm = hm.getQueryManager(); + + StringBuilder query = new StringBuilder("//*[jcr:primaryType='" + + this.nodetype + + "' and MetaData/mgnl:template and not("); + + Iterator<String> nameIterator = templates.iterator(); + while (nameIterator.hasNext()) + { + String template = nameIterator.next(); + + query.append("MetaData/mgnl:template='"); + query.append(template); + query.append("'"); + if (nameIterator.hasNext()) + { + query.append(" or "); + } + } + + query.append(")]"); + + String queryAAsString = query.toString(); + + log.debug("Running query: {}", queryAAsString); + + Collection<Content> nodes = qm.createQuery(queryAAsString, Query.XPATH).execute().getContent(this.nodetype); + + int count = 0; + StringBuilder sb = new StringBuilder(); + + for (Content page : nodes) + { + String template = page.getMetaData().getTemplate(); + + if (StringUtils.isNotEmpty(template)) + { + count++; + sb.append(page.getHandle()); + sb.append(" "); + sb.append(template); + sb.append("\n"); + } + } + + if (count > 0) + { + log.error("Found {} pages with invalid templates:\n{}", count, sb.toString()); + } + } +} Property changes on: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/BaseCheckMissingTask.java ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckMissingParagraphsTask.java =================================================================== --- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckMissingParagraphsTask.java (rev 0) +++ trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckMissingParagraphsTask.java 2008-07-24 08:30:43 UTC (rev 892) @@ -0,0 +1,35 @@ +/** + * 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; + +/** + * A task that checks for pages that contains invalid (missing) paragraphs and logs the result as an error on startup. + * Please note that this task collect the paragraph list extracting any direct subnode of the "paragraphs" nodes in each + * installed module, and not using ParagraphManager (not yet initialized at startup). + * @author fgiust + * @version $Id: $ + */ +public class CheckMissingParagraphsTask extends BaseCheckMissingTask +{ + + public CheckMissingParagraphsTask() + { + super("paragraph", "mgnl:contentNode"); + } + +} Property changes on: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckMissingParagraphsTask.java ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckMissingTemplatesTask.java =================================================================== --- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckMissingTemplatesTask.java (rev 0) +++ trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckMissingTemplatesTask.java 2008-07-24 08:30:43 UTC (rev 892) @@ -0,0 +1,35 @@ +/** + * 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; + +/** + * A task that checks for pages that contains invalid (missing) templates and logs the result as an error on startup. + * Please note that this task collect the template list extracting any direct subnode of the "templates" nodes in each + * installed module, and not using TemplateManager (not yet initialized at startup). + * @author fgiust + * @version $Id: $ + */ +public class CheckMissingTemplatesTask extends BaseCheckMissingTask +{ + + public CheckMissingTemplatesTask() + { + super("template", "mgnl:content"); + } + +} Property changes on: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckMissingTemplatesTask.java ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Modified: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/DisableSubscribersTask.java =================================================================== --- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/DisableSubscribersTask.java 2008-07-21 13:27:33 UTC (rev 891) +++ trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/DisableSubscribersTask.java 2008-07-24 08:30:43 UTC (rev 892) @@ -17,6 +17,7 @@ */ 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.core.NodeData; @@ -53,7 +54,7 @@ protected void doExecute(InstallContext installContext) throws RepositoryException, TaskExecutionException { - HierarchyManager hm = installContext.getHierarchyManager("config"); + HierarchyManager hm = installContext.getHierarchyManager(ContentRepository.CONFIG); if (hm.isExist(subscribersPath)) { Added: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/ReplaceTemplateTask.java =================================================================== --- trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/ReplaceTemplateTask.java (rev 0) +++ trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/ReplaceTemplateTask.java 2008-07-24 08:30:43 UTC (rev 892) @@ -0,0 +1,91 @@ +/** + * 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.core.search.Query; +import info.magnolia.cms.core.search.QueryManager; +import info.magnolia.module.InstallContext; +import info.magnolia.module.delta.AbstractRepositoryTask; +import info.magnolia.module.delta.TaskExecutionException; + +import java.util.Collection; + +import javax.jcr.RepositoryException; + + +/** + * A task that replace any occurrence of a given template with another at startup (handy for renamed templates). + * @author fgiust + * @version $Id: $ + */ +public class ReplaceTemplateTask extends AbstractRepositoryTask +{ + + private final String actualTemplate; + + private final String newTemplate; + + /** + * @param actualTemplate template to be replaced + * @param newTemplate new template + */ + public ReplaceTemplateTask(String actualTemplate, String newTemplate) + { + super("Replacing template " + actualTemplate + " with " + newTemplate, "Replacing template " + + actualTemplate + + " with " + + newTemplate); + this.actualTemplate = actualTemplate; + this.newTemplate = newTemplate; + + } + + /** + * {@inheritDoc} + */ + @SuppressWarnings("unchecked") + @Override + protected void doExecute(InstallContext installContext) throws RepositoryException, TaskExecutionException + { + + HierarchyManager hm = installContext.getHierarchyManager(ContentRepository.WEBSITE); + + QueryManager qm = hm.getQueryManager(); + + StringBuilder query = new StringBuilder("//*[MetaData/mgnl:template ='"); + query.append(actualTemplate); + query.append("']"); + + String queryAAsString = query.toString(); + + log.debug("Running query: {}", queryAAsString); + + Collection<Content> nodes = qm.createQuery(queryAAsString, Query.XPATH).execute().getContent(); + + for (Content page : nodes) + { + log.warn("Replacing template " + page.getMetaData().getTemplate() + " with {} in {}", newTemplate, page + .getHandle()); + page.getMetaData().setTemplate(newTemplate); + } + } + +} Property changes on: trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/ReplaceTemplateTask.java ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Modified: trunk/openutils-mgnltasks/src/site/changes/changes.xml =================================================================== --- trunk/openutils-mgnltasks/src/site/changes/changes.xml 2008-07-21 13:27:33 UTC (rev 891) +++ trunk/openutils-mgnltasks/src/site/changes/changes.xml 2008-07-24 08:30:43 UTC (rev 892) @@ -8,6 +8,10 @@ <author email="fgiust(at)users.sourceforge.net">Fabrizio Giustina</author> </properties> <body> + <release version="3.5.4" date="2008-07-24" description=""> + <action type="add" dev="fgiust">new tasks: CheckMissingTemplatesTask, CheckMissingParagraphsTask, + ReplaceTemplateTask</action> + </release> <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 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-07-21 13:27:28
|
Revision: 891 http://openutils.svn.sourceforge.net/openutils/?rev=891&view=rev Author: fgiust Date: 2008-07-21 13:27:33 +0000 (Mon, 21 Jul 2008) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/openutils-mgnlcontrols/pom.xml Modified: trunk/openutils-mgnlcontrols/pom.xml =================================================================== --- trunk/openutils-mgnlcontrols/pom.xml 2008-07-21 13:27:12 UTC (rev 890) +++ trunk/openutils-mgnlcontrols/pom.xml 2008-07-21 13:27:33 UTC (rev 891) @@ -9,7 +9,7 @@ <packaging>jar</packaging> <artifactId>openutils-mgnlcontrols</artifactId> <name>openutils-mgnlcontrols</name> - <version>3.5.4</version> + <version>3.5.5-SNAPSHOT</version> <licenses> <license> <name>GPLv3</name> @@ -81,10 +81,4 @@ </exclusions> </dependency> </dependencies> - - <scm> - <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlcontrols-3.5.4</connection> - <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlcontrols-3.5.4</developerConnection> - <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnlcontrols-3.5.4</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. |
From: <fg...@us...> - 2008-07-21 13:27:07
|
Revision: 890 http://openutils.svn.sourceforge.net/openutils/?rev=890&view=rev Author: fgiust Date: 2008-07-21 13:27:12 +0000 (Mon, 21 Jul 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnlcontrols-3.5.4 Added Paths: ----------- tags/openutils-mgnlcontrols-3.5.4/ tags/openutils-mgnlcontrols-3.5.4/pom.xml Removed Paths: ------------- tags/openutils-mgnlcontrols-3.5.4/pom.xml Deleted: tags/openutils-mgnlcontrols-3.5.4/pom.xml =================================================================== --- trunk/openutils-mgnlcontrols/pom.xml 2008-07-21 13:23:39 UTC (rev 888) +++ tags/openutils-mgnlcontrols-3.5.4/pom.xml 2008-07-21 13:27:12 UTC (rev 890) @@ -1,84 +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.4-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.4/pom.xml (from rev 889, trunk/openutils-mgnlcontrols/pom.xml) =================================================================== --- tags/openutils-mgnlcontrols-3.5.4/pom.xml (rev 0) +++ tags/openutils-mgnlcontrols-3.5.4/pom.xml 2008-07-21 13:27:12 UTC (rev 890) @@ -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.4</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.4</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlcontrols-3.5.4</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnlcontrols-3.5.4</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. |
From: <fg...@us...> - 2008-07-21 13:26:36
|
Revision: 889 http://openutils.svn.sourceforge.net/openutils/?rev=889&view=rev Author: fgiust Date: 2008-07-21 13:26:41 +0000 (Mon, 21 Jul 2008) Log Message: ----------- [maven-release-plugin] prepare release openutils-mgnlcontrols-3.5.4 Modified Paths: -------------- trunk/openutils-mgnlcontrols/pom.xml Modified: trunk/openutils-mgnlcontrols/pom.xml =================================================================== --- trunk/openutils-mgnlcontrols/pom.xml 2008-07-21 13:23:39 UTC (rev 888) +++ trunk/openutils-mgnlcontrols/pom.xml 2008-07-21 13:26:41 UTC (rev 889) @@ -9,7 +9,7 @@ <packaging>jar</packaging> <artifactId>openutils-mgnlcontrols</artifactId> <name>openutils-mgnlcontrols</name> - <version>3.5.4-SNAPSHOT</version> + <version>3.5.4</version> <licenses> <license> <name>GPLv3</name> @@ -81,4 +81,10 @@ </exclusions> </dependency> </dependencies> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlcontrols-3.5.4</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlcontrols-3.5.4</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnlcontrols-3.5.4</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. |
From: <fg...@us...> - 2008-07-21 13:23:34
|
Revision: 888 http://openutils.svn.sourceforge.net/openutils/?rev=888&view=rev Author: fgiust Date: 2008-07-21 13:23:39 +0000 (Mon, 21 Jul 2008) Log Message: ----------- only include javascript once + new "combo" control type Modified Paths: -------------- trunk/openutils-mgnlcontrols/src/main/java/net/sourceforge/openutils/mgnlcontrols/dialog/ConfigurableFreemarkerDialog.java trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl trunk/openutils-mgnlcontrols/src/site/apt/grid.apt trunk/openutils-mgnlcontrols/src/site/changes/changes.xml Modified: trunk/openutils-mgnlcontrols/src/main/java/net/sourceforge/openutils/mgnlcontrols/dialog/ConfigurableFreemarkerDialog.java =================================================================== --- trunk/openutils-mgnlcontrols/src/main/java/net/sourceforge/openutils/mgnlcontrols/dialog/ConfigurableFreemarkerDialog.java 2008-07-20 17:24:46 UTC (rev 887) +++ trunk/openutils-mgnlcontrols/src/main/java/net/sourceforge/openutils/mgnlcontrols/dialog/ConfigurableFreemarkerDialog.java 2008-07-21 13:23:39 UTC (rev 888) @@ -158,10 +158,13 @@ /** * {@inheritDoc} */ + @SuppressWarnings("unchecked") @Override public void drawHtml(Writer out) throws IOException { + String alreadyRenderedKey = "freemarker/" + getPath(); + Map parameters = new HashMap(); parameters.put("name", this.getName()); parameters.put("value", this.getValue()); @@ -169,6 +172,7 @@ parameters.put("request", this.getRequest()); parameters.put("debug", SystemProperty.getBooleanProperty("magnolia.develop")); parameters.put("configuration", this.configuration); + parameters.put("alreadyrendered", getRequest().getAttribute(alreadyRenderedKey) != null); this.drawHtmlPre(out); try @@ -180,7 +184,6 @@ control.setName(this.getName()); control.drawHtml(out, getPath(), parameters); } - catch (TemplateException ex) { log.error("Error processing dialog template:", ex); @@ -188,6 +191,8 @@ } this.drawHtmlPost(out); + + getRequest().setAttribute(alreadyRenderedKey, Boolean.TRUE); } /** Modified: trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl =================================================================== --- trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2008-07-20 17:24:46 UTC (rev 887) +++ trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2008-07-21 13:23:39 UTC (rev 888) @@ -1,23 +1,30 @@ +[#if !alreadyrendered] + <script type="text/javascript" src="${request.contextPath}/.resources/ext/ext-base.js"></script> -<script type="text/javascript" src="${request.contextPath}/.resources/ext/ext-base.js"></script> + [#if debug] + <script type="text/javascript" src="${request.contextPath}/.resources/ext/ext-all-debug.js"></script> + [#else] + <script type="text/javascript" src="${request.contextPath}/.resources/ext/ext-all.js"></script> + [/#if] + <script type="text/javascript" src="${request.contextPath}/.resources/controls/js/LinkField.js"></script> + <script type="text/javascript" src="${request.contextPath}/.resources/controls/js/CheckColumn.js"></script> -[#if debug] -<script type="text/javascript" src="${request.contextPath}/.resources/ext/ext-all-debug.js"></script> -[#else] -<script type="text/javascript" src="${request.contextPath}/.resources/ext/ext-all.js"></script> + <link rel="stylesheet" type="text/css" href="${request.contextPath}/.resources/ext/css/ext-all.css" /> + <link rel="stylesheet" type="text/css" href="${request.contextPath}/.resources/controls/css/grid.css" /> [/#if] -<script type="text/javascript" src="${request.contextPath}/.resources/controls/js/LinkField.js"></script> -<script type="text/javascript" src="${request.contextPath}/.resources/controls/js/CheckColumn.js"></script> -<link rel="stylesheet" type="text/css" href="${request.contextPath}/.resources/ext/css/ext-all.css" /> -<link rel="stylesheet" type="text/css" href="${request.contextPath}/.resources/controls/css/grid.css" /> - <input type="hidden" id="${name}" name="${name}" value="${value}"/> -<div id="grid-container-${name}"> - <div id="grid-${name}"></div> -</div> +[#list configuration.columns?values as colmap] + [#if (colmap.type?? && colmap.type = 'combo')] + <select id="combo-${name}" name="combo-${name}" style="display: none;"> + [#list colmap.options?values as option] + <option value="${option.value}">${option.label}</option> + [/#list] + </select> + [/#if] +[/#list] <script type="text/javascript"> // <![CDATA[ @@ -65,6 +72,14 @@ [#if (colmap.type?? && colmap.type = 'link')] editor: new Ed(new LinkField({ })) + [#elseif (colmap.type?? && colmap.type = 'combo')] + editor: new Ed(new fm.ComboBox({ + typeAhead: true, + triggerAction: 'all', + transform: 'combo-${name}', + lazyRender: true, + listClass: 'x-combo-list-small' + })) [#else] editor: new Ed(new fm.TextField({ allowBlank: true Modified: trunk/openutils-mgnlcontrols/src/site/apt/grid.apt =================================================================== --- trunk/openutils-mgnlcontrols/src/site/apt/grid.apt 2008-07-20 17:24:46 UTC (rev 887) +++ trunk/openutils-mgnlcontrols/src/site/apt/grid.apt 2008-07-21 13:23:39 UTC (rev 888) @@ -39,7 +39,9 @@ * link: a text fields with a button that can be used to insert an internal link + * combo: a list of predefined values (configured in the "options" node) + Hacking it The grid editor is actually implemented as a freemarker control, so it can easily be modified and improved. Modified: trunk/openutils-mgnlcontrols/src/site/changes/changes.xml =================================================================== --- trunk/openutils-mgnlcontrols/src/site/changes/changes.xml 2008-07-20 17:24:46 UTC (rev 887) +++ trunk/openutils-mgnlcontrols/src/site/changes/changes.xml 2008-07-21 13:23:39 UTC (rev 888) @@ -8,6 +8,11 @@ <author email="fgiust(at)users.sourceforge.net">Fabrizio Giustina</author> </properties> <body> + <release version="3.5.4" date="2008-07-21" description=""> + <action type="fix" dev="fgiust">esternal javascript are now included only once when using multiple grid + controls in the same dialog</action> + <action type="add" dev="fgiust">New "combo" control type handled by grid</action> + </release> <release version="3.5.3" date="2008-07-13" description=""> <action type="update" dev="fgiust">Extjs has been moved to openutils-mgnlext, which is now a required dependency</action> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-07-20 17:24:38
|
Revision: 887 http://openutils.svn.sourceforge.net/openutils/?rev=887&view=rev Author: fgiust Date: 2008-07-20 17:24:46 +0000 (Sun, 20 Jul 2008) Log Message: ----------- removed an extra </div> Modified Paths: -------------- trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl Modified: trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl =================================================================== --- trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2008-07-13 20:01:04 UTC (rev 886) +++ trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2008-07-20 17:24:46 UTC (rev 887) @@ -211,7 +211,5 @@ - // ]]> - </script> - -</div> \ No newline at end of file +// ]]> +</script> 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:01:02
|
Revision: 886 http://openutils.svn.sourceforge.net/openutils/?rev=886&view=rev Author: fgiust Date: 2008-07-13 13:01:04 -0700 (Sun, 13 Jul 2008) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/openutils-mgnlcontrols/pom.xml Modified: trunk/openutils-mgnlcontrols/pom.xml =================================================================== --- trunk/openutils-mgnlcontrols/pom.xml 2008-07-13 20:00:56 UTC (rev 885) +++ trunk/openutils-mgnlcontrols/pom.xml 2008-07-13 20:01:04 UTC (rev 886) @@ -9,7 +9,7 @@ <packaging>jar</packaging> <artifactId>openutils-mgnlcontrols</artifactId> <name>openutils-mgnlcontrols</name> - <version>3.5.3</version> + <version>3.5.4-SNAPSHOT</version> <licenses> <license> <name>GPLv3</name> @@ -81,10 +81,4 @@ </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. |
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. |
From: <fg...@us...> - 2008-07-13 20:00:37
|
Revision: 884 http://openutils.svn.sourceforge.net/openutils/?rev=884&view=rev Author: fgiust Date: 2008-07-13 13:00:45 -0700 (Sun, 13 Jul 2008) Log Message: ----------- [maven-release-plugin] prepare release openutils-mgnlcontrols-3.5.3 Modified Paths: -------------- trunk/openutils-mgnlcontrols/pom.xml Modified: trunk/openutils-mgnlcontrols/pom.xml =================================================================== --- trunk/openutils-mgnlcontrols/pom.xml 2008-07-13 19:56:36 UTC (rev 883) +++ trunk/openutils-mgnlcontrols/pom.xml 2008-07-13 20:00:45 UTC (rev 884) @@ -1,5 +1,4 @@ -<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"> +<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> @@ -10,7 +9,7 @@ <packaging>jar</packaging> <artifactId>openutils-mgnlcontrols</artifactId> <name>openutils-mgnlcontrols</name> - <version>3.5.3-SNAPSHOT</version> + <version>3.5.3</version> <licenses> <license> <name>GPLv3</name> @@ -82,4 +81,10 @@ </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. |
From: <fg...@us...> - 2008-07-13 19:56:36
|
Revision: 883 http://openutils.svn.sourceforge.net/openutils/?rev=883&view=rev Author: fgiust Date: 2008-07-13 12:56:36 -0700 (Sun, 13 Jul 2008) Log Message: ----------- ext resources moved to openutils-mgnlext Modified Paths: -------------- trunk/openutils-mgnlcontrols/pom.xml trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl trunk/openutils-mgnlcontrols/src/site/apt/index.apt trunk/openutils-mgnlcontrols/src/site/changes/changes.xml Removed Paths: ------------- trunk/openutils-mgnlcontrols/src/main/resources/mgnl-resources/controls/ext/ Modified: trunk/openutils-mgnlcontrols/pom.xml =================================================================== --- trunk/openutils-mgnlcontrols/pom.xml 2008-07-13 19:50:32 UTC (rev 882) +++ trunk/openutils-mgnlcontrols/pom.xml 2008-07-13 19:56:36 UTC (rev 883) @@ -1,4 +1,5 @@ -<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"> +<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> @@ -63,6 +64,11 @@ <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> Modified: trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl =================================================================== --- trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2008-07-13 19:50:32 UTC (rev 882) +++ trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2008-07-13 19:56:36 UTC (rev 883) @@ -1,15 +1,15 @@ -<script type="text/javascript" src="${request.contextPath}/.resources/controls/ext/ext-base.js"></script> +<script type="text/javascript" src="${request.contextPath}/.resources/ext/ext-base.js"></script> [#if debug] -<script type="text/javascript" src="${request.contextPath}/.resources/controls/ext/ext-all-debug.js"></script> +<script type="text/javascript" src="${request.contextPath}/.resources/ext/ext-all-debug.js"></script> [#else] -<script type="text/javascript" src="${request.contextPath}/.resources/controls/ext/ext-all.js"></script> +<script type="text/javascript" src="${request.contextPath}/.resources/ext/ext-all.js"></script> [/#if] <script type="text/javascript" src="${request.contextPath}/.resources/controls/js/LinkField.js"></script> <script type="text/javascript" src="${request.contextPath}/.resources/controls/js/CheckColumn.js"></script> -<link rel="stylesheet" type="text/css" href="${request.contextPath}/.resources/controls/ext/css/ext-all.css" /> +<link rel="stylesheet" type="text/css" href="${request.contextPath}/.resources/ext/css/ext-all.css" /> <link rel="stylesheet" type="text/css" href="${request.contextPath}/.resources/controls/css/grid.css" /> <input type="hidden" id="${name}" name="${name}" value="${value}"/> Modified: trunk/openutils-mgnlcontrols/src/site/apt/index.apt =================================================================== --- trunk/openutils-mgnlcontrols/src/site/apt/index.apt 2008-07-13 19:50:32 UTC (rev 882) +++ trunk/openutils-mgnlcontrols/src/site/apt/index.apt 2008-07-13 19:56:36 UTC (rev 883) @@ -13,7 +13,7 @@ The module needs to be installed as usual, by declaring an additional dependency into your pom or by manually dropping the jar into magnolia. If you are installing it manually, please note that you will also need to install - {{{http://openutils.sourceforge.net/openutils-mgnltasks}openutils-mgnltasks}} + {{{http://openutils.sourceforge.net/openutils-mgnltasks}openutils-mgnltasks}} and {{{http://openutils.sourceforge.net/openutils-mgnlext}openutils-mgnlext}} After installing the openutils-mgnlcontrols module, you will be able to use the new control types in dialogs. See the {{{grid.html}grid control documentation}} for details. Modified: trunk/openutils-mgnlcontrols/src/site/changes/changes.xml =================================================================== --- trunk/openutils-mgnlcontrols/src/site/changes/changes.xml 2008-07-13 19:50:32 UTC (rev 882) +++ trunk/openutils-mgnlcontrols/src/site/changes/changes.xml 2008-07-13 19:56:36 UTC (rev 883) @@ -8,6 +8,10 @@ <author email="fgiust(at)users.sourceforge.net">Fabrizio Giustina</author> </properties> <body> + <release version="3.5.3" date="2008-07-13" description=""> + <action type="update" dev="fgiust">Extjs has been moved to openutils-mgnlext, which is now a required + dependency</action> + </release> <release version="3.5.2" date="2008-06-26" description=""> <action type="fix" dev="fgiust">Cleanup bootstrap files (removed useless namespaces)</action> <action type="fix" dev="fgiust">fixed a javascript error on ext which sometimes popped up on dalog loading This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-07-13 19:50:23
|
Revision: 882 http://openutils.svn.sourceforge.net/openutils/?rev=882&view=rev Author: fgiust Date: 2008-07-13 12:50:32 -0700 (Sun, 13 Jul 2008) Log Message: ----------- added openutils-mgnlext Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2008-07-12 19:23:44 UTC (rev 881) +++ trunk/pom.xml 2008-07-13 19:50:32 UTC (rev 882) @@ -234,6 +234,7 @@ <module>openutils-mgnlstripes</module> <module>openutils-mgnltasks</module> <module>openutils-mgnlbootstrapsync</module> + <module>openutils-mgnlext</module> <module>openutils-mgnlcontrols</module> <module>openutils-spring-rmibernate</module> <!-- <module>openutils-spring-remote-callback</module>--> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-07-12 19:23:34
|
Revision: 881 http://openutils.svn.sourceforge.net/openutils/?rev=881&view=rev Author: fgiust Date: 2008-07-12 12:23:44 -0700 (Sat, 12 Jul 2008) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/openutils-mgnlext/pom.xml Modified: trunk/openutils-mgnlext/pom.xml =================================================================== --- trunk/openutils-mgnlext/pom.xml 2008-07-12 19:23:38 UTC (rev 880) +++ trunk/openutils-mgnlext/pom.xml 2008-07-12 19:23:44 UTC (rev 881) @@ -9,17 +9,11 @@ <packaging>jar</packaging> <artifactId>openutils-mgnlext</artifactId> <name>openutils-mgnlext</name> - <version>2.1</version> + <version>2.2-SNAPSHOT</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-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-12 19:23:17
|
Revision: 879 http://openutils.svn.sourceforge.net/openutils/?rev=879&view=rev Author: fgiust Date: 2008-07-12 12:23:25 -0700 (Sat, 12 Jul 2008) Log Message: ----------- [maven-release-plugin] prepare release openutils-mgnlext-2.1 Modified Paths: -------------- trunk/openutils-mgnlext/pom.xml Modified: trunk/openutils-mgnlext/pom.xml =================================================================== --- trunk/openutils-mgnlext/pom.xml 2008-07-12 19:15:57 UTC (rev 878) +++ trunk/openutils-mgnlext/pom.xml 2008-07-12 19:23:25 UTC (rev 879) @@ -9,11 +9,17 @@ <packaging>jar</packaging> <artifactId>openutils-mgnlext</artifactId> <name>openutils-mgnlext</name> - <version>2.1-SNAPSHOT</version> + <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-12 19:15:48
|
Revision: 878 http://openutils.svn.sourceforge.net/openutils/?rev=878&view=rev Author: fgiust Date: 2008-07-12 12:15:57 -0700 (Sat, 12 Jul 2008) Log Message: ----------- openutils-mgnlext Added Paths: ----------- trunk/openutils-mgnlext/ trunk/openutils-mgnlext/pom.xml trunk/openutils-mgnlext/src/ trunk/openutils-mgnlext/src/main/ trunk/openutils-mgnlext/src/main/java/ trunk/openutils-mgnlext/src/main/resources/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/README.txt trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/basic-dialog.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/borders.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/box.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/button.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/combo.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/core.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/date-picker.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/dd.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/debug.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/dialog.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/editor.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/ext-all.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/form.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/grid.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/layout.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/menu.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/panel.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/progress.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/qtips.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/reset-min.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/reset.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/resizable.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/slider.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/tabs.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/toolbar.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/tree.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/window.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/xtheme-aero.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/xtheme-gray.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/xtheme-vista.css trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/ext-all-debug.js trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/ext-all.js trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/ext-base.js trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/aero-close-over.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/aero-close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/bg-center.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/bg-left.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/bg-right.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/collapse-over.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/collapse.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/e-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/expand-over.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/expand.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/hd-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/s-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/se-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/basic-dialog/w-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/gradient-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/grid/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/grid/grid-blue-split.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/grid/grid-hrow.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/grid/grid-split.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/grid/grid-vista-hd.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/grid/pspbrwse.jbf trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/grid/sort-col-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/grid/sort_asc.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/grid/sort_desc.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/layout/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/layout/collapse.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/layout/expand.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/layout/gradient-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/layout/ns-collapse.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/layout/ns-expand.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/layout/panel-close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/layout/panel-title-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/layout/panel-title-light-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/layout/tab-close-on.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/layout/tab-close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/menu/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/menu/checked.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/menu/item-over.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/menu/menu.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/menu/unchecked.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/qtip/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/qtip/bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/s.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/e-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/e-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/ne-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/ne-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/nw-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/nw-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/s-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/s-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/se-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/se-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/sw-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/sizer/sw-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/tabs/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/tabs/tab-btm-inactive-left-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/tabs/tab-btm-inactive-right-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/tabs/tab-btm-left-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/tabs/tab-btm-right-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/tabs/tab-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/tabs/tab-strip-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/tabs/tab-strip-bg.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/tabs/tab-strip-btm-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/toolbar/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/toolbar/bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/aero/toolbar/tb-btn-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/basic-dialog/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/basic-dialog/btn-arrow.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/basic-dialog/btn-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/basic-dialog/close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/basic-dialog/collapse.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/basic-dialog/e-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/basic-dialog/expand.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/basic-dialog/hd-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/basic-dialog/progress.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/basic-dialog/progress2.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/basic-dialog/s-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/basic-dialog/se-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/box/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/box/corners-blue.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/box/corners.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/box/l-blue.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/box/l.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/box/r-blue.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/box/r.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/box/tb-blue.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/box/tb.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/button/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/button/btn-arrow.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/button/btn-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/dd/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/dd/drop-add.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/dd/drop-no.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/dd/drop-yes.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/editor/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/editor/tb-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/clear-trigger.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/clear-trigger.psd trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/date-trigger.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/date-trigger.psd trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/error-tip-corners.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/exclamation.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/search-trigger.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/search-trigger.psd trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/text-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/trigger-tpl.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/trigger.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/form/trigger.psd trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/gradient-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/Thumbs.db trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/arrow-left-white.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/arrow-right-white.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/col-move-bottom.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/col-move-top.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/columns.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/dirty.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/done.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/drop-no.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/drop-yes.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/footer-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/grid-blue-hd.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/grid-blue-split.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/grid-hrow.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/grid-loading.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/grid-split.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/grid-vista-hd.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/grid3-hd-btn.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/grid3-hrow-over.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/grid3-hrow.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/grid3-special-col-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/grid3-special-col-sel-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/group-by.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/group-expand-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/hd-pop.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/hmenu-asc.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/hmenu-desc.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/hmenu-lock.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/hmenu-lock.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/hmenu-unlock.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/hmenu-unlock.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/invalid_line.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/loading.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/mso-hd.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/nowait.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/page-first-disabled.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/page-first.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/page-last-disabled.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/page-last.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/page-next-disabled.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/page-next.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/page-prev-disabled.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/page-prev.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/pick-button.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/refresh.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/row-check-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/row-expand-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/row-over.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/row-sel.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/sort_asc.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/sort_desc.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/grid/wait.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/collapse.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/expand.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/gradient-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/mini-bottom.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/mini-left.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/mini-right.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/mini-top.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/ns-collapse.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/ns-expand.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/panel-close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/panel-title-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/panel-title-light-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/stick.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/stuck.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/tab-close-on.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/layout/tab-close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/menu/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/menu/checked.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/menu/group-checked.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/menu/item-over.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/menu/menu-parent.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/menu/menu.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/menu/unchecked.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/panel/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/panel/corners-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/panel/left-right.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/panel/light-hd.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/panel/tool-sprite-tpl.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/panel/tool-sprites.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/panel/tools-sprites-trans.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/panel/top-bottom.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/panel/top-bottom.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/panel/white-corners-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/panel/white-left-right.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/panel/white-top-bottom.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/progress/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/progress/progress-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/qtip/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/qtip/bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/qtip/close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/qtip/tip-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/s.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shadow-c.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shadow-lr.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shadow.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shared/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shared/blue-loading.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shared/calendar.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shared/glass-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shared/hd-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shared/large-loading.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shared/left-btn.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shared/loading-balls.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shared/right-btn.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/shared/warning.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/e-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/e-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/ne-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/ne-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/nw-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/nw-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/s-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/s-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/se-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/se-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/square.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/sw-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/sizer/sw-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/slider/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/slider/slider-bg.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/slider/slider-thumb.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/slider/slider-v-bg.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/slider/slider-v-thumb.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/scroll-left.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/scroll-right.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/scroller-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/tab-btm-inactive-left-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/tab-btm-inactive-right-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/tab-btm-left-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/tab-btm-right-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/tab-close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/tab-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/tab-strip-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/tab-strip-bg.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/tab-strip-btm-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tabs/tabs-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/toolbar/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/toolbar/bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/toolbar/btn-arrow-light.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/toolbar/btn-arrow.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/toolbar/btn-over-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/toolbar/gray-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/toolbar/tb-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/toolbar/tb-btn-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/arrows.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/drop-add.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/drop-between.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/drop-no.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/drop-over.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/drop-under.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/drop-yes.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/elbow-end-minus-nl.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/elbow-end-minus.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/elbow-end-plus-nl.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/elbow-end-plus.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/elbow-end.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/elbow-line.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/elbow-minus-nl.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/elbow-minus.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/elbow-plus-nl.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/elbow-plus.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/elbow.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/folder-open.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/folder.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/leaf.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/loading.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/tree/s.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/icon-error.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/icon-info.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/icon-question.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/icon-warning.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/left-corners.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/left-corners.psd trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/left-right.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/left-right.psd trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/right-corners.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/right-corners.psd trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/top-bottom.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/default/window/top-bottom.psd trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/basic-dialog/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/basic-dialog/close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/basic-dialog/collapse.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/basic-dialog/dlg-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/basic-dialog/e-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/basic-dialog/expand.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/basic-dialog/hd-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/basic-dialog/s-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/basic-dialog/se-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/button/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/button/btn-arrow.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/button/btn-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/gradient-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/grid/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/grid/grid-hrow.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/layout/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/layout/collapse.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/layout/expand.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/layout/gradient-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/layout/ns-collapse.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/layout/ns-expand.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/layout/panel-close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/layout/panel-title-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/layout/panel-title-light-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/layout/stick.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/layout/tab-close-on.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/layout/tab-close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/menu/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/menu/checked.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/menu/group-checked.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/menu/menu-parent.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/menu/menu.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/menu/unchecked.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/panel/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/panel/corners-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/panel/left-right.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/panel/light-hd.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/panel/tool-sprite-tpl.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/panel/tool-sprites.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/panel/tools-sprites-trans.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/panel/top-bottom.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/panel/top-bottom.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/panel/white-corners-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/panel/white-left-right.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/panel/white-top-bottom.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/qtip/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/qtip/bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/qtip/close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/qtip/tip-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/s.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/e-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/e-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/ne-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/ne-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/nw-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/nw-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/s-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/s-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/se-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/se-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/sw-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/sizer/sw-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/scroll-left.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/scroll-right.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/scroller-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/tab-btm-inactive-left-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/tab-btm-inactive-right-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/tab-btm-left-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/tab-btm-right-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/tab-close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/tab-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/tab-strip-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/tab-strip-bg.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/tab-strip-btm-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/tabs/tabs-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/toolbar/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/toolbar/bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/toolbar/btn-arrow-light.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/toolbar/btn-arrow.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/toolbar/btn-over-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/toolbar/gray-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/toolbar/tb-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/toolbar/tb-btn-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/window/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/window/icon-error.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/window/icon-info.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/window/icon-question.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/window/icon-warning.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/window/left-corners.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/window/left-corners.pspimage trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/window/left-right.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/window/right-corners.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/gray/window/top-bottom.png trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/bg-center.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/bg-left.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/bg-right.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/collapse.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/dlg-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/e-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/expand.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/hd-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/s-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/se-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/basic-dialog/w-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/gradient-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/grid/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/grid/grid-split.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/grid/grid-vista-hd.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/layout/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/layout/collapse.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/layout/expand.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/layout/gradient-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/layout/ns-collapse.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/layout/ns-expand.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/layout/panel-close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/layout/panel-title-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/layout/panel-title-light-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/layout/stick.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/layout/tab-close-on.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/layout/tab-close.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/qtip/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/qtip/bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/qtip/tip-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/s.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/e-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/e-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/ne-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/ne-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/nw-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/nw-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/s-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/s-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/se-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/se-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/sw-handle-dark.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/sizer/sw-handle.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/tabs/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/tabs/tab-btm-inactive-left-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/tabs/tab-btm-inactive-right-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/tabs/tab-btm-left-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/tabs/tab-btm-right-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/tabs/tab-sprite.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/toolbar/ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/toolbar/gray-bg.gif trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/images/vista/toolbar/tb-btn-sprite.gif trunk/openutils-mgnlext/src/site/ trunk/openutils-mgnlext/src/site/apt/ trunk/openutils-mgnlext/src/site/apt/index.apt trunk/openutils-mgnlext/src/site/changes/ trunk/openutils-mgnlext/src/site/changes/changes.xml trunk/openutils-mgnlext/src/site/site.xml Property changes on: trunk/openutils-mgnlext ___________________________________________________________________ Name: svn:ignore + .settings target .checkstyle .classpath .project Added: trunk/openutils-mgnlext/pom.xml =================================================================== --- trunk/openutils-mgnlext/pom.xml (rev 0) +++ trunk/openutils-mgnlext/pom.xml 2008-07-12 19:15:57 UTC (rev 878) @@ -0,0 +1,19 @@ +<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> Property changes on: trunk/openutils-mgnlext/pom.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Added: trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/README.txt =================================================================== --- trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/README.txt (rev 0) +++ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/README.txt 2008-07-12 19:15:57 UTC (rev 878) @@ -0,0 +1,3 @@ +2006-11-21 jvs: +ext-all.css contains all of the other css files combined and stripped of comments (except themes). + Property changes on: trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/README.txt ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Added: trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/basic-dialog.css =================================================================== --- trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/basic-dialog.css (rev 0) +++ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/basic-dialog.css 2008-07-12 19:15:57 UTC (rev 878) @@ -0,0 +1,286 @@ +/* + * Ext JS Library 1.1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * lic...@ex... + * + * http://www.extjs.com/license + */ + +.x-dlg-proxy { + background-image: url(../images/default/gradient-bg.gif); + background-color:#c3daf9; + border:1px solid #6593cf; + z-index:10001; + overflow:hidden; + position:absolute; + left:0;top:0; +} +.x-dlg-shadow{ + background:#aaaaaa; + position:absolute; + left:0;top:0; +} +.x-dlg-focus{ + -moz-outline:0 none; + outline:0 none; + width:0; + height:0; + overflow:hidden; + position:absolute; + top:0; + left:0; +} +.x-dlg-mask{ + z-index:10000; + display:none; + position:absolute; + top:0; + left:0; + -moz-opacity: 0.5; + opacity:.50; + filter: alpha(opacity=50); + background-color:#CCC; +} +body.x-body-masked select { + visibility:hidden; +} +body.x-body-masked .x-dlg select { + visibility:visible; +} +.x-dlg{ + z-index:10001; + overflow:hidden; + position:absolute; + left:300;top:0; +} +.x-dlg .x-dlg-hd { + background: url(../images/default/basic-dialog/hd-sprite.gif) repeat-x 0 -82px; + background-color:navy; + color:#FFF; + font:bold 12px "sans serif", tahoma, verdana, helvetica; + overflow:hidden; + padding:5px; + white-space: nowrap; +} +.x-dlg .x-dlg-hd-left { + background: url(../images/default/basic-dialog/hd-sprite.gif) no-repeat 0 -41px; + padding-left:3px; + margin:0; +} +.x-dlg .x-dlg-hd-right { + background: url(../images/default/basic-dialog/hd-sprite.gif) no-repeat right 0; + padding-right:3px; +} +.x-dlg .x-dlg-dlg-body{ + background:url(../images/default/layout/gradient-bg.gif); + border:1px solid #6593cf; + border-top:0 none; + padding:10px; + position:absolute; + top:24px;left:0; + z-index:1; + overflow:hidden; +} +.x-dlg-collapsed .x-resizable-handle{ + display:none; +} +.x-dlg .x-dlg-bd{ + overflow:hidden; +} +.x-dlg .x-dlg-ft{ + overflow:hidden; + padding:5px; + padding-bottom:0; +} + +.x-dlg .x-tabs-body{ + background:white; + overflow:auto; +} +.x-dlg .x-tabs-top .x-tabs-body{ + border:1px solid #6593cf; + border-top:0 none; +} +.x-dlg .x-tabs-bottom .x-tabs-body{ + border:1px solid #6593cf; + border-bottom:0 none; +} +.x-dlg .x-layout-container .x-tabs-body{ + border:0 none; +} +.x-dlg .inner-tab{ + margin:5px; +} +.x-dlg .x-dlg-ft .x-btn{ + margin-right:5px; + float:right; + clear:none; +} +.x-dlg .x-dlg-ft .x-dlg-btns td { + border:0; + padding:0; +} +.x-dlg .x-dlg-ft .x-dlg-btns-right table{ + float:right; + clear:none; +} +.x-dlg .x-dlg-ft .x-dlg-btns-left table{ + float:left; + clear:none; +} +.x-dlg .x-dlg-ft .x-dlg-btns-center{ + text-align:center; /*ie*/ +} +.x-dlg .x-dlg-ft .x-dlg-btns-center table{ + margin:0 auto; /*everyone else*/ +} + + +.x-dlg .x-dlg-ft .x-dlg-btns .x-btn-focus .x-btn-left{ + background-position:0 -147px; +} +.x-dlg .x-dlg-ft .x-dlg-btns .x-btn-focus .x-btn-right{ + background-position:0 -168px; +} +.x-dlg .x-dlg-ft .x-dlg-btns .x-btn-focus .x-btn-center{ + background-position:0 -189px; +} + +.x-dlg .x-dlg-ft .x-dlg-btns .x-btn-click .x-btn-center{ + background-position:0 -126px; +} +.x-dlg .x-dlg-ft .x-dlg-btns .x-btn-click .x-btn-right{ + background-position:0 -84px; +} +.x-dlg .x-dlg-ft .x-dlg-btns .x-btn-click .x-btn-left{ + background-position:0 -63px; +} + +.x-dlg-draggable .x-dlg-hd{ + cursor:move; +} +.x-dlg-closable .x-dlg-hd{ + padding-right:22px; +} +.x-dlg-toolbox { + position:absolute; + top:4px; + right:4px; + z-index:6; + width:40px; + cursor:default; + height:15px; + background:transparent; +} +.x-dlg .x-dlg-close, .x-dlg .x-dlg-collapse { + float:right; + height:15px; + width:15px; + margin:0; + margin-left:2px; + padding:0; + line-height:1px; + font-size:1px; + background-repeat:no-repeat; + cursor:pointer; + visibility:inherit; +} +.x-dlg .x-dlg-close { + background-image:url(../images/default/basic-dialog/close.gif); +} +.x-dlg .x-dlg-collapse { + background-image:url(../images/default/basic-dialog/collapse.gif); +} +.x-dlg-collapsed .x-dlg-collapse { + background-image:url(../images/default/basic-dialog/expand.gif); +} +.x-dlg .x-dlg-close-over, .x-dlg .x-dlg-collapse-over { + +} +.x-dlg div.x-resizable-handle-east{ + background-image:url(../images/default/basic-dialog/e-handle.gif); + border:0; + background-position:right; + margin-right:0; +} +.x-dlg div.x-resizable-handle-south{ + background-image:url(../images/default/sizer/s-handle-dark.gif); + border:0; + height:6px; +} +.x-dlg div.x-resizable-handle-west{ + background-image:url(../images/default/basic-dialog/e-handle.gif); + border:0; + background-position:1px; +} +.x-dlg div.x-resizable-handle-north{ + background-image:url(../images/default/s.gif); + border:0; +} +.x-dlg div.x-resizable-handle-northeast, .xtheme-gray .x-dlg div.x-resizable-handle-northeast{ + background-image:url(../images/default/s.gif); + border:0; +} +.x-dlg div.x-resizable-handle-northwest, .xtheme-gray .x-dlg div.x-resizable-handle-northwest{ + background-image:url(../images/default/s.gif); + border:0; +} +.x-dlg div.x-resizable-handle-southeast{ + background-image:url(../images/default/basic-dialog/se-handle.gif); + background-position: bottom right; + width:8px; + height:8px; + border:0; +} +.x-dlg div.x-resizable-handle-southwest{ + background-image:url(../images/default/sizer/sw-handle-dark.gif); + background-position: top right; + margin-left:1px; + margin-bottom:1px; + border:0; +} + +#x-msg-box .x-dlg-ft .x-btn{ + float:none; + clear:none; + margin:0 3px; +} + +#x-msg-box .x-dlg-bd { + padding:5px; + overflow:hidden !important; + font:normal 13px verdana,tahoma,sans-serif; +} +#x-msg-box .ext-mb-input { + margin-top:4px; + width:95%; +} +#x-msg-box .ext-mb-textarea { + margin-top:4px; + font:normal 13px verdana,tahoma,sans-serif; +} +#x-msg-box .ext-mb-progress-wrap { + margin-top:4px; + border:1px solid #6593cf; +} +#x-msg-box .ext-mb-progress { + height:18px; + background: #e0e8f3 url(../images/default/qtip/bg.gif) repeat-x; +} +#x-msg-box .ext-mb-progress-bar { + height:18px; + overflow:hidden; + width:0; + background:#8BB8F3; + border-top:1px solid #B2D0F7; + border-bottom:1px solid #65A1EF; + border-right:1px solid #65A1EF; +} + +#x-msg-box .x-msg-box-wait { + background: transparent url(../images/default/grid/loading.gif) no-repeat left; + display:block; + width:300px; + padding-left:18px; + line-height:18px; +} \ No newline at end of file Property changes on: trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/basic-dialog.css ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/borders.css =================================================================== --- trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/borders.css (rev 0) +++ trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/borders.css 2008-07-12 19:15:57 UTC (rev 878) @@ -0,0 +1,61 @@ +/* + * Ext JS Library 2.1 + * Copyright(c) 2006-2008, Ext JS, LLC. + * lic...@ex... + * + * http://extjs.com/license + */ + +.x-panel-noborder .x-panel-body-noborder { + border-width:0; +} + +.x-panel-noborder .x-panel-header-noborder { + border-width:0; + border-bottom:1px solid #99bbe8; +} + +.x-panel-noborder .x-panel-tbar-noborder .x-toolbar { + border-width:0; + border-bottom:1px solid #99bbe8; +} + +.x-panel-noborder .x-panel-bbar-noborder .x-toolbar { + border-width:0; + border-top:1px solid #99bbe8; +} + +.x-window-noborder .x-window-mc { + border-width:0; +} + +.x-window-plain .x-window-body-noborder { + border-width:0; +} + +.x-tab-panel-noborder .x-tab-panel-body-noborder { + border-width:0; +} + +.x-tab-panel-noborder .x-tab-panel-header-noborder { + border-top-width:0; + border-left-width:0; + border-right-width:0; +} + +.x-tab-panel-noborder .x-tab-panel-footer-noborder { + border-bottom-width:0; + border-left-width:0; + border-right-width:0; +} + + +.x-tab-panel-bbar-noborder .x-toolbar { + border-width:0; + border-top:1px solid #99bbe8; +} + +.x-tab-panel-tbar-noborder .x-toolbar { + border-width:0; + border-bottom:1px solid #99bbe8; +} \ No newline at end of file Property changes on: trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/borders.css ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/box.css =================================================================== --- trunk/openutils-mgnlext/src/main/resources/mgnl-resources/ext/css/box.css (rev 0) +++ trunk/openuti... [truncated message content] |
From: <mol...@us...> - 2008-07-01 14:10:29
|
Revision: 877 http://openutils.svn.sourceforge.net/openutils/?rev=877&view=rev Author: molaschi Date: 2008-07-01 07:10:38 -0700 (Tue, 01 Jul 2008) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/openutils-mgnlbootstrapsync/pom.xml Modified: trunk/openutils-mgnlbootstrapsync/pom.xml =================================================================== --- trunk/openutils-mgnlbootstrapsync/pom.xml 2008-07-01 14:10:27 UTC (rev 876) +++ trunk/openutils-mgnlbootstrapsync/pom.xml 2008-07-01 14:10:38 UTC (rev 877) @@ -10,7 +10,7 @@ <packaging>jar</packaging> <artifactId>openutils-mgnlbootstrapsync</artifactId> <name>openutils-mgnlbootstrapsync</name> - <version>0.2</version> + <version>0.3-SNAPSHOT</version> <licenses> <license> <name>GPLv3</name> @@ -73,10 +73,4 @@ </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> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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) + { + 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); + } + +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mol...@us...> - 2008-07-01 14:10:05
|
Revision: 875 http://openutils.svn.sourceforge.net/openutils/?rev=875&view=rev Author: molaschi Date: 2008-07-01 07:10:12 -0700 (Tue, 01 Jul 2008) Log Message: ----------- [maven-release-plugin] prepare release openutils-mgnlbootstrapsync-0.2 Modified Paths: -------------- trunk/openutils-mgnlbootstrapsync/pom.xml Modified: trunk/openutils-mgnlbootstrapsync/pom.xml =================================================================== --- trunk/openutils-mgnlbootstrapsync/pom.xml 2008-07-01 14:09:31 UTC (rev 874) +++ trunk/openutils-mgnlbootstrapsync/pom.xml 2008-07-01 14:10:12 UTC (rev 875) @@ -10,7 +10,7 @@ <packaging>jar</packaging> <artifactId>openutils-mgnlbootstrapsync</artifactId> <name>openutils-mgnlbootstrapsync</name> - <version>0.2-SNAPSHOT</version> + <version>0.2</version> <licenses> <license> <name>GPLv3</name> @@ -73,4 +73,10 @@ </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> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mol...@us...> - 2008-07-01 14:09:23
|
Revision: 874 http://openutils.svn.sourceforge.net/openutils/?rev=874&view=rev Author: molaschi Date: 2008-07-01 07:09:31 -0700 (Tue, 01 Jul 2008) Log Message: ----------- fix bug Modified Paths: -------------- trunk/openutils-mgnlbootstrapsync/src/main/java/it/openutils/mgnlbootstrapsync/listener/AbstractBootstrapSyncListener.java Modified: trunk/openutils-mgnlbootstrapsync/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) +++ trunk/openutils-mgnlbootstrapsync/src/main/java/it/openutils/mgnlbootstrapsync/listener/AbstractBootstrapSyncListener.java 2008-07-01 14:09:31 UTC (rev 874) @@ -34,8 +34,8 @@ import org.xml.sax.XMLReader; import org.xml.sax.helpers.XMLReaderFactory; + /** - * * @author mmolaschi * @version $Id: $ */ @@ -49,7 +49,6 @@ private Object synchronizationObject = new Object(); /** - * * @param watch watch for this listener */ public AbstractBootstrapSyncListener(BootstrapSyncRepositoryWatch watch) @@ -57,7 +56,6 @@ this.watch = watch; } - /** * {@inheritDoc} */ @@ -109,12 +107,21 @@ try { - // get exported content - exported = getRightContent(hm.getContent(path), watch.getNodeType()); - if (exported == null) + + if (watch.getNodeType() != null) { - return; + // get exported content + exported = getRightContent(hm.getContent(path), watch.getNodeType()); + if (exported == null) + { + return; + } + } + else + { + exported = hm.getContent(path); + } } catch (RepositoryException e) { @@ -213,9 +220,9 @@ } } } - + /** - * Go up in tree until the current node type equals passed item type + * 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 @@ -228,13 +235,9 @@ { return c; } - if (c.getChildren() != null) + if (c.getParent() != null) { - Iterator it = c.getChildren().iterator(); - while(it.hasNext()) - { - return getRightContent((Content)it.next(), itemType); - } + return getRightContent(c.getParent(), itemType); } return null; } @@ -303,7 +306,6 @@ } /** - * * @param fileName file name * @param reader xml filter * @param hm hierarchy manager 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:03:34
|
Revision: 873 http://openutils.svn.sourceforge.net/openutils/?rev=873&view=rev Author: fgiust Date: 2008-06-26 10:03:15 -0700 (Thu, 26 Jun 2008) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/openutils-mgnlcontrols/pom.xml Modified: trunk/openutils-mgnlcontrols/pom.xml =================================================================== --- trunk/openutils-mgnlcontrols/pom.xml 2008-06-26 16:58:33 UTC (rev 872) +++ trunk/openutils-mgnlcontrols/pom.xml 2008-06-26 17:03:15 UTC (rev 873) @@ -9,7 +9,7 @@ <packaging>jar</packaging> <artifactId>openutils-mgnlcontrols</artifactId> <name>openutils-mgnlcontrols</name> - <version>3.5.2</version> + <version>3.5.3-SNAPSHOT</version> <licenses> <license> <name>GPLv3</name> @@ -76,10 +76,4 @@ </exclusions> </dependency> </dependencies> - - <scm> - <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlcontrols-3.5.2</connection> - <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlcontrols-3.5.2</developerConnection> - <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnlcontrols-3.5.2</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. |