directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRMINA-153) Using JDK 1.5 API in TextLineCodecFactory and associated classes
Date Tue, 03 Jan 2006 08:33:01 GMT
     [ http://issues.apache.org/jira/browse/DIRMINA-153?page=all ]
     
Alex Karasulu closed DIRMINA-153:
---------------------------------

    Resolution: Fixed

COmpleted when I added m2 profiles.

> Using JDK 1.5 API in TextLineCodecFactory and associated classes
> ----------------------------------------------------------------
>
>          Key: DIRMINA-153
>          URL: http://issues.apache.org/jira/browse/DIRMINA-153
>      Project: Directory MINA
>         Type: Bug
>  Environment: JDK 1.4
>     Reporter: Alex Karasulu
>     Priority: Critical

>
> As I was trying to move MINA to m2 I thought I'd try to compile with 1.4 once I moved
what I thought was the only 1.5 API dependent classes into a separate project (SSLFilter et.
al). I got the following build errors due to defaultCharset() only being present in JDK 1.5
of java.nio.charset.Charset:
> [akarasulu@newton org.apache.mina]$ mvn clean install
> [INFO] Scanning for projects...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building MINA
> [INFO]    task-segment: [clean, install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory /home/akarasulu/projects/directory/trunk/org.apache.mina/target
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> Compiling 111 source files to /home/akarasulu/projects/directory/trunk/org.apache.mina/target/classes
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ----------------------------------------------------------------------------
> [INFO] Compilation failure
> /home/akarasulu/projects/directory/trunk/org.apache.mina/src/main/java/org/apache/mina/filter/codec/textline/TextLineCodecFactory.java:[46,21]
cannot resolve symbol
> symbol  : method defaultCharset ()
> location: class java.nio.charset.Charset
> /home/akarasulu/projects/directory/trunk/org.apache.mina/src/main/java/org/apache/mina/filter/codec/textline/TextLineEncoder.java:[47,21]
cannot resolve symbol
> symbol  : method defaultCharset ()
> location: class java.nio.charset.Charset
> /home/akarasulu/projects/directory/trunk/org.apache.mina/src/main/java/org/apache/mina/filter/codec/textline/TextLineEncoder.java:[52,21]
cannot resolve symbol
> symbol  : method defaultCharset ()
> location: class java.nio.charset.Charset
> /home/akarasulu/projects/directory/trunk/org.apache.mina/src/main/java/org/apache/mina/filter/codec/textline/TextLineDecoder.java:[52,21]
cannot resolve symbol
> symbol  : method defaultCharset ()
> location: class java.nio.charset.Charset
> /home/akarasulu/projects/directory/trunk/org.apache.mina/src/main/java/org/apache/mina/filter/BlacklistFilter.java:[90,18]
cannot resolve symbol
> symbol  : constructor IllegalArgumentException (java.lang.String,java.lang.ArrayStoreException)
> location: class java.lang.IllegalArgumentException
> [INFO] ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Tue Dec 27 15:20:41 EST 2005
> [INFO] Final Memory: 3M/16M
> [INFO] ----------------------------------------------------------------------------
>   

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message