Ok, I'll try to answer your questions to the best of my knowledge ...



Quote:
1) copying the generated JSPs into your source directory

do you mean: C:applicationmy_project ?
(end of quote)




No. It means the JSP source directory. Where you store your own JSP. Assuming 
your project is in the directory $PROJECT, your jsp sources should be in 
$PROJECT/web/src/jsp. Under this directory, create a directory tree to match 
the one generated by AndroMDA under $PROJECT/web/target/src. That means if you 
want to edit a JSP that is under $PROJECT/web/target/src/someDir/some.jsp, copy 
it under $PROJECT/web/src/jsp/someDir/some.jsp and then edit it. It will then 
be copied over the generated JSP and replace it.




Quote:
2)  subsequently adding it to your Control Versioning System

what is Control Versioning System?
(end of quote)




Better known as CVS. The tool used to version your sources. Maybe you use 
subversion or another such tool. Or none at all. All the generated sources 
should not be stored into CVS, but the edited one should be. So if you have an 
edited JSP, you should add it to CVS. If you dont use CVS, just foret that 
point (or learn about CVS - http://cvsbook.red-bean.com/ -  and begin to use 
it).




Quote:
3) what does it mean this sentence?

(in the maven.xml file already the preGoal is uncommented)
(end of quote)




There is many preGoal in maven.xml. Make sure the the "war:init" preGoal is 
uncommented. Maybe you already did that ?



Sorry, but now when I try to show a picture by hyperlinc, I get in output an 
exception




Quote:
org.andromda.archive.customer.CustomerService.getPicture(java.lang.Long id) - 
'id' can not be null (java.lang.Exception)
(end of quote)




This means the getPicture() method has been call with the parameter "id" equals 
to "null". The Spring cartridge generates code to check for null parameter and 
throws an Exception in this case. You probably called your image and forgot to 
add the "id" to the request.



I'm still a bit confuse about what exactly you are trying to do ... And to be 
honest, I'm not sure you understood exactly how an AndroMDA app is structured 
(yeap, it took me a while to get it too - and I'm still learning !).



If you have further questions, just ask ! I might or might not have answers ...
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1039#1039
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to