hi Harald,


first of all thanks for offering to help us out by contributing, we really 
appreciate it!




Quote:
As you use a color profile for magic draw models for the samples, I would like 
to use the same for consistency - can you tell me wich colors you use and if 
it's possible to configure magic draw to use those colors by stereotype? I 
haven't found any feature like that so far (I am using the community edition).
(end of quote)




When I wrote the how-tos I did not really pay attention to the colors I used, 
but in order to find out which ones are currently present you can simply open 
up one of the how-to models, right-click on a class and select symbol 
properties..., the first entry in the list is called fill color, click it and 
you'll see an ellipsis (...) appear, click it and you'll get a color picker: a 
history of the most recently used colors in that model is listed on the right, 
so it's easy to find out



If you can't do this with the community edition then let me know and I'll 
extract them for you; you might want to start a confluence page for 
documentation guidelines and add a section for the how-tos, listing the colors 
codes and their usage




Quote:
How should I contribute my files? Would it be okay for you if you get text, 
sources, images...
(end of quote)




that would be fine, but it would be even better if we would have something we 
would just need to check and commit




Quote:
I do not have any experience with maven document generation with xdocs so far, 
but would definitely give it a try. If you would give me advice where to put 
directories and resources within the andromda-all directory structure and how I 
can integrate the new documentation in the existing web pages that would be 
very helpful. 
(end of quote)




A howto model is only useful when you want to generate code from it and used 
that code in documentation, here's what you need to do:



1. create the model

2. store it in xdocs/resources/howto/HowToModel.xml.zip

3. write some documentation pages, don't use the to-be generated code for now 
(to learn about xdoc just take a look at the bpm4struts or spring 
documentation, there's not much to know anyway, I typicaly just copy&paste and 
edit the text only)

4. open and edit xdocs/project.properties

5. in this file just add the andromda.cartridge.howto.model.uri property and 
make it point to the model file you added, the value is something like 
jar:file:${maven.docs.src}/resources/howto/HowToModel.xml.zip!/HowToModel.xml

6. now open a console into xdocs and type maven 
cartridge:generate-howto-artifacts (this will be called too when you build the 
entire AndroMDA documentation)

7. take a look where the code has been generated, under 
target/docs/resources/howto

8. now you can easily know what href links to create in your documentation to 
access the generated files



here's the documentation page for the andromda cartridge plugin: 



good luck[/b]
--
Wouter Zoons - [EMAIL PROTECTED]

http://www.andromda.org/
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1105#1105
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