From dbb10aea19c9d8647a326074361b0acfb4354178 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Mon, 23 Aug 2010 19:35:37 +0200 Subject: preparations for blog feed aggregation; more freemarker data etc. --- nb-configuration.xml | 3 ++ nbactions-planet.xml | 40 ++++++++++++++++++++++ src/main/java/com/jogamp/hungryharry/Config.java | 3 +- .../com/jogamp/hungryharry/FeedAggregator.java | 38 +++++++++++++++----- 4 files changed, 74 insertions(+), 10 deletions(-) create mode 100644 nbactions-planet.xml diff --git a/nb-configuration.xml b/nb-configuration.xml index 3486bc9..620063c 100644 --- a/nb-configuration.xml +++ b/nb-configuration.xml @@ -15,4 +15,7 @@ Any value defined here will override the pom.xml file value but is only applicab --> all + + + diff --git a/nbactions-planet.xml b/nbactions-planet.xml new file mode 100644 index 0000000..36b76e9 --- /dev/null +++ b/nbactions-planet.xml @@ -0,0 +1,40 @@ + + + + run + + process-classes + org.codehaus.mojo:exec-maven-plugin:1.1.1:exec + + + runtime + -classpath %classpath com.jogamp.hungryharry.FeedAggregator /home/mbien/NetBeansProjects/JOGAMP/planet2/config/planet-config.xml + java + + + + debug + + process-classes + org.codehaus.mojo:exec-maven-plugin:1.1.1:exec + + + runtime + -Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath com.jogamp.hungryharry.FeedAggregator /home/mbien/NetBeansProjects/JOGAMP/planet2/config/planet-config.xml + true + java + + + + profile + + process-classes + org.codehaus.mojo:exec-maven-plugin:1.1.1:exec + + + ${profiler.args} -classpath %classpath com.jogamp.hungryharry.FeedAggregator /home/mbien/NetBeansProjects/JOGAMP/planet2/config/planet-config.xml + profile + ${profiler.java} + + + diff --git a/src/main/java/com/jogamp/hungryharry/Config.java b/src/main/java/com/jogamp/hungryharry/Config.java index b80a093..93708aa 100644 --- a/src/main/java/com/jogamp/hungryharry/Config.java +++ b/src/main/java/com/jogamp/hungryharry/Config.java @@ -3,6 +3,7 @@ */ package com.jogamp.hungryharry; +import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; @@ -29,7 +30,7 @@ public class Config { public Config() { feed = null; - template = null; + template = new ArrayList