From: Dylan E. <de...@cs...> - 2004-10-26 09:55:35
|
That seems like a strange error. We have the format target that uses jalopy= to do code formatting but we do not have that target tied into any other t= argets as a dependancy, it reeks havok with CVS to format the code everytim= e you build. Normally I do a ant clean deploy-war to build the web applicat= ion. This boils down to doing ant mergeSrc, generate-webapp, compile-webapp= , war-webapp, cleanMerge . Do you have a different version of jalopy in you= r classpath somewhere? Perhaps when it is trying to define the format ant t= ask another version of the jar is causing the classCastException. The easy = way around it for you for now is to remove the format and jalopy task since= as I said they are invoked separatly from the rest. =0D =0D Good Luck, =0D =0D Dylan Etkin =0D =0D =0D Dylan Etkin=0D ISTC=0D +27 12 841 3200=0D >>>Charles-Alexandre Sabourdin <ka...@de...> 10/26 11:10 am= >>> =0D =0D Ok, I agree with you on those points. =0D =0D Once I manage to make this work, I could mavenise the project ;) =0D =0D =0D Anyway, I have the following probleme (base on mu cvs udapte =0D =0D I also notice that there was a lot of ant target and they did not seems to = =0D =0D works correctly :: =0D =0D =0D ant generate-webapp =0D =0D Buildfile: build.xml =0D =0D [taskdef] java.lang.ClassCastException =0D =0D [taskdef] at =0D =0D de.hunsicker.jalopy.storage.Convention.synchronize(Convention.java:2419)=20 =0D [taskdef] at =0D =0D de.hunsicker.jalopy.storage.Convention.synchronize(Convention.java:2445)=20 =0D [taskdef] at =0D =0D de.hunsicker.jalopy.storage.Convention.<clinit>(Convention.java:211) =0D =0D [taskdef] at =0D =0D de.hunsicker.jalopy.plugin.ant.AntPlugin.<clinit>(AntPlugin.java:60) =0D =0D [taskdef] at java.lang.Class.forName0(Native Method) =0D =0D =0D ant compile =0D =0D Buildfile: build.xml =0D =0D [taskdef] java.lang.ClassCastException =0D =0D [taskdef] at =0D =0D de.hunsicker.jalopy.storage.Convention.synchronize(Convention.java:2419)=20 =0D [taskdef] at =0D =0D de.hunsicker.jalopy.storage.Convention.synchronize(Convention.java:2445)=20 =0D =0D =0D ant =0D =0D same problems. =0D =0D =0D I use =0D =0D ant -version =0D =0D Apache Ant version 1.6.2 compiled on July 16 2004 =0D =0D =0D I don't have Jboss on my computer, is it a requisite ? =0D =0D =0D Le vendredi 22 Octobre 2004 17:02, Dylan Etkin a =E9crit : =0D =0D >Hi Charles-Alexandre, =0D =0D > =0D =0D > We are always happy to have someone contribute to the code base. I =0D =0D >think the first step is to get things running and then you can take a =0D =0D >crack at some code. We don't have a formal policy on membership but =0D =0D >before we extend commit rights we like to see some code contributions =0D =0D >first just to see what your all about. =0D =0D > The reason your having trouble building is that we use ant to build =0D =0D >the src, and maven only to build the web-site (we have just never had =0D =0D >the time to move our tricky ant stuff to tricky maven stuff). First I =0D =0D >would suggest a cvs update. We are doing quite a bit of development at =0D =0D >the moment and stuff changes a lot day to day. If you copy your =0D =0D >build.properties.sample to build.properties and set all the variables =0D =0D >correctly and then make sure that your src/misc/hibernate.properties =0D =0D >file is setup correctly then doing an 'ant clean deploy-war' should get = =0D =0D >the webapp deployed for you. =0D =0D > Give it a shot and shout if you run into issues. =0D =0D > =0D =0D >Good luck, =0D =0D > =0D =0D >Dylan Etkin =0D =0D > =0D =0D >Dylan Etkin =0D =0D >ISTC =0D =0D >+27 12 841 3200 =0D =0D =0D -- =0D =0D Charles-Alexandre =0D =0D SABOURDIN =0D =0D ----------------- =0D =0D =0D =0D ------------------------------------------------------- =0D =0D This SF.net email is sponsored by: IT Product Guide on ITManagersJournal=20 =0D Use IT products in your business? Tell us what you think of them. Give us = =0D =0D Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more= =0D =0D http://productguide.itmanagersjournal.com/guidepromo.tmpl =0D =0D =0D Coefficient-devel mailing list =0D =0D Coe...@li... =0D =0D https://lists.sourceforge.net/lists/listinfo/coefficient-devel =0D --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. |