Thanks Joerg! I got the source from the SVN and I worked pretty fine!
Thanks, Luiz On 10/19/07, Joerg Heinicke <[EMAIL PROTECTED] > wrote: > > This is a Java 6 forward compatibility issue which has already been > fixed 9 months ago [1]. Up to now it's not available in a released > version, but only in SVN. > > Joerg > > [1] > > http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java?view=log > > On 10/19/07 8:21 AM, Luiz Antonio Falaguasta Barbosa wrote: > > Hi people, > > > > Today, I was trying to install Cocoon here and I got the following: > > > > cocoon-block-databases-compile: > > Compiling 7 source files to C:\Luiz\cocoon-2.1.10-src\cocoon-2.1 . > > 10\build\cocoon\blocks\databases\dest > > C:\Luiz\cocoon-2.1.10-src\cocoon-2.1.10\src\blocks\databases\java > > \org\apache\cocoon\databases\ibatis\ExcaliburDataSourceFactory.java:82: > > org.apac > > he.cocoon.databases.ibatis.ExcaliburDataSourceFactory.DataSourceWrapperis > > not a > > bstract and does not override abstract method isWrapperFor( > java.lang.Class<?>) > > i > > n java.sql.Wrapper > > protected static final class DataSourceWrapper implements DataSource > { > > ^ > > Note: Some input files use unchecked or unsafe operations. > > Note: Recompile with -Xlint:unchecked for details. > > 1 error > > > > BUILD FAILED > > C:\Luiz\cocoon-2.1.10-src\cocoon-2.1.10\tools\targets\compile-bui > > ld.xml:263: The following error occurred while executing this line: > > C:\Luiz\cocoon-2.1.10-src\cocoon-2.1.10\build\cocoon\temp\blocks- > > build.xml:1633: The following error occurred while executing this line: > > C:\Luiz\cocoon-2.1.10-src\cocoon-2.1.10\build\cocoon\temp\blocks- > > build.xml:95: Compile failed; see the compiler error output for details. > > > > > Total time: 13 seconds > > > > How could I change the compilation option to -Xlint? I don't into which > ant > > script I must do it. > > > > Thanks in advance! > > > > Luiz > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
