On Oct 17, 2007, at 17:23 , Amir Mistric wrote:

I will but should we revert to previous version so that build does not fail?
If not is there a workaround?

Using a better os, or fixing said bug :p

jk..

I thought you weren't using the samples module ?

I'd rather wait a couple days to see if there's any reaction on their side; in the meantime, you can comment out the module, or the module's usage of the jspc plugin in your local copy (we only use jspc to check if the JSPs are properly written)

g


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 17, 2007 9:37 AM
To: [email protected]
Subject: Re: [magnolia-dev] failed to build samples module

Looks like its a bug that might have been introduced in
2.0-alpha-1 of the jspc-maven-plugin.
Please report it on http://jira.codehaus.org/browse/MJSPC

g

On Oct 17, 2007, at 14:27 , Amir Mistric wrote:

Hi

Is anyone getting this error while trying to build from current
snapshot?
Issue is in samples module and it fails to build (mvn install)
either in reactor more or "directly"...

I am not sure if this is related to a JSPC problem Greg reported
earlier or if it is something else...


[INFO] Nothing to compile - all classes are up to date
[INFO] [jspc:compile {execution: default}]
[WARNING] Compiled JSPs will not be added to the project and
web.xml will not be modified, either because includeInProject is
set to false or because the project's packaging is not
[INFO]

--------------------------------------------------------------
--------
--
[ERROR] FATAL ERROR
[INFO]

--------------------------------------------------------------
--------
--
[INFO] null
Illegal character in path at index 18: file:/C:/Documents and
Settings/amistric/.m2/repository/org/apache/ant/ant/1.7.0/
ant-1.7.0.jar
[INFO]

--------------------------------------------------------------
--------
--
[INFO] Trace
java.lang.IllegalArgumentException
        at java.net.URI.create(URI.java:842)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.tools.ant.launch.Locator.fromURI(Locator.java:
162)
        at org.apache.tools.ant.launch.Locator.getResourceSource
(Locator.java:119)
        at org.apache.tools.ant.launch.Locator.getClassSource
(Locator.java:90)
        at org.apache.tools.ant.Project.setAntLib(Project.java:313)
        at
org.apache.tools.ant.Project.initProperties(Project.java:
309)
        at org.apache.tools.ant.Project.init(Project.java:295)
        at org.codehaus.mojo.groovy.util.AntBuilder.createProject
(AntBuilder.java:65)
        at org.codehaus.mojo.groovy.util.AntBuilder.<init>
(AntBuilder.java:39)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0
(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance
(Constructor.java:513)
        at
org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke
(MetaClassHelper.java:563)
        at groovy.lang.MetaClassImpl.doConstructorInvoke
(MetaClassImpl.java:1864)
        at groovy.lang.MetaClassImpl.invokeConstructor
(MetaClassImpl.java:804)
        at groovy.lang.MetaClassImpl.invokeConstructor
(MetaClassImpl.java:734)
        at org.codehaus.groovy.runtime.Invoker.invokeConstructorOf
(Invoker.java:143)
        at
org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf
(InvokerHelper.java:114)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN
(ScriptBytecodeAdapter.java:214)
        at org.codehaus.mojo.groovy.GroovyMojoSupport.getAnt
(GroovyMojoSupport.groovy:42)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke
(ReflectionMetaMethod.java:52)
        at
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke
(MetaClassHelper.java:714)
        at
groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:
936)
        at
groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:
2183)
        at
sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke
(ReflectionMetaMethod.java:52)
        at
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke
(MetaClassHelper.java:714)
        at groovy.lang.MetaClassImpl.invokeMethod
(MetaClassImpl.java:583)
        at groovy.lang.MetaClassImpl.invokeMethod
(MetaClassImpl.java:476)
        at org.codehaus.groovy.runtime.Invoker.invokePojoMethod
(Invoker.java:104)
        at org.codehaus.groovy.runtime.Invoker.invokeMethod
(Invoker.java:77)
        at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod
(InvokerHelper.java:85)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN
(ScriptBytecodeAdapter.java:158)
        at org.codehaus.mojo.groovy.GroovyMojoSupport.getProperty
(GroovyMojoSupport.groovy)
        at

org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getGroovyObj
ectPrope
rty(ScriptBytecodeAdapter.java:527)
        at org.codehaus.mojo.jspc.CompilationMojoSupport.execute
(CompilationMojoSupport.groovy:311)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
(DefaultPluginManager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:539)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
lWithLif
ecycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:459)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
lAndHand
leFailures(DefaultLifecycleExecutor.java:311)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTas
kSegment
s(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute
(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced
(Launcher.java:315)
        at
org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode
(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.net.URISyntaxException: Illegal character in path
at index 18: file:/C:/Documents and Settings/amistric/.m2/
repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
        at java.net.URI$Parser.fail(URI.java:2809)
        at java.net.URI$Parser.checkChars(URI.java:2982)
        at java.net.URI$Parser.parseHierarchical(URI.java:3066)
        at java.net.URI$Parser.parse(URI.java:3014)
        at java.net.URI.<init>(URI.java:578)
        at java.net.URI.create(URI.java:840)
        ... 64 more
        
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to