Alex Karasulu wrote:

Stephen,



I just got to the point where I'm running great with all the new releases.
Thanks a lot. I just figured I'll give the merlin maven plugin a try and
ran merlin:simulate and it gave me the old SAX exception as before which
Alexis had fixed namely, "Content is not allowed in prolog." See the trace
below for more details.




Does the maven repo on ibiblio need to be updated with new merlin dependent
jars?



Yep! Will take care of it. Strephen.



Thanks,

Alex



merlin:simulate:

[echo] Merlin simulated deployment.

Could not establish the kernel.

-------------------------------------------------------------------

Exception: org.apache.avalon.merlin.kernel.KernelException

Message: Block install failure:
file:/C:/cygwin/home/Administrator/projects/ldap

d/HEAD/sandbox0/newbackend/target/classes/



Cause: org.apache.avalon.composition.model.ModelException

Message: Unable to create local block
[file:/C:/cygwin/home/Administrator/projec

ts/ldapd/HEAD/sandbox0/newbackend/target/classes/BLOCK-INF/block.xml] in the
con

tainmment model [/] due to a build related error.



Cause: org.xml.sax.SAXParseException

Message: Content is not allowed in prolog.



---- stack trace --------------------------------------------------

org.xml.sax.SAXParseException: Content is not allowed in prolog.

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

       at
org.apache.avalon.meta.ConfigurationBuilder.build(ConfigurationBuilde

r.java:165)

       at
org.apache.avalon.composition.data.builder.ContainmentProfileBuilder.

buildFromXMLDescriptor(ContainmentProfileBuilder.java:140)

       at
org.apache.avalon.composition.data.builder.ContainmentProfileBuilder.

createContainmentProfile(ContainmentProfileBuilder.java:117)

       at
org.apache.avalon.composition.model.impl.DefaultContainmentModel.crea

teContainmentModel(DefaultContainmentModel.java:550)

       at
org.apache.avalon.composition.model.impl.DefaultContainmentModel.addM

odel(DefaultContainmentModel.java:243)

       at
org.apache.avalon.merlin.kernel.impl.DefaultKernel.<init>(DefaultKern

el.java:178)

       at
org.apache.avalon.merlin.tools.MerlinBean.doExecute(MerlinBean.java:3

09)

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
org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.jav

a:230)

       at
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.jav

a:145)

       at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)

       at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)

at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)

at com.werken.werkz.Goal.fire(Goal.java:639)

at com.werken.werkz.Goal.attain(Goal.java:575)

       at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:

434)

at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)

at org.apache.maven.cli.App.doMain(App.java:525)

at org.apache.maven.cli.App.main(App.java:1088)

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:543)

at com.werken.forehead.Forehead.main(Forehead.java:573)

-------------------------------------------------------------------



BUILD FAILED

File...... file:/C:/Documents and
Settings/Administrator/.maven/plugins/merlin-p

lugin-1.0/

Element... merlin:test

Line...... 177

Column.... 7

java.lang.reflect.InvocationTargetException

Total time: 4 seconds







--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to