Axis2-1.4: problem compiling

View: New views
2 Messages — Rating Filter:   Alert me  

Axis2-1.4: problem compiling

by greno :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I encountered a problem when trying to compile Axis2-1.4 on Fedora:

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Axis2 - SAAJ
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (ANSI_X3.4-1968 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/greno/redhat/tmp/axis2-1.4/modules/saaj/target/classes
[INFO] [resources:testResources]
[WARNING] Using platform encoding (ANSI_X3.4-1968 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] /log4j.properties (Permission denied)


It is trying to write in the root directory apparently.  Is there some
env variable that needs set before compile?  I have JAVA_HOME set.


-Gerry


Re: Axis2-1.4: problem compiling

by greno :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gerry Reno wrote:

> I encountered a problem when trying to compile Axis2-1.4 on Fedora:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Axis2 - SAAJ
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 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/greno/redhat/tmp/axis2-1.4/modules/saaj/target/classes
> [INFO] [resources:testResources]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 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] /log4j.properties (Permission denied)
>
>
> It is trying to write in the root directory apparently.  Is there some
> env variable that needs set before compile?  I have JAVA_HOME set.
>
I have set M2_HOME as well but no change.

Also notice:
[INFO] Copying 1 resource to ../test-resources/saaj-repo
[INFO] Copying 12 resources to ../test-resources
[INFO] Copying 2 resources to

The last entry does not list any path.  This is the problem.  How can I
find where this is being set?

-Gerry