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...> - 2011-11-20 16:46:43
|
Revision: 3700
http://openutils.svn.sourceforge.net/openutils/?rev=3700&view=rev
Author: fgiust
Date: 2011-11-20 16:46:36 +0000 (Sun, 20 Nov 2011)
Log Message:
-----------
MEDIA-273 new "all" tab
Modified Paths:
--------------
trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaBean.java
trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaBeanBuilder.java
trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.java
trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.java
trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/css/folderView.css
trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/icons/type-document.png
trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/icons/type-video.png
trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/icons/type-youtube.png
trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.html
Added Paths:
-----------
trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/icons/type-all.png
Modified: trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaBean.java
===================================================================
--- trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaBean.java 2011-11-19 21:44:36 UTC (rev 3699)
+++ trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaBean.java 2011-11-20 16:46:36 UTC (rev 3700)
@@ -49,12 +49,18 @@
private String previewUrl;
+ private String dialog;
+
private Content content;
private MetaData metaData;
private String uuid;
+ private String type;
+
+ private String icon;
+
private List<String> usedInWebPages = new ArrayList<String>();
private List<String> usedInUris = new ArrayList<String>();
@@ -346,4 +352,58 @@
{
this.title = title;
}
+
+ /**
+ * Returns the dialog.
+ * @return the dialog
+ */
+ public String getDialog()
+ {
+ return dialog;
+ }
+
+ /**
+ * Sets the dialog.
+ * @param dialog the dialog to set
+ */
+ public void setDialog(String dialog)
+ {
+ this.dialog = dialog;
+ }
+
+ /**
+ * Returns the type.
+ * @return the type
+ */
+ public String getType()
+ {
+ return type;
+ }
+
+ /**
+ * Sets the type.
+ * @param type the type to set
+ */
+ public void setType(String type)
+ {
+ this.type = type;
+ }
+
+ /**
+ * Returns the icon.
+ * @return the icon
+ */
+ public String getIcon()
+ {
+ return icon;
+ }
+
+ /**
+ * Sets the icon.
+ * @param icon the icon to set
+ */
+ public void setIcon(String icon)
+ {
+ this.icon = icon;
+ }
}
\ No newline at end of file
Modified: trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaBeanBuilder.java
===================================================================
--- trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaBeanBuilder.java 2011-11-19 21:44:36 UTC (rev 3699)
+++ trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaBeanBuilder.java 2011-11-20 16:46:36 UTC (rev 3700)
@@ -31,6 +31,7 @@
import javax.jcr.RepositoryException;
+import net.sourceforge.openutils.mgnlmedia.media.configuration.MediaConfigurationManager;
import net.sourceforge.openutils.mgnlmedia.media.configuration.MediaTypeConfiguration;
import net.sourceforge.openutils.mgnlmedia.media.configuration.MediaUsedInManager;
import net.sourceforge.openutils.mgnlmedia.media.tags.el.MediaEl;
@@ -55,21 +56,21 @@
*/
private Logger log = LoggerFactory.getLogger(getClass());
- private final MediaTypeConfiguration mtc;
-
/**
- *
- */
- public MediaBeanBuilder(MediaTypeConfiguration mtc)
- {
- this.mtc = mtc;
- }
-
- /**
* {@inheritDoc}
*/
public MediaBean apply(Content media)
{
+
+ String mediatype = media.getNodeData("type").getString();
+ MediaTypeConfiguration mtc = MediaConfigurationManager.getInstance().getTypes().get(mediatype);
+
+ if (mtc == null)
+ {
+ log.warn("Skipping media {} with invalid media type \"{}\"", media.getHandle(), mediatype);
+ return null;
+ }
+
MediaBean mb = new MediaBean();
mb.setContent(media);
mb.setMetaData(media.getMetaData());
@@ -86,7 +87,10 @@
mb.setThumbnailUrl(mtc.getHandler().getThumbnailUrl(media));
mb.setPreviewUrl(mtc.getHandler().getPreviewUrl(media));
mb.setDescription(mtc.getHandler().getDescription(media));
+ mb.setDialog(mtc.getDialog());
mb.setUuid(media.getUUID());
+ mb.setType(mediatype);
+ mb.setIcon(mtc.getMenuIcon());
try
{
Modified: trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.java
===================================================================
--- trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.java 2011-11-19 21:44:36 UTC (rev 3699)
+++ trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.java 2011-11-20 16:46:36 UTC (rev 3700)
@@ -143,10 +143,10 @@
}
else
{
- if (StringUtils.isEmpty(type))
- {
- type = MediaConfigurationManager.getInstance().getTypes().keySet().iterator().next();
- }
+ // if (StringUtils.isEmpty(type))
+ // {
+ // type = MediaConfigurationManager.getInstance().getTypes().keySet().iterator().next();
+ // }
types = MediaConfigurationManager.getInstance().getTypes().values();
}
@@ -253,7 +253,6 @@
page);
}
-
return result;
}
@@ -265,18 +264,22 @@
{
// counts media items group by type
numberOfMedia = new HashMap<String, Integer>();
+ int total = 0;
for (MediaTypeConfiguration type : types)
{
- numberOfMedia.put(type.getName(), countMediaItems(type));
+ int countMediaItems = countMediaItems(type);
+ numberOfMedia.put(type.getName(), countMediaItems);
+ total += countMediaItems;
}
+ numberOfMedia.put("", total);
searchResult = findMediaItems();
if (searchResult != null)
{
- MediaTypeConfiguration mtc = MediaConfigurationManager.getInstance().getTypes().get(type);
+
// casts Iterator<AdvancedResultItem> to Iterator<Content>
Iterator<Content> contentIterator = Iterators.filter(searchResult.getItems(), Content.class);
- medias = Iterators.transform(contentIterator, new MediaBeanBuilder(mtc));
+ medias = Iterators.transform(contentIterator, new MediaBeanBuilder());
pages = MgnlPagingElFunctions.pageList(searchResult.getNumberOfPages(), 10, "page");
}
if (medias == null)
@@ -873,6 +876,11 @@
public String mediatabLink(MediaTypeConfiguration type)
{
String s = currentQueryString();
+
+ if (type == null)
+ {
+ return '?' + s;
+ }
return '?' + s + (s.length() > 0 ? '&' : StringUtils.EMPTY) + "type=" + type.getName();
}
Modified: trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.java
===================================================================
--- trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.java 2011-11-19 21:44:36 UTC (rev 3699)
+++ trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/playlist/pages/PlaylistView.java 2011-11-20 16:46:36 UTC (rev 3700)
@@ -356,10 +356,7 @@
mediaBeans = new ArrayList<MediaBean>(nodes.size());
for (Content node : nodes)
{
- MediaTypeConfiguration mtc = MediaConfigurationManager
- .getInstance()
- .getMediaTypeConfigurationFromMedia(node);
- MediaBean bean = new MediaBeanBuilder(mtc).apply(node);
+ MediaBean bean = new MediaBeanBuilder().apply(node);
mediaBeans.add(bean);
}
}
Modified: trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/css/folderView.css
===================================================================
--- trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/css/folderView.css 2011-11-19 21:44:36 UTC (rev 3699)
+++ trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/css/folderView.css 2011-11-20 16:46:36 UTC (rev 3700)
@@ -307,7 +307,7 @@
.mediaheader span.edit {
float: right;
background: transparent url(images/arrow.gif) no-repeat center right;
- padding-right: 12px;
+ padding-right: 8px;
margin-right: 2px;
}
Added: trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/icons/type-all.png
===================================================================
(Binary files differ)
Property changes on: trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/icons/type-all.png
___________________________________________________________________
Added: svn:mime-type
+ image/png
Modified: trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/icons/type-document.png
===================================================================
(Binary files differ)
Modified: trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/icons/type-video.png
===================================================================
(Binary files differ)
Modified: trunk/openutils-mgnlmedia/src/main/resources/mgnl-resources/media/icons/type-youtube.png
===================================================================
(Binary files differ)
Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.html
===================================================================
--- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.html 2011-11-19 21:44:36 UTC (rev 3699)
+++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.html 2011-11-20 16:46:36 UTC (rev 3700)
@@ -93,7 +93,7 @@
var selector = $(e.target);
var value = selector.className.match(/pagesize-selector\s+(\w+)(-active)?/)[1];
Cookie.write('pagesizeselector', value, {duration: 30});
- location.href = '?' + [this.options.queryString, 'type=${this.type}'].join('&');
+ location.href = '?' + [this.options.queryString, 'type=${this.type!}'].join('&');
}
});
@@ -110,7 +110,7 @@
handleSelectChange: function(){
Cookie.write('sorting', this.select.get('value'), {duration: 30});
- location.href = '?' + [this.options.queryString, 'type=${this.type}'].join('&');
+ location.href = '?' + [this.options.queryString, 'type=${this.type!}'].join('&');
}
});
@@ -240,14 +240,13 @@
</script>
<script type="text/javascript">
[#list this.types as type]
- [#if type.name == this.type]
+ [#if type.name == this.type!]
[#assign currentType = type]
[/#if]
[/#list]
- function openDialog(path) {
- parent.openWindow(".magnolia/dialogs/${currentType.dialog}.html?mgnlPath=" + path
- + "&mgnlRepository=media");
+ function openDialog(path, dialog) {
+ parent.openWindow(".magnolia/dialogs/" + dialog + ".html?mgnlPath=" + path + "&mgnlRepository=media");
}
function openMediaTree(action, path) {
@@ -332,12 +331,11 @@
<input type="hidden" id="actionSearch" name="search" value="${this.search!""}" />
<input type="hidden" id="actionNode" name="node" />
<input type="hidden" id="actionDest" name="dest" />
- <input type="hidden" name="type" value="${this.type}" />
+ <input type="hidden" name="type" value="${this.type!}" />
[#if this.request.parameterMap['selectMedia']?exists]
<input type="hidden" name="selectMedia" value="true" />
[/#if]
<input type="hidden" name="search" value="${this.search!''}" />
- <input type="hidden" name="type" value="${this.type}" />
[#if this.path?exists]
<input type="hidden" name="path" value="${this.path}" />
[/#if]
@@ -349,8 +347,19 @@
<div class="tabsrow1">
+ [#if "" == this.type!]
+ [#assign actual = "actual"]
+ [#else]
+ [#assign actual = ""]
+ [/#if]
+ <div class="voice mediatab ${actual}">
+ <a href="${this.mediatabLink(null)}">
+ <img src="${this.request.contextPath}/.resources/media/icons/type-all.png" alt="${this.msgs.get('media.types.all')}" />
+ ${this.msgs.get('media.types.all')} [#if this.numberOfMedia?exists](${this.numberOfMedia[""]!'0'})[/#if]
+ </a>
+ </div>
[#list this.types as type]
- [#if type.name == this.type]
+ [#if type.name == this.type!]
[#assign actual = "actual"]
[#else]
[#assign actual = ""]
@@ -443,14 +452,14 @@
[#if this.selectMedia]
[#assign selectMediaClass = "selectMedia"]
[/#if]
- <li class="media ${mediaStatusClass} ${selectMediaClass}" style="text-align:center">
+ <li class="media ${mediaStatusClass} ${selectMediaClass} mediatype-${media.type}" style="text-align:center">
<div class="mediaheader">
- <span class="edit menuitem"> </span>
+ <span class="edit menuitem"><img src="${this.request.contextPath}${media.icon}" alt="${this.msgs.get('media.types.' + media.type)}" /> </span>
<div class="icons menu" style="display: none;">
<ul class="mediamenu">
[#if media.writable]
<li>
- <a href="javascript:$empty()" onclick="openDialog('${media.handle}')" title="${this.msgs.get('media.edit')}" style="background-image: url('${this.request.contextPath}/.resources/media/icons/ico16-edit.png');">
+ <a href="javascript:$empty()" onclick="openDialog('${media.handle}', '${media.dialog}')" title="${this.msgs.get('media.edit')}" style="background-image: url('${this.request.contextPath}/.resources/media/icons/ico16-edit.png');">
${this.msgs.get('media.edit')}
</a>
</li>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fg...@us...> - 2011-11-19 21:44:42
|
Revision: 3699
http://openutils.svn.sourceforge.net/openutils/?rev=3699&view=rev
Author: fgiust
Date: 2011-11-19 21:44:36 +0000 (Sat, 19 Nov 2011)
Log Message:
-----------
MEDIA-257 Escape media uuid in MediaUsedInManager
Modified Paths:
--------------
trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/configuration/MediaUsedInManager.java
Modified: trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/configuration/MediaUsedInManager.java
===================================================================
--- trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/configuration/MediaUsedInManager.java 2011-11-19 21:06:38 UTC (rev 3698)
+++ trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/configuration/MediaUsedInManager.java 2011-11-19 21:44:36 UTC (rev 3699)
@@ -23,13 +23,9 @@
import info.magnolia.cms.beans.config.ObservedManager;
import info.magnolia.cms.core.Content;
import info.magnolia.cms.core.ItemType;
-import info.magnolia.cms.core.search.Query;
-import info.magnolia.cms.core.search.QueryManager;
-import info.magnolia.cms.core.search.QueryResult;
import info.magnolia.cms.util.FactoryUtil;
import info.magnolia.content2bean.Content2BeanException;
import info.magnolia.content2bean.Content2BeanUtil;
-import info.magnolia.context.MgnlContext;
import java.util.ArrayList;
import java.util.Collection;
@@ -43,6 +39,12 @@
import javax.jcr.RepositoryException;
import javax.jcr.query.InvalidQueryException;
+import net.sourceforge.openutils.mgnlcriteria.jcr.query.AdvancedResult;
+import net.sourceforge.openutils.mgnlcriteria.jcr.query.Criteria;
+import net.sourceforge.openutils.mgnlcriteria.jcr.query.JCRCriteriaFactory;
+import net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion.Order;
+import net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion.Restrictions;
+
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -60,7 +62,7 @@
return (MediaUsedInManager) FactoryUtil.getSingleton(MediaUsedInManager.class);
}
- private Logger log = LoggerFactory.getLogger(MediaUsedInManager.class);
+ private static Logger log = LoggerFactory.getLogger(MediaUsedInManager.class);
private Map<String, UsedInWorkspace> usedInWorkspaceMap = new HashMap<String, UsedInWorkspace>();
@@ -149,31 +151,41 @@
List<Content> nodes = new ArrayList<Content>();
Set<String> handles = new HashSet<String>();
- QueryManager qm = MgnlContext.getQueryManager(uiw.getWorkspaceName());
- Query q = qm.createQuery(
- "select * from nt:base where jcr:path like '"
- + uiw.getBasePath()
- + (StringUtils.endsWith(uiw.getBasePath(), "/") ? StringUtils.EMPTY : "/")
- + "%' and contains("
- + uiw.getPropertyName()
- + ", '"
- + mediaUUID
- + "')",
- Query.SQL);
- QueryResult qr = q.execute();
- Collection<Content> qrNodes = qr.getContent(uiw.getNodeType());
- if (qrNodes != null)
+ String basepath = "/jcr:root" + StringUtils.defaultString(uiw.getBasePath());
+
+ if (!StringUtils.endsWith(basepath, "/"))
{
- for (Content c : qrNodes)
+ basepath = basepath + "/";
+ }
+ basepath = basepath + "/*";
+
+ Criteria criteria = JCRCriteriaFactory
+ .createCriteria()
+ .setWorkspace(uiw.getWorkspaceName())
+ .setBasePath(basepath)
+ .add(Restrictions.contains(uiw.getPropertyName(), mediaUUID))
+ .add(Restrictions.not(Restrictions.eq("@jcr:primaryType", "nt:frozenNode")))
+ .addOrder(Order.desc("@jcr:score"));
+
+ AdvancedResult result = criteria.execute();
+
+ log.debug("{} > {}", criteria.toXpathExpression(), result.getTotalSize());
+
+ for (Content item : result.getItems())
+ {
+ // log.debug("{} {}", item.getJCRNode().getPrimaryNodeType().getName(), item.getHandle());
+
+ while (!item.getNodeTypeName().equals(uiw.getNodeType()) && item.getLevel() > 1)
{
- if (!handles.contains(c.getHandle()))
- {
- nodes.add(c);
- handles.add(c.getHandle());
- }
-
+ item = item.getParent();
}
+ if (item.getNodeTypeName().equals(uiw.getNodeType()) && !handles.contains(item.getHandle()))
+ {
+ nodes.add(item);
+ handles.add(item.getHandle());
+ }
}
+
return nodes;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <hu...@op...> - 2011-11-19 21:40:23
|
See <https://hudson.openmindonline.it/job/openutils-mgnlmedia/426/changes> |
|
From: <fg...@us...> - 2011-11-19 21:06:44
|
Revision: 3698
http://openutils.svn.sourceforge.net/openutils/?rev=3698&view=rev
Author: fgiust
Date: 2011-11-19 21:06:38 +0000 (Sat, 19 Nov 2011)
Log Message:
-----------
MEDIA-268 Delete doesn't work in search results.
Modified Paths:
--------------
trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.html
Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.html
===================================================================
--- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.html 2011-11-19 21:02:59 UTC (rev 3697)
+++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.html 2011-11-19 21:06:38 UTC (rev 3698)
@@ -264,7 +264,21 @@
$("actionCmd").value = action;
$("actionNode").value = source;
$("actionDest").value = dest;
- $("actionForm").submit();
+ var submitForm = $("actionForm");
+ if ((submitForm.get("action")) && (submitForm.get("action").length > 0)) {
+ var currentUrl = new URI(submitForm.get("action"));
+ } else if (window.location.href.length > 0) {
+ // In this case, the form will use the iframe href.
+ var currentUrl = new URI(window.location.href);
+ }
+ if (currentUrl) {
+ // Given that in some cases the form is POSTed to a url with parameter, be sure to remove them before submitting.
+ currentUrl.setData("command", null);
+ currentUrl.setData("node", null);
+ currentUrl.setData("dest", null);
+ submitForm.set("action", currentUrl.toString());
+ }
+ submitForm.submit();
}
function deleteMedia(source) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fg...@us...> - 2011-11-19 21:03:05
|
Revision: 3697
http://openutils.svn.sourceforge.net/openutils/?rev=3697&view=rev
Author: fgiust
Date: 2011-11-19 21:02:59 +0000 (Sat, 19 Nov 2011)
Log Message:
-----------
MEDIA-270 Invalid chunk in the browse page url.
Modified Paths:
--------------
trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/media/pages/MediaBrowserPage.html
Modified: trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/media/pages/MediaBrowserPage.html
===================================================================
--- trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/media/pages/MediaBrowserPage.html 2011-11-19 21:00:10 UTC (rev 3696)
+++ trunk/openutils-mgnlmedia/src/main/resources/net/sourceforge/openutils/mgnlmedia/media/pages/MediaBrowserPage.html 2011-11-19 21:02:59 UTC (rev 3697)
@@ -15,6 +15,18 @@
<script type="text/javascript" src="${this.request.contextPath}/.resources/media/js/miframe.js"></script>
<script type="text/javascript">
// <![CDATA[
+ if ((typeof Range !== "undefined") && !Range.prototype.createContextualFragment)
+{
+ Range.prototype.createContextualFragment = function(html)
+ {
+ var frag = document.createDocumentFragment(),
+ div = document.createElement("div");
+ frag.appendChild(div);
+ div.outerHTML = html;
+ return frag;
+ };
+}
+
var viewport;
var nodeid = "${this.nodeid!''}";
var selectMedia = ${this.selectMedia?string("true", "false")};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fg...@us...> - 2011-11-19 21:00:17
|
Revision: 3696
http://openutils.svn.sourceforge.net/openutils/?rev=3696&view=rev
Author: fgiust
Date: 2011-11-19 21:00:10 +0000 (Sat, 19 Nov 2011)
Log Message:
-----------
MEDIA-271 MediaFolderViewPage: media search always performed twice
Modified Paths:
--------------
trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.java
Modified: trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.java
===================================================================
--- trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.java 2011-11-19 17:14:59 UTC (rev 3695)
+++ trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/pages/MediaFolderViewPage.java 2011-11-19 21:00:10 UTC (rev 3696)
@@ -243,9 +243,16 @@
if (result.getTotalSize() > 0 && result.getNumberOfPages() < page)
{
page = 1;
+ result = module.getSearch().search(
+ request,
+ type,
+ path,
+ false,
+ SortMode.valueOf(sorting),
+ itemsPerPage,
+ page);
}
- result = module.getSearch().search(request, type, path, false, SortMode.valueOf(sorting), itemsPerPage, page);
return result;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <hu...@op...> - 2011-11-19 17:55:44
|
See <https://hudson.openmindonline.it/job/openutils-mgnlutils/68/changes> |
|
From: <fg...@us...> - 2011-11-19 17:15:05
|
Revision: 3695
http://openutils.svn.sourceforge.net/openutils/?rev=3695&view=rev
Author: fgiust
Date: 2011-11-19 17:14:59 +0000 (Sat, 19 Nov 2011)
Log Message:
-----------
move initialization code to an init() method
Modified Paths:
--------------
trunk/openutils-mgnlmobile/src/main/java/net/sourceforge/openutils/mgnlmobile/filters/DefaultMobileWURFLManager.java
Modified: trunk/openutils-mgnlmobile/src/main/java/net/sourceforge/openutils/mgnlmobile/filters/DefaultMobileWURFLManager.java
===================================================================
--- trunk/openutils-mgnlmobile/src/main/java/net/sourceforge/openutils/mgnlmobile/filters/DefaultMobileWURFLManager.java 2011-11-19 17:13:22 UTC (rev 3694)
+++ trunk/openutils-mgnlmobile/src/main/java/net/sourceforge/openutils/mgnlmobile/filters/DefaultMobileWURFLManager.java 2011-11-19 17:14:59 UTC (rev 3695)
@@ -55,6 +55,15 @@
public DefaultMobileWURFLManager()
{
+ init();
+ }
+
+ /**
+ *
+ */
+ private void init()
+ {
+
String mainPath = "/mgnl-resources/mgnlmobile/wurfl-2.0.18.xml.gz";
File fileMain = getResource(mainPath, "wurfl", ".xml.gz");
if (fileMain != null)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fg...@us...> - 2011-11-19 17:13:28
|
Revision: 3694
http://openutils.svn.sourceforge.net/openutils/?rev=3694&view=rev
Author: fgiust
Date: 2011-11-19 17:13:22 +0000 (Sat, 19 Nov 2011)
Log Message:
-----------
java 5 source compatibility
Modified Paths:
--------------
trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/MagnoliaMultipartWrapper.java
trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/extra/CalendarFormatter.java
Modified: trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/MagnoliaMultipartWrapper.java
===================================================================
--- trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/MagnoliaMultipartWrapper.java 2011-11-19 17:10:34 UTC (rev 3693)
+++ trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/MagnoliaMultipartWrapper.java 2011-11-19 17:13:22 UTC (rev 3694)
@@ -74,13 +74,11 @@
return new Enumeration<String>()
{
- @Override
public boolean hasMoreElements()
{
return false;
}
- @Override
public String nextElement()
{
return null;
Modified: trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/extra/CalendarFormatter.java
===================================================================
--- trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/extra/CalendarFormatter.java 2011-11-19 17:10:34 UTC (rev 3693)
+++ trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/extra/CalendarFormatter.java 2011-11-19 17:13:22 UTC (rev 3694)
@@ -53,7 +53,6 @@
private DateFormat format;
- @Override
public void setFormatType(String formatType)
{
this.formatType = formatType;
@@ -64,7 +63,6 @@
return formatType;
}
- @Override
public void setFormatPattern(String formatPattern)
{
this.formatPattern = formatPattern;
@@ -75,7 +73,6 @@
return formatPattern;
}
- @Override
public void setLocale(Locale locale)
{
this.locale = locale;
@@ -92,7 +89,6 @@
* type and format, otherwise a SimpleDateFormat is constructed using the pattern provided and the formatType is
* ignored.
*/
- @Override
public void init()
{
// Default these values if they were not supplied
@@ -137,7 +133,6 @@
}
}
- @Override
public String format(Calendar input)
{
if (input != null)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fg...@us...> - 2011-11-19 17:10:42
|
Revision: 3693
http://openutils.svn.sourceforge.net/openutils/?rev=3693&view=rev
Author: fgiust
Date: 2011-11-19 17:10:34 +0000 (Sat, 19 Nov 2011)
Log Message:
-----------
MGNLUTILS-32 Add paragraphs auto-generation feature to ExtendedTemplate
Modified Paths:
--------------
trunk/openutils-mgnlutils/src/main/java/it/openutils/mgnlutils/templating/ExtendedTemplate.java
Added Paths:
-----------
trunk/openutils-mgnlutils/src/main/java/it/openutils/mgnlutils/templating/AutoGenerateTemplateModel.java
Added: trunk/openutils-mgnlutils/src/main/java/it/openutils/mgnlutils/templating/AutoGenerateTemplateModel.java
===================================================================
--- trunk/openutils-mgnlutils/src/main/java/it/openutils/mgnlutils/templating/AutoGenerateTemplateModel.java (rev 0)
+++ trunk/openutils-mgnlutils/src/main/java/it/openutils/mgnlutils/templating/AutoGenerateTemplateModel.java 2011-11-19 17:10:34 UTC (rev 3693)
@@ -0,0 +1,104 @@
+/**
+ *
+ * Generic utilities for Magnolia CMS (http://www.openmindlab.com/lab/products/mgnlutils.html)
+ * Copyright(C) 2009-2011, Openmind S.r.l. 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.mgnlutils.templating;
+
+import info.magnolia.cms.core.Content;
+import info.magnolia.cms.core.ItemType;
+import info.magnolia.cms.util.ContentUtil;
+import info.magnolia.context.MgnlContext;
+import info.magnolia.module.templating.RenderingModel;
+import info.magnolia.module.templating.RenderingModelImpl;
+
+import javax.jcr.RepositoryException;
+
+import org.apache.commons.lang.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+
+/**
+ * Model class for auto-generating paragraphs. See {@link ExtendedTemplate} for details.
+ * @author fgiust
+ * @version $Id$
+ */
+public class AutoGenerateTemplateModel extends RenderingModelImpl<ExtendedTemplate>
+{
+
+ private static Logger log = LoggerFactory.getLogger(AutoGenerateTemplateModel.class);
+
+ /**
+ * @param content
+ * @param definition
+ * @param parent
+ */
+ public AutoGenerateTemplateModel(Content content, ExtendedTemplate definition, RenderingModel parent)
+ {
+ super(content, definition, parent);
+ }
+
+ public String execute()
+ {
+ final ExtendedTemplate templateDef = this.getDefinition();
+ MgnlContext.doInSystemContext(new MgnlContext.VoidOp()
+ {
+
+ public void doExec()
+ {
+ createMainArea(templateDef);
+ }
+ });
+ return super.execute();
+ }
+
+ private void createMainArea(ExtendedTemplate templateDef)
+ {
+ String autogenerate = templateDef.getAutogenerate();
+
+ if (StringUtils.isEmpty(autogenerate))
+ {
+ return;
+ }
+
+ String[] autogeneratelist = StringUtils.split(autogenerate, ",");
+
+ for (String autogeneratepar : autogeneratelist)
+ {
+ String[] parDef = StringUtils.split(autogeneratepar, "=");
+ if (parDef != null && parDef.length == 2)
+ {
+ Content paragraph;
+ try
+ {
+ paragraph = ContentUtil.createPath(content, parDef[0], ItemType.CONTENTNODE, true);
+ if (StringUtils.isEmpty(paragraph.getTemplate()))
+ {
+ paragraph.getMetaData().setTemplate(parDef[1]);
+ paragraph.save();
+ }
+ }
+
+ catch (RepositoryException e)
+ {
+ log.error("Cannot create auto-generated paragraph " + autogeneratepar, e);
+ }
+ }
+ }
+ }
+}
Property changes on: trunk/openutils-mgnlutils/src/main/java/it/openutils/mgnlutils/templating/AutoGenerateTemplateModel.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
Modified: trunk/openutils-mgnlutils/src/main/java/it/openutils/mgnlutils/templating/ExtendedTemplate.java
===================================================================
--- trunk/openutils-mgnlutils/src/main/java/it/openutils/mgnlutils/templating/ExtendedTemplate.java 2011-11-06 18:15:15 UTC (rev 3692)
+++ trunk/openutils-mgnlutils/src/main/java/it/openutils/mgnlutils/templating/ExtendedTemplate.java 2011-11-19 17:10:34 UTC (rev 3693)
@@ -43,6 +43,13 @@
* <li>A comma separated list of required parent templates (e.g. "home" to make the template available only if one of
* its ancestor has the "home" template set.</li>
* </ul>
+ * <p>
+ * Also allows the configuration of paragraphs to be auto-generated using the "autogenerate" and model class properties:
+ * </p>
+ * <ul>
+ * <li>autogenerate="path1=paragraph1,path2=paragraph2,..." (e.g. "main-column/singleton=p-text")</li>
+ * <li>modelClass=it.openutils.mgnlutils.templating.AutoGenerateTemplateModel</li>
+ * </ul>
* @author fgiust
* @version $Id$
*/
@@ -57,12 +64,32 @@
private Set<String> repositories = new HashSet<String>();
+ private String autogenerate;
+
/**
* Logger.
*/
private Logger log = LoggerFactory.getLogger(ExtendedTemplate.class);
/**
+ * Returns the autogenerate.
+ * @return the autogenerate
+ */
+ public String getAutogenerate()
+ {
+ return autogenerate;
+ }
+
+ /**
+ * Sets the autogenerate.
+ * @param autogenerate the autogenerate to set
+ */
+ public void setAutogenerate(String autogenerate)
+ {
+ this.autogenerate = autogenerate;
+ }
+
+ /**
* Sets the parentPath.
* @param parentPath the parentPath to set
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <hu...@op...> - 2011-11-06 18:39:18
|
See <https://hudson.openmindonline.it/job/openutils-mgnlmedia/425/changes> Changes: [Fabrizio Giustina] MEDIA-267 Avoid in-memory buffering of big files for extracting mp4 metadata [Fabrizio Giustina] MEDIA-266 Avoid usage of ExclusiveWrite and use node-scoped locks when saving resolutions - to be tested carefully ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-mgnlmedia U src/main/java/net/sourceforge/openutils/mgnlmedia/media/utils/ImageUtils.java U src/main/java/net/sourceforge/openutils/mgnlmedia/media/utils/VideoMedataUtils.java U src/main/java/net/sourceforge/openutils/mgnlmedia/media/types/impl/ExternalVideoTypeHandler.java At revision 3692 Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Failure to find net.sourceforge.openutils:openutils-parent:pom:1.11 in http://repository.openmindonline.it was cached in the local repository, resolution will not be reattempted until the update interval of openmind has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 2, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |
|
From: <hu...@op...> - 2011-11-06 18:24:23
|
See <https://hudson.openmindonline.it/job/openutils-testing4dwr-testng/39/changes> Changes: [Fabrizio Giustina] new parent pom ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-testing4dwr-testng U pom.xml At revision 3691 WARNING: clock of the subversion server appears to be out of sync. This can result in inconsistent check out behavior. Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Failure to find net.sourceforge.openutils:openutils-parent:pom:1.11 in http://repository.openmindonline.it was cached in the local repository, resolution will not be reattempted until the update interval of openmind has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |
|
From: <hu...@op...> - 2011-11-06 18:22:18
|
See <https://hudson.openmindonline.it/job/openutils-testing4dwr-junit/38/changes> Changes: [Fabrizio Giustina] new parent pom ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-testing4dwr-junit U pom.xml At revision 3691 WARNING: clock of the subversion server appears to be out of sync. This can result in inconsistent check out behavior. Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Failure to find net.sourceforge.openutils:openutils-parent:pom:1.11 in http://repository.openmindonline.it was cached in the local repository, resolution will not be reattempted until the update interval of openmind has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |
|
From: <hu...@op...> - 2011-11-06 18:20:18
|
See <https://hudson.openmindonline.it/job/openutils-testing4dwr/33/changes> Changes: [Fabrizio Giustina] new parent pom ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-testing4dwr U pom.xml At revision 3691 WARNING: clock of the subversion server appears to be out of sync. This can result in inconsistent check out behavior. Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Failure to find net.sourceforge.openutils:openutils-parent:pom:1.11 in http://repository.openmindonline.it was cached in the local repository, resolution will not be reattempted until the update interval of openmind has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |
|
From: <hu...@op...> - 2011-11-06 18:18:20
|
See <https://hudson.openmindonline.it/job/openutils-mgnllms/30/changes> Changes: [Fabrizio Giustina] null check [Fabrizio Giustina] new parent pom ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-mgnllms U src/main/java/net/sourceforge/openutils/mgnllms/filters/RenderingServingZipFilter.java U pom.xml At revision 3691 WARNING: clock of the subversion server appears to be out of sync. This can result in inconsistent check out behavior. Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Failure to find net.sourceforge.openutils:openutils-parent:pom:1.11 in http://repository.openmindonline.it was cached in the local repository, resolution will not be reattempted until the update interval of repository.openmindonline.it has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 2, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |
|
From: <hu...@op...> - 2011-11-06 18:15:27
|
See <https://hudson.openmindonline.it/job/openutils-mgnlspring/36/changes> Changes: [Fabrizio Giustina] new parent pom ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-mgnlspring U pom.xml At revision 3691 Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs failed to transfer Error transferring file: Connection timed out ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Could not transfer artifact net.sourceforge.openutils:openutils-parent:pom:1.11 from/to repository.magnolia.info (http://repo.magnolia.info/m2): Error transferring file: Connection timed out and 'parent.relativePath' points at wrong local POM @ line 4, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |
|
From: <fg...@us...> - 2011-11-06 18:15:22
|
Revision: 3692
http://openutils.svn.sourceforge.net/openutils/?rev=3692&view=rev
Author: fgiust
Date: 2011-11-06 18:15:15 +0000 (Sun, 06 Nov 2011)
Log Message:
-----------
MEDIA-267 Avoid in-memory buffering of big files for extracting mp4 metadata
Modified Paths:
--------------
trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/types/impl/ExternalVideoTypeHandler.java
trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/utils/VideoMedataUtils.java
Modified: trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/types/impl/ExternalVideoTypeHandler.java
===================================================================
--- trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/types/impl/ExternalVideoTypeHandler.java 2011-11-06 17:48:11 UTC (rev 3691)
+++ trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/types/impl/ExternalVideoTypeHandler.java 2011-11-06 18:15:15 UTC (rev 3692)
@@ -229,6 +229,15 @@
}
String downloadUrl = getUrl(media);
+ return parseFLVMetaData(downloadUrl);
+ }
+
+ /**
+ * @param downloadUrl
+ * @return
+ */
+ private VideoMetaData parseFLVMetaData(String downloadUrl)
+ {
for (ExternalVideoSupport external : videoSupportHandlers)
{
if (external.isEnabled() && external.canHandle(downloadUrl))
Modified: trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/utils/VideoMedataUtils.java
===================================================================
--- trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/utils/VideoMedataUtils.java 2011-11-06 17:48:11 UTC (rev 3691)
+++ trunk/openutils-mgnlmedia/src/main/java/net/sourceforge/openutils/mgnlmedia/media/utils/VideoMedataUtils.java 2011-11-06 18:15:15 UTC (rev 3692)
@@ -19,8 +19,12 @@
package net.sourceforge.openutils.mgnlmedia.media.utils;
+import java.io.BufferedOutputStream;
+import java.io.File;
+import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
+import java.io.OutputStream;
import java.net.URL;
import java.net.URLConnection;
import java.nio.ByteBuffer;
@@ -186,30 +190,36 @@
{
VideoMetaData meta = new VideoMetaData();
- InputStream is = stream;
- ByteBuffer bb = ByteBuffer.wrap(IOUtils.toByteArray(is));
- IsoBufferWrapper buf = new IsoBufferWrapper(bb);
- // Properties properties = new Properties();
- // properties.setProperty(MovieBox.TYPE, "com.coremedia.iso.boxes.MovieBox()");
- // PropertyBoxParserImpl boxParser = new PropertyBoxParserImpl(properties);
- IsoFile isoFile = new IsoFile(buf); // , boxParser);
- isoFile.parse();
+ File tempFile = File.createTempFile("medatadaextraction", ".mp4");
+ OutputStream out = new BufferedOutputStream(new FileOutputStream(tempFile));
+ IOUtils.copy(stream, out);
+ out.close();
- MovieBox box = (MovieBox) IsoFileConvenienceHelper.get(isoFile, MovieBox.TYPE);
- meta.setDuration(box.getMovieHeaderBox().getDuration() / box.getMovieHeaderBox().getTimescale());
- meta.setFrameRate(box.getMovieHeaderBox().getRate());
- // meta.setCreatedDate(box.getMovieHeaderBox().getCreationTime());
+ try
+ {
+ IsoBufferWrapper buf = new IsoBufferWrapper(tempFile);
+ IsoFile isoFile = new IsoFile(buf);
+ isoFile.parse();
- for (long trackid : box.getTrackNumbers())
- {
- TrackHeaderBox thb = box.getTrackMetaData(trackid).getTrackBox().getTrackHeaderBox();
- if (thb.getWidth() > 0)
+ MovieBox box = (MovieBox) IsoFileConvenienceHelper.get(isoFile, MovieBox.TYPE);
+ meta.setDuration(box.getMovieHeaderBox().getDuration() / box.getMovieHeaderBox().getTimescale());
+ meta.setFrameRate(box.getMovieHeaderBox().getRate());
+
+ for (long trackid : box.getTrackNumbers())
{
- meta.setWidth((long) thb.getWidth());
- meta.setHeight((long) thb.getHeight());
- break;
+ TrackHeaderBox thb = box.getTrackMetaData(trackid).getTrackBox().getTrackHeaderBox();
+ if (thb.getWidth() > 0)
+ {
+ meta.setWidth((long) thb.getWidth());
+ meta.setHeight((long) thb.getHeight());
+ break;
+ }
}
}
+ finally
+ {
+ tempFile.delete();
+ }
return meta;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <hu...@op...> - 2011-11-06 18:14:18
|
See <https://hudson.openmindonline.it/job/openutils-testing-testng/42/changes> Changes: [Fabrizio Giustina] new parent pom ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-testing-testng U pom.xml At revision 3691 Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Failure to find net.sourceforge.openutils:openutils-parent:pom:1.11 in http://repository.openmindonline.it was cached in the local repository, resolution will not be reattempted until the update interval of openmind has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 3, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |
|
From: <hu...@op...> - 2011-11-06 18:12:42
|
See <https://hudson.openmindonline.it/job/openutils-mgnlstruts11/41/changes> Changes: [Fabrizio Giustina] new parent pom ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-mgnlstruts11 U pom.xml At revision 3691 Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Failure to find net.sourceforge.openutils:openutils-parent:pom:1.11 in http://repository.openmindonline.it was cached in the local repository, resolution will not be reattempted until the update interval of openmind has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |
|
From: <hu...@op...> - 2011-11-06 18:12:19
|
See <https://hudson.openmindonline.it/job/openutils-testing-junit/46/changes> Changes: [Fabrizio Giustina] new parent pom ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-testing-junit U pom.xml At revision 3691 Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Failure to find net.sourceforge.openutils:openutils-parent:pom:1.11 in http://repository.openmindonline.it was cached in the local repository, resolution will not be reattempted until the update interval of openmind has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |
|
From: <hu...@op...> - 2011-11-06 18:10:20
|
See <https://hudson.openmindonline.it/job/openutils-testing/41/changes> Changes: [Fabrizio Giustina] new parent pom ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-testing U pom.xml At revision 3691 Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Failure to find net.sourceforge.openutils:openutils-parent:pom:1.11 in http://repository.openmindonline.it was cached in the local repository, resolution will not be reattempted until the update interval of openmind has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |
|
From: <hu...@op...> - 2011-11-06 18:10:19
|
See <https://hudson.openmindonline.it/job/openutils-mgnlext/33/changes> Changes: [Fabrizio Giustina] new parent pom ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-mgnlext U pom.xml At revision 3691 Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Failure to find net.sourceforge.openutils:openutils-parent:pom:1.11 in http://repository.openmindonline.it was cached in the local repository, resolution will not be reattempted until the update interval of openmind has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 2, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |
|
From: <hu...@op...> - 2011-11-06 18:08:22
|
See <https://hudson.openmindonline.it/job/openutils-mgnlcas/37/changes> Changes: [Fabrizio Giustina] new parent pom ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-mgnlcas U pom.xml At revision 3691 Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs failed to transfer Unable to locate resource in repository failed to transfer Unable to locate resource in repository ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Could not find artifact net.sourceforge.openutils:openutils-parent:pom:1.11 in repository.magnolia.info (http://svn.magnolia.info/maven/m2) and 'parent.relativePath' points at wrong local POM @ line 3, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |
|
From: <hu...@op...> - 2011-11-06 18:06:26
|
See <https://hudson.openmindonline.it/job/openutils-parent/37/changes> Changes: [Fabrizio Giustina] [maven-release-plugin] prepare for next development iteration [Fabrizio Giustina] [maven-release-plugin] prepare release openutils-parent-1.11 ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-parent U pom.xml At revision 3691 Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs [openutils-parent] $ /usr/local/jdk1.6.0_20/bin/java -cp /data/hudson-data/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.403.jar:/usr/local/maven/boot/classworlds-1.1.jar hudson.maven.agent.Main /usr/local/maven /data/webapps/hudson/WEB-INF/lib/remoting-1.403.jar /data/hudson-data/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.403.jar 35563 /data/hudson-data/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar <===[HUDSON REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://hudson.openmindonline.it/job/openutils-parent/ws/openutils-parent/pom.xml> install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Unable to build project '<https://hudson.openmindonline.it/job/openutils-parent/ws/openutils-parent/pom.xml;> it requires Maven version 3.0.0 [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Sun Nov 06 18:48:48 CET 2011 [INFO] Final Memory: 2M/45M [INFO] ------------------------------------------------------------------------ channel stopped |
|
From: <hu...@op...> - 2011-11-06 18:06:20
|
See <https://hudson.openmindonline.it/job/openutils-testing4web/34/changes> Changes: [Fabrizio Giustina] new parent pom ------------------------------------------ Started by an SCM change Updating https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-testing4web U pom.xml At revision 3691 Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Failure to find net.sourceforge.openutils:openutils-parent:pom:1.11 in http://repository.openmindonline.it was cached in the local repository, resolution will not be reattempted until the update interval of openmind has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 11 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1220) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1047) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:754) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:440) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) |