Hi all,

We're using a snapshot of 2.1.3 taken back in about august that I need
to rebuild having 'tweaked' it to workaround an issue I'm having.

Am I just not going to be able to build my original version of the
snapshot? (That's pretty dire if that's the case - I'd assumed that
everything I checked out from SVN was all I'd need to rebuild in the
future but the fact maven is relying on a public repo that has had
content removed is a real issue)

Initially when I tried to build the source if complained that the
version of the struts-annotations snapshot required was not available.
I found a local copy but now get this:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] : org.apache.myfaces.maven.plugin.aptm...@33eb33eb
Compilation error.

Problem encountered during annotation processing;
see stacktrace below for more information.
java.lang.RuntimeException: java.lang.IllegalArgumentException: Not
supported: indent-number
        at 
org.apache.struts.annotations.taglib.apt.TagAnnotationProcessor.saveAsXml(TagAnnotationProcessor.java:362)
        at 
org.apache.struts.annotations.taglib.apt.TagAnnotationProcessor.process(TagAnnotationProcessor.java:182)
        at 
com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:78)
        at com.sun.tools.apt.comp.Apt.main(Apt.java:472)
        at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:486)
        at com.sun.tools.apt.main.Main.compile(Main.java:1103)
        at com.sun.tools.apt.main.Main.compile(Main.java:966)
        at com.sun.tools.apt.Main.processing(Main.java:113)
        at com.sun.tools.apt.Main.process(Main.java:72)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        at 
org.apache.myfaces.maven.plugin.AbstractAPTMojo.execute(AbstractAPTMojo.java:442)
        at org.apache.myfaces.maven.plugin.AptMojo.execute(AptMojo.java:113)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        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.lang.IllegalArgumentException: Not supported: indent-number
        at 
org.apache.xalan.processor.TransformerFactoryImpl.setAttribute(TransformerFactoryImpl.java:608)
        at 
org.apache.struts.annotations.taglib.apt.TagAnnotationProcessor.saveAsXml(TagAnnotationProcessor.java:347)
        ... 32 more

Ideally I'd like to get this to build. As a plan B getting the latest
2.1.3 source to build could be an option (but this isn't compiling at
the moment).

Can anyone help me with this?

Thanks in advance.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to