Patches item #823276, was opened at 2003-10-14 08:19
Message generated for change (Comment added) made by peteroyle
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536547&aid=823276&group_id=73047

Category: Templates
Group: Unstable (example)
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Royle (peteroyle)
Assigned to: Nobody/Anonymous (nobody)
Summary: Hibernate 2 cartridge

Initial Comment:
This is a quick port from the original andromda-hibernate 
cartridge to support Hibernate2. 

I've so far made some "enhancements" which are 
hopefuly all documented in the "CHANGES..." section of 
the README file so you can easily find and undo them :). 
All working files are included in the src directory. The 
dist directory simply contains the packaged end result of 
the build process and can be deleted.

There's an example build.xml file in the dist/samples 
directory. Comparisons between all the build.xml and all 
the templates (between original and andromda-
hibernate2) for help of understanding can be found in 
the dist/diffs directory.

----------------------------------------------------------------------

>Comment By: Peter Royle (peteroyle)
Date: 2003-10-16 01:44

Message:
Logged In: YES 
user_id=883369

hi lpienia,

The packages used for the generation of EJB related files are 
done through the andromda-ejb cartridge which i haven't 
changed at all. If you want to change them i think you will 
need to modify that cartridge.

I did however change the directories which they land when 
they're generated - something I forgot to explain! I use 
generated gode fom both poseidon and andromda so it was 
practical for me to segregate the output into directories 
specific to the type of code being generated 
(andromda/poseidon), (generated/modifiable), (cartridge 
used). Hence the ejbs land in a directory something like 
src/java/generated/andromda/ejb/your/package/name/YourBea
nCMP. And similar for the home/remote interfaces i suspect (I 
sont actualy use ejbs so i'm guessing acccording to the build 
file).

The place to change all this is in the section labeled "<!-- 
Output directories for generators -->" of the build.xml file. 
This creates all the references to output directories for 
struts, hibernate and ejb that wil be used for the rest of the 
process.

Has this answered your question or have i missunderstood?

pete.

----------------------------------------------------------------------

Comment By: Lionel Pieniazek (lpienia)
Date: 2003-10-15 16:04

Message:
Logged In: YES 
user_id=683837

There is any way to generate the Remote, Home and Util in 
other packages?



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536547&aid=823276&group_id=73047


-------------------------------------------------------
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

Reply via email to