cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cronin, Margo" <Margo.Cro...@iona.com>
Subject Building the source code
Date Tue, 29 Aug 2006 13:17:00 GMT
 
Hi,

When I try to build the source code I get the following error:

====
Embedded error: Failed during checkstyle configuration
C:devapache-CX\.\etc\apache-header.txt (The system cannot find the path
specified)
C:\dev\apache-CX>
====

I do have a C:\dev\apache-CX\etc\apache-header.txt but it seems to have
gotten itself into knots as its missing the backslashes and looking for
C:devapache-CX\.\etc\apache-header.txt instead of
C:\dev\apache-CX\etc\apache-header.txt.  Any ideas why this happening?  

Thanks. (full error print out below):



C:\dev\apache-CX>c:\dev\tools\maven-2.0.4\bin\mvn -e install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   CXF
[INFO]   CXF Common Utilities
[INFO]   CXF Command Line Tools
[INFO]   CXF Command Line Tools Common
[INFO]   CXF Command Line Tools Validator
[INFO]   CXF Command Line Tools Wsdl2java
[INFO]   CXF Command Line Tools Java2Wsdl
[INFO]   CXF Command Line Misctools
[INFO]   CXF Code Generation Maven 2 Plugins
[INFO]   CXF Test Utilities
[INFO]   CXF API
[INFO]   CXF Runtime
[INFO]   CXF Runtime Management
[INFO]   CXF Runtime Core
[INFO]   CXF Runtime Local transport
[INFO]   CXF Runtime JAXB DataBinding
[INFO]   CXF Runtime Bindings
[INFO]   CXF Runtime SOAP Binding
[INFO]   CXF Runtime JAX-WS Frontend
[INFO]   CXF Runtime HTTP transport
[INFO]   CXF Runtime JMS Transport
[INFO]   CXF Runtime WS Addressing
[INFO]   CXF System Tests
[INFO]
------------------------------------------------------------------------
----
[INFO] Building CXF
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
----
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.
[INFO] Velocimacro : error using  VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
be  global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [checkstyle:checkstyle {execution: process-sources}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An error has occurred in Checkstyle report generation.

Embedded error: Failed during checkstyle configuration
C:devapache-CX\.\etc\apache-header.txt (The system cannot find the path
specified)
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An error has
occurred in Checkstyle report generation.
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:559)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:475)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:140)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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: org.apache.maven.plugin.MojoExecutionException: An error has
occurred in Checkstyle report generation.
        at
org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenRepo
rt.java:79)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:412)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:534)
        ... 16 more
Caused by: org.apache.maven.reporting.MavenReportException: Failed
during checkstyle configuration
        at
org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(Checks
tyleReport.java:488)
        at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenRep
ort.java:98)
        at
org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenRepo
rt.java:73)
        ... 18 more
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException:
cannot initialize module TreeWalker - Cannot set property 'headerFile'
in module Header to 'C:devapache-CX/./etc/apache-header.txt': unable to
load header file C:devapache-CX/./etc/apache-header.txt
        at
com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:165)
        at
com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBea
n.java:209)
        at
org.apache.maven.plugin.checkstyle.CheckstyleReport.executeCheckstyle(Ch
eckstyleReport.java:723)
        at
org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(Checks
tyleReport.java:484)
        ... 20 more
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException:
Cannot set property 'headerFile' in module Header to
'C:devapache-CX/./etc/apache-header.txt': unable to load header file
C:devapache-CX/./etc/apache-header.txt
        at
com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBea
n.java:176)
        at
com.puppycrawl.tools.checkstyle.TreeWalker.setupChild(TreeWalker.java:22
0)
        at
com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBea
n.java:209)
        at
com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:144)
        ... 23 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtil
sBean.java:1773)
        at
org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(Propert
yUtilsBean.java:1759)
        at
org.apache.commons.beanutils.BeanUtilsBean.copyProperty(BeanUtilsBean.ja
va:447)
        at
com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBea
n.java:173)
        ... 26 more
Caused by: org.apache.commons.beanutils.ConversionException: unable to
load header file C:devapache-CX/./etc/apache-header.txt
        at
com.puppycrawl.tools.checkstyle.checks.AbstractHeaderCheck.setHeaderFile
(AbstractHeaderCheck.java:75)
        ... 34 more
Caused by: java.io.FileNotFoundException:
C:devapache-CX\.\etc\apache-header.txt (The system cannot find the path
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 java.io.FileReader.<init>(FileReader.java:41)
        at
com.puppycrawl.tools.checkstyle.checks.AbstractHeaderCheck.setHeaderFile
(AbstractHeaderCheck.java:71)
        ... 34 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Aug 29 15:12:33 CEST 2006
[INFO] Final Memory: 8M/15M
[INFO]
------------------------------------------------------------------------

C:\dev\apache-CX>






Mime
View raw message