Hi Gregory,
thanks for the patch. I had the same difficulties to run the regression tests. Chad said, he does not have them on his machine. Yesterday, I tried again with the latest ant (1.5.4) and the latest JUnit (3.8.?) but with the same effect. There must be some classpath magic going on... Thanks, anyway - I'll try it. Cheers... Matthias --- Urspr�ngliche Nachricht --- Datum: 09.10.2003 06:05 Von: "Gregory Davis" <[EMAIL PROTECTED]> An: "Matthias Bohlen" <[EMAIL PROTECTED]> Betreff: RE: AndroMDA and Hibernate 2 > Matthias, > > The attached patch.diff file applies to the HEAD branch. > > The ? *.jar files, and the binary diff *.jar files are all from the > hibernate2 library. You have these .jar files from the first attempt to > send the changes. Since they are so large, I will not resend them unless > you request it. > > The system builds, and I was able to deploy and use the carrental-hibernate > sample application. > > The 'regression' checks did not work. The second time it is run, I get an > error from the 'junit' task, complaining about not being able to find a > needed class file, or jar file. I tried unsuccessfully to debug this. I > get this same error if I run the regression build twice without making any > changes. > > Hope this helps... > > - Greg > > -----Original Message----- > From: Matthias Bohlen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 07, 2003 10:00 AM > To: 'Gregory Davis' > Cc: [EMAIL PROTECTED] > Subject: RE: AndroMDA and Hibernate 2 > > > Hi Gregory, > > see my comments below. > > Thanks... > Matthias > > > -----Original Message----- > > From: Gregory Davis [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 30, 2003 7:36 PM > > To: [EMAIL PROTECTED] > > Subject: Re: AndroMDA and Hibernate 2 > > > > > > > > Matthias, > > > > Will the 3.x head be ready to modify and test soon? > > Yes, the 3.x head version is consistent again - thanks to Richard Kunze > who has fixed the bug in the new EJB cartridge. So, you can try to build > a patch for the 3.x version, now. > > > It turns out that I will not be using AndroMDA for my first > > project, I think. I would like to update the hibernate > > cartridge before I forget the details of the changes I made. > > OK, so please try to make a patch for HEAD and email it to me. I'll test > it and when all goes well, I'll check it in. > > You can use the regression testing framework which is checked in under > the module "regression". You can run it once before you make your > changes. It will generate all the EJB and Hibernate stuff and copy it to > a "drafts" directory. Then, make your changes to the Hibernate cartridge > and run the regression/build.xml file again. The regression test module > will compare the newly generated files against the reference files in > the "drafts" directory and throw a JUnit assertion if the new files do > not implement the same API as the old files. Smart, isn't it? This will > help you make sure that your new cartridge is as good as the old > cartridge. > > > p.s. Since I am new to Java, I needed to find out what > > AndroMDA did. > > Hey, new to Java? How come that you were able to do all these changes > without breaking anything? When I came from C++ to Java (several years > ago), I would not have been able to do this! > > > My first project seems more suited to be an > > application, whereas AndroMDA seems to assume deployment as a > > web service. I may be wrong about this, but that is my > > understanding thus far. > > Well, yes and no! :-) AndroMDA is a generic code generation tool - it > can generate any text file output you want. The sample templates in the > cartridges generate EJB or Hibernate components and struts components. > If you want to generate something else, it is quite easy to write your > own cartridge that does. So, AndroMDA itself is not limited to web > applications! > > Looking forward to your patch... > Matthias > > > > > > > -----Original Message----- > > From: Gregory Davis [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 23, 2003 2:06 PM > > To: Matthias Bohlen > > Subject: RE: AndroMDA and Hibernate 2 > > > > > > Matthias, > > > > I could alter the current hibernate cartridge to hibernate 2. > > Commit rights would be needed for the hibernate cartridge, > > the sample/car-system-rental, sample/hibernate-template and the docs. > > > > The earlier attempt to use 3.x failed because there were > > build errors. Is the 3.x head now stable? > > > > I have used JBoss 3.2.2 and Hibernate 2.0.3 to successfully > > deploy the car-rental-system app. > > > > Hibernate 2.0.3 is the 'recommended' version at > > www.hibernate.org, with later versions considered 'beta'. > > There is no dependency, that I know of, between Hibernate and > > JBoss versions. > > > > My comment about JBoss 4 in the documentation may be a little > > misleading. My intention was to point out that the sample > > NEEDS 3.2. I wasted a lot of time trying to get the sample > > application working with JBoss 4, before noticing that the > > JBoss website recommends JBoss 3.2.x as the stable production > > release. From this experience, I know that the samples will > > need to be updated to work with JBoss 4, and wanted to warn readers. > > > > Regards, Greg > > > > -----Original Message----- > > From: Matthias Bohlen [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 23, 2003 9:27 AM > > To: 'Gregory Davis' > > Cc: [EMAIL PROTECTED] > > Subject: RE: AndroMDA and Hibernate 2 > > > > > > Hi Gregory, > > > > today, I have had a look at you patch.diff file. I saw that > > you tried to preserve the old Hibernate 1 cartridge. I'd > > prefer to have only one Hibernate cartridge in the project. > > Maybe, the best thing is to check it in to CVS HEAD (AndroMDA > > 3.x) and to make the car rental system sample run with it. Is > > Hibernate 2 already final? If so, I could give you committer > > rights to AndroMDA CVS to make the necessary changes to the > > Hibernate cartridge in AndroMDA 3.x (HEAD). > > > > What do you think? > > > > Cheers... > > Matthias > > > > P.S.: In the web page that you have updated, I saw your > > advice to use JBoss 4. Is there already a V4 stable release > > so that we really recommend it? Does Hibernate 2 depend on JBoss 4? > > > > > -----Original Message----- > > > From: Gregory Davis [mailto:[EMAIL PROTECTED] > > > Sent: Saturday, September 20, 2003 7:41 AM > > > To: Matthias Bohlen > > > Subject: RE: AndroMDA and Hibernate 2 > > > > > > > > > Matthias, > > > > > > I tried 3 times to attach the zip file to the patch submission, but > > > sourceforge did not cooperate. I hope that you can clean up the > > > duplicate entries in the patch area. > > > > > > The new files and patch.diff are in the attached zip file. > > > It is a little over 4 Mbytes, since the new cartridge has the jar > > > files in .../lib > > > > > > I hope your mail system allows the large attachment. > > > > > > - Greg > > > > > > -----Original Message----- > > > From: Matthias Bohlen [mailto:[EMAIL PROTECTED] > > > Sent: Friday, September 19, 2003 1:59 PM > > > To: 'Gregory Davis' > > > Subject: RE: AndroMDA and Hibernate 2 > > > > > > > > > Hi Greg, > > > > > > the CVS HEAD branch is inconsistent at the moment. Please check out > > > the V2x_DEV branch with the tag that corresponds to the V2.0.4 > > > version. > > > > > > Sorry for this... > > > Matthias > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
