> You're missing the rest of the outlets that generate the UserFactory, > etc (since you used Tim's as an example and he's using spring, the > Spring cartridge doesn't need those). That factory is generated along > with the session-ejbs outlet (people either use this cartridge with > spring or standalone with the session ejbs, sounds like you're not using > either, so if you'd like I can add an outlet just for the factories) > (outlets are the logical location to which files are generated).
You're right. So far I don't use any of these but I'm beginning to study the possibility to use Spring. The problem is that I don't really know how to use it and I'm afraid it delays my project a little more, while I'm already a bit late on my schedule. I'll try to read a few Spring tutorials and see if it's worth the time. > Regarding adding the path of the generated files to your regular source > directory, do something like this in the maven.xml preGoal: > > <preGoal name="java:compile"> > <ant:path > id="andromda.gen.src" > location="${maven.build.src}/java"/> > <maven:addPath > id="maven.compile.src.set" > refid="andromda.gen.src"/> > </preGoal> > > This will add the target/src/java directory to the regular maven compile > path Thank you very much for that. Do I have to add it to the existing preGoal for java:compile or is it a replacement (for Tim's maven.xml) ? -- Sebastien ARBOGAST ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user