I moved an existing project to M2 today. Here are the steps I had to
follow:


Steps to move to a new Binary distribution for a new milestone release
(e.g. from M2-SNAPSHOT to M2):

1. Download binary in zip format from
http://sourceforge.net/project/showfiles.php?group_id=73047&package_id=1
17392&release_id=259215
2. Extract the zip file to a dir.
3. Go to samples dir of the distribution and type maven.
        This copies all new jars to
%USERPROFILE%/.maven/repository/andromda/jars
        (the old subdirs under repository - andromda,
andromda-cartridges, etc.
                have been combined into one dir andromda)



To move an existing project to use a new distribution (e.g. M2):

1. Change mda/project.xml <dependency> <version> value to M2
2. Change all <groupId> values to andromda



To move BPM4Struts from M2-SNAPSHOT to M2:

1. Delete constructor and getInstance methods in each Controller under
src
2. Copy all dependencies from Animal Quiz  web/project.xml to your
project's web/project.xml
        except the AnimalQuiz specific dependency.
3. Need to turn off precompilation if it was turned on earlier 
   (since Tomcat 5 has some issues with precompilation)
        by changing the postgoal for  war:war to  <postGoal
name="ignore:war:war">
   in web/maven.xml
   Then do 
        maven clean 
   and finally 
        maven
   There may be some more steps needed here. Wouter is looking into this
issue.


To move a cartridge to M2:

1. M1 cartridge descriptors need to be changed: 
        the 'overWrite' property was renamed to 'overwrite' 
        the 'sheet' element has been renamed to 'path'.




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to