Actually, if I look in the Maven repository, I only have 1.0.0 and 1.0.1 installed. But, I will wipe the repo and try again.
________________________________ From: Emmanuel Lecharny [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 11:24 AM To: Tony Thompson Subject: Re: *** PROBABLY SPAM *** RE: [ApacheDS] Custom schema issues (again) Ok Tony, I now see what has happened : you have used an ADS 1.5 version to generate the class, thus obtained a ArrayList<String> instead of ArrayList (no generic). You have two possibilities : 1) fix the generated file by removing the <String> 2) regenerate the file with ADS 1.0.1 version. Maybe you have both versions of ADS installed on your computer, or at least you have tried to build both versions, so it is possible that you are using the wrong maven plugin to generate the file. I suggest that you do a rm -rf ~/.m2/repository before generating the file. It will take longer, but it's safer. Tell us if it's not enough to make your server happy ! Emmanuel On 4/24/07, Tony Thompson < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: -----Original Message----- From: Emmanuel Lecharny [mailto: [EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 10:36 AM To: [email protected] Subject: Re: [ApacheDS] Custom schema issues (again) Hi Tony, On 4/24/07, Tony Thompson <[EMAIL PROTECTED]> wrote: > > Sorry if this came through twice. I wasn't subscribed the first time > so I wasn't sure if it made it. np at all I am using these instructions to generate a custom schema: > > http://cwiki.apache.org/confluence/display/DIRxSRVx10/Custom+Schema > > The instructions used to work but now I get an error trying to compile > the example. I tried modifying the generated pom.xml to set the > source and target to 1.5 but there appears to be a classpath issue > that I am not sure how to fix. Any suggestions? > > Here are the compile errors: > > \test\sch\test-schema\target\generated-sources\com\stoneware\schema\ap > ac he\CarSchema.java:[41,17] generics are not supported in -source 1.3 > (try -source 1.5 to enable generics) > ArrayList<String> list = new ArrayList<String>(); Can you post the CarSchema.java file you get ? I don't understand why you have some Java 5 syntax in it. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from Stoneware, Inc. may be monitored. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from Stoneware, Inc. may be monitored.
