I get a wired error building adb-codegen. Can someone please advise?
I am on Java 1.6
D:\svn\branches\axis2-1.6\modules\adb-codegen>mvn clean install
-Dtest=false -DfailIfNoTests=false
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Axis2 - ADB Codegen
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
D:\svn\branches\axis2-1.6\modules\adb-codegen\target
[INFO] snapshot org.apache.axis2:axis2-adb:SNAPSHOT: checking for
updates from apache-ws-snapshots2
[INFO] snapshot org.apache.axis2:axis2-adb:SNAPSHOT: checking for
updates from apache.snapshots
[INFO] snapshot org.apache.axis2:axis2-codegen:SNAPSHOT: checking for
updates from apache-ws-snapshots2
[INFO] snapshot org.apache.axis2:axis2-codegen:SNAPSHOT: checking for
updates from apache.snapshots
[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] [remote-resources:process {execution: legal-files}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [antrun:run {execution: process-resources}]
[INFO] Executing tasks
[copy] Copying 7 files to
D:\svn\branches\axis2-1.6\modules\adb-codegen\target\classes
[INFO] Executed tasks
[INFO] [compiler:compile]
[INFO] Compiling 17 source files to
D:\svn\branches\axis2-1.6\modules\adb-codegen\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:
'javac' is not recognized as an internal or external command,
operable program or batch file.
Failure executing javac, but could not parse the error:
'javac' is not recognized as an internal or external command,
operable program or batch file.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Tue Aug 25 05:33:48 IST 2009
[INFO] Final Memory: 14M/28M
[INFO]
------------------------------------------------------------------------
D:\svn\branches\axis2-1.6\modules\adb-codegen>
Thanks,
Samisa...
Amila Suriarachchi wrote:
yes, there was a commons-logging.properties file.
thanks Andreas.
Amila.
On 8/21/09, Andreas Veithen <andreas.veit...@gmail.com> wrote:
That is strange, because normally commons-logging should fall back to
JDK1.4 logging if log4j is not found. Maybe there is a
commons-logging.properties that slipped in somehow. Did you test the
build on a fresh working copy of Axis2?
Andreas
On Fri, Aug 21, 2009 at 12:04, Amila
Suriarachchi<amilasuriarach...@gmail.com> wrote:
I could run all the tests sucessfully by adding log4j dependency to parent
pom.xml.
I am wondering why it is not the case otherwise.
thanks,
Amila.
--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/