jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashley Martens" <marte...@asconline.com>
Subject RE: Unable to build nt-ns-util
Date Wed, 11 Jan 2006 13:22:07 GMT
I figured it was something like that but don't know enough about Maven to stop/correct it.
I guess I'll just have to build by hand or update Maven.

-----Original Message-----
From: peeter.piegaze@gmail.com [mailto:peeter.piegaze@gmail.com]On
Behalf Of Peeter Piegaze
Sent: Monday, January 09, 2006 8:12 PM
To: jackrabbit-dev@incubator.apache.org
Subject: Re: Unable to build nt-ns-util

Hi Ashley,

I was able to build it without a problem using maven-1.1-beta-2 and JDK 1.4.2.

However, it sounds to me like in your case maven has set up its
on-build classpath so that it sees the older xerces-2.4.0.jar before
the new xerxesImpl.-2.6.2.jar. Maven seems to download the old
xerces-2.4.0 into its repository for internal use, while my code uses
the newer xerxesImpl-2.6.2.jar. The old jar overlaps class-wise with
the new one, but the new one implements the additional loadURI method
(among others).

I am not sure exactly why your maven build process is looking in the
wrong jar. But that is what is doing, almost certainly.


On 1/3/06, Ashley Martens <martensa@asconline.com> wrote:
> When I try to build the package I get this error.
> C:\apache\jackrabbit-contrib\nt-ns-util>maven
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> Attempting to download jackrabbit-1.0-SNAPSHOT.jar.
> Artifact /org.apache.jackrabbit/jars/jackrabbit-1.0-SNAPSHOT.jar doesn't exists in remote
repository, but it exists locally
> Attempting to download jackrabbit-commons-1.0-SNAPSHOT.jar.
> Artifact /org.apache.jackrabbit/jars/jackrabbit-commons-1.0-SNAPSHOT.jar doesn't exists
in remote repository, but it exists locally
> build:start:
> java:prepare-filesystem:
> java:compile:
>     [echo] Compiling to C:\apache\jackrabbit-contrib\nt-ns-util/target/classes
>     [javac] Compiling 1 source file to C:\apache\jackrabbit-contrib\nt-ns-util\target\classes
> C:\apache\jackrabbit-contrib\nt-ns-util\src\main\java\org\apache\jackrabbit\util\nodetype\SchemaConverter.java:71:
cannot resolve symbol
> symbol  : method loadURI (java.lang.String)
> location: class org.apache.xerces.impl.xs.XMLSchemaLoader
>         XSModel xsModel = loader.loadURI(uri);
>                                 ^
> 1 error
> File...... C:\Documents and Settings\ashleym\.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: 8 seconds
> Finished at: Mon Jan 02 10:40:47 EST 2006
> E-Mail Confidentiality Notification
> -----------------------------------
> This e-mail message (and any associated files) contains information from Associated Software
Consultants (ASC), Inc. and is intended only for the use of the individual or entity to which
it is addressed and may contain information that is confidential, subject to copyright or
constitutes a trade secret. If you are not the intended recipient you are hereby notified
that any dissemination, copying or distribution of this message, or files associated with
this message, is strictly prohibited. If you have received this message in error, please notify
us immediately by replying to the message and deleting it from your computer. Messages sent
to and from us may be monitored.

View raw message