maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dalibor Topic <robi...@kaffe.org>
Subject Re: Building maven CVS under free runtimes (kaffe): Breaks during compilation
Date Thu, 22 Jan 2004 17:58:27 GMT
Hi Ryan,

Ryan Hoegg wrote:
> http://jakarta.apache.org/commons/codec
> 
> The Jakarta Commons Codec project has a Base64 implementation that is 
> being used in Apache XML-RPC and the Jakarta Commons HttpClient.

Please try (and apply ;) the attached patch for making Maven's CVS head 
build on a free runtime (i.e Kaffe[1]) with Maven 1.0-rc1.

2004-01-22  Dalibor Topic <robilad@kaffe.org>

	* project.xml:
	Added dependency on commons-codec

	* src/java/org/apache/maven/util/HttpUtils.java:
	Use Base64 encoder from Jakarta Commons-Codec.


with the attached patch, maven's CVS builds fine with kaffe. You need to 
set the build compiler to kaffe's kjc compiler, though.

MAVEN_OPTS=-Dbuild.compiler=kjc maven jar

I eventually end up having other problems, the regression tests for 
touchstone fail with:


BUILD FAILED
File...... file:/tmp/topic/maven/
Element... maven:maven
Line...... 41
Column.... 9
Unable to obtain goal [touchstone-tests] -- 
file:/tmp/topic/maven/src/test/touchstone-build/:72:24: <fail> Goal 
should be used from the touchstone plugin. We have an internal
         error processing goals.
Total time: 12 minutes 31 seconds
Finished at: Thu Jan 22 18:37:09 GMT+01:00 2004

which may or not may be a maven/kaffe problem.

cheers,
dalibor topic

[1] http://www.kaffe.org , current CVS head ;)

Mime
View raw message