The failure reason is that \cruisecontrol.jsl could not be found.
Here is the stack trace:
E:\Documents\bmf1972\My Tests\test>maven -e cruisecontrol
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
scm:find-connection:
[echo] Using connection:
scm:svn:svn://super.development.local:test/trunk
scm:parse-connection:
[echo] Using SCM method: svn
[echo] Using SVN repository: svn://super.development.local
[echo] Using module: test/trunk
scm:validate:
cruisecontrol:validate:
cruisecontrol:configure:
BUILD FAILED
org.apache.commons.jelly.JellyException: null:-1:-1: <null> Could not
parse Jell
y script
at
org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java
:533)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:666
)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:656
)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:632
)
at
org.apache.commons.jelly.tags.core.IncludeTag.doTag(IncludeTag.java:1
01)
at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:253)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at
org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakRefe
renceWrapperScript.java:74)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at
org.apache.commons.jelly.tags.core.FileTag.writeBody(FileTag.java:145
)
at
org.apache.commons.jelly.tags.core.FileTag.doTag(FileTag.java:59)
at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:253)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at
org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakRefe
renceWrapperScript.java:74)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.io.FileNotFoundException: \cruisecontrol.jsl (The
system cannot
find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
.java:69)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
nection.java:156)
at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
urce)
at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:254)
at
org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java
:531)
... 29 more
Root cause
java.io.FileNotFoundException: \cruisecontrol.jsl (The system cannot
find the fi
le specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
.java:69)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
nection.java:156)
at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
urce)
at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:254)
at
org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java
:531)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:666
)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:656
)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:632
)
at
org.apache.commons.jelly.tags.core.IncludeTag.doTag(IncludeTag.java:1
01)
at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:253)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at
org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakRefe
renceWrapperScript.java:74)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at
org.apache.commons.jelly.tags.core.FileTag.writeBody(FileTag.java:145
)
at
org.apache.commons.jelly.tags.core.FileTag.doTag(FileTag.java:59)
at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:253)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at
org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakRefe
renceWrapperScript.java:74)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Root cause
java.io.FileNotFoundException: \cruisecontrol.jsl (The system cannot
find the fi
le specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
.java:69)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
nection.java:156)
at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
urce)
at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:254)
at
org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java
:531)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:666
)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:656
)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:632
)
at
org.apache.commons.jelly.tags.core.IncludeTag.doTag(IncludeTag.java:1
01)
at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:253)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at
org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakRefe
renceWrapperScript.java:74)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at
org.apache.commons.jelly.tags.core.FileTag.writeBody(FileTag.java:145
)
at
org.apache.commons.jelly.tags.core.FileTag.doTag(FileTag.java:59)
at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:253)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at
org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakRefe
renceWrapperScript.java:74)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
File...... D:\Documents and
Settings\bmf1972\.maven\cache\maven-cruisecontrol-pl
ugin-1.6\plugin.jelly
Element... j:include
Line...... 81
Column.... 51
null:-1:-1: <null> Could not parse Jelly script
Total time: 15 seconds
Finished at: Tue May 24 01:06:54 GMT+02:00 2005
Brett Porter wrote:
It has worked for me on a couple of projects.
Can you run with -e and paste the exception trace you get?
Thanks,
Brett
On 5/23/05, Adrian Herscu <[EMAIL PROTECTED]> wrote:
Hi all,
Using Maven 1.0.2 + maven-scm-plugin-1.5-beta-3.
I am trying to generate a CruiseControl configuration and here
is what
I get:
E:\Documents\bmf1972\CC_WORK\checkout\core>maven cruisecontrol
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
scm:find-connection:
[echo] Using connection:
scm:svn:svn://super.development.local:core/trunk
scm:parse-connection:
[echo] Using SCM method: svn
[echo] Using SVN repository: svn://super.development.local
[echo] Using module: core/trunk
scm:validate:
cruisecontrol:validate:
cruisecontrol:configure:
[mkdir] Created dir:
E:\Documents\bmf1972\CC_WORK\checkout\core\target
BUILD FAILED
File...... D:\Documents and
Settings\Administrator\.maven\cache\maven-cruisecont
rol-plugin-1.6\plugin.jelly
Element... j:include
Line...... 81
Column.... 51
null:-1:-1: <null> Could not parse Jelly script
Total time: 15 seconds
Finished at: Thu May 19 03:35:10 GMT+02:00 2005
Any sugestion?
Adrian.
P.S. It creates a ${basedir}/target directory and puts there
cruisecontrol-config-temp.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]