You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Adelino Rodrigues <ad...@gmail.com> on 2008/10/11 00:01:04 UTC

[ApacheDS] Problems following Custom Schema guide

Hi,

I am trying to install a custom schema on ApacheDS 1.0.2. Therefore I
followed the doc ...
    http://directory.apache.org/apacheds/1.0/custom-schema.html
... step by step.

1) First problem is that the following URL is not found
svn co http://svn.apache.org/repos/asf/directory/apacheds/releases/1.0.2/schema-archetype/

I could continue by using for the svn location
    http://svn.apache.org/repos/asf/directory/apacheds/tags/1.0.2/schema-archetype/

2) After creating a project foo-bar like in the doc, I get the
following failure when running mvn package
eds_install2\ecd4apacheds\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

C:\Users\adelino\Documents\project\ecd\apacheds_install2\ecd4apacheds\target\gen
erated-sources\eu\emea\ecd4apacheds\CarAttributeTypeProducer.java:[29,17] generi
cs are not supported in -source 1.3
(try -source 1.5 to enable generics)
        ArrayList<String> names = new ArrayList<String>();

C:\Users\adelino\Documents\project\ecd\apacheds_install2\ecd4apacheds\target\gen
erated-sources\eu\emea\ecd4apacheds\CarSchema.java:[17,17] generics are not supp
orted in -source 1.3
(try -source 1.5 to enable generics)
        ArrayList<String> list = new ArrayList<String>();

C:\Users\adelino\Documents\project\ecd\apacheds_install2\ecd4apacheds\target\gen
erated-sources\eu\emea\ecd4apacheds\CarObjectClassProducer.java:[28,17] generics
 are not supported in -source 1.3
(try -source 1.5 to enable generics)
        ArrayList<String> array = new ArrayList<String>();

Do you know, how to go around this issue?

Best regards, Adelino

Re: [ApacheDS] Problems following Custom Schema guide

Posted by Emmanuel Lecharny <el...@gmail.com>.
Adelino Rodrigues wrote:
> Hi,
>   
Hi !
> I am trying to install a custom schema on ApacheDS 1.0.2. Therefore I
> followed the doc ...
>     http://directory.apache.org/apacheds/1.0/custom-schema.html
> ... step by step.
>
> 1) First problem is that the following URL is not found
> svn co http://svn.apache.org/repos/asf/directory/apacheds/releases/1.0.2/schema-archetype/
>
> I could continue by using for the svn location
>     http://svn.apache.org/repos/asf/directory/apacheds/tags/1.0.2/schema-archetype/
>   
Yeah, the link is wrong. Sorry about that. The web site has been 
updated, thanks for the report !
> 2) After creating a project foo-bar like in the doc, I get the
> following failure when running mvn package
> eds_install2\ecd4apacheds\target\classes
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> C:\Users\adelino\Documents\project\ecd\apacheds_install2\ecd4apacheds\target\gen
> erated-sources\eu\emea\ecd4apacheds\CarAttributeTypeProducer.java:[29,17] generi
> cs are not supported in -source 1.3
> (try -source 1.5 to enable generics)
>         ArrayList<String> names = new ArrayList<String>();
>
> C:\Users\adelino\Documents\project\ecd\apacheds_install2\ecd4apacheds\target\gen
> erated-sources\eu\emea\ecd4apacheds\CarSchema.java:[17,17] generics are not supp
> orted in -source 1.3
> (try -source 1.5 to enable generics)
>         ArrayList<String> list = new ArrayList<String>();
>
> C:\Users\adelino\Documents\project\ecd\apacheds_install2\ecd4apacheds\target\gen
> erated-sources\eu\emea\ecd4apacheds\CarObjectClassProducer.java:[28,17] generics
>  are not supported in -source 1.3
> (try -source 1.5 to enable generics)
>         ArrayList<String> array = new ArrayList<String>();
>
> Do you know, how to go around this issue?
>   
Are you using a 1.3 JVM ?

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org