maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Garcia" <SGar...@qrs.com>
Subject RE: velocity:merge xdoc exception
Date Sun, 14 Dec 2003 21:39:22 GMT
This problem here is the exact same problem that I'm having with the
previous e-mail I sent out.  Velocity can't load the
"org/apache/velocity/runtime/defaults/velocity.properties" resource file.  

I'm stuck at this point.  Not sure why some projects would succeed with this
and some fail.  I'll be happy to post my POM or anything else to help with
this issue.

Thanks, Steve

-----Original Message-----
From: Steve Garcia
To: 'Maven Users List'
Sent: 12/13/2003 11:50 AM
Subject: velocity:merge xdoc exception

In my previous email I mentioned an exception occuring in the tasklist
plugin.  I don't really need the tasklist plugin so I removed it from my
POM
<report> tag.

Another site:generate run and I'm getting an error again with velocity,
this
time with the xdoc:generate-from-pom task.  The exception and relevant
stack
info is below:

I looks like I have an overall problem with Velocity but I'm not sure
how to
proceed.  I'm running Maven 1.0 rc1.

xdoc:generate-from-pom:
    [echo] Generating xdocs from POM ...

BUILD FAILED
File...... file:/C:/Documents and
Settings/SGarcia/.maven/plugins/maven-xdoc-plugi
n-1.4-SNAPSHOT/
Element... velocity:merge
Line...... 393
Column.... 9
null:-1:-1: <null> null
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [site]
--
file:/
C:/Documents and
Settings/SGarcia/.maven/plugins/maven-xdoc-plugin-1.4-SNAPSHOT/:3
93:9: <velocity:merge> null:-1:-1: <null> null
        at com.werken.werkz.Goal.fire(Goal.java:646)
        at com.werken.werkz.Goal.attain(Goal.java:575)
[snip]
org.apache.commons.jelly.JellyTagException: file:/C:/Documents and
Settings/SGarci
a/.maven/plugins/maven-xdoc-plugin-1.4-SNAPSHOT/:393:9: <velocity:merge>
null:-1:-
1: <null> null
        at
org.apache.commons.jelly.tags.velocity.MergeTag.mergeTemplate(MergeTag.
java:242)
        at
org.apache.commons.jelly.tags.velocity.MergeTag.doTag(MergeTag.java:108
)
        at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at
org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:145
)
[snip]
Caused by: org.apache.commons.jelly.JellyTagException: null:-1:-1:
<null>
null
        at
org.apache.commons.jelly.tags.velocity.VelocityTagSupport.getVelocityEn
gine(VelocityTagSupport.java:101)
        at
org.apache.commons.jelly.tags.velocity.MergeTag.mergeTemplate(MergeTag.
java:226)
        ... 34 more
Caused by: java.lang.NullPointerException
        at java.io.Reader.<init>(Reader.java:61)
        at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
        at
org.apache.commons.collections.ExtendedProperties.load(Unknown
Source)
        at
org.apache.commons.collections.ExtendedProperties.load(Unknown
Source)
        at
org.apache.velocity.runtime.RuntimeInstance.setDefaultProperties(Runtim
eInstance.java:356)
        at
org.apache.velocity.runtime.RuntimeInstance.initializeProperties(Runtim
eInstance.java:481)
        at
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:2
63)
        at
org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:118)
        at
org.apache.commons.jelly.tags.velocity.VelocityTagSupport.getVelocityEn
gine(VelocityTagSupport.java:98)
        ... 35 more
Root cause
org.apache.commons.jelly.JellyTagException: null:-1:-1: <null> null
        at
org.apache.commons.jelly.tags.velocity.VelocityTagSupport.getVelocityEn
gine(VelocityTagSupport.java:101)
        at
org.apache.commons.jelly.tags.velocity.MergeTag.mergeTemplate(MergeTag.
java:226)
        at
org.apache.commons.jelly.tags.velocity.MergeTag.doTag(MergeTag.java:108
)
        at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)

Thanks, Steve



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message