On 20/10/2009 20:25, Rafael Korablikovas wrote: > > Hello, > > I'm here again looking for some BIG help... i need to synchronize an AD > server with an LDAP one, but for testing purposes, I'm using the test > ldapserver, that one with lsc-core. > I am guiding myself trhough the Ldap to AD How-to at lsc-project.org > <http://lsc-project.org>. I run the wizard... after edit the > etc/lsc.properties file to change other config. After that, try to run > lsc::compile-app... > I'm getting errors like these ones: > > [javac] > /home/rafael/lsc/lsc-sample-1.1-SNAPSHOT/src/impl/java/org/lsc/objects/inetOrgPerson.java:186: > getGivenName() in org.lsc.objects.inetOrgPerson cannot override > getGivenName() in org.lsc.objects.organizationalPerson; overridden > method is final > [javac] public final List getGivenName() { > [javac] ^ > [javac] > /home/rafael/lsc/lsc-sample-1.1-SNAPSHOT/src/impl/java/org/lsc/objects/inetOrgPerson.java:202: > getHomePhone() in org.lsc.objects.inetOrgPerson cannot override > getHomePhone() in org.lsc.objects.organizationalPerson; overridden > method is final > [javac] public final List getHomePhone() { > > > In a total of 10 errors...i've already tried all three versions avaiable > of lsc. The JAVA_HOME and PATH variables are correctly set. I don't know > if an error from javac, a misconfiguration of the lsc.properties file... > may i edit the inetOrgPerson.java and/or organizationalPerson.java files > manually? > In the How-To, it's said i need to remove the line objectclass.add(), > cuz objectclass used in both src and dst are different, but it makes no > difference, i'm getting the same error. > > Between the unsuccessful retries, I'm running lsc::clean, removing > content of src/impl/java/org/lsc/objects, and the lsc.properties file. > There's something else i can do? > > I appreciate any help!
Hi Rafael, I don't think these errors are because you're going anything wrong. However, when I run similar tests I don't get the same errors - but I don't know what parameters you're using. Could you tell me : 1) What values you use when running the generator? In particular, which objectClass names, and other parameters to do with source and destination servers? 2) Do you use the graphical method (ant lsc::generateWizard) or the command line method (ant lsc::_generator ...) ? With this information I'm sure we'll be able to help you. Regards, Jonathan

