jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hsp_ <piccina...@ibest.com.br>
Subject Re: Maven build error
Date Wed, 04 Oct 2006 14:56:25 GMT

I'm trying to build a svn version of jackrabbit.
In the past I already did this, but after have update the svn version of
jackrabbit I had and try to build it with maven1.0.2,  it not worked. There
are a lot of errors that I try to summarize:
helio@ecelepar10272:~/temp/jackrabbit$ maven jar -Dmaven.test.skip=true
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

java:prepare-filesystem:

java:compile:
    [echo] Compiling to /home/helio/temp/jackrabbit/target/classes
    [javac] Compiling 433 source files to
/home/helio/temp/jackrabbit/target/classes
/home/helio/temp/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/converter/SchemaConverter.java:28:
package org.apache.xerces.xs does not exist
import org.apache.xerces.xs.XSAttributeDeclaration;
                            ^
/home/helio/temp/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/converter/SchemaConverter.java:131:
cannot find symbol
symbol  : variable XSComplexTypeDefinition
location: class
org.apache.jackrabbit.core.nodetype.converter.SchemaConverter
            if (ctDef.getContentType() !=
XSComplexTypeDefinition.CONTENTTYPE_SIMPLE
                                          ^
(....................there are a lot of errors between here...........)
/home/helio/temp/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/converter/SchemaConverter.java:594:
cannot find symbol
symbol  : variable XSConstants
location: class
org.apache.jackrabbit.core.nodetype.converter.SchemaConverter
            case XSConstants.QNAME_DT:
                 ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
100 errors

BUILD FAILED
File...... /home/helio/.maven/cache/maven-java-plugin-1.5/plugin.jelly
Element... ant:javac
Line...... 63
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 11 seconds
Finished at: Wed Oct 04 11:39:28 BRT 2006

I would to put the last version in svn of jackrabbit to try to solve some
issues happening in my environment.
Well, if some have this last build (1.1) of core, textfilter and commons,
and if could send to me or put it available for download, I'll appreciate to
much.
Helio.


Jukka Zitting-2 wrote:
> 
> Hi,
> 
> Humer G?nther wrote:
>> But it doesn't succeed in this directory neither. Now I get followin
>> error:
>> 
>> ...
>>     [xslt] Loading stylesheet
>> D:\Development\vendor\jackrabbit\jackrabbit\jackra
>> bbit\src\main\javacc\xpath\strip.xsl
>> 
>> BUILD FAILED
>> File......
>> D:\Development\vendor\jackrabbit\jackrabbit\jackrabbit\maven.xml
>> Element... ant:xslt
>> Line...... 142
>> Column.... 25
>> org/apache/xml/serializer/SerializerTrace
> 
> As Alexandru Popescu already mentioned, this seems like a Java 5 issue.
> I suppose you noticed the mention about xalan.jar being needed when
> building with JDK 1.5. Since version 2.7 Xalan-Java has split some of
> the classes from xalan.jar into serializer.jar, and that library is now
> needed as well. I just finally committed a mention of this into
> README.txt. The full notice is:
> 
>   NOTE: Java 5 users need to download the xalan.jar and serializer.jar
>   libraries from the Xalan-Java binary distribution at
>   http://xml.apache.org/xalan-j/downloads.html and place them in
>   $MAVEN_HOME/lib/endorsed (or $JRE/lib/endorsed if using Maven 1.1)
>   to build the Jackrabbit sources. The reason for this workaround is
>   explained in
> 
>      http://issues.apache.org/jira/browse/JCR-46
> 
> I hope this helps!
> 
> BR,
> 
> Jukka Zitting
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Maven-build-error-tf520033.html#a6641158
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.


Mime
View raw message