axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Afkham Azeez" <afk...@gmail.com>
Subject Re: Build error in Axis2
Date Tue, 25 Nov 2008 16:48:07 GMT
I also encountered this error. Unfortunately, I could not find the reason
for this issue, but deleting all the files in the saaj/test-resources
directory and then running a build with tests excluded was sufficient for
me.

Thanks
Azeez

On Tue, Nov 25, 2008 at 1:39 PM, Denis Weerasiri <ddweerasiri@gmail.com>wrote:

> I freshly built Axis2 from svn checkout using
> http://svn.apache.org/repos/asf/webservices/axis2/trunk/java
> I got an Build error as follows on SAAJ module.
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Axis2 - SAAJ
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> /home/denis/installtaions/axis2/modules/saaj/target
> [INFO] [resources:resources]
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] Copying 2 resources
> [INFO] Copying 4 resources
> [INFO] [compiler:compile]
> [INFO] Compiling 27 source files to
> /home/denis/installtaions/axis2/modules/saaj/target/classes
> [INFO] [resources:testResources]
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource to ../test-resources/saaj-repo
> [INFO] Copying 12 resources to ../test-resources
> [INFO] Copying 2 resources to
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] /commons-logging.properties (Permission denied)
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException:
> /commons-logging.properties (Permission denied)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
>     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: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:
> /commons-logging.properties (Permission denied)
>     at
> org.apache.maven.plugin.resources.ResourcesMojo.execute(ResourcesMojo.java:166)
>     at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>     ... 16 more
> Caused by: org.apache.maven.shared.filtering.MavenFilteringException:
> /commons-logging.properties (Permission denied)
>     at
> org.apache.maven.shared.filtering.DefaultMavenFileFilter.copyFile(DefaultMavenFileFilter.java:96)
>     at
> org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.filterResources(DefaultMavenResourcesFiltering.java:293)
>     at
> org.apache.maven.plugin.resources.ResourcesMojo.execute(ResourcesMojo.java:162)
>     ... 18 more
> Caused by: java.io.FileNotFoundException: /commons-logging.properties
> (Permission denied)
>     at java.io.FileOutputStream.open(Native Method)
>     at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>     at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>     at
> org.codehaus.plexus.util.FileUtils.copyStreamToFile(FileUtils.java:1058)
>     at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:965)
>     at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:2051)
>     at
> org.apache.maven.shared.filtering.DefaultMavenFileFilter.copyFile(DefaultMavenFileFilter.java:91)
>     ... 20 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 47 seconds
> [INFO] Finished at: Tue Nov 25 13:32:25 LKT 2008
> [INFO] Final Memory: 41M/157M
> [INFO]
> ------------------------------------------------------------------------
>
> I use java 1.5.0_06. and Maven 2.0.9. Please help.
>



-- 
Thanks
Afkham Azeez

Blog: http://afkham.org
Developer Portal: http://www.wso2.org
WSAS Blog: http://wso2wsas.blogspot.com
Company: http://wso2.com
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760

Mime
View raw message