You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Norbet Reilly <nr...@gmail.com> on 2006/02/17 07:31:50 UTC

[MINA] Apparent build problem with ADS RC1

I just now did an SVN update and while building found two Mina test
programs failed because of references to non-existent methods. I
therefore did a "mvn clean" and then tried a fresh "mvn install" and
got this failure:

[INFO] [compiler:compile]
Compiling 2 source files to
D:\src\reference\apacheds_trunks\mina\filter-codec-asn1\target\classes
[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD FAILURE
[INFO] -------------------------------------------------------------------------
---
[INFO] Compilation failure

D:\src\reference\apacheds_trunks\mina\filter-codec-asn1\src\main\java\org\apache
\mina\filter\codec\asn1\Asn1CodecEncoder.java:[10,29] package
org.apache.asn1.codec does not exist


so it seems something is out of whack either in my build area or in
SVN (I last SVN updated and built successfully late last week). I'm
building using Maven 2.0.2 and JDK 1.4.

The reason I was rebuilding was I got a ClassCastException when
attempting to run the UberJarMain with the default server.xml, as
LdapDN.normalize( Name dn, Map oids ) was being called from the
NormalizationService with a LdapName first argument (dn), but was
attempting to coerce dn.clone() to a (LdapDN). I'll investigate more
thoroughly on Monday unless I hear from this group before then (it
looked like the LdapName was first introduced in the
org...jndi.ServerContext constructor (line 126).

Thanks

Re: [MINA] Apparent build problem with ADS RC1

Posted by Emmanuel Lecharny <el...@gmail.com>.
Hi Norbert,

Norbet Reilly a écrit :

>I just now did an SVN update and while building found two Mina test
>programs failed because of references to non-existent methods. I
>therefore did a "mvn clean" and then tried a fresh "mvn install" and
>got this failure:
>  
>
</snip>

>
>D:\src\reference\apacheds_trunks\mina\filter-codec-asn1\src\main\java\org\apache
>\mina\filter\codec\asn1\Asn1CodecEncoder.java:[10,29] package
>org.apache.asn1.codec does not exist
>  
>
Do you have the same problem if you just delete all the project and 
check out it again ? ( I know, it's a little bit overkilling, but this 
is just to check.)

I just did a svnup followed by a mvn clean and mvn install on 
sanbox/akarasulu/rc1, and it went well.

>
>so it seems something is out of whack either in my build area or in
>SVN (I last SVN updated and built successfully late last week). I'm
>building using Maven 2.0.2 and JDK 1.4.
>
>The reason I was rebuilding was I got a ClassCastException when
>attempting to run the UberJarMain with the default server.xml, 
>
I'm afraid thet the server.xml in apacheds-server-main is totally 
whacked. You should copy/paste the one in 
apacheds/server-installers/src/main/installers.


Re: [MINA] Apparent build problem with ADS RC1

Posted by Ersin Er <er...@gmail.com>.
It should be OK now. Please svn up and try again. The problem was
because of unchanged dependency package names after extensive
refactoring in the project structure. Sorry for incovinience.

ps: We still have some build problems in ApacheDS..

On 2/17/06, Norbet Reilly <nr...@gmail.com> wrote:
> I just now did an SVN update and while building found two Mina test
> programs failed because of references to non-existent methods. I
> therefore did a "mvn clean" and then tried a fresh "mvn install" and
> got this failure:
>
> [INFO] [compiler:compile]
> Compiling 2 source files to
> D:\src\reference\apacheds_trunks\mina\filter-codec-asn1\target\classes
> [INFO] -------------------------------------------------------------------------
> ---
> [ERROR] BUILD FAILURE
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Compilation failure
>
> D:\src\reference\apacheds_trunks\mina\filter-codec-asn1\src\main\java\org\apache
> \mina\filter\codec\asn1\Asn1CodecEncoder.java:[10,29] package
> org.apache.asn1.codec does not exist
>
>
> so it seems something is out of whack either in my build area or in
> SVN (I last SVN updated and built successfully late last week). I'm
> building using Maven 2.0.2 and JDK 1.4.
>
> The reason I was rebuilding was I got a ClassCastException when
> attempting to run the UberJarMain with the default server.xml, as
> LdapDN.normalize( Name dn, Map oids ) was being called from the
> NormalizationService with a LdapName first argument (dn), but was
> attempting to coerce dn.clone() to a (LdapDN). I'll investigate more
> thoroughly on Monday unless I hear from this group before then (it
> looked like the LdapName was first introduced in the
> org...jndi.ServerContext constructor (line 126).
>
> Thanks
>


--
Ersin