Hi Lee,
no problem that you "bother" me. :-) The correct way to get help is to subscribe to andromda-user and post a question there. Somebody has posted this question recently on the list (in that example, it was the struts cartridge that did not find its template). I don't know where that problem comes from - the example should run "out of the box", at least for the code generation step. There is a new bug in the sample project but that concerns only the invocation of the schema generator. The build.xml file was not adapted to Hibernate 2 (I forgot that, sorry!). This will be done in the next release (next week). Question to the people on andromda-user: Has anybody already solved the "Unable to find resource '...vsl'" problem? Cheers... Matthias --- Urspr�ngliche Nachricht --- Datum: 04.12.2003 02:28 Von: "Lee Grey \(Toshiba Satellite\)" <[EMAIL PROTECTED]> An: <[EMAIL PROTECTED]> Betreff: Problem getting started > Sorry to bother you. I wasn't sure how else to go about getting help. > > I just downloaded and installed AndroMDA and JBoss 3.2.2. In following the instructions in Do It on http://www.andromda.org/pages/starting.html, I got the following on the last step (running ant in my project directory): > > C:\sw\andromda-bin\samples>type wizard.properties > # > # The following command will create a new ejb project > # > # ant -f wizard.xml -Dproject.home=c:/temp/myproject > # > # For the project wizard to work the following properties must be set > # and they must be set to absolute paths. > # > # > andromda.home = C:/sw/andromda-bin/ > jboss.home = C:/sw/jboss-3.2.2/ > > C:\sw\andromda-bin\samples>ant -f wizard.xml -Dproject.home=c:/projects/androMDA > HibernateTest hibernate > Buildfile: wizard.xml > > check-environment: > > check-andromda: > > check-jboss: > > check-project: > > hibernate: > [echo] Creating a new Hibernate based project > [echo] project.home = c:/projects/androMDAHibernateTest > [copy] Copying 6 files to C:\projects\androMDAHibernateTest > [copy] Copying 1 file to C:\projects\androMDAHibernateTest > > BUILD SUCCESSFUL > Total time: 9 seconds > C:\sw\andromda-bin\samples>cd \projects\androMDAHibernateTest > > C:\projects\androMDAHibernateTest>ant > Buildfile: build.xml > > init: > [mkdir] Created dir: C:\projects\androMDAHibernateTest\dist > [mkdir] Created dir: C:\projects\androMDAHibernateTest\dist\predist > [mkdir] Created dir: C:\projects\androMDAHibernateTest\dist\predist\source > [mkdir] Created dir: C:\projects\androMDAHibernateTest\build > [mkdir] Created dir: C:\projects\androMDAHibernateTest\build\earstage > [mkdir] Created dir: C:\projects\androMDAHibernateTest\build\hibernatestage > [mkdir] Created dir: C:\projects\androMDAHibernateTest\build\hibernateservic > e > > genjava: > [andromda] CartridgeFinder: Cartridge found: hibernate > [andromda] Input: jar:file:C:\projects\androMDAHibernateTest/src/uml/blank-mod > el.zargo!/blank-model.xmi > > BUILD FAILED > file:C:/projects/androMDAHibernateTest/build.xml:122: org.andromda.core.anttasks > ..ClassTemplateProcessingException: Error processing velocity script on AServiceB > ean.java: Unable to find resource 'templates/HibernateSessionBean.vsl' > > Total time: 12 seconds > C:\projects\androMDAHibernateTest> > > > Do you have any idea what the problem is? Shouldn't this run out of the box without an error? > > Many thanks, > Lee Grey > Grey Matter > http://www.URLinOne.com > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
